Duplicate drivers and hotplug, aka "Live CD doesn't detect RTL-8139"

Alexander E. Patrakov alexander at linuxfromscratch.org
Sun Jun 5 02:18:52 PDT 2005


The following bug has been reported on #lfs-support today:

a user complained that the Live CD doesn't detect his Realtek RTL-8139 
network card. It loaded the 8139cp module, with the following effect:

8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 000:03:01.0 (id 10ec:8139 rev 10) is not an 8139C+ 
compatible chip

The right module would be 8139too.

This problem exists for all hardware when there are two different 
drivers for the same PCI ID. Currently, the Live CD kernel has both 
drivers as modules. Possible solutions:

1) don't build 8139cp, since 8139 works (maybe with suboptimal speed) 
for all RTL-8139 network cards.
2) build 8139cp and blacklist it in /etc/hotplug/blacklist (to be tested 
by someone else).

The same problem exists for other hardware, e.g. Intel EtherExpress 100 
and Tulip network cards, but I don't know the situation well for those 
chipsets (both e100 and eepro100 work here).

Please suggest other changes in the kernel configuration or in hotplug 
blacklist needed to address this kind of problems. The current Live CD 
kernel .config file can be found at:

http://svn.linuxfromscratch.org/viewcvs.cgi/*checkout*/trunk/linux/config?root=livecd

-- 
Alexander E. Patrakov



More information about the lfs-support mailing list