From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 17:48:37 2012 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 117461065674 for ; Mon, 27 Feb 2012 17:48:37 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 712298FC26 for ; Mon, 27 Feb 2012 17:48:36 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1148944wgb.31 for ; Mon, 27 Feb 2012 09:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oF4BgFyUhKT78ONKpDnqFLIG2p0O04x+7g6EPQHkI/M=; b=wJMzwUafYec37931nlXMSsfEJYd4l98Bbe08HppDzvyiCEHMoxvkmeZKRGKz068Dmk sczJW2ZyVWrqb7N2BRdAfXLKpXispYu0mFHQr9m1bEaBzp/9pxQdpTQ2ONk50pJI5v3s GjpePtW3rZQPy1z4wA4SI7OPF7u+zXOqzsH3Q= MIME-Version: 1.0 Received: by 10.180.92.227 with SMTP id cp3mr24254018wib.13.1330364915258; Mon, 27 Feb 2012 09:48:35 -0800 (PST) Received: by 10.216.166.11 with HTTP; Mon, 27 Feb 2012 09:48:35 -0800 (PST) In-Reply-To: References: Date: Mon, 27 Feb 2012 12:48:35 -0500 Message-ID: From: Arnaud Lacombe To: Attilio Rao Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable Subject: Re: Complete hang on 9.0-RELEASE 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: Mon, 27 Feb 2012 17:48:37 -0000 Hi, On Mon, Feb 27, 2012 at 10:36 AM, Attilio Rao wrote: > 2012/2/27, Arnaud Lacombe : >> Hi, >> >> On Tue, Feb 14, 2012 at 11:41 AM, Arnaud Lacombe wrote: >>> Hi folks, >>> >>> For the records, I was running some tests yesterday on top of a >>> 9.0-RELEASE, amd64, kernel when the box hanged. At the time of the >>> hang, the box was running a process with about 2800 threads with heavy >>> IPC between 1400 writers and 1400 readers. The box was in single user >>> mode (/bin/sh coming from FreeBSD 7.4-STABLE). Here is the beginning >>> of the dmesg: >>> >> This happened a second time, now with FreeBSD 8.2-RELEASE. Complete >> machine hang. The machine was running about 4000 threads in a single >> process, all the other condition are the same. > > Arnaud, > can you please break in your kernel via KDB, collect the following > informations from the DDB prompt: > - ps > - alltrace > - show allpcpu > - possibly get a coredump with 'call doadump' > Will do, but I'll need to rebuild a kernel to include DDB. > and in the end provide all those along with kernel binary and possibly > sources somewhere? > I'll be testing a bare `release/8.2.0' with the following patch: diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index c3e0095..7bd997f 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -79,6 +79,10 @@ options INCLUDE_CONFIG_FILE # Include this file in kernel options KDB # Kernel debugger related code options KDB_TRACE # Print a stack trace for a panic +options DDB +options BREAK_TO_DEBUGGER +options ALT_BREAK_TO_DEBUGGER # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel - Arnaud > Thanks, > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein