LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-29-2003, 05:37 PM   #1
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Rep: Reputation: 30
How do I compile kernel for 486??


I want to compile kernel 2.4.22 to put on:

486 75mhz
24MB RAM
4.7GB HDD
Orinoco Gold 802.11b card

Anyway, I compiled kernel 2.4.22 with the cpu type set to 486.... and 28 hours later when it finished I got the error that I needed a pentium chip to run the kernel. The slackware bare.i works fine. What's going on?
 
Old 09-29-2003, 07:17 PM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
take a look at the .config file currently in your /usr/src/linux-2.4 folder.... it should have a line "CONFIG_M486=Y" in that file.

Did you run "make mrproper" before running "make xconfig" (or make menuconfig) ?

-K
 
Old 09-29-2003, 08:23 PM   #3
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by KevinJ
take a look at the .config file currently in your /usr/src/linux-2.4 folder.... it should have a line "CONFIG_M486=Y" in that file.

Did you run "make mrproper" before running "make xconfig" (or make menuconfig) ?

-K
I didn't do make mrproper.... what is it?

Also, how could I speed this up with distcc? I already ran distccd on both machines (one 2.5ghz Athlon, and the craptastic laptop) and did the export thing, and when I ran make dep -j4 CC=distcc it gave me a jobserver error... so I removed the 4, and the err went away. However, it still goes piss slow, and I don't see any activity on the real computer. Any ideas?
 
Old 09-29-2003, 09:00 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
I don't know what "distcc" is... but "make mrproper" prepares your system for a kernel rebuild. It removes remnants of old compiles and configs.

-K
 
Old 09-29-2003, 09:14 PM   #5
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
well, I just did make mrproper, and set it to 386 mode just in case (I not 100% sure I have a DX chip, only 99% sure)

distcc is a distributed compiler.... as compiling the kernel took over a day on my old machine, and four minutes on my new machine. I'd rather have the new machine do the work. As it is, it takes six hours to do make dep on the laptop.
 
Old 09-30-2003, 03:50 PM   #6
kleptophobiac
Member
 
Registered: Jun 2003
Distribution: Arch
Posts: 315

Original Poster
Rep: Reputation: 30
Well, it just finished compiling, and even though it was set up for a 386, it still gave me an error when I tried to boot it. It said it was built for pentium+
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
K6 kernel or 486 kernel?? linuxhippy Slackware 2 03-13-2005 02:03 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM
Compile kernel for 486, comes out for Pentium+? kleptophobiac Slackware 5 10-04-2003 02:04 PM


All times are GMT -5. The time now is 05:20 AM.

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