LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-02-2007, 11:32 PM   #1
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Rep: Reputation: 30
Question Very old linux in a new machine (IDE problem?)


Is it possible that an old RedHat 7 installation (kernel 2.2.16-22smp) on a harddrive would fail when moved to a pc with newer hardware (a compaq 510). I am getting "hda: lost interrupt" errors during startup.

The back story is that there is an old RedHat 7 box here at work running on a server rack with old scsi mirror drives. The drive in the rack is dying and the drive will have to be rescued.

I did a dd over the lan to copy the contents of the main SCSI drive to a IDE drive.

I then installed the IDE drive into a desktop machine and changed the references in fstab, mtab and lilo.conf to point from /dev/sda to /dev/hda.

I was hoping that 2.2.16-22smp IDE drivers would handle working in the compaq desktop box.

LILO runs, and the startup gets a fair way along but then it snags complaining about "hda: lost interrupt" and does this against every partition before giving a:

Kernel panic: VFS: Unable to mount root fs on 08:06

There are a few things left to try, but are there any old timers who know if the IDE drivers in the 2.2.16-22smp kernel would be able to handle working on a desktop with newer IDE hardware?
 
Old 07-03-2007, 09:28 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Could you tell us a little more about the IDE drive itself? My guess is that it's an older IDE drive which doesn't have full DMA capabilities. Turning off DMA in the BIOS will help, but then you need to also somehow tell Linux to not use DMA because it bypasses the BIOS when accessing IDE drives. I think this might involve some LILO parameters; I'm not familiar with LILO.

Also, whenever you change lilo.conf you need to run LILO to make those changes "effective" in the LILO bootloader. Otherwise, the bootloader will be unchanged and completely oblivious to any changes to lilo.conf.
 
Old 07-03-2007, 10:45 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
sausagejohnson

You are really digging into the archives. Support for Redhat 7 was dropped 7 years ago(?) and that was after 5 years of support(13 years old?). I think you would save a lot of time by mounting the drive to another destro, pull the data off, and doing a fresh install of Redhat el5 or Centos 5 (free redhat with logos removed). Then all your work would go into a modern destro and you would still have all your old data. I hate updating servers too but there is a limit.

Lazlow
 
Old 07-03-2007, 10:52 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
FWIW I'd agree with lazlow. If you will be spending X hours of time getting "Redhat" up and running on your machine, you might as well make it worthwhile. Redhat 7 was released in 2000, and compared to a current distro, would either lack many applications that you'd expect (ie, no Firefox) and/or be using versions that were horribly out of date. The two modern (and free) equivalents to Redhat would either be CentOS or Fedora 7. That's not meant as discouragement at all, but I would think that most folks would prefer running an up to date, supported distro rather than one that was discontinued many years ago. Good luck with it either way

Last edited by J.W.; 07-03-2007 at 10:53 AM.
 
Old 07-03-2007, 11:05 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Looks like I was off a little on my numbers but the premise still applies.
 
Old 07-03-2007, 05:50 PM   #6
sausagejohnson
Member
 
Registered: Mar 2004
Location: Canberra Area, Australia
Distribution: Kubuntu
Posts: 242

Original Poster
Rep: Reputation: 30
Yes quite right that it should go to a modern distro and a Fedora 7 box is being built as a replacement. This is more an emergency to get it running in case the current box dies again. So yes RedHat 7 will not be in place for long. It's getting the obscure serivces (and some custom) running on Fedora that will take longer in the long run.

Thank you for the tip on LILO. I forgot that had to be run after changes. So used to GRUB these days.

I dd'ed to a modern Western Digital drive and I disabled DMA with hdparm.
 
Old 07-03-2007, 06:17 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
sausagejohnson

Fedora 7 is a very bad choice for a server. Support is very short (down to around a year now). Go with Redhat, Centos, or white box. I think they all have a 5 year support plan now. Fedora is great for a desktop where upgrading is no big deal, but on a server updating every year sucks. For functionality, you will see very little difference between Centos and Fedora.

Be aware that F7 is the switch point for drive identifications. The hda drive descriptions have been replaced with sda for both sata and pata. This is easy to deal with but if you do no know about it, it can cause lots of headaches.

Lazlow


Edit: If you post the services I bet somebody on here has replaced them. A lot of the custom stuff can now be dropped because options on standard stuff now just takes care of it.

Last edited by lazlow; 07-03-2007 at 06:19 PM.
 
  


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
Dual Boot Machine, WinXP on SATA, Slack on IDE Poindexter Slackware 8 03-05-2006 06:31 AM
Mounting 200GB IDE on FC4 machine (Help Please) A6Quattro Fedora 6 10-29-2005 03:50 AM
Best IDE to learn IDE to leran on Linux alix123 Programming 4 01-07-2005 04:22 AM
After adding ide to SATA(via) machine, boot fails - Fedora core 2 Jemsquash Linux - Hardware 6 09-21-2004 08:41 AM
vmware withXP guest on a ide/scsi machine mknirsch Linux - Software 3 11-08-2003 06:24 PM

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

All times are GMT -5. The time now is 04:06 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