From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 14:58:12 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 E15D61065674; Fri, 23 Jan 2009 14:58:12 +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 B660D8FC16; Fri, 23 Jan 2009 14:58:12 +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 3E0B0255B0C; Fri, 23 Jan 2009 09:58:12 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 23 Jan 2009 09:58:12 -0500 X-Sasl-enc: yxPY+HHK3kOmDDsy0g+ddfCe3XKoeUiskxGXPTFByEC5 1232722691 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 94B811B834; Fri, 23 Jan 2009 09:58:11 -0500 (EST) Message-ID: <4979DB00.10503@FreeBSD.org> Date: Fri, 23 Jan 2009 14:58:08 +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> <4979D2C3.1050103@FreeBSD.org> In-Reply-To: <4979D2C3.1050103@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:58:13 -0000 Bruce M. Simpson wrote: > 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. As per IRC convo: * I instrumented lpt_attach() to clean up if it can't create the cdevs. * If I then kldload lpt after boot in single-user, and ls /dev, the ls process hangs inside devfs_populate_loop(). Something really fishy is going on. I don't see this issue with devfs if I load lpt from the loader, however, lpt0 doesn't appear there either. I still see the destroy_devl() panic if I kldunload lpt. This probably shouldn't be MFCed until this can get sorted out... in the meantime, this is my home repo box / smb / print server, need it up, and need to fix the total RAID meltdown I experienced yesterday after first trying this patch (I don't think this patch is to blame here), so, back to work :/