From owner-freebsd-current@FreeBSD.ORG Thu Nov 13 18:03:33 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2520B93F for ; Thu, 13 Nov 2014 18:03:33 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask.apl.washington.edu", Issuer "troutmask.apl.washington.edu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 02DD5EA0 for ; Thu, 13 Nov 2014 18:03:32 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id sADI3WiX019033 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 13 Nov 2014 10:03:32 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id sADI3W43019032 for freebsd-current@freebsd.org; Thu, 13 Nov 2014 10:03:32 -0800 (PST) (envelope-from sgk) Date: Thu, 13 Nov 2014 10:03:32 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: Re: USB locks up system -- WAS Re: shutdown or acpi problem Message-ID: <20141113180332.GA18990@troutmask.apl.washington.edu> References: <20141112224212.GA14013@troutmask.apl.washington.edu> <20141113172533.GA18690@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141113172533.GA18690@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.23 (2014-03-12) 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 18:03:33 -0000 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. > > ugen6.2: at usbus6 > umass0: on usbus6 > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: Fixed Direct Access SCSI-6 device > da0: Serial Number 57584B314537324445595A31 > da0: 40.000MB/s transfers > da0: 1907697MB (3906963456 512 byte sectors: 255H 63S/T 243197C) > da0: quirks=0x2 > ses1 at umass-sim0 bus 0 scbus4 target 0 lun 1 > ses1: Fixed Enclosure Services SCSI-6 device > ses1: Serial Number 57584B314537324445595A31 > ses1: 40.000MB/s transfers > ses1: SCSI-3 ENC Device > The problem is not restricted to hte WD My Passport drive. The memstick ugen6.2: at usbus6 umass0: on usbus6 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: < 0.00> Removable Direct Access SCSI-2 device da0: Serial Number 08102201c42413 da0: 40.000MB/s transfers da0: 963MB (1974271 512 byte sectors: 64H 32S/T 963C) da0: quirks=0x2 will also cause the system to wedge when removed. I failed to report that /dev/da0, /dev/da0s1, /dev/da0s1a, etc were not destroyed when the WD My Passport was removed. -- Steve