modprobe broken with recursive deps
Mike Frysinger
vapier at gentoo.org
Tue May 5 13:30:01 UTC 2009
On Tuesday 05 May 2009 08:44:39 Timo Teräs wrote:
> Mike Frysinger wrote:
> > doing `modprobe` on any module that only has a dependency list <=1 level
> > deep works fine. as soon as i try to modprobe anything deeper, modprobe
> > fails to act recursively. so lets look at the case of `modprobe snd-pcm`
>
> This was intentional. It speeds up loading time and reduces memory
> requirements considerably.
>
> The proper thing is to have modules.dep to contain full dependency list on
> it for each module. The depmod should generate a file like that (if it
> doesn't it's a depmod bug). I think module-init-tools depmod does the same.
busybox should mirror whatever module-init-tools is doing. if it isnt, then
it's a bug in busybox, or it should be an optional config option.
the m-i-t man files arent terribly clear here and my modules.dep isnt deep ...
will have to read the code to check
> Or did you generate modules.dep with something else?
i'm using the depmod.pl part of busybox, so there's a bug in busybox somewhere
here
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090505/0b243b29/attachment-0001.pgp>
More information about the busybox
mailing list