Date: Fri, 23 Jan 2009 14:22:59 +0000 From: "Bruce M. Simpson" <bms@FreeBSD.org> To: John Baldwin <jhb@freebsd.org> Cc: current@freebsd.org Subject: Re: [PATCH] ppbus/ppc locking Message-ID: <4979D2C3.1050103@FreeBSD.org> In-Reply-To: <200901230838.35340.jhb@freebsd.org> References: <200811191503.02192.jhb@freebsd.org> <200901211536.08297.jhb@freebsd.org> <4979BF48.7010704@FreeBSD.org> <200901230838.35340.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > ... > Hmm you don't see /dev/lpt0 and /dev/lpt0.ctl via ls(1)? The attach routine > creates the devices via make_dev() right after the "interrupt-driven port" > message. > > I see /dev/lpt0.ctl, but not /dev/lpt0. data points: * The printer is a shonky old GCC Elite 600. * The BIOS is configured to expose LPT0 at "the usual ISA I/O address" w/interrupt mode 0x378 irq 7. * There are no error messages from lpt0 in dmesg, it does say lpt0: [MPSAFE]. * I load lpt.ko from loader.conf on boot. * If I try to kldunload lpt, it panics in destroy_devl() called from lpt_detach(). * I get the same results if the printer attached via lpt is switched on or off on boot. cups will just complain the printer isn't connected, as /dev/lpt0 doesn't exist. If I boot with bootverbose enabled, I see nothing which indicates that the make_dev() call has failed.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4979D2C3.1050103>