LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-25-2005, 10:05 AM   #1
jmartinph
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
What can I do about hdisk errors like this?


Hi!, I'm pasting some dump from from Slackware 10.0 installation. I guess my hard drive is broke but I'm hoping to recover as much files as possible... I'm guessing that this is a partition issue.... anyhow, fdisk (DOS and Linux) can't seem to read the whole disk. But still, I can boot the drive and that's it... can't get thru using my Linux partition or winxp


Boot Message using the rescue disk (and even booting the slackware installation of the said drive)

hda: ST340810A, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: 56X CD-ROM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=46630081, sector=46630080
end_request: I/O error, dev 03:00 (hda), sector 46630080
hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=46630081, sector=46630080
end_request: I/O error, dev 03:00 (hda), sector 46630080
>
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2


------------------
issuing fdisk /dev/hda on linux will return 'can't access drive' or similar message
so I what I did is to issue the command fdisk /dev/hda1 and here's what I got.
Partition table entries are not in disk order

Command (m for help): p

Disk /dev/hda1: 5116 MB, 5116091904 bytes
255 heads, 63 sectors/track, 621 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(368, 111, 45) logical=(13577, 238, 11)
Partition 1 has different physical/logical endings:
phys=(371, 101, 51) logical=(119521, 238, 60)
Partition 1 does not end on cylinder boundary.
/dev/hda1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(67, 115, 32) logical=(45381, 70, 3)
Partition 2 has different physical/logical endings:
phys=(299, 114, 44) logical=(79242, 34, 29)
Partition 2 does not end on cylinder boundary.
/dev/hda1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(114, 111, 32) logical=(10498, 56, 41)
Partition 3 has different physical/logical endings:
Partition 3 does not end on cylinder boundary.
/dev/hda1p4 167628 167631 25817+ 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(167627, 190, 52)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(167630, 245, 26)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order





is my drive still recoverable?




jm
 
Old 02-25-2005, 07:04 PM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Try this, because the first part of your error looks like I used to get with Mandrake before I learned the wonder that is Slackware.

Boot with "noapic" after the label name e.g. linux noapic or bzImage-2.6.10 noapic or whatever your label is.

This works with lilo or using slack boot disk as a rescue disk.

after you get in use the following

append "noapic"

in your /etc/lilo.conf. If you use grub I don't know.

Samac
 
Old 02-25-2005, 07:12 PM   #3
Seiken
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Slackware 14
Posts: 248

Rep: Reputation: 30
I had a problem with "noapic" as well. I couldn't boot from a Gentoo Live/Install CD unless I specified "noapic"... actually, once I determined that was the problem, I just disabled APIC in my BIOS instead of having to specify it at the boot prompt.
 
Old 02-28-2005, 03:12 AM   #4
jmartinph
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
bought a new hard drive.
Anyway, i've tested the 'testdisk' utility. I was able to recover some of the linux and wind*s partitions.. unfortunately, some of the partitions were unrecoverable.
 
  


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
need help with errors menthegnome Linux - Newbie 6 11-16-2005 03:26 PM
Errors during filesystem check with one kernel while no errors with other kernel Potentials Linux - General 11 12-30-2003 04:24 AM
QMAIL errors errors.. YourForum Linux - Software 0 11-27-2003 12:30 PM
X errors!!!!!!!!!!!!!! InSane103 Linux - Software 11 07-09-2003 06:39 PM
2 many errors wesley Linux - Newbie 1 08-02-2001 11:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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