Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-04-2007, 04:25 PM   #1
Registered: Jan 2004
Posts: 53

Rep: Reputation: 16
computer hangs during make bzImage

basically exactly what it says....trying to compile the 2.6.22 kernel from the orig default for slack 12.....i've compiled many times before (on slack 9, 10 and 11) but now im stuck for some reason with 12.

please shed some of your godly advice


Last edited by pitt30; 10-04-2007 at 04:52 PM. Reason: advise was spelled wrong..fixing as it annoys me
Old 10-04-2007, 05:30 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Posting the error you get if any would help.

In the 2.6 kernels I use just ' make '. It builds the kernel and modules in one command.
Basically my steps.
make xconfig ( edit the kernel config )
make ( make the kernel and modules )
make modules_install ( install modules to /lib/modules/`uname -r`
make install ( install kernel to /boot and add to grub.conf )

Old 10-04-2007, 07:12 PM   #3
Registered: Jan 2004
Posts: 53

Original Poster
Rep: Reputation: 16
nope, tried that, still no go. i think it has to do with the default loading smp and its an athlon xp1400. i dont know, im at a loss

i was also thinking a marginal power supply but took off the floppy and cdrom to give it a little more juice but no luck there either

thanks for the help, keep the suggestions coming
Old 10-04-2007, 07:23 PM   #4
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
It's doubtful that the SMP kernel would be giving you a problem, but it IS possible. When you boot the machine, try adding "maxcpus=1" to the grub or LILO boot line.

**NOTE - If it isn't 'maxcpus=' then its 'maxcpu=' but as I recall it's plural. Check with Google or a LILO/GRUB tutorial to be sure, but you will see in dmesg after boot whether it took the command or not.. This will boot the kernel in single-CPU mode.
Another or different way is to add 'nosmp', but don't quote me on this one, I have never used this one, and am not sure it is even valid..

Last edited by GrapefruiTgirl; 10-04-2007 at 07:24 PM.
Old 10-05-2007, 06:50 AM   #5
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287
Are you building the kernel as a regular user or as root ? It is recommended that you build as regular user to avoid possible hand-to-detect issues with the kernel.
Old 10-05-2007, 07:57 AM   #6
Registered: Jan 2004
Posts: 53

Original Poster
Rep: Reputation: 16
sorry for the late post..i tried the maxcpus option with no luck, it still stalls. and to answer the othe posters question. i have been doing this as root, never tried it with a user. but ill give it a shot

this whole thing started cause i had some time and new i had to recompile as when i first intsalled 12 i used the smp kernel by mistake. thought i would do some house cleaning and now im wasting more time than its worth...

ill try again this morning with a fresh head and may just reinstall if neccessary
Old 10-06-2007, 10:10 PM   #7
Registered: Jan 2004
Posts: 53

Original Poster
Rep: Reputation: 16
well guys, it was a hardware issue. everything i did stalled the machine. even a reinstall. so i while i was checking the hardware i looked in the bios at the temps and saw it was running a bit hot. i took the comp apart and looked at the chip. guess what, thermal paste was just about gone. thankfully it did not burn up. so i cleaned the hole comp out and reapplied some thermal paste. temps went down from low 70's c to 47 c.

looks like as soon as the processor started to be utilized temps went up and it stalled out. since the cleaning, i reinstalled and recompiled with out issues...thanks for the help and just wanted to give u guys a quick update



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
difference between make bzImage and make vmlinuz? veritas Linux - Newbie 3 11-23-2011 04:45 AM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
make: **** No rule to make target 'bzImage tsw Slackware 18 06-26-2004 08:41 PM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:54 PM.

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