LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-04-2007, 12:55 PM   #1
somnambulist
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.4 Arch 0.7.2
Posts: 9

Rep: Reputation: 0
Unhappy issues building 2.6.19.2 kernel with SMP


I am running slackware 11 on a dell inspiron 1505 with an intel core duo 1.6 processor and i have been trying to compile a new 2.4.19.2 kernel with SMP to utilize both cores but after i have it compiled and i boot from it in lilo my system will not load up, it generates no error message but the caps lock and scroll lock lights flash off and on (which i presume to be some kind of kernel panic?)

here are the steps i took

downloaded kernel source from kernel.org
unloaded it in /usr/src/linux2.6/
make mrproper
make menuconfig
make bzImage
make modules
mv /boot/vmlinuz /boot/vmlinuz.old
cat arch/i386/boot/bzImage > /vmlinuz
mv /boot/System.map /boot/System.map.old
cp System.map /boot/System.map
make modules_install
/sbin/lilo (lilo correctly loads the new image)

but when i load from the new lilo entry with SMP it locks up

do you want my .config file?

i assume it is some problem that i built in when i used menuconfig? help i need both cores!
 
Old 02-04-2007, 01:04 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
You are using 2.4 kernel building commands
For 2.6 use it this way.

Run these first if needed. Usually not.
* make mrproper ( only needed if kernel has been built before and wish to return to default)
* make oldconfig ( to create a config file based on current setup )

Use any one of the following.
* make menuconfig ( kernel editor )
* make xconfig ( differnet kernel editor )
* make gconfig ( another differnet kernel editor )

Build kernel and modules
* make ( builds kernel image and modules )
* make modules_install ( installs modules in /lib/modules/`uname -r` )
* make install ( copies the kernel image to boot, build system.map, make initrd file, and add to grub boot manager )

Brian

Last edited by Brian1; 02-04-2007 at 01:06 PM.
 
Old 02-04-2007, 04:44 PM   #3
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
I don't know if it will affect you, but I have to use a NON SMP kernel on my E1705. My wireless NIC encounters IRQ conflicts and the kernel will disable the IRQ, as soon as my wireless, or wired NIC uses the second CPU for anything.

Other then my wireless issues, the SMP kernel runs great, but so does the 486 kernel and it has no issues with IRQ conflicts.
 
Old 02-05-2007, 09:35 PM   #4
somnambulist
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.4 Arch 0.7.2
Posts: 9

Original Poster
Rep: Reputation: 0
hmm, i tried brian1's method but i acheived the same results, and it actually appears to have messed up my backup non-smp image, anyone have any other ideas?
 
  


Reply

Tags
kernel, smp


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
slack 11, huge26.s kernel, internet and SMP issues Twister512 Slackware 2 01-19-2007 12:49 PM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 06:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 08:06 AM
Issues compiling with Mylex SCSI RAID and SMP :( RucasRiot Linux - General 0 02-18-2004 11:10 PM
i come w/ SMP issues RIgimp75 Linux - Hardware 4 03-19-2003 10:40 PM


All times are GMT -5. The time now is 06:32 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration