LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2003, 02:01 PM   #1
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
The Kernel hates me. Please advise.


For literally several grueling days I've been attempting to compile and boot the latest Linux Kernel release. This is my first time, and after several errors, most caused by my own ignorance I seemed to have comeup with a winning kernel configuration except for one heartbreaking fact.....

.....the boot insists on stalling on: Checking for new hardware..... Just to test that it was not my own impatience, I've left it over night once, and stil next morning, it was still checking for new hardware.

What could the problem possibly be?

Please advise.
Thank you.
 
Old 09-12-2003, 02:24 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
can you bypass the new hardware detection?

Or boot with nothing (I think its lilo:single or something...I just saw it on another thread)...that way you can get all the way into your system, disable kudzu (I think that's the hardware checker thingy) and then boot normally so you can look at logs and figure out what's wrong (finding a specific error message would be a great start)
 
Old 09-12-2003, 07:07 PM   #3
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Ok....thanks for the idea.....i'll run with that rigth now.

Thanks.
 
Old 09-12-2003, 11:28 PM   #4
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Thanks for that piece of advice.....but there's one issue i think I should try to resolve before I disable Kudzu.

On boot with my kernel I get this error messages:

Can't locate module keybdev
Can't locate module mousedev

However, the closest thing to these I see in the compile confiugrations are under USB Support, and they are:

USB HIDBP Keyboard (basic support)
USB HIDBP Mouse (basic support)

Now the only way I can access these options is if I set the "USB Human Interface Device (full HID) support" to m (module) or n (no). This however cuases me to get a third error on boot, that it can't locate the module for hid.

How can I aquire the misisng modules?
Please advise
Thank you.
 
Old 09-13-2003, 12:16 AM   #5
Peppercorn
Member
 
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
take this advice carefully as I'm no expert!!!

However, I had an exact same problem with my usb modem. Hanging on startup that is, (checking for new hardware)

I went into etc/hotplug/blacklist
and made an entry there as root
"dabusb" without the quotes

Reboot and there were no more probs.

Tell me if it works!
 
Old 09-13-2003, 12:28 AM   #6
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Well I'll be sure to try your suggestion.

But the problem about the missing modules is kind of wierd, since my old kernel seems to have these modules, is it as simple as coping these modules (which I'm about to try)?

Also, the source seems to build the necessary modules yet it does not install them.

Please advise
Thank you
 
Old 09-13-2003, 06:13 AM   #7
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
what do you mean by lateest, 2.4.x or 2.6.x?
 
Old 09-13-2003, 10:41 AM   #8
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Ok, sorry about that. I meant the latest stable version......2.4.22.

But right now there's one issue I've noticed and I suspect I should try to fix it before I bypass Kudzu.

On boot I get error messages even before Kuzu starts saying:
Can't locate module keybdev
Can't locate module mousedev

My old kernel doesn't get this error cuase it has this modules..for soem reason these modules don't get installed with my new kernel.

How can I rectify that?

Please advise
Thank you
 
Old 09-13-2003, 12:47 PM   #9
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
use your old kernel's .config file to compile your new kernel with the command make oldconfig
 
Old 09-13-2003, 03:51 PM   #10
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
This might be a good time to point out that the original Kernel came as part of a RedHat 9.0 installation.

Will the command still work, and if so where would it be done , .ie. from which folder.

Thank you.

Last edited by pembo13; 09-13-2003 at 03:53 PM.
 
Old 09-13-2003, 05:46 PM   #11
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
look in the /boot dir for a file named after your stock kernel

if stock kernel is: vmlinux-2.4.18-2.rh

then your look for: config-2.4.18-2.rh

copy that as .config to your new kernel's source dir then run: make oldconfig
 
Old 09-13-2003, 06:55 PM   #12
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Ok thank you.

I'll try that now. But one question, if after I do #make oldconfig, will this config be reflected in #make xconfig?

Thank you.
 
Old 09-13-2003, 07:03 PM   #13
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Well from what I've seen so far it looks so.
 
Old 09-13-2003, 07:17 PM   #14
jisse
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: rh/debian
Posts: 43

Rep: Reputation: 15
Well, it's very neat if you try to compile your own kernel, you'll gain a lot of knowledge and the kernel runs better if you leave out the options you don't need.

But there's no need!

The message "Checking for new hardware....." is caused by Kudzu. It has nothing to do with the kernel, except that everyting on a GNU/Linux system is correlated to the kernel. Kudzu is just a RedHat tool to check for hardware changes. I highly recommend you disable Kudzu if you reboot a lot but do not change any hardware.
# chkconfig --level 12345 kudzu off

The messages: "
Can't locate module keybdev
Can't locate module mousedev"
indicate that the kernel can't find these modules. These modules are needed if you do HID - needed for USB mouses and USB keyboards. But if you plan to use only PS/2 mouse and keyboard, ignore these messages.

If you want to use in the end HID you have to compile your kernel ofcourse.
 
Old 09-13-2003, 07:23 PM   #15
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Hello jisse,

My I'm soaking up the kernel compiling experience. The main reason fro compiling was to add H323 support to iptables.

THe suggestion about disabling Kudzu has been made by others. But excuse my stubborness, but I suspect if I can solve the issue of the missing modules, Kudzu would behave itself.

If not, I'll be sure to disable Kudzu, thanks for your advice.
 
  


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
Kernel Panic: It won't mount the root filesystem (2.6.8 and 2.6.9) and LILO hates me edman007 Linux - General 4 11-13-2004 06:41 PM
Kernel upgrade error advise needed andy18 Linux - Newbie 14 08-27-2004 01:44 PM
I need some Kernel Advise mst700 Linux - Newbie 9 07-06-2004 05:32 PM
advise upgrade kernel? robertn Mandriva 8 05-01-2004 04:07 PM
Kernel problems, please advise. nny0000 Slackware 5 02-06-2004 03:18 AM


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

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