Re: How do I use modules with 2 kernels?
Barrie Stott <G.B.Stott@bolton.ac.uk> writes:
> I have used kernel 2.4.18 for a year or so on my current machine and
> now I am also using 2.6.8-1-686 on the same machine. I can specify the
> modules I want loaded at boot time in /etc/modules so should I put
> modules for both 2.4 and 2.6 kernels in there?
If you create /etc/modules-2.4 and /etc/modules-2.6, then the file
matching the kernel version is read instead of /etc/modules. So you
can have different module lists for 2.4 and 2.6 kernels.