From owner-freebsd-stable@FreeBSD.ORG Wed Apr 30 22:25:13 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 24B3A1065676; Wed, 30 Apr 2008 22:25:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id F24748FC19; Wed, 30 Apr 2008 22:25:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unknown [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id 816D01A4D80; Wed, 30 Apr 2008 15:25:12 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m3UMP02v015364; Wed, 30 Apr 2008 18:25:00 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: d@delphij.net Date: Wed, 30 Apr 2008 15:44:20 -0400 User-Agent: KMail/1.9.7 References: <481560AC.90109@delphij.net> <1209376409.59233.14.camel@buffy.york.ac.uk> <4818BF27.2080209@delphij.net> In-Reply-To: <4818BF27.2080209@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804301544.20802.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 30 Apr 2008 18:25:01 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/7003/Wed Apr 30 16:05:29 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Gavin Atkinson , FreeBSD Stable 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: Wed, 30 Apr 2008 22:25:13 -0000 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). -- John Baldwin