SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Last edited by pitt30; 10-04-2007 at 04:52 PM.
Reason: advise was spelled wrong..fixing as it annoys me
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:
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 )
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.
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.