lpt stopped working
John Baldwin
jhb at freebsd.org
Wed Feb 11 06:50:33 PST 2009
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
More information about the freebsd-current
mailing list