LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2002, 04:22 PM   #1
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Rep: Reputation: 15
Question 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.
 
Old 12-20-2002, 04:54 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
did you change kernel versions? for the life of me, i can't remember which kernel 7.2 shipped with.
 
Old 12-20-2002, 04:56 PM   #3
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Original Poster
Rep: Reputation: 15
7.2 had 2.4.7-10. What does the 7-10 mean, anyway?
 
Old 12-21-2002, 02:52 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,186

Rep: Reputation: 52
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.
 
Old 12-21-2002, 04:32 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
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).
 
Old 12-21-2002, 08:09 PM   #6
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Original Poster
Rep: Reputation: 15
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?

Last edited by Snabber; 12-22-2002 at 10:47 AM.
 
Old 12-22-2002, 10:49 AM   #7
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Original Poster
Rep: Reputation: 15
Yikes! Now the old kernel gives me errors. And a service called lpd fails to shutdown. My old kernel works, so far.
 
Old 12-22-2002, 12:24 PM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,186

Rep: Reputation: 52
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.
 
Old 12-22-2002, 04:56 PM   #9
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
recompile kernel problem usr Linux - Newbie 3 10-25-2003 08:32 AM
Recompile Kernel problem CryptDragoon Linux - Newbie 3 10-09-2003 04:13 PM
Recompile Kernel problem CryptDragoon Linux - Newbie 1 10-09-2003 11:35 AM
kernel recompile problem gwroy20 Linux - Software 3 09-05-2003 11:56 PM
Kernel recompile problem DiBosco Linux - Software 4 01-22-2002 02:46 AM


All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration