LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   computer hangs during make bzImage (https://www.linuxquestions.org/questions/slackware-14/computer-hangs-during-make-bzimage-589489/)

pitt30 10-04-2007 04:25 PM

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

thanks

Brian1 10-04-2007 05:30 PM

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 )

Brian

pitt30 10-04-2007 07:12 PM

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

GrapefruiTgirl 10-04-2007 07:23 PM

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..

H_TeXMeX_H 10-05-2007 06:50 AM

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.

pitt30 10-05-2007 07:57 AM

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

pitt30 10-06-2007 10:10 PM

ISSUE FIXED!!!
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


All times are GMT -5. The time now is 11:47 PM.