![](https://seccdn.libravatar.org/avatar/caa737142563444d7d3b3f8ec0695284.jpg?s=120&d=mm&r=g)
Scott Newton wrote:
On Monday 20 October 2008 19:59:07 Clayton wrote:
Exactly. We can all go and manually install the driver... sure.. fine.. but then the next time a kernel fix comes out, and we restart... poof... CLI only until we recompile the kernel modules. That is a MAJOR pain to deal with when you are remotely administering or supporting openSUSE installs.... and an equal pain on my regular computers at home. I am tired of spending time twiddling when I don't have to.
Of course, all these problems would go away if the drivers were open-source... :-(
I used a workaround for this 3rd party kernel module problem: An /etc/init.d script that checks at every boot whether the required kernel modules are in the matching /lib/modules and recompiles them if they are missing. Currently we use this for VMware Workstation and Nvidia Driver. ==CUT== #!/bin/sh ### BEGIN INIT INFO # Provides: susefix # Required-Start: $network $local_fs $remote_fs $syslog # X-Start-Before: earlyxdm # Required-Stop: # Default-Start: 5 # Default-Stop: 0 1 2 6 # Short-Description: Workaround for Suse Bugs # Description: Workaround for Suse Bugs ### END INIT INFO test "$1" = "stop" && exit . /etc/rc.status . /etc/sysconfig/adn-network rc_reset # Detect kernel updates and missing modules for VMware and Nvidia. # Compile modules if they are missing. kernel=`uname -r` if [ -x /usr/bin/vmware -a ! -f /lib/modules/$kernel/misc/vmnet.o ]; then echo "No VMware kernel modules for running kernel ..." perl /var/adm/autoinstall/files/vmware-adnconfig.pl --default EULA_AGREED=yes fi if [ ! -f /lib/modules/$kernel/kernel/drivers/video/nvidia.ko ]; then echo "No Nvidia kernel modules for running kernel ..." nvdriver=`echo /var/adm/autoinstall/files/NVIDIA-Linux-* |tail -1` sh $nvdriver -N -s -k "$kernel" fi rc_status -v rc_exit ==CUT== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org