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. |
did you change kernel versions? for the life of me, i can't remember which kernel 7.2 shipped with.
|
7.2 had 2.4.7-10. What does the 7-10 mean, anyway?
|
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. |
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). |
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?
|
Yikes! Now the old kernel gives me errors. And a service called lpd fails to shutdown. My old kernel works, so far.
|
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. |
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. |