LinuxQuestions.org
Register a domain and help support LQ
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 08-15-2006, 04:04 AM   #1
GazzaJ
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Hard disk failure?


I beleive my hard disk is corrupted in someway and was wondering if I could do something to correct this or at least access the disk to get some files of it.

Initial problems arose when the server (running Fedora 3) was rebooted and the startup stopped with at a grub command prompt. The server has just one disk with 2 partitions.

From grub I get the following information:

Partition num 0, Filesystem type is ext2fs, partition type 0x83
Partition num 1, Error 18: Selected cylinder exceeds maximum supported by BIOS

root (hd0,0)
kernel /vmlinuz
Gives Error 25: Disk read error

root (hd0,1)
Gives Filesystem type unknown, partition type 0x82


I tried linux rescue from the Fedora Cd but it was unable to find any Linix partitions. From the command prompt I get:
fsdisk -l returns nothing
fsdisk /dev/hda returns Unable to read /dev/hda

Looking at syslog there are a lot of lines such as:
<4>hda: dma_intr: status=0x51 {DriveReady SeekComplete Error}
<4>hda: dma_intr: errorr=0x40 {Uncorrectable Error}, LBAsect=71, sector=0
<4>ide: failed opcode was: unknown
<4>end_request: I/O error, dev hda, sector 0

This is repeated for other sectors.

I tried to mount the drive in Knoppix but the error was "I was unable to determine the filesystem type".

Any ideas?
 
Old 08-15-2006, 07:20 AM   #2
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
Its a long shot but you could try and tell the kernel to not use Direct Memory Access (DMA) as you appear to be getting DMA errors to talk to the drive and see if this helps. The option for the kernel is:

Code:
ide=nodma
You can use the above, whilst in grub select e to edit the kernel you wish to boot then append that entry to the line starting with kernel and then press enter. Now press b to boot the selected kernel.
 
Old 08-15-2006, 07:28 AM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
and another thing is this
root (hd0,0)
kernel /vmlinuz
Gives Error 25: Disk read error

that does not look correct.

if hd0,0 is a /boot partition then its
kernel /vmlinuz (if symbolic linked) with root=/dev/hda2

othewise your /boot is a sub folder to / so its

kernel /boot/vmlinuz (or whatever) root=/dev/hda1
 
  


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
Is it the sign of hard disk failure??? lewkh Linux - Hardware 3 07-18-2005 12:07 AM
Hard disk failure, how to salvage? Worstje Linux - Hardware 3 04-25-2005 06:23 AM
hard disk failure? indole Linux - Hardware 4 02-19-2005 07:49 PM
Boot And hard disk failure on installation poussis Linux - Newbie 1 05-23-2004 05:41 AM
Hard disk failure-Sector ID not found eswarkumar Linux - General 1 01-02-2003 01:30 PM


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