LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2003, 07:49 PM   #16
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30

In a strange twist, following grym's advice with the old config, the ne kernel image causes the computer to restart as soon as it should be loading the kernel.

Any ideas?

And I did add a few things to the old config eg. Netfilter support.
 
Old 09-13-2003, 08:09 PM   #17
jisse
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: rh/debian
Posts: 43

Rep: Reputation: 15
If you want to start fresh:
/usr/src/linux... # make mrproper
I do no know who Mr. Proper is, but I do know that if your kernel source is pretty much messy, it cleans up the mess and lets you start all over again. But do NOT copy any .config file back in to the directory. You have to start from scratch again with all the options --> time-consuming...
 
Old 09-13-2003, 08:28 PM   #18
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
A little addition information. I usually follow this routine on my many tries so far:

# make clean
# make mrproper
# make xconfig //where i load and update a past config file
# make dep
# make bzImage
# make modules
# make modules_install
# mkinitrd .....

then i copy and rename the kernel image and reboot...
and encounter failure.
 
Old 09-13-2003, 11:30 PM   #19
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
Quote:
Originally posted by jisse
If you want to start fresh:
/usr/src/linux... # make mrproper
I do no know who Mr. Proper is, but I do know that if your kernel source is pretty much messy, it cleans up the mess and lets you start all over again. But do NOT copy any .config file back in to the directory. You have to start from scratch again with all the options --> time-consuming...
Doing a make clean is usually sufficient make mrproper is like make clean but also deletes the configs. however after running either of these commands you can copy the old .config back into the directory as I have done many times successfully. then you use make oldconfig please notice oldconfig is one word. this is acceptable please read kernel docs for more info if you would like. make oldconfig would just replace the command make xconfig or menuconfig etc
 
Old 09-13-2003, 11:37 PM   #20
grym
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
Quote:
Originally posted by pembo13
A little addition information. I usually follow this routine on my many tries so far:

# make clean
# make mrproper
# make xconfig //where i load and update a past config file
# make dep
# make bzImage
# make modules
# make modules_install
# mkinitrd .....

then i copy and rename the kernel image and reboot...
and encounter failure.
These steps are appropriate except you do not need to do both make clean and make mrproper. choose one and use it make clean is usually sufficient but make mrproper is more thorough. and if you use an old config file you would substitute make oldconfig for make xconfig
 
Old 09-14-2003, 01:15 AM   #21
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
We sirs,

I've gotten past the stalling on the check for new hardware. Thanks to use the # make oldconfig and working in my additions from there. I have problems believing that my kernel was ever working with those (old) configurations. But I've got alot to learn.

The check and failure for keybdev and mousedev still peruse and I'd still like to solve them.

But my new problem is oen i've found cummon to all my RedHat installations so far...NIC jumping. They seem to switch MAC address etc. I had to return to my old kernel so i could get net access.

I suspect me compiling the NIC drivers into the kernel instead of as modules didn't help either...so I'm on my my to doing that now.

Any way I could possibly pin point which options previously made me not boot?

Anyways, thanks for the trememndoues help thus far.
Thank you.
 
Old 09-24-2003, 06:43 PM   #22
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
I'm proud to say, that with my all that great help I've got my kernel is now fuly (99%) working. I was havign a problem with determine ip information. Turned out i'd forgotten to turn on socket filtering...fixed now.

My new kernel actually also fixed a slight problem i was having Iptables.

But I'm still getting the following on boot:
Can't locate module keybdev
Can't locate module mousedev

What options exactly do I have to enable/disable exactly to get this to work? It works on my old kernel.

Next....as you may presume, I'm quite excited abotu having completed my kernel. Is it possble to package the entire kernel build including modules into a relocateable rpm? If so how would I go about doing that?

Thanks to all once again.
 
  


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 03:29 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