From owner-freebsd-stable@FreeBSD.ORG Tue Oct 23 23:38:24 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9262996; Tue, 23 Oct 2012 23:38:24 +0000 (UTC) (envelope-from bofh@terranova.net) Received: from tog.net (tog.net [IPv6:2605:5a00::5]) by mx1.freebsd.org (Postfix) with ESMTP id 8397A8FC08; Tue, 23 Oct 2012 23:38:24 +0000 (UTC) Received: from [IPv6:2605:5a00:ffff::face] (unknown [IPv6:2605:5a00:ffff::face]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tog.net (Postfix) with ESMTPSA id 3XmWHz3bwnzKPT; Tue, 23 Oct 2012 19:38:23 -0400 (EDT) Message-ID: <50872A68.5040100@terranova.net> Date: Tue, 23 Oct 2012 19:38:16 -0400 From: Travis Mikalson Organization: TerraNovaNet Internet Services User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Andriy Gapon Subject: Re: The shutdown bug? References: <5086CD71.7020006@intersonic.se> <5086E43D.1010702@intersonic.se> <5086F39E.7050708@FreeBSD.org> In-Reply-To: <5086F39E.7050708@FreeBSD.org> X-Enigmail-Version: 0.96.0 OpenPGP: url=http://www.terranova.net/pgp/bofh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: jb , freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 23:38:24 -0000 Andriy Gapon wrote: > on 23/10/2012 21:38 Per olof Ljungmark said the following: >> On 2012-10-23 19:41, jb wrote: >>> Per olof Ljungmark intersonic.se> writes: >>> >>>> ... >>>> Setting sysctl hw.usb.no_shutdown_wait=1 does NOT fix the problem as >>>> described in >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/167685 >>>> ... >>> There is another one: >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=172952&cat= >>> jb >> Thanks, I'll add my experiences to that one. > > I've just posted another followup to that PR. If you could do some debugging > that would be great. Thank you for the followup, I will respond later when I am able. I will have to build DDB into my kernel and see what I can find out about where it's stuck. I also intend to remove the SAS controllers and disable USB and various things I can do to see if it stops being 100% reproducible on this particular system. I just patched in the following as a MFC and this also did not affect this issue: http://svnweb.freebsd.org/base/head/sys/geom/geom_disk.c?r1=240629&r2=241022&view=patch That is 240822 and 241022 combined: http://svnweb.freebsd.org/base/head/sys/geom/geom_disk.c?r1=240629&view=log