Re: PATA failure with piix, works with libata

From: Alan Cox
Date: Mon Mar 06 2006 - 10:05:21 EST


On Gwe, 2006-03-03 at 18:39 +0000, Matthew Garrett wrote:
> and everything is fine, including CD access. Loading piix gives me the
> following:

> which seems ok. However, loading ide-cd gives:
>
> [4294983.732000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest }
> [4294983.732000] ide: failed opcode was: unknown
> [4294983.732000] hda: drive not ready for command

No suprise. Bits of ide/pci/piix.c only work because the BIOS setup did
some stuff we needed and in places with CD and DMA through luck alone.

> and insmod never returns. After this, the IDE interrupt is firing about
> 80000 times a second.

Make sure the IRQ is setup properly. Legacy mode IRQs are level
triggered which might fit this description.

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