From owner-freebsd-stable@FreeBSD.ORG Fri May 14 03:06:34 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 1523C106566B for ; Fri, 14 May 2010 03:06:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id B7A0D8FC0A for ; Fri, 14 May 2010 03:06:33 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by QMTA11.westchester.pa.mail.comcast.net with comcast id HEz01e0041c6gX85BF6Zla; Fri, 14 May 2010 03:06:33 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta23.westchester.pa.mail.comcast.net with comcast id HF6X1e00M3S48mS3jF6YXB; Fri, 14 May 2010 03:06:33 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id A74319B419; Thu, 13 May 2010 20:06:30 -0700 (PDT) Date: Thu, 13 May 2010 20:06:30 -0700 From: Jeremy Chadwick To: Fred Souza Message-ID: <20100514030630.GA84755@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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:06:34 -0000 On Thu, May 13, 2010 at 11:00:38PM -0300, Fred Souza wrote: > I give up and reinstall (that first install had given me quite a > headache with incorrect drive geometry [that I had to fix with a lot > of research to get to TestDisk and GAG], so I thought it was best to > just start fresh). I do the same procedure this time, but paying extra > attention to any details I could have overlooked before. One of them > was to make a kernel (-STABLE) out of a renamed copy of GENERIC (no > options added or removed). I also decided on doing the remaining steps > listed on /usr/src/UPDATING before rebooting; I thought the drive > numbering difference could be related to something in userland that > was missing when booting the -STABLE kernel with -RELEASE userland. > ... > And I got the same mount root error message, and again it shows the > drives as ad10 and ad16 instead of ad8 and ad14. The difference is > that this time I did not try to update /etc/fstab before resorting to > this list (I had been browsing it for the past 3 days trying to find > any hints on this, as well as reading /usr/src/UPDATING in full > again). I can get the system to boot normally if I unload the -STABLE > kernel and load the -RELEASE one. But I can't figure out for the life > of me why does -STABLE shift my drive numbers around. There is probably an ata(4) device layer change which either fixes (yes really), breaks (possibly), or enhances (likely) support for your ATA or SATA controller. This is pretty much how the ata(4) layer has behaved for years upon years -- that's just how it goes. If this is your first time encountering it, congratulations. :-) The device names *should not* change on you once you stick with that kernel; it just indicates something changed between -RELEASE and -STABLE. 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). -- | 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 |