From owner-freebsd-current@FreeBSD.ORG Wed Feb 11 14:50:33 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 635D3106564A for ; Wed, 11 Feb 2009 14:50:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 33DE38FC16 for ; Wed, 11 Feb 2009 14:50:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id D521B46B65; Wed, 11 Feb 2009 09:50:32 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n1BEo9FC025248; Wed, 11 Feb 2009 09:50:27 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Alexey Shuvaev" Date: Wed, 11 Feb 2009 09:34:22 -0500 User-Agent: KMail/1.9.7 References: <200902021643.39862.c47g@gmx.at> <200902101734.10365.jhb@freebsd.org> <20090211000741.GA1625@wep4035.physik.uni-wuerzburg.de> In-Reply-To: <20090211000741.GA1625@wep4035.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902110934.23146.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 11 Feb 2009 09:50:27 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8979/Wed Feb 11 07:23:15 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-current@freebsd.org Subject: Re: lpt stopped working 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: Wed, 11 Feb 2009 14:50:33 -0000 On Tuesday 10 February 2009 7:07:41 pm Alexey Shuvaev wrote: > On Tue, Feb 10, 2009 at 05:34:10PM -0500, John Baldwin wrote: > > On Tuesday 10 February 2009 4:57:20 pm Alexey Shuvaev wrote: > > > On Tue, Feb 10, 2009 at 04:12:57PM -0500, John Baldwin wrote: > > > > Ok, so the first cat works, the second one gets EBUSY? > > > > > > > Mmm... I don't think the first cat really works. > > > It hangs, I suppose nothing goes to the wire, > > > and during this I got the above printigs from kgdb. > > > > > > > Hmm, I think I've found it. Due to a bug, lptclose() wasn't releasing the > > > > bus. > > > > Grr, lptopen() was also busted. The old lpt driver didn't actually check the > > HAVEBUS flag in lpt_release_ppbus() which masked the bugs in lptopen(). Try > > this: > > > Seems to work! > No messages in the console, like "interrupt storm", too. > Thanks! Thank you to you and everyone else for patience and testing! -- John Baldwin