[Bug 627] modprobe-small: incorrect alias-based probe with dep_bb_fd < 0

bugzilla at busybox.net bugzilla at busybox.net
Sun Sep 27 12:23:21 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=627





--- Comment #9 from Denys Vlasenko <vda.linux at googlemail.com>  2009-09-27 12:23:19 UTC ---
>> loads ata_generic.ko in both cases.
>.. which is wrong.
>I don't have any hardware ata_generic.ko might drive, moreover:
>
># grep 00007010 /mnt/lib/modules/2.6.29.6/modules.alias
>alias pci:v00008086d00007010sv*sd*bc*sc*i* piix
>alias pci:v00008086d00007010sv*sd*bc*sc*i* ata_piix

pci:v00008086d00007010sv00000000sd00000000bc01sc01i80 matches

in ata_piix:
alias=pci:v00008086d00007010sv*sd*bc*sc*i*

in ata_generic:
alias=pci:v*d*sv*sd*bc01sc01i*

In order to make modprobe-small prefer ata_piix, we need to introduce the
concept of "better" and "worse" matches. Any ideas what this weight might be?


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list