[Bug 13743] Hang when hotplug tries to load driver for 8139 card

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sun Aug 21 22:17:38 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=13743
Ubuntu | module-init-tools


ben.collins at ubuntu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|8139cp and 8139too contain  |Hang when hotplug tries to
                   |overlapping PCI IDs but are |load driver for 8139 card
                   |incompatible                |




------- Additional Comments From ben.collins at ubuntu.com  2005-08-21 23:17 UTC -------
No, the PCI id's are not "overlapping", they are exactly the same. That's
because an 8139, 8139C and 8139C+ card all have the same hard PCI vendor/device
combination. We can't change that, nor work around it. As I explained in a
previous message to this bug, the only way to tell if an 8139 card supports C+,
is for the driver to read the firmware.

Also, the drivers are not incompatible. The 8139too driver actually works on all
3 variations of the card. However, only the 8139cp driver works for the C+
variation. IMO, the kernel upstream should merge 8139too and 8139cp in order to
work with all three variations. But, that's Jeff's thing, and there may be
reasons why the two drivers exist (it may not be feasible to have a driver that
supports C+ and 8139/8139C).

To answer the previous post about hotplug getting confused, I can't accept that.
Loading most PCI drivers will look successful (no error return from modprobe)
even if the device doesn't exist. Atleast this is the case with most modern
drivers. So the return value from modprobe cannot be used, and I'm sure it isn't.

What I see as happening is that hotplug loads the driver, and gives the driver
some time to initialize the device (checking available interfaces to see if one
appears). IMO, this delay is too long. Should probably be more like 5 seconds.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list