From owner-freebsd-current@FreeBSD.ORG Tue Jul 24 11:00:51 2007 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 78BB616A418; Tue, 24 Jul 2007 11:00:51 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [195.4.92.92]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9E713C49D; Tue, 24 Jul 2007 11:00:51 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.19] (helo=mx9.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.68-dev) (envelope-from ) id 1IDFq4-0003l5-Mx; Tue, 24 Jul 2007 10:33:52 +0200 Received: from m9099.m.pppool.de ([89.49.144.153]:62738 helo=peedub.jennejohn.org) by mx9.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.68 #1) id 1IDFq4-0002ta-Ao; Tue, 24 Jul 2007 10:33:52 +0200 Date: Tue, 24 Jul 2007 10:33:50 +0200 From: Gary Jennejohn To: John Baldwin Message-Id: <20070724103350.7f9aac40.gary.jennejohn@freenet.de> In-Reply-To: <200707231804.14770.jhb@freebsd.org> References: <20070703114248.37a2019b.garyj@jennejohn.org> <200707231804.14770.jhb@freebsd.org> Organization: DENX Softwre Engineering GmbH X-Mailer: Sylpheed 2.4.3 (GTK+ 2.10.13; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 24 Jul 2007 11:23:05 +0000 Cc: freebsd-current@freebsd.org Subject: Re: panic when printing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2007 11:00:51 -0000 On Mon, 23 Jul 2007 18:04:14 -0400 John Baldwin wrote: > On Tuesday 03 July 2007 05:42:48 am Gary Jennejohn wrote: > > I haven't seen this reported before. > > > > Trying to print to my parallel printer with a -current kernel from > > July 2 (amd64) results in a kernel panic. A kernel from June 16 > > (i386) does not cause a panic. > > > > If I boot with the printer turned on then the kernel sees it (PnP) > > with no problem. Just printing causes a panic. > > > > BTW this kernel is using the SMP-scheduler from Jeff Roberson, but > > IIRC a different kernel (June 29) w/o that scheduler also panics. > > > > I can't say whether it's amd64-specific or just due to recent > > changes to the sources. I'm rather reluctant to generate a new i386 > > kernel to check that, but I could be persuaded to do it. > > > > Below a typescript of a very limited kgdb session: > > You got an interrupt after the lpt driver removed its handler. > Really the ppbus device should not be so stupid and should have its > own interrupt handler that routes interrupts to the "active" child. > [snip kgdb output] Exactly. If I disable the interrupt in device.hints I can print wth no problems. I suspect that this problem exists for i386 also. --- Gary Jennejohn