From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 12:19:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 3E9FD16A41F for ; Tue, 30 Aug 2005 12:19:16 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936B743D48 for ; Tue, 30 Aug 2005 12:19:15 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw0.york.ac.uk (8.12.10/8.12.10) with ESMTP id j7UCJ5ba027609; Tue, 30 Aug 2005 13:19:05 +0100 (BST) Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.3/8.13.4) with ESMTP id j7UCJ55S031168; Tue, 30 Aug 2005 13:19:05 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.3/8.13.4/Submit) id j7UCJ4SG031167; Tue, 30 Aug 2005 13:19:04 +0100 (BST) (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Fabian Keil In-Reply-To: <20050828095254.3de97e88@localhost> References: <20050821150125.56f992e0@localhost> <20050823133046.Q73182@ury.york.ac.uk> <20050828095254.3de97e88@localhost> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 30 Aug 2005 13:19:04 +0100 Message-Id: <1125404344.30555.8.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: freebsd-current@freebsd.org Subject: Re: Reproducible FreeBSD 6.0-BETA2 panic - probably ATA-ng related X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 30 Aug 2005 12:19:16 -0000 On Sun, 2005-08-28 at 09:52 +0200, Fabian Keil wrote: > Gavin Atkinson wrote: > > > On Sun, 21 Aug 2005, Fabian Keil wrote: > > > I own a Plextor PlexWriter Premium, the drive has a buggy firmware > > > which crashes if you try to burn multi session in SAO mode. > > > On FreeBSD 6.0-BETA2 a panic is caused: > > > > [snip the CD ROM drive detaching...] > > > It's a known issue. I see exactly this same panic 80% of the time on my > > laptop on resume from ACPI suspend. I believe it was introduced during > > the newbus-ification of ATA-mk3. On the call to acd_geom_detach, > > acd_softc is already null. > > > > (kgdb) f 23 > > #23 0xc04dd936 in acd_geom_detach (arg=0xc16dd680, flag=0) > > at /usr/src/sys/dev/ata/atapi-cd.c:199 > > 199 g_wither_geom(cdp->gp, ENXIO); > > (kgdb) list > > 194 acd_geom_detach(void *arg, int flag) > > 195 { > > 196 struct acd_softc *cdp = device_get_ivars(arg); > > 197 > > 198 /* signal geom so we dont get any further requests */ > > 199 g_wither_geom(cdp->gp, ENXIO); > > 200 > > 201 /* fail requests on the queue and any thats "in flight" for this device */ > > 202 ata_fail_requests(arg); > > 203 > > (kgdb) p cdp > > $5 = (struct acd_softc *) 0x0 > > Thanks for the information. Is this the problem you described in > > and did you already find the causing commit? Well, I thought so, but now I'm slightly confused. I had been running with the ATA-III changes for several weeks before they were committed without problem, but updated a couple of weeks after they hit the tree and had this issue. In my mind I was sure the newbus changes happened a week or so after the ATA-III commit, but looking at the CVS logs I don't know any more. However, I can't find any evidence at the moment that I actually reported which commit was to blame, and I have no idea now. I can probably take my laptop back to (say) April 15th and see if I have any problems, however this is made significantly harder due to the version library bump... Gavin Gavin