lpbb broken in 6.x?
John Baldwin
jhb at freebsd.org
Tue Mar 25 12:40:34 PDT 2008
On Monday 24 March 2008 07:24:11 pm Bruce M. Simpson wrote:
> Bruce M Simpson wrote:
> >
> > I used devinfo to check if other devices were attached to the ppbus
> > parent. ppc0 always has a single child ppbus0. In the first case ppi0
> > was attached. In the second case only lpbb appeared to be attached, no
> > other direct children of ppbus0, printing the same message when
> > attempting to use the bus ("device not configured").
>
> Whoops, I meant "can't allocate ppbus" here, trying to avoid confusion·
>
> I can't seem to kldunload lpbb or other ppbus modules (if they are
> loaded) after they are loaded, this generates a "device not configured"
> message.
It's not attaching that allocates the bus, it is having one of the devices
open (though /dev/lpt0 tries to only hold the bus while doing actual I/O
rather than at open/close). You will probably need to use kgdb to see which
device ppbus thinks owns the bus.
--
John Baldwin
More information about the freebsd-stable
mailing list