LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Recompile Problem (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-recompile-problem-38994/)

Snabber 12-20-2002 04:22 PM

Kernel Recompile Problem
 
Hello. My name is Eric. I am new to Linux and am having a problem recompiling the kernel on my Compaq Armada M300 laptop running RedHat V7.2. I am using GRUB. I followed the steps in the kernel howto, downloading the sources, make xconfig, etc. When I had finished make bzImage, I ran make modules, make install, and make modules_install. For some reason, when I rebooted to my new kernel, I got errors like modprobe: cannot locate char-something during the boot. I know this is some program with loadable modules, but I have no idea what caused it or how to fix it. Help!

Thanks,
Eric M.

isajera 12-20-2002 04:54 PM

did you change kernel versions? for the life of me, i can't remember which kernel 7.2 shipped with.

Snabber 12-20-2002 04:56 PM

7.2 had 2.4.7-10. What does the 7-10 mean, anyway?

whansard 12-21-2002 02:52 AM

the -10 means redhat's 10th version before they shipped it.

don't worry about those messages until you run into
something that doesn't work.

you can look at /etc/modules.conf or is it conf.modules
and see which modules are aliased with the char
whatever you error you are seeing.

unSpawn 12-21-2002 04:32 AM

If you have probs with modules you don't need or have and don't wanna see a warning, try adding a line like (don't use this line, it's for Appletalk) "alias net-pf-5 off" to /etc/modules.conf.
Btw, posting errors does come in handy for ppl to help.

Btw[1], IIRC the 10 means revision ten. The kernel version is the branch (2.4) + release (7).

Snabber 12-21-2002 08:09 PM

Thank you. I know that these messages aren't important, but I compiled most of the options I need as modules. When I run the old kernel and do a lsmod, I get between four and ten modules. The new kernel never has more than three running. What is wrong and how can I fix it?

Snabber 12-22-2002 10:49 AM

Yikes! Now the old kernel gives me errors. And a service called lpd fails to shutdown. My old kernel works, so far.

whansard 12-22-2002 12:24 PM

if you recompiled the same kernel version, your
modules would over write your old ones when you
install.
lpd is the printer daemon.
it probably will not shut down because it didn't start
in the first place.

Snabber 12-22-2002 04:56 PM

Ok. Now I compiled 2.4.13 and this time it worked!!! :) However, no matter what kernel I boot, sendmail takes *forever* to start or stop. Now LPD works though. Thanks for your help.


All times are GMT -5. The time now is 02:45 PM.