From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 21:08:16 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1201A1065689 for ; Mon, 26 Jan 2009 21:08:16 +0000 (UTC) (envelope-from sean.bruno@dsl-only.net) Received: from iron2.pdx.net (iron2.pdx.net [69.64.224.71]) by mx1.freebsd.org (Postfix) with ESMTP id C5D8A8FC20 for ; Mon, 26 Jan 2009 21:08:15 +0000 (UTC) (envelope-from sean.bruno@dsl-only.net) Received: (qmail 13923 invoked from network); 26 Jan 2009 13:08:14 -0800 Received: from 069-064-235-060.pdx.net (HELO ?192.168.1.51?) (69.64.235.60) by iron2.pdx.net with SMTP; 26 Jan 2009 13:08:14 -0800 From: Sean Bruno To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="=-IFJfGB3IAPIkpKXeckZG" Date: Mon, 26 Jan 2009 13:08:14 -0800 Message-Id: <1233004094.9302.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 (2.24.3-1.fc10) Subject: LPT Panic at assert lpt.c::222 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 21:08:17 -0000 --=-IFJfGB3IAPIkpKXeckZG Content-Type: text/plain Content-Transfer-Encoding: 7bit Just tested today's -current and was greeted with a panic in PPBUS at an assert. The following patch seems to be appropriate. Comments? Sean --=-IFJfGB3IAPIkpKXeckZG Content-Disposition: attachment; filename="lpt.c.diff" Content-Type: text/x-patch; name="lpt.c.diff"; charset="UTF-8" Content-Transfer-Encoding: 7bit Index: lpt.c =================================================================== --- lpt.c (revision 187738) +++ lpt.c (working copy) @@ -380,8 +380,8 @@ } ppb_wctr(ppbus, LPC_NINIT); + lpt_release_ppbus(dev); ppb_unlock(ppbus); - lpt_release_ppbus(dev); /* declare our interrupt handler */ sc->sc_intr_resource = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, --=-IFJfGB3IAPIkpKXeckZG--