From owner-freebsd-current@FreeBSD.ORG Sat Mar 10 16:15:23 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F2FB16A400 for ; Sat, 10 Mar 2007 16:15:23 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 82AA813C4A6 for ; Sat, 10 Mar 2007 16:15:22 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so1605766ugh for ; Sat, 10 Mar 2007 08:15:21 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Np+UaWdVpJHsNJ5m018awpKswz4blaLnhw5c0wqPveToLjBKaqfTx7nXZbaiVO1ONLdWvrBQjZ0eY6oYWlTakEUUchBxIniLdhE9hT05ZbG1nNZB5yR5+XyIY3Y7FQF/m0foQOSaqEH6xsUK8HMkUW6XlmBP1hzuhlwC+CbOL+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TL73q3vHhQnfndwA7+bjYoxrmOwIJx9pD/t1i1gkEaGUmLBCS1k/c2Iuq4Dw4RgtmdStgACuMsqYeX4NwZm601EWAqDmdIneAQ3RdNL8x758Hl8NAnkPmlhiqfMazBKMq1KJUMOOhe7aC3eaLuMgNdCpzQHlkxeXmGDPBe48Z3A= Received: by 10.70.132.2 with SMTP id f2mr5710948wxd.1173541761046; Sat, 10 Mar 2007 07:49:21 -0800 (PST) Received: by 10.100.191.11 with HTTP; Sat, 10 Mar 2007 07:49:21 -0800 (PST) Message-ID: <3bbf2fe10703100749h14e9b075wb6d730ed7c9189f8@mail.gmail.com> Date: Sat, 10 Mar 2007 16:49:21 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Tillman Hodgson" In-Reply-To: <20070310153206.GF1230@seekingfire.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070308125927.GA1265@seekingfire.com> <20070308204041.GA55240@xor.obsecurity.org> <20070310153206.GF1230@seekingfire.com> X-Google-Sender-Auth: f00128b557f10b71 Cc: freebsd-current@freebsd.org Subject: Re: Experiencing hangs on SMP box with no console messages given for clues. Details inside. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 16:15:23 -0000 2007/3/10, Tillman Hodgson : > On Thu, Mar 08, 2007 at 03:40:41PM -0500, Kris Kennaway wrote: > > On Thu, Mar 08, 2007 at 06:59:27AM -0600, Tillman Hodgson wrote: > > > Howdy folks, > > > > > > These has been happening every few days for a few weeks now. When it > > > occurs, there's no messages logged to the console or to syslog -- it > > > just silently hangs. I added the break-to-debugger option so that I can > > > at least reboot it remotely via the serial console. > > > > > > I've been following the -current kernel fairly closely in hopes that it > > > was just due to a transitory -current problem. I don't mind rebuilding a > > > kernel with special options if it's useful -- I'll be rebuilding this > > > morning with WITNESS and INVARIANTS for sure. > > > > Let us know when you have the corresponding debugging. > > [root@athena /usr/src/sys/i386/conf]# diff ATHENA GENERIC > 24c24 > < ident ATHENA > --- > > ident GENERIC > 71,73d70 > < > < ### Tillman added 26Feb07 as per http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html > < options BREAK_TO_DEBUGGER > > Ran a kernel from backdated src (Feb 22) on a suggestion from Paolo, > hang occurred within 24 hours (eliminating that particular commit). I > have the core saved to work with and I'm now rebuilding a March 10 > kernel. > > I'm trying to follow the instructions at > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING > and in > http://www.onlamp.com/pub/a/bsd/2002/04/04/Big_Scary_Daemons.html?page=1 > but I'm running into an issue even getting gdb to start: > > [root@athena /var/crash]# which gdb > /usr/bin/gdb > [root@athena /var/crash]# gdb -k > gdb: unrecognized option `-k' > Use `gdb --help' for a complete list of options. > > The man page doesn't list a -k option either. /usr/src/UPDATING doesn't > seem to mention any gdb changes. man kgdb Attilio -- Peace can only be achieved by understanding - A. Einstein