Re: lpt stopped working

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 11 Feb 2009 09:34:22 -0500
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
Received on Wed Feb 11 2009 - 13:50:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC