Bug#626653: nvidia-kernel-common: freeze because of /dev/nvidia0 without nvidia

Andreas Beckmann debian at abeckmann.de
Sat May 14 09:44:00 UTC 2011


On 2011-05-14 02:40, sergio wrote:
> I have debian installed on usb hdd, so it is possible to boot it on many
> computers. And I have many video drivers installed on it.

Do you use the nvidia driver on some machine? Otherwise just uninstall
it ...

Your setup is very special. You will need to reconfigure several things
depending on whether nvidia gpu is available or not, e.g.
/etc/X11/xorg.conf, the libGL.so.1 selection, ...

> /etc/init.d/nvidia-kernel from nvidia-kernel-common creates /dev/nvidia0 and
> /dev/nvidiactl on every boot, even I don't have nvidia card. And on each access

Please have a look in /etc/default/nvidia-kernel, you can disable
creating the device there.

> to /dev/nvidia0 udev tries to load nvidia module and computers freezes for
> several seconds. flashplugin-nonfree tries to do something with /dev/nvidia0
> several times at start and computer freezes for about half a minute.

Feel free to provide a patch for /etc/default/nvidia-kernel that checks
whether nvidia video hardware is installed and skips device creation if
it can be safely said that no such hardware is available. Do not assume
lspci etc. are installed everywhere, so fall back to device creation if
you can't properly check for the device.


Andreas





More information about the pkg-nvidia-devel mailing list