LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-19-2003, 06:37 PM   #1
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
recompile kernel


I have Slack 9 install. It says that the cpu is set at a 486 in and I want to recompile (or something) the kernel for an athalon. I tried to recompile the kernel from source about 20 times and got error after error. I had to restore from my backup quite a few times, to get X working. Is there a way to set the kernel cpu settings to an athalon. When compile a program from source it seems like it takes forever compared to when I had Slack 8.1 installed.
 
Old 08-19-2003, 09:13 PM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
You set that when you recompile the kernel. In the "make menuconfig, xconfig, etc" process.
 
Old 08-19-2003, 09:19 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Original Poster
Rep: Reputation: 71
The problem is that there is no kernel soucre installed.
 
Old 08-19-2003, 10:43 PM   #4
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
Then get the 2.4.20 kernel sources off the Slack cd and install them.
 
Old 08-20-2003, 07:42 AM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Original Poster
Rep: Reputation: 71
Quote:
Then get the 2.4.20 kernel sources off the Slack cd and install them.
I tried to recompile the kernel from source about 20 times and got error after error.
 
Old 08-20-2003, 09:30 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
What specific errors did u get? I've recompiled my kernel countless times and had little problems... In fact most of my problems was due to not reading the options properly.

You should find a config-ide-kernel.version file in /boot. You can use that file as a basis for your recompile by copying it to your kernel source dir (usually /usr/src/linux) after running make mrproper.
 
Old 08-20-2003, 10:13 AM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Original Poster
Rep: Reputation: 71
I thought that there should be a config file too. But after a clean install there was non. I will give it another shot tonight.

The funny thing is that I recompiled kernels before in Mandrake with out a problem. Slack is just giving me a hard time or I got my head up my you know what. Thanks
 
Old 08-20-2003, 10:28 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Maybe you can tell us what you have in /boot.
 
Old 08-20-2003, 12:33 PM   #9
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Original Poster
Rep: Reputation: 71
I'm at work right now. I'll let you know when I get home
 
Old 08-20-2003, 09:44 PM   #10
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Original Poster
Rep: Reputation: 71
Here i s a list of what is in my /boot.
boot.0300
boot_message.txt
map
vmlinuz
 
Old 08-20-2003, 10:38 PM   #11
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
See if there is a hidden .config file in the /boot directory.

If there is you can load the .config configuration when running
make xconfig. This will contain the options you started with. Using it as a starting point change the architecture for the CPU and give that a try.

If there is a /boot directory on the install cd, try looking there for a config or .config file.

Last edited by jschiwal; 08-20-2003 at 10:41 PM.
 
  


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
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 01:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 10:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 06:34 AM
Recompile Kernel ? Amerist Linux - Newbie 5 04-16-2002 04:13 AM


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

Main Menu
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