From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 08:40:12 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 C024A931; Mon, 17 Nov 2014 08:40:12 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43D50238; Mon, 17 Nov 2014 08:40:12 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so4882186wiw.13 for ; Mon, 17 Nov 2014 00:40:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dPW6uT9JBHmE5lOFG5FtN9sJRV2TW+YFJoG3k9vSIfk=; b=EnqXN0bYHuM2M8VyWBZlKok423zBg7fWAoOheWX40t8Z6eGEagVWeV/ymK5jHioWjf uBu1GFOxJ96b4y28r08WDcuS0dv/eZEwJr/gXlPVjDbTd0sm8z/YUulPjv1nWGw330YB KXOYUXwObdbcfe5ID1LyXcHQyVrxjCZS4hb/uiWrGNB1uP0i9eKeVvy5yb3j3qnS53J4 0hBvF60K5zsTf5+BDGM3TqSnbJ5BMU+IinmHMb6R0iombpfN7UZ/J6GX2nTHblYK32A/ RlZ2jNsasq5zru/6YNSusEm1c7dN2zBGm/LHRveKM5SH0069y3xZd/tcnhKzUzm0clJZ beFg== X-Received: by 10.181.12.6 with SMTP id em6mr28934012wid.24.1416213610656; Mon, 17 Nov 2014 00:40:10 -0800 (PST) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id t9sm50557006wjf.41.2014.11.17.00.40.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 00:40:08 -0800 (PST) Sender: Sulev-Madis Silber Message-ID: <5469B465.10208@hot.ee> Date: Mon, 17 Nov 2014 10:40:05 +0200 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= 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> <861tp271pb.fsf@nine.des.no> In-Reply-To: <861tp271pb.fsf@nine.des.no> X-TagToolbar-Keys: D20141117104005042 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Hans Petter Selasky , Adrian Chadd , freebsd-current , Ian Lepore , Steve Kargl 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 08:40:13 -0000 On 2014-11-17 08:58, Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav 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 > I cursed at HAL a lot because it made uC inside r0ket to crap itself partially... this thing can be USB device but apparently didn't like black magic that HAL did. Maybe it tried to read from the beginning or something. It took lot of time to figure out why it doesn't work. Now I have set of ignore files to prevent grabbing for every single device in system.