LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2006, 08:58 AM   #1
docwily
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Wheezy (Stable)
Posts: 17

Rep: Reputation: 0
stock kernel recompile troubles


hello , i just recompiled 2.4.31 (stock) for 10.2 for SMP support and it all compiled properly
once that was finished....

i did this

cp /usr/src/linux/arch/i386/kernel/bzImage /boot/vmlinuz

then

cp System.map /boot/System.map

then i rebooted and all seemed fine/ but it got to loading the rc.hotplug file and the machine freezes,
BTW: i didnt run make modules or make modules_install because i didnt think that i needed to

whats going on??? ::cheers.

Last edited by docwily; 03-22-2006 at 09:02 AM.
 
Old 03-22-2006, 09:01 AM   #2
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Did you run lilo?
 
Old 03-22-2006, 09:06 AM   #3
docwily
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Wheezy (Stable)
Posts: 17

Original Poster
Rep: Reputation: 0
yeah i did
 
Old 03-22-2006, 09:47 AM   #4
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by docwily
yeah i did
You need the modules as well
 
Old 03-22-2006, 10:06 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Quote:
BTW: i didnt run make modules or make modules_install because i didnt think that i needed to
But it is needed!
Boot the system with the old kernel you hopefully still have and finish the installation of the new kernel by doing the steps you left out.
As it is now: you have a new kernel, but no (or the old) modules. I wouln't expect that to work flawlessly.

Last edited by jomen; 03-22-2006 at 10:07 AM.
 
Old 03-22-2006, 10:52 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,971
Blog Entries: 46

Rep: Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195Reputation: 3195
Quote:
Originally Posted by docwily
hello , i just recompiled 2.4.31 (stock) for 10.2 for SMP support and it all compiled properly
once that was finished....

i did this

cp /usr/src/linux/arch/i386/kernel/bzImage /boot/vmlinuz

then

cp System.map /boot/System.map

then i rebooted and all seemed fine/ but it got to loading the rc.hotplug file and the machine freezes,
BTW: i didnt run make modules or make modules_install because i didnt think that i needed to

whats going on??? ::cheers.

Hi,

You need to reboot to your original configuration. Then cd to your linux source directory;

Code:
#cd /usr/src/linux
#make modules
#make modules_install
Hope you did not make clean or make mrproper. If you did not then the modules still can be created and installed.

Just compiling the kernel source to create the image and using image will get you just that an image without the needed modules. You need to use the object files created during the compilation to produce the modules.

Check out reference #4 and #6 in my sig!

HTH!
 
Old 03-22-2006, 05:16 PM   #7
docwily
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian Wheezy (Stable)
Posts: 17

Original Poster
Rep: Reputation: 0
thanx guys. for the help ! i will let you know how i go
 
  


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
What is stock kernel? kskkumar Linux - General 6 09-13-2008 05:46 AM
Pakcages in stock kernel kskkumar Linux - General 1 11-26-2005 12:38 AM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 06:34 PM
Fedora with a stock kernel Baltasar Fedora 4 01-26-2004 07:03 PM
Kernel recompile troubles Kalthor Debian 7 07-04-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:14 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
Open Source Consulting | Domain Registration