Re: modprobe + request_module() deadlock

Alexander E. Patrakov
2004-11-19T04:02:51Z

Takashi Iwai wrote:

> Can we add a module dependency manually somehow?

Yes, recommend the user to add something like this to /etc/modprobe.conf:

install a modprobe -i a ; modprobe b ; true

But IMHO Rusty should provide a way to specify those "recommended" install
lines in the modules themselves (so that they finally go
to /lib/modules/`uname -r`/modules.alias or a similar autogenerated file),
like that's already done wih aliases and char-majors.

Also Greg KH said in the past that module autoloading (i.e. the non-empty
request_module() function) should be marked as obsolete (and therefore the
use of request_module() should be eliminated).

--
Alexander E. Patrakov