From owner-freebsd-stable@FreeBSD.ORG Thu Jul 1 17:05:06 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 A96571065672 for ; Thu, 1 Jul 2010 17:05:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0998FC19 for ; Thu, 1 Jul 2010 17:05:05 +0000 (UTC) Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta05.westchester.pa.mail.comcast.net with comcast id carw1e0031HzFnQ55h565T; Thu, 01 Jul 2010 17:05:06 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta14.westchester.pa.mail.comcast.net with comcast id ch551e0053S48mS3ah55tg; Thu, 01 Jul 2010 17:05:06 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id E618D9B425; Thu, 1 Jul 2010 10:05:03 -0700 (PDT) Date: Thu, 1 Jul 2010 10:05:03 -0700 From: Jeremy Chadwick To: GNUbie Message-ID: <20100701170503.GA99226@icarus.home.lan> References: <4C280435.4060603@halplant.com> <20100701160622.GA98823@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: maurovale@gmail.com, freebsd-stable@freebsd.org Subject: Re: Unable to boot FreeBSD 8.0-p3 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: Thu, 01 Jul 2010 17:05:06 -0000 On Fri, Jul 02, 2010 at 12:14:28AM +0800, GNUbie wrote: > Hello Jeremy, > > On Fri, Jul 2, 2010 at 12:06 AM, Jeremy Chadwick > wrote: > > > > Kernel crash dumps are not enabled by default.  You need to define the > > following in /etc/rc.conf before that will happen: > > > > dumpdev="auto" > > Ok. So, the line "Cannot dump. Device not defined or unavailable." is > already going to be an output of the kernel crash. Meaning, during > bootup, somehow the kernel crash and since crash dumps was not > defined, that is why I was getting that message I just mentioned. > > Moving forward, what are your recommendations in order for me to be > able to boot from my system? 1) Your screen shot doesn't indicate the root filesystem is being mounted, which more or less inhibits your ability to get a crash dump. I don't think it's worth putting forth effort to try and get one. Interesting though *is* the fact that the kernel crashes at the point where the root fileystem normally gets mounted. Example system: SMP: AP CPU #1 Launched! Root mount waiting for: usbus7 usbus3 Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Trying to mount root from ufs:/dev/ada0s1a I'm wondering if the "Swap zone entries" message is giving us some hints as to where the problem lies (filesystem corruption? Not sure!). 2) I'm not entirely sure your system has bad RAM. It's possible, but honestly it wouldn't be my first guess. Bad hardware is always a possibility though, so it's worth considering. 3) Have you tried downloading a 8.1-RC1 LiveFS CD and seeing if it boots, works, etc? You might be able to start to recovery your system from there. For those who haven't looked at the screen shot, the kernel outputs the following immediately before/during the crash (i386 system): uhub4: on usbus4 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Swap zone entries reduced from 121574 to 4742. Fatal double fault: eip = 0xc0ace110 esp = 0xffe8b000 ebp = 0xffe8b840 cpuid = 3; apic id = 03 panic: double fault cpuid = 3 Uptime: 2s Cannot dump, blah blah, automatic reboot in 15 seconds... Not sure about EBP (the screen shot is washed out and I haven't tried using Photoshop to clean it up). -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |