Hello J.S.Sahambi (<[EMAIL PROTECTED]>) wrote:
> I am using Debian/unstable and recently instlaled kernel 2.6.6. Now on > my system I have three kernels, viz., 2.4.20-bf2.4, 2.4.26-1-686 and > 2.6.6-1-686. > > The problem is that 2.4 and 2.6 kernels have different set of modules > to load, for example for usb 2.4 uses the module usb-uhci.o but 2.6 > uses uhci-hcd.ko. But the /etc/modules file not versioned! > > So is there any method by which the system can load appropriate > modules when booting with kernel 2.4 or 2.6? The problem is that there > is only ONE /etc/modules for all kernels!! Use alias entries (e.g. alias usb-uhci uhci-hcd) in /etc/modutils or /etc/modprobe.d. This way loading ush-uhci will work with 2.4 and 2.6 kernels. best regards Andreas Janssen -- Andreas Janssen <[EMAIL PROTECTED]> PGP-Key-ID: 0xDC801674 ICQ #17079270 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]