Skip to contentSkip to conversation

no DRQ after issuing MULTWRITE_EXT ?

DISCUSSION Steven Scholz 3 participants 8 messages Feb 1, 2007 libata

lore
Share & tools
lore
#0 lore raw

Hi all,

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success

with a 2.5" Seagate ST940813AM on my embedded ARM system (linux 2.6.14, no IDE controller. HDD registers just memory mapped).

HDD is used in PIO4 with MultSect=16.

What exactly does that mean? Only that the HDD is to slow to answer this request with 100ms (WAIT_DRQ=(HZ/10))?

And will the request issued again after the reset of the drive?

Some old posting mentions that disabling "multi sector write" would help. But I did not find any references to why this would solve the problem. Is it a bug of this special HDD? Or a kernel problem?

Thanks a million!

Steven

#1 lore raw
Quoted 15 lines · Steven Scholz

Hi all,

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success

with a 2.5" Seagate ST940813AM on my embedded ARM system (linux 2.6.14, no IDE controller. HDD registers just memory mapped).

HDD is used in PIO4 with MultSect=16.

Quoted 8 lines

What exactly does that mean? Only that the HDD is to slow to answer this request with 100ms (WAIT_DRQ=(HZ/10))?

And will the request issued again after the reset of the drive?

Some old posting mentions that disabling "multi sector write" would help. But I did not find any references to why this would solve the problem. Is it a bug of this special HDD? Or a kernel problem?

Do you see this on every multiblock PIO write? Or just occasionally?

#2 lore raw

Eric,

Quoted 10 lines
Quoted 8 lines

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success

...

Do you see this on every multiblock PIO write? Or just occasionally?

Only occasionally.

--
Steven

#3 lore raw
In reply to Steven Scholz

Hello.

Quoted 7 lines · Steven Scholz

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success

Looks like a spurious interrupt... Is your IDE IRQ shared with other devices?

Quoted 7 lines

with a 2.5" Seagate ST940813AM on my embedded ARM system (linux 2.6.14, no IDE controller. HDD registers just memory mapped).

HDD is used in PIO4 with MultSect=16.

What exactly does that mean? Only that the HDD is to slow to answer this request with 100ms (WAIT_DRQ=(HZ/10))?

Doubt it. The old ATA standard specified the maximum DRQ assertion time of
20 ms.

Quoted 1 line

And will the request issued again after the reset of the drive?

It should be.

MBR, Sergei

#4 lore raw

Hi,

Quoted 10 lines
Quoted 7 lines

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success

Looks like a spurious interrupt... Is your IDE IRQ shared with other
devices?

No.

But IIUC then first the HDD times out, the ide driver handles this and then an irq occurs which is probably the irq the driver was waiting for. And since the driver already handled the timeout that (delayed) irq is of course "unexpected" ... (Just a guess)

Quoted 2 lines

Doubt it. The old ATA standard specified the maximum DRQ assertion
time of 20 ms.

I know.

Quoted 3 lines
Quoted 1 line

And will the request issued again after the reset of the drive?

It should be.

Thanks.

Steven

#5 lore raw

Hello.

Quoted 8 lines · Steven Scholz
Quoted 8 lines
Quoted 7 lines

I am seeing kernel messages like

[ 1284.480000] hda: status timeout: status=0xd0 { Busy }
[ 1284.480000] ide: failed opcode was: unknown
[ 1284.480000] hda: no DRQ after issuing MULTWRITE_EXT
[ 1284.490000] ide0: unexpected interrupt, status=0x80, count=1
[ 1284.830000] ide0: reset: success
Quoted 7 lines
Quoted 2 lines

Looks like a spurious interrupt... Is your IDE IRQ shared with other
devices?

No.

But IIUC then first the HDD times out, the ide driver handles this and then an irq occurs which is probably the irq the driver was waiting for. And

The driver is *not* waiting for any IRQ after issuing MULTWRITE_EXT, that's
why it's "unexpected".

Quoted 8 lines

since the driver already handled the timeout that (delayed) irq is of course "unexpected" ... (Just a guess)

Quoted 2 lines

Doubt it. The old ATA standard specified the maximum DRQ assertion
time of 20 ms.

I know.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

And will the request issued again after the reset of the drive?

It should be.

Thanks.

Steven

MBR, Sergei

#6 lore raw

Hi Sergei,

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Looks like a spurious interrupt... Is your IDE IRQ shared with other
devices?

..
But IIUC then first the HDD times out, the ide driver handles this and then an irq occurs which is probably the irq the driver was waiting for.

The driver is *not* waiting for any IRQ after issuing MULTWRITE_EXT,
that's why it's "unexpected".

Hmm. But how does he "know" when that MULTWRITE_EXT is finished!?

Steven

#7 lore raw

Hello.

Quoted 10 lines · Steven Scholz
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Looks like a spurious interrupt... Is your IDE IRQ shared with other
devices?

.. But IIUC then first the HDD times out, the ide driver handles this and then an irq occurs which is probably the irq the driver was waiting for.

The driver is *not* waiting for any IRQ after issuing MULTWRITE_EXT,
that's why it's "unexpected".

Hmm. But how does he "know" when that MULTWRITE_EXT is finished!?

It's considered finished in this case as there was no starting DRQ
"handshake". The first interrupt should happen only after the first block of data is written.

Quoted 1 line

Steven

MBR, Sergei