From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 06:58:45 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E809B1; Mon, 17 Nov 2014 06:58:45 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 19E3D7C3; Mon, 17 Nov 2014 06:58:44 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id DDC30A1BE; Mon, 17 Nov 2014 06:58:43 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 668E71B5A; Mon, 17 Nov 2014 07:58:40 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Steve Kargl Subject: Re: USB locks up system -- WAS Re: shutdown or acpi problem References: <1416162718.4781.192.camel@revolution.hippie.lan> <4F3B4E02-0ADD-46EB-BB90-BF360E810585@FreeBSD.org> <20141116185141.GB36021@troutmask.apl.washington.edu> <4443FEFB-17F1-4516-959F-4C70AB2A4382@FreeBSD.org> <20141116190344.GC36021@troutmask.apl.washington.edu> <5468F814.6010702@selasky.org> <20141116192959.GB36339@troutmask.apl.washington.edu> <5468FBFB.1090208@selasky.org> <20141117004631.GA37889@troutmask.apl.washington.edu> <8661ee71yg.fsf@nine.des.no> Date: Mon, 17 Nov 2014 07:58:40 +0100 In-Reply-To: <8661ee71yg.fsf@nine.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Mon, 17 Nov 2014 07:53:11 +0100") Message-ID: <861tp271pb.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Hans Petter Selasky , Adrian Chadd , freebsd-current , Ian Lepore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 17 Nov 2014 06:58:45 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Steve Kargl writes: > > I'll try that tomorrow. But, I now know that this is related to using > > hal from ports. If I comment out both enable_dbus and enable_hal in > > /etc/rc.conf, the system works as I would expect (ie., usb now works > > for unplugging devices!). I further suspect that the problems lies in > > hal_probe_storage, but haven't got too much further. > HAL: the gift that keeps on giving. It also has this wonderful feature > where it prevents you from unmounting anything you've ever mounted, > because it watches for new mountpoints in the system, opens them, and > keeps the file descriptors open indefinitely. > > I know this isn't really germane, but I just couldn't pass up a chance > to complain about HAL. Hold on. It *is* germane: hal_probe_storage auto-mounted your USB stick and is holding on to it. If this also happens with mice and keyboards etc., you're probably looking at two different issues. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no