From owner-freebsd-current@FreeBSD.ORG Fri Apr 4 14:16:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15AD21065670 for ; Fri, 4 Apr 2008 14:16:30 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 9C49B8FC0C for ; Fri, 4 Apr 2008 14:16:29 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so90906fka.11 for ; Fri, 04 Apr 2008 07:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; bh=Tzn58Bf6TSz4OIlNjAFdd/rsxGmtjTxcCAdo/cRonDQ=; b=iV7R7QeVsFGi+sb2vq7RHSbSTAVrrIGtOgRJbxgXDLYdUhHdAB6K3N60QHJdsTyYL7POUwAebEpyOM518BEK4GVtZZbNvnNnMZzzwtfkLJLMr+pcGW++VYfeWywVY+zFQAtYu93FR3YZFJcE1XTDk3M1+Q7mYQdKTjySqgGhk6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=wPgYkl/Rw/KtYsxb79grqos1NO7lq3cVl9WbBvpb8vGHc2DQG0c1G5szwu8SlcAAk1PFo+XnKqv4ZX6dSWAHTO6daZ/HxFDuKEPDWV72+rbi7mWFsgFDyjxSd2tUUdNwoBjsBUMO33g8PQlaXZCKeDWJkKWAHPlGNL8dLPfUCcM= Received: by 10.78.185.15 with SMTP id i15mr3859777huf.11.1207318587778; Fri, 04 Apr 2008 07:16:27 -0700 (PDT) Received: from fnop.net ( [193.136.24.128]) by mx.google.com with ESMTPS id p10sm7032776gvf.8.2008.04.04.07.16.26 (version=SSLv3 cipher=OTHER); Fri, 04 Apr 2008 07:16:26 -0700 (PDT) Date: Fri, 4 Apr 2008 15:15:46 +0100 From: Rui Paulo To: "Tuc at T-B-O-H.NET" Message-ID: <20080404141546.GA985@fnop.net> References: <20080404095923.GA955@fnop.net> <200804041306.m34D6NiF019218@himinbjorg.tucs-beachin-obx-house.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804041306.m34D6NiF019218@himinbjorg.tucs-beachin-obx-house.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Rui Paulo X-Mailman-Approved-At: Fri, 04 Apr 2008 15:27:18 +0000 Cc: freebsd-current@freebsd.org, Rui Paulo Subject: Re: Reproducable Kernel HARD lockup 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: Fri, 04 Apr 2008 14:16:30 -0000 On Fri, Apr 04, 2008 at 09:06:23AM -0400, Tuc at T-B-O-H.NET wrote: > > > > On Fri, Apr 04, 2008 at 12:24:26AM -0400, Tuc at T-B-O-H.NET wrote: > > > Hi, > > > > > > LONG LONG LONG story made short. > > > > > > Running Soekris 4801-60 previously on 5.5 . Would lock up > > > every so often, then more often, then finally constantly. Shipped > > > back to vendor, replaced, all good. Months later started to lock > > > every few weeks, then every few hours. Replace CF with hard drive, > > > locks in 10 minutes, etc. > > > > > > Load OpenBSD on disk. Runs for days with no problem. > > > Decide I don't like OpenBSD ports system so decide to go FreeBSD > > > 7. Glitch with memory stick, but otherwise system seems to run > > > fine. Start SETI, system locks HARD. I have it set to be able > > > to break to debugger with CR ~ ^b, but that just doesn't happen. > > > (Previously tested it would in single user when system running > > > fine). > > > > > > Is there any way to debug a kernel lockup if you CAN'T > > > break to debugger?? > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html > > > > Hope this helps. > > > Unfortunately, not that I can see. > > Kernel already had : > > options KDB > options KDB_TRACE > options KDB_UNATTENDED > options DDB > #break on sequence CR ~ ^b > options ALT_BREAK_TO_DEBUGGER > > And I couldn't break to the debugger for love nor money > once it happens. I also can't remote debug due to my 7.0 system not > having a serial port. > > Thanks, Tuc Do you have a firewire port? See http://www.lemis.com/grog/Papers/Debug-tutorial/tutorial.pdf for an explanation on how to setup firewire debugging. Regards, -- Rui Paulo