Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174220

Summary: migrate blacklist entries from hotplug to udev
Product: Gentoo Linux Reporter: Michal Suchanek <hramrach>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Suchanek 2007-04-11 22:55:22 UTC
There were some default blacklist entries in /etc/hotplug/blacklist.

These prevented modules like evbug or eth1394 from loading.

The file /etc/modprobe.d/blacklist (and the directory modprobe.d) does not even exist.

As these modules can cause minor to severe problems if autoloaded by udev the blacklist should be migrated to the new files.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-11 23:04:51 UTC
(In reply to comment #0)
> These prevented modules like evbug or eth1394 from loading.
> The file /etc/modprobe.d/blacklist (and the directory modprobe.d) does not even
> exist.

It does exist w/ >=udev-106-r3; and evbug is already. If you have some other suggestions what should be added, then post your suggestions and reason why should it be done here. Blacklisting eth1394 for everyone plain doesn't make sense.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-11 23:05:47 UTC
$ cat /usr/portage/sys-fs/udev/files/blacklist 
# This file lists modules which will not be loaded by udev,
# not at coldplugging and not on hotplug events.

# Add your own entries to this file
# in the format "blacklist <name of module>"

# Some examples:
# evbug is a debug tool and should be loaded explicitly
blacklist evbug

# You probably want this to not get the console beep loud on every tab :)
#blacklist pcspkr

# these drivers are very simple, the HID drivers are usually preferred
#blacklist usbmouse
#blacklist usbkbd

# Sometimes loading a framebuffer driver at boot gets the console black
#install pci:v*d*sv*sd*bc03sc*i* /bin/true
Comment 3 Michal Suchanek 2007-04-12 15:39:02 UTC
This is the content of the file:

# uhci ... usb-uhci handles the same pci class
usb-uhci
# usbcore ... module is loaded implicitly, ignore it otherwise
usbcore

# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
de4x5
# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
dmfe

#evbug is a debug tool and should be loaded explicitly
evbug

# Don't hotplug eth1394, bug #128962
eth1394

shpchp


I do not understand the reason for usb-uhci, I would myself think it should be loaded. There is a bug for eth1394 whith detailed reasons. As for the tulip drivers: there are several, and somebody probably thought the tulip one is better than others. I also had to choose tulip over de4x5 for a pci card.
Comment 4 Michal Suchanek 2007-04-12 15:40:38 UTC
oh, yeah, and udev 106 is not stable, not even on x86.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-12 20:38:39 UTC
As said, the whole content of the file is in Comment #2. If you have recommendations to that, see above. 
Comment 6 Michal Suchanek 2007-04-13 12:57:16 UTC
eth1394 - see the bug mentioned in the hotplug file.