kernel upgrade and module names incompatibility and /etc/modules.conf
Recently I came across a problem. Module name incompatibility..
I use Realtek 8139 ethernet card.
I upgraded my kernel from 2.2.16 to 2.4.14.
For a perticular hardware, the module names in these two kernels are different. How do we resolve those if you want to use both the kernels?
Here is the outline: The /etc/modules.conf uses rtl8139.o for
2.2.16, the module for the card. And in 2.4.14, the module for
the card is : 8139too.o
section of /etc/modules.conf..
# options rtl8139
alias eth0 rtl8139 -> 1. enabled only for 2.2.16
alias eth0 8139too -> 2. enabled only for 2.4.14
Whenever I use the old kernel, I manually comment out the second line. And when I want use the new kernel, I comment out the first line. This is very annoying and I hate to do it everytime. Another downside is that you should kknw what kernel you are booting into beforehand and is not always possible.
Is there a way to bind a module name to a specific kernel?
Thanks.
Ravi
|