From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 14:23:01 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BA01065678; Fri, 23 Jan 2009 14:23:01 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id B86938FC21; Fri, 23 Jan 2009 14:23:01 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.fastmail.fm (Postfix) with ESMTP id 5940525541B; Fri, 23 Jan 2009 09:23:01 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 23 Jan 2009 09:23:01 -0500 X-Sasl-enc: TYKSTzFd/qfz2nRPmcfUAtrDn5bltTR31eqV98AwB+gB 1232720580 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id BAC1524DBF; Fri, 23 Jan 2009 09:23:00 -0500 (EST) Message-ID: <4979D2C3.1050103@FreeBSD.org> Date: Fri, 23 Jan 2009 14:22:59 +0000 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.19 (X11/20090116) MIME-Version: 1.0 To: John Baldwin References: <200811191503.02192.jhb@freebsd.org> <200901211536.08297.jhb@freebsd.org> <4979BF48.7010704@FreeBSD.org> <200901230838.35340.jhb@freebsd.org> In-Reply-To: <200901230838.35340.jhb@freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: [PATCH] ppbus/ppc locking 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: Fri, 23 Jan 2009 14:23:02 -0000 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.