2001-12-21 17:36:01

by Grega Fajdiga

[permalink] [raw]
Subject: Problems with ATA hard disk(s)

Good day,

I am a beginner when it comes to Linux, so please bear with me.

I have two ATA hard disks. Proc/../model says Maxtor 91021U2 and ST31722A
respectively. The /dev/hda one is Maxtor 91021U2. The mainboard model is
P5I430TX TITANIUM IB and CPU is Intel P200 MMX. Softwarewise I am using
ReiserFS and 2.4.16 version of the kernel.
I tried to tune HDD performance, so I put this into /etc/rc.local:
/sbin/hdparm -c1 -A1 -m16 -d1 /dev/hda

When I look at the HDD settings after boot, I see that almost everything is
turned off:
[root@tm-68-65 grega]# /sbin/hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 1245/255/63, sectors = 20010816, start = 0

In the logs I have bunch of such errors:

messages:Dec 21 16:21:27 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:21:27 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:21:27 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:21:27 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:22:41 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:22:41 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:22:41 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 16:22:42 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 17:48:56 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 17:48:56 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 17:48:56 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }
messages:Dec 21 17:48:56 tm-68-65 kernel: hda: dma_intr: error=0x84 {
DriveStatusError BadCRC }

If you need more info, don't hesitate to ask. Please CC me, as I am not on
the list.

Regards,
Grega Fajdiga


2001-12-21 18:03:45

by Mark Hahn

[permalink] [raw]
Subject: Re: Problems with ATA hard disk(s)

> I am a beginner when it comes to Linux, so please bear with me.

please read the FAQ.

> When I look at the HDD settings after boot, I see that almost everything is
> turned off:

I'm guessing you've failed to set the relevant ide-related CONFIG_
settings. you definitely want the piix driver, and almost certainly
also all the yes-really-use-dma-by-default ones.

> messages:Dec 21 16:21:27 tm-68-65 kernel: hda: dma_intr: error=0x84 {
> DriveStatusError BadCRC }

http://www.tux.org/lkml/#s13-3

2001-12-22 00:33:07

by Grega Fajdiga

[permalink] [raw]
Subject: Re: Problems with ATA hard disk(s)

Good day,

>
> please read the FAQ.
I will
> I'm guessing you've failed to set the relevant ide-related CONFIG_
> settings. you definitely want the piix driver, and almost certainly
> also all the yes-really-use-dma-by-default ones.

Thank you, this indeed solved my problems.

Regards,
Grega Fajdiga