From owner-freebsd-current@FreeBSD.ORG Thu Nov 13 20:33:52 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 59178902 for ; Thu, 13 Nov 2014 20:33:52 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17DFB127 for ; Thu, 13 Nov 2014 20:33:51 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6027D1FE022; Thu, 13 Nov 2014 21:33:49 +0100 (CET) Message-ID: <546515BF.6030508@selasky.org> Date: Thu, 13 Nov 2014 21:34:07 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Steve Kargl , freebsd-current@freebsd.org Subject: Re: USB locks up system -- WAS Re: shutdown or acpi problem References: <20141112224212.GA14013@troutmask.apl.washington.edu> <20141113172533.GA18690@troutmask.apl.washington.edu> <20141113180332.GA18990@troutmask.apl.washington.edu> <20141113181515.GA19117@troutmask.apl.washington.edu> In-Reply-To: <20141113181515.GA19117@troutmask.apl.washington.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 13 Nov 2014 20:33:52 -0000 On 11/13/14 19:15, Steve Kargl wrote: > On Thu, Nov 13, 2014 at 10:03:32AM -0800, Steve Kargl wrote: >> On Thu, Nov 13, 2014 at 09:25:33AM -0800, Steve Kargl wrote: >>> On Wed, Nov 12, 2014 at 02:42:13PM -0800, Steve Kargl wrote: >>>> I have a kernel/world from r274273 sources, which is exhibiting a new >>>> issue on my old laptop. Neither 'shutdown -p now' nor 'shutdown -r now' >>>> work. I get to the end of shutdown and see for example >>>> >>>> All buffers synced >>>> Uptime: 4h23m15s >>>> >>>> and then the laptop just sits there. It does not power off with >>>> the -p option nor does it reboot with the -r. Has anyone else >>>> seen this behavior? >>>> >>> >>> The problem appears to be related to a recent change in the >>> USB stack. If I have the following drive plugged into a >>> usb port, the above behavior is observed on shutdown. >>> > > Adding > > hw.usb.no_shutdown_wait: 1 > > to /boot/loader.conf appears to work around the 'shutdown -p now' > and 'shutdown -r now' issue. Unfortunately, the bricking of the > laptop is not affected by this sysctl. Once a device is plugged > into a usb, it must remain plugged in. > Hi, Is using this sysctl/tunable a suitable solution for you? --HPS