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

bugzilla at busybox.net bugzilla at busybox.net
Sat Sep 26 17:41:48 UTC 2009


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





--- Comment #2 from Jiri J. <jirij.jabb at gmail.com>  2009-09-26 17:41:47 UTC ---
It might be unrelated, however it might also help:

Both the directory search (dirscan) and module body searches (filename order)
are done in reverse when the filesystem is mounted read-write. It appears to be
normal (a->z) when the filesystem is read-only. This also applies to depmod.

Ie. with read-only filesystem, the search looks like
--------------------------------------------------
modprobe: 'kernel/arch/x86/kernel/scx200.ko' module name doesn't match
modprobe: 'kernel/crypto/aead.ko' module name doesn't match
modprobe: 'kernel/crypto/chainiv.ko' module name doesn't match
modprobe: 'kernel/crypto/crc32c.ko' module name doesn't match
modprobe: 'kernel/crypto/crypto.ko' module name doesn't match
...
modprobe: 'kernel/net/ipv6/sit.ko' module name doesn't match
modprobe: 'kernel/net/llc/llc.ko' module name doesn't match
modprobe: 'kernel/net/sctp/sctp.ko' module name doesn't match
modprobe: 'kernel/net/sunrpc/sunrpc.ko' module name doesn't match
modprobe: 'kernel/net/sunrpc/xprtrdma/svcrdma.ko' module name doesn't match
modprobe: 'kernel/net/sunrpc/xprtrdma/xprtrdma.ko' module name doesn't match
modprobe: dirscan complete
modprobe: find_alias('pci:v00008086d00007010sv00000000sd00000000bc01sc01i80')
modprobe: opened modules.dep.bb.new:-1
modprobe: parse_module('kernel/arch/x86/kernel/scx200.ko')
modprobe: alias:'pci:v0000100Bd00000515sv*sd*bc*sc*i*'
...
modprobe: alias:'symbol:scx200_gpio_base'
modprobe: parse_module('kernel/crypto/aead.ko')
modprobe: alias:'symbol:crypto_alloc_aead'
...
modprobe: dep:'crypto_algapi crypto'
modprobe: parse_module('kernel/crypto/chainiv.ko')
modprobe: dep:'crypto_algapi rng crypto_blkcipher'
modprobe: parse_module('kernel/crypto/crc32c.ko')
modprobe: dep:'crypto_hash'
modprobe: parse_module('kernel/crypto/crypto.ko')
modprobe: alias:'symbol:crypto_has_alg'
modprobe: alias:'symbol:crypto_destroy_tfm'
--------------------------------------------------

while on the read-write filesystem (where modules.dep.bb can be created), it's
--------------------------------------------------
modprobe: 'kernel/net/sunrpc/xprtrdma/xprtrdma.ko' module name doesn't match
modprobe: 'kernel/net/sunrpc/xprtrdma/svcrdma.ko' module name doesn't match
modprobe: 'kernel/net/sunrpc/sunrpc.ko' module name doesn't match
modprobe: 'kernel/net/sctp/sctp.ko' module name doesn't match
modprobe: 'kernel/net/llc/llc.ko' module name doesn't match
modprobe: 'kernel/net/ipv6/sit.ko' module name doesn't match
modprobe: 'kernel/net/ipv6/ipv6.ko' module name doesn't match
modprobe: 'kernel/net/ipv4/tunnel4.ko' module name doesn't match
...
modprobe: 'kernel/crypto/chainiv.ko' module name doesn't match
modprobe: 'kernel/crypto/aead.ko' module name doesn't match
modprobe: 'kernel/arch/x86/kernel/scx200.ko' module name doesn't match
modprobe: dirscan complete
modprobe: find_alias('pci:v00008086d00007010sv00000000sd00000000bc01sc01i80')
modprobe: opened modules.dep.bb.new:3
modprobe: parse_module('kernel/net/sunrpc/xprtrdma/xprtrdma.ko')
modprobe: dep:'sunrpc ib_core rdma_cm'
modprobe: grow stringbuf to 149
modprobe: parse_module('kernel/net/sunrpc/xprtrdma/svcrdma.ko')
modprobe: dep:'ib_core sunrpc rdma_cm'
modprobe: parse_module('kernel/net/sunrpc/sunrpc.ko')
modprobe: alias:'symbol:rpc_call_null'
--------------------------------------------------


-- 
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