Red Hat Bugzilla – Bug 172051
Kudzu can't cope with multiple drivers depending on same PCI ID
Last modified: 2014-03-16 22:56:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050923 Galeon/1.3.21
Description of problem:
Kudzu appears to determine which drivers to use for which devices by examing modules.pcimap. Unfortunately it is unable to cope with situation where multiple modules list the same PCI ID. This hits Opteron AMD-8111 systems where both i2c-amd756 and hw_random list 1022:746b as a suitable PCI ID. E.g.:
# grep 746b /lib/modules/2.6.13-1.1532_FC4smp/modules.pcimap
i2c-amd756 0x00001022 0x0000746b 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
hw_random 0x00001022 0x0000746b 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
The result is that kudzu uses the first match and writes out a /etc/sysconfig/hwconf which contains only 'driver: i2c-amd756' for this "AMD-8111 ACPI (rev 05)" device, hence hw_random is not loaded on boot, hence rngd is never started.
IWBN if kudzu and the hwconf file could deal with both.
Alternatively, i2c-amd756 should not list any pci-ids in module information, given that the sensors stuff has a seperate detection script.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run kudzu
2. Observe that only one of the multiple modules applicable to a device is entered
3. Missing functionality after boot, have to manually load modules or use ad-hoc boot scripts.
Actual Results: hw_random was not loaded. Only i2c-amd756.
Expected Results: hw_random should have been loaded too.
This is fixed in the devel tree (in FC Test 1 & Test 2); we use a different
mechanism to determine what modules to load.