From owner-freebsd-stable@FreeBSD.ORG Thu May 1 16:49:32 2008 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A3731065678; Thu, 1 May 2008 16:49:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245]) by mx1.freebsd.org (Postfix) with ESMTP id 145A18FC12; Thu, 1 May 2008 16:49:31 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw0.york.ac.uk (8.13.6/8.13.6) with ESMTP id m41GnFYB002433; Thu, 1 May 2008 17:49:15 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Jrby7-0001ec-FK; Thu, 01 May 2008 17:49:15 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m41GnF57079224; Thu, 1 May 2008 17:49:15 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m41GnEOQ079223; Thu, 1 May 2008 17:49:14 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: John Baldwin In-Reply-To: <200804301544.20802.jhb@freebsd.org> References: <481560AC.90109@delphij.net> <1209376409.59233.14.camel@buffy.york.ac.uk> <4818BF27.2080209@delphij.net> <200804301544.20802.jhb@freebsd.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 01 May 2008 17:49:12 +0100 Message-Id: <1209660552.68622.53.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: FreeBSD Stable , d@delphij.net Subject: Re: What does system do after "Uptime: "? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 16:49:32 -0000 On Wed, 2008-04-30 at 15:44 -0400, John Baldwin wrote: > On Wednesday 30 April 2008 02:49:11 pm Xin LI wrote: > > Gavin Atkinson wrote: > > | On Sun, 2008-04-27 at 22:29 -0700, Xin LI wrote: > > |> Hi, > > |> > > |> Just wonder what the system would do after Uptime: during reboot? Will > > |> there be any callbacks be called? I have received some report regarding > > |> hangs after this, and IIRC the only operation is to IPI BSP to do reboot? > > | > > | Several callbacks are called after that message. Anything that > > | registers with the shutdown_post_sync or shutdown_final event handler, > > | for example, and the dump routine if you are using "reboot -d". > > | > > | Before trying to diagnose this, however, make sure you are running with > > | sys/dev/usb/ehci_pci.c 1.30 (which has also been MFC'd to 6/7), as that > > | seems to have been the cause of most of the recently reported "hangs > > | after printing uptime" PRs. > > > > I see... It seems that this is the culprit. > > > > To John: Do you think it's worthy to make this an errata to the > > supported RELENG_6_X and RELENG_7_0 branches? > > If someone wants to push re@ to do that they can, but my experience with > getting re@ to actually get errata fixes has me skeptical (I think I had > patches for about 6 or 7 panics or kernel deadlocks for 6.2 that never got > pushed as errata patches). FWIW, there have been probably around 10 PRs in in the last few months about this behaviour. I'd vote for it as an errata candidate. Gavin