LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-06-2007, 05:33 PM   #1
herby1620
LQ Newbie
 
Registered: Mar 2004
Location: Sillicon Valley
Distribution: RedHat/Debian
Posts: 15

Rep: Reputation: 0
Kernel compilation for a 486


I thought it was going to be easy, but...
I started out with a RedHat 9 system (it has a 2.4 kernel) trying to get it on my older 486 machine. As it doesn't need to do much I thought it would work OK. I attempted to load RH9, and it says "can't do that". OK, I understand, and take the disk to a newer machine and load it using that. It boots fine there. I then seek to get a kernel that will work on a 486. Go to 'kernel.org' and fetch kernel 2.4.34.5, which is reasonably recent. Use a config from the RH9 kernel and copy it over to the new kernel. I then edited the processor parameters to turn on 'CONFIG_M486' (others off). Now do a 'make oldconfig' to get it all up to speed.

The resulting kernel compiles just fine. It even loads on the modern (its a VIA machine) motherboard. It just doesn't run on the 486 machine. From the looks of it, it fails when attempting to start the 'init' process.

This should be 'easy' (a relative term), but of course noting really is. So: HELP!!
 
Old 08-06-2007, 07:27 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"The resulting kernel compiles just fine. It even loads on the modern (its a VIA machine) motherboard. It just doesn't run on the 486 machine. From the looks of it, it fails when attempting to start the 'init' process."

My first guess would be that you have a memory problem. Try booting the kernel on a modern machine and seeing how much memory it uses. Compare that to how much memory you have on the 486.

-------------
Steve Stites
 
Old 08-07-2007, 05:20 AM   #3
herby1620
LQ Newbie
 
Registered: Mar 2004
Location: Sillicon Valley
Distribution: RedHat/Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Memory thoughts (see previous). The 486 machine has 64megs, and will boot (via floppy) the distrubution CD for RH9. After you enter in all the information, it says (nastily) that it can't install. Other than that......

The "modern" machine has 192 megs. Maybe I can try with less, but I don't know if that is the problem. I have a swap partition, so that should help a bit.
 
  


Reply



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
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
K6 kernel or 486 kernel?? linuxhippy Slackware 2 03-13-2005 02:03 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM
Compile kernel for 486, comes out for Pentium+? kleptophobiac Slackware 5 10-04-2003 02:04 PM
How do I compile kernel for 486?? kleptophobiac Slackware 5 09-30-2003 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration