From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from extu-mxob-1.symantec.com (extu-mxob-1.symantec.com [216.10.194.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "extu-mxob-1.symantec.com", Issuer "VeriSign Trust Network" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 3F39ADE049 for ; Thu, 5 Jun 2008 22:32:49 +1000 (EST) Date: Thu, 5 Jun 2008 13:09:49 +0100 (BST) From: Hugh Dickins To: Olaf Hering Subject: Re: Linux 2.6.26-rc5 (G5 SATA broken) In-Reply-To: <20080605112436.GA4533@aepfle.de> Message-ID: References: <20080605112436.GA4533@aepfle.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, Linus Torvalds , Jeff Garzik , Alan Cox , Linux Kernel Mailing List List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 5 Jun 2008, Olaf Hering wrote: > On Wed, Jun 04, Linus Torvalds wrote: > > > Another week, another batch of mostly pretty small fixes. Hopefully the > > regression list is shrinking, and we've fixed at least a couple of the > > oopses on Arjan's list. > > SATA on a dualcore G5 is broken, it happend between > c3b25b32e8bef526cca748e1ba023c6bdd705a99..53c8ba95402be65d412a806cda3430f0e72cd107 > > irq 18: nobody cared (try booting with the "irqpoll" option) > Disabling IRQ #18 > > ctrl alt del on the USB keyboard does not trigger a reboot. > Sometimes the cursor stops blinking, sometimes just nothing happens > after ctrl alt del. > > Does 53c8ba95402be65d412a806cda3430f0e72cd107 work for others on G5? I've been bisecting that on Quad G5 (sata_svw): irq 18: nobody cared ..., then later endless ata1.00: exception..., blah blah, ata1: EH complete. It comes down to: commit a57c1bade5a0ee5cd8b74502db9cbebb7f5780b2 Author: Alan Cox Date: Thu May 29 22:10:58 2008 +0100 libata-sff: Fix oops reported in kerneloops.org for pnp devices with no ctl And the patch I'm finding successful is below: I won't sign it off, for all I know it's reverting part of what Alan is trying to achieve; but I expect it'll help towards the right fix. Hugh --- 2.6.26-rc5/drivers/ata/libata-sff.c 2008-06-05 07:18:07.000000000 +0100 +++ linux/drivers/ata/libata-sff.c 2008-06-05 12:42:39.000000000 +0100 @@ -278,7 +278,7 @@ static u8 ata_sff_irq_status(struct ata_ return status; } /* Clear INTRQ latch */ - status = ata_sff_check_status(ap); + status = ap->ops->sff_check_status(ap); return status; }