LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Kernel 2.4.23 module problem (https://www.linuxquestions.org/questions/linux-software-2/kernel-2-4-23-module-problem-124150/)

powadha 12-09-2003 05:25 AM

Kernel 2.4.23 module problem
 
I finally managed to install the 2.4.23-xfs kernel next to my 4.2.18-xfs kernel thanx to a lot of help by you guys and the 'very verbose tutorial' at http://www.osnews.com/story.php?news_id=2949

It does leave me with some strange problems I can't find an answer for. The kernel boots but during boot I get quite some errors. One of them is about iptables and the rest is about modules that can't be found. Strange since I build the new kernel without modules. Just compiled the things I needed into the kernel. So question is, does the kernel still use the old module config or something? Doesn't a new one be created during compile? If not, how can people use two kernels completely working if the kernels are differently compiled? Final question how do I get this fixed? What files need to be changed and how?

Lot of questions about the kernel again, sorry!

hw-tph 12-09-2003 06:20 AM

Most distributions use a file with the names of the modules which should be loaded at startup. If you have compiled your most needed modules into the kernel you should remove those modules from this module file (they're built in so they can't be loaded). In Debian it is /etc/modules, in Gento it's /etc/modules.autoload.d/kernel-<version>. If you have your old modules there you will get a lot of error messages during startup.

Also, to review the kernel boot messages, type dmesg | more. You may have to be root to do this.

Håkan

powadha 12-09-2003 06:28 AM

Great! Thanx for pointing this out. I gues I'll just have to compare the old and new config file and make the changes to the /etc/nodules file.


All times are GMT -5. The time now is 10:39 AM.