From owner-freebsd-stable@FreeBSD.ORG Fri May 14 03:25:41 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 19D361065676 for ; Fri, 14 May 2010 03:25:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id F37BB8FC17 for ; Fri, 14 May 2010 03:25:40 +0000 (UTC) Received: from omta13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by qmta01.emeryville.ca.mail.comcast.net with comcast id HFJk1e00217UAYkA1FRhRA; Fri, 14 May 2010 03:25:41 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta13.emeryville.ca.mail.comcast.net with comcast id HFRh1e0023S48mS8ZFRho9; Fri, 14 May 2010 03:25:41 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 151299B419; Thu, 13 May 2010 20:25:40 -0700 (PDT) Date: Thu, 13 May 2010 20:25:40 -0700 From: Jeremy Chadwick To: Fred Souza Message-ID: <20100514032540.GA85214@icarus.home.lan> References: <20100514030630.GA84755@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: freebsd-stable@freebsd.org Subject: Re: Mount root error / New device numbering? 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: Fri, 14 May 2010 03:25:41 -0000 On Fri, May 14, 2010 at 12:16:47AM -0300, Fred Souza wrote: > > I'd recommend booting/trying an actual 8.0-STABLE snapshot image from > > here: > > > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201004/ > > > > This will allow you to boot and install 8.0-STABLE on your system.  You > > should see devices ad10 and ad16 there as well.  It would at least save > > you the pain of installing the kernel, rebooting, and finding you have > > to manually deal with /etc/fstab changes and so on.  Give this a shot > > first. > > > > It also might help in debugging the "stray IRQ" problem you see (it > > would be useful to know what's sitting on IRQ 21; it may be an unused > > device in your BIOS which you can disable there, or try to find a > > FreeBSD driver for the device which can attach to the IRQ). > > I will try that, thank you very much. But as future reference.. Should > it work if I just get to that shell prompt, change /etc/fstab to match > those number changes and reboot? I'm asking because that sounded like > the way to go when I first encountered this problem, but I ended > making my system unusable. It is possible that I left anything out > when I tried that, or that I changed something incorrectly.. But the > idea should work, right? Absolutely. I've done it myself many times over the years, including remotely over serial console. However, you said you did that then typed "exit" rather than "reboot", and the end result was a kernel panic. Honestly, I'm not surprised; the system was probably still confused about the root device. I'm guessing some kernel innards (or maybe something picked up from boot2/loader) still referenced the "unknown root device" and caused the panic. > I do an exit on that shell just to get to a kernel panic message and a > quick reboot. I tried to unload the -STABLE kernel and boot from the > -RELEASE one, but now the system hangs right after it tries to find my > disks. Even on other operating systems, if I'm dropped (unintentionally or intentionally/by choice) into single-user mode, I reboot the system rather than exit out of single-user and hope that multi-user works from that point forward. I've seen "exit" on Solaris fail and cause all sorts of mayhem (all sorts of system startup services (not rc/init!) failing, machine ending up in some sort of catatonic state). -- | 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 |