Re: [QUESTION] hdparm -d1 on boot gives strange errors

Lionel Bouton (Lionel.Bouton@inet6.fr)
Thu, 24 Apr 2003 20:30:30 +0200


Martin Zwickel wrote:

>Hi there!
>
>I'm running Gentoo, and on boot, a script enables DMA on all IDE-Devices.
>For my 1st disk on hdparm -d1 it waits 15secs and kernel gives strange errors.
>But for my 2nd disk it works ok.
>
>Any clues?
>

See below.

>Is it the damn SiS chipset?
>
>
>

Maybe but drive/chipset combination is more likely. The one being out of
spec is unknown to me.

Note :

What I don't understand is why you need the hdparm -d1 : from your boot
log, the kernel already set DMA for you.

> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)

> hdb: 90069840 sectors (46116 MB) w/1916KiB Cache, CHS=5606/255/63, UDMA(100)

These come after (probably when hdparm -d1 is called)

hda: dma_timer_expiry: dma status == 0x61
hda: timeout waiting for DMA
hda: timeout waiting for DMA
hda: (__ide_dma_test_irq) called while not waiting

My clue :

> WDC WD800BB-00CAA1

Hum, I have a WDC WD800BB-32CCB0 here and it is the only one that wouldn't work correctly with my SiS735-based K7S5A (sometimes values returned by the drive including its id string had one bit forced to 1 or 0, had to reboot to fix the issue).

Try a different drive...

LB.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/