Re: modprobe + request_module() deadlock
From: Alexander E. Patrakov
Date: Thu Nov 18 2004 - 23:04:28 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/