LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-24-2003, 01:47 PM   #1
EmeraldCityPony
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Unhappy Moving HDD from i686 to i586


I am installing Red Hat 7.2 on notebook HDDs by attaching them to an i686 PC and installing, then moving them to our "embedded" system which is an i586.

However, whenever I boot the system Lilo will start to load, then the system proceeds to reboots itself before the kernel uncompresses. It keeps rebooting in a neverending cycle.

When I use an i586 machine to install it works fine, so it's something to do with switching architecture. Is there a way to prevent this so that I can build the system with an i686 and run it also on an i586?

Thanks in advance
Tom
 
Old 11-24-2003, 02:22 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Intel CPU instruction sets are downward compatable i.e. if compiled for an i586 it will work on a i686 but not the reverse. You will have to recompile the kernel and modules using the i586 instruction set before moving to the embedded system.
 
Old 11-24-2003, 03:11 PM   #3
EmeraldCityPony
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Hmmm. It appears that it was compiled for i386, which should be compatible. Any other ideas? Maybe something BIOS related?
 
Old 11-24-2003, 05:03 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
What do you mean by embedded? What kind of board is it?
 
Old 11-24-2003, 05:09 PM   #5
EmeraldCityPony
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
It's basically a PC on a voice board for a phone switch. It's got an AMD 133MHz. No video, just serial and ethernet.
 
Old 11-24-2003, 05:22 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
So its a true single board computer.. My WAG would be its BIOS, configuration, etc is nonstandard compared to a regular motherboard. In this case a standard kernel will not work.

Any markings as to its manufacture?
 
Old 11-24-2003, 05:30 PM   #7
EmeraldCityPony
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I don't think it is non-standard - PhoenixBIOS 4.0. The build machine that works is a Pentium 200 with PhoenixBIOSPlus 1.10 A12. The i686 build machine is a PIII I believe.

The board was custom manufactured.

Thanks for your help
 
Old 11-24-2003, 05:36 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I get confused easily. If I follow... you can get the system to work on what you call the i586 machine which is a pentium 200 but not the i686 which is a PIII. So what distro / version is running on the i586 PC.
 
Old 11-24-2003, 05:52 PM   #9
EmeraldCityPony
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I see how this can be confusing. I think I was inaccurate somewhere (I meant PII but fingers typed PIII, also I checked and the voice board is a 486, not 586). I am using Red Hat 7.2. There are 3 machines here, and just one HDD:

A) i586 Pentium 200 MHz (PhoenixBIOS A12) - if I build the HDD from here, then move it to (C), it boots up fine
B) i686 Pentium II 400 MHz (PhoenixBIOS A02) - if I build the HDD from here, then move it to (C), it keeps rebooting itself
C) i486 AMD 133MHz (PhoenixBIOS 4.0) - this is the voice board I am attaching the HDD to and booting
 
Old 11-24-2003, 06:08 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
So whats the problem Just use the pentium 200 PC.

With a stock kernel my first guess would be it should work but I'm not RH savy enough to say if there are any differences between a Pentium and a PII install.

Maybe someone else has an idea
 
Old 11-25-2003, 12:03 AM   #11
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Recompile everything (Kernel, RPMs, etc) for 486 machine without multimedia optizations. If possible, use Slackware without RPMs. In the kernel include the chipset. Do not forget to include the chipset that your embedded board uses in the kernel. I don't remember the chipsets that was used for the AMD 486DX4-133 processor. I think its either sis, ali, or intel.
 
  


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
i586 vs i686 alaios Linux - General 5 10-03-2004 10:01 PM
i686, i586, i386 cuco76 Linux - General 2 11-22-2003 11:45 AM
i586 or i686? nkarakos Linux - Newbie 2 10-03-2003 11:17 AM
what does i386,i586,i686 mean? Baran Linux - Newbie 2 09-10-2003 03:52 AM
I686 and I586? loganwva Linux - General 7 02-07-2002 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:30 AM.

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