From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: PATA failure with piix, works with libata Date: Sat, 04 Mar 2006 14:11:46 +0000 Message-ID: <1141481507.10341.1.camel@localhost> References: <20060303183937.GA30840@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:3309 "EHLO out.lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1751356AbWCFPHr (ORCPT ); Mon, 6 Mar 2006 10:07:47 -0500 In-Reply-To: <20060303183937.GA30840@srcf.ucam.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Matthew Garrett Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org 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.