Re: [SLUG] Uh Oh! HDA Errors!

From: thor_consulting@yahoo.com
Date: Fri Aug 29 2003 - 09:05:30 EDT


from your errors it looks like either the HD is slow to initialize or the
BIOS may not be configured for LBA but you can't change that now (see below)

HD tuning takes a little know-how and understanding...

first you need to determine the HD characteristics from the manufacturer
(geometry/(u)dma/lba/...)

next you need to configure the BIOS options to match the optimal specs of
your HD (i.e. before you partition and format)

!!! WARNING DO NOT CHANGE BIOS CONFIGURATION ON A WORKING (IN USE) DRIVE !!!

setting the TYPE and MODE to AUTO in the BIOS should give you the optimal
settings.

it's helpful to experiment with your settings before throwing an entire
install onto a HD if possible; if not then proceed with installing the
system.

once you have the system installed then you can start tweaking the HD
parameters.

first check out what the Linux kernel thought of your HD's

<dmesg snip>
hda: Maxtor 34098H4, ATA DISK drive
blk: queue c0378440, I/O limit 4095Mb (mask 0xffffffff)
hdc: Maxtor 33073U4, ATA DISK drive
hdd: CRD-8400B, ATAPI CD/DVD-ROM drive
blk: queue c03788a4, I/O limit 4095Mb (mask 0xffffffff)
hdd: Disabling (U)DMA for CRD-8400B
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(33)
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 58633344 sectors (30020 MB) w/512KiB Cache, CHS=58168/16/63, UDMA(33)
</dmesg snip>

a heavy dose of experimentation along the lines of the O'Reilly article
(http://www.oreillynet.com/pub/a/linux/2000/06/29/hdparm.html) should
follow.

once you are satisfied with the results then you can add the configuration
to your rc.local file.

note 1: on RH there is a file /etc/sysconfig/harddisks which is used by
/etc/rc.sysinit to set the default HD param's at boot time.

note 2: i only use Maxtor drives because they last a very long time and
never get flaky like the WD, IBM and other drives do.

good luck,
thor

----- Original Message -----
From: "Russ Wright" <rwrigh10@tampabay.rr.com>
To: <slug@nks.net>
Sent: Thursday, August 28, 2003 21:47
Subject: [SLUG] Uh Oh! HDA Errors!

> I saw these errors flash by as I was booting up linux tonight..
> Can anyone hazard a guess as to what they mean?
>
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x04 { DriveStatusError }
> hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
> hda: set_drive_speed_status: error=0xd0 { BadSector UncorrectableError
> SectorIdNotFound }, LBAsect=13684944, sector=12886080
> hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
> hda: dma_intr: error=0x04 { DriveStatusError }
> hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
> hda: set_drive_speed_status: error=0xc0 { BadSector UncorrectableError },
> LBAsect=12632256, sector=12886080
>
> I just recently did the hard drive speed tweak over at:
>
http://www.justlinux.com/nhf/Hardware/Hard_Drive_Speed_Tweak_for_Linux.html
> I turned on 32 bit i/o and DMA. Looks like it might be doing harm...
>
> Thanks in advance
> Russ W
>
>
>
>
>
>
>
> -----------------------------------------------------------------------
> This list is provided as an unmoderated internet service by Networked
> Knowledge Systems (NKS). Views and opinions expressed in messages
> posted are those of the author and do not necessarily reflect the
> official policy or position of NKS or any of its employees.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:02:07 EDT