[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to keep 2.4 and 2.6 kernels simultaneously



Hello

J.S.Sahambi (<jsahambi@iitg.ernet.in>) 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 <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: