From owner-freebsd-stable@FreeBSD.ORG Tue Dec 14 15:54:28 2010 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 BE0C9106566B for ; Tue, 14 Dec 2010 15:54:28 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 769738FC15 for ; Tue, 14 Dec 2010 15:54:28 +0000 (UTC) Received: by gyf3 with SMTP id 3so428166gyf.13 for ; Tue, 14 Dec 2010 07:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=fMMNxqdfTtM06/N9sBrinM38V6A2q50tscW6FGkfYW8=; b=r8/rTOoZMvAEWvkFIbTF154IXhaoMQXIm0xeAFzkTWWA+fFSF+5moDYPq7DByKhxfF L6t441HCngnlD763ZhKwoEOXEwGFVDsGuCx233iazM2RhuxtTVOQn7dSl2QqFgBBZG8K l/50FA9y67SOd6hEP2YEB5xb4sUU+RiwdGcss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ac0A0h7TlSRYEDpGk9ZJCNL3mh/WhS/74xSFCh1pNIuwnA2CFeqNmxv9M4UWreaeL7 9FW/b1ArDJk5Ei7LrihyOB+tbm963LgClwrsW+lONiKwRprVfauBSyaZAXyFvBOKtttD 53Z9LZxRMtMkIhmoLvu/ibVwUKgkTGnhBHUqs= MIME-Version: 1.0 Received: by 10.236.111.38 with SMTP id v26mr3215092yhg.39.1292340725502; Tue, 14 Dec 2010 07:32:05 -0800 (PST) Sender: asmrookie@gmail.com Received: by 10.236.109.45 with HTTP; Tue, 14 Dec 2010 07:32:05 -0800 (PST) In-Reply-To: References: Date: Tue, 14 Dec 2010 16:32:05 +0100 X-Google-Sender-Auth: LNwDjeRbXe6SI8OWwFnloUvRLms Message-ID: From: Attilio Rao To: "Arno J. Klaassen" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: 8.2-PRERELEASE freezing on reboot (-current OK) 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: Tue, 14 Dec 2010 15:54:28 -0000 2010/12/10 Arno J. Klaassen : > > Hello, > > just FYI that on an 8-way Tyan S3992-E based box, a reboot under > 8.2-PRERELEASE (in fact, 8-stable since quite a while) makes the box > freeze, whilst the same thing under -current works OK. > > For info the end of console output in both cases as well as dmesg.boot > for -current. > > Feel free to contact me for more info or test patches. Hello Arno, I'd need you do the following things: - Compile a new kernel including this patch: http://www.freebsd.org/~attilio/diagno-stable8.diff and including the kernel config options KDB, DDB, DIAGNOSTIC and WITNESS. Please accurately skip, if present in your config file, options WITNESS_SKIPSPIN and KDB_UNATTENDED. These options could make the deadlock not visible anymore, at some extent. You may repeat a lot of times the reboot in order to try to get something but if you can't reproduce it just let me know. - When the kernel deadlocks, this time, after a while it should be able to resolve the deadlock alone. If that happens you will see the DDB prompt. At the ddb prompt type the following commands: db> ps db> show allpcpu db> allt db> show alllocks Note that this is quite a big output and you'd need a serial console to log it. If you can't arrange serial connections, I'll tell you what informations I need to specifically check and you may annotate someway and reply to me (the full logs would be valuable, but it is better than nothing). Are the instructions clear? Let me know if you have any question. Attilio -- Peace can only be achieved by understanding - A. Einstein