On Thu, Jun 10, 2004 at 03:21:31PM +0530, J.S.Sahambi 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!! >
Add all the modules you need for both kernels to the same file. If the module is not found it may warn you in syslog or something but shouldn't have any other problems with it (I did it until I can to the conclusion that 2.6 wasn't ready for me yet, suspend stability issues at the time). > Thanks > JSS > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]