Skip to contentSkip to conversation

Problems with ATA hard disk(s)

DISCUSSION Grega Fajdiga 2 participants 3 messages Dec 21, 2001 – Dec 22, 2001

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line

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

please read the FAQ.

Quoted 2 lines

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.

Quoted 2 lines

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

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

#2 lore raw

Good day,

Quoted 2 lines

please read the FAQ.

I will

Quoted 3 lines

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