From owner-freebsd-current@FreeBSD.ORG Sat Sep 20 16:30:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 010F616A4B3; Sat, 20 Sep 2003 16:30:17 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id D309043FCB; Sat, 20 Sep 2003 16:30:15 -0700 (PDT) (envelope-from bleez@comcast.net) Received: from gravy.homeunix.net ([68.81.196.221]) by comcast.net (sccrmhc13) with ESMTP id <20030920233015016007lmjhe>; Sat, 20 Sep 2003 23:30:15 +0000 Received: from gravy.homeunix.net (gravy.homeunix.net [192.168.1.2]) by gravy.homeunix.net (8.12.10/8.12.10) with ESMTP id h8KNU4SR000459; Sat, 20 Sep 2003 19:30:04 -0400 (EDT) (envelope-from bleez@comcast.net) Date: Sat, 20 Sep 2003 19:30:04 -0400 (EDT) From: Bryan Liesner To: Thomas Quinot In-Reply-To: <20030920195311.GA97748@melusine.cuivre.fr.eu.org> Message-ID: <20030920192850.Y458@gravy.homeunix.net> References: <200309200755.h8K7t4fA049614@spider.deepcore.dk> <20030920195311.GA97748@melusine.cuivre.fr.eu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: deischen@freebsd.org cc: Soren Schmidt cc: current@freebsd.org Subject: Re: ATAng no good for me/REQUEST_SENSE recovered from missing interrupt X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 23:30:17 -0000 On Sat, 20 Sep 2003, Thomas Quinot wrote: > Le 2003-09-20, Daniel Eischen =E9crivait : > > > No, using latest sources, with or without atapicam, does > > not solve the problem. It still hangs. > > Please try the patch below, it should at least work around the problem. > > > http://people.freebsd.org/~deischen/ata_hang.091903 > > Interesting, the last 2 lines are : > > ata0: spurious interrupt - status=3D0x50 error=3D0x00 > acd0: WARNING - REQUEST_SENSE recovered from missing interrupt > > so I'd suspect there is some race condition between the interrupt > and the REQUEST_SENSE command. S=F8ren, shouldn't ata_interrupt lock the > channel before copying ch->running? > > Thomas. > > Index: atapi-cam.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The patch doesn't take care of the hang for me. Did anyone read _any_ of my previous posts? Bryan