From owner-freebsd-hackers@FreeBSD.ORG Mon May 23 13:13:02 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DCAF1065670 for ; Mon, 23 May 2011 13:13:02 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A4F438FC15 for ; Mon, 23 May 2011 13:13:01 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA12338; Mon, 23 May 2011 16:12:59 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DDA5D5A.4060509@FreeBSD.org> Date: Mon, 23 May 2011 16:12:58 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Eduardo References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: upgrade to version 8 - can not mount root X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 13:13:02 -0000 on 20/05/2011 20:36 Eduardo said the following: > da0 at ahc0 bus0 scbus0 target 5 lun 0 > da0 messages ... > da0 at ahc0 bus0 scbus0 target 6 lun 0 > da1 messages ... > Trying to mount root from ufs:/dev/da0s1a > ROOT MOUNT ERROR: > If you have invalid mount options, reboot, and first try the following > from the loader prompt: > set vfs.root.mountfrom.options=rw > and then remove invalid mount options from /etc/fstab > Loader variables: > vfs.root.mountfrom=ufs:/dev/da0s1a > vfs.root.mountfrom.options=rw > > Manual root filesystem specification: ...etc.. > > mountroot> > > pani: Root mount failed, startup aborted. > cpuid=0 > KBD: stack backtrace: > #0 0xc08ebe67 at kdb_backtrace+0x47 > #1 0xc08bc627 at panic+0x117 > #2 0xc0943fc7 at vfs_mountroot+0x4f7 > #3 0xc08737c0 at start_init+0x60 > #4 0xc0890f51 at fork_exit+0x91 > #5 0xc0bd5b84 at fork_trampoline+0x8 > > I can boot the old kernel at 7.2 and recompile again with debug flags as needed. > > One thing I did try just now was to install 8.2 from the CD ... after > I choose install options and he goes to create the filesystems I get > these error messages: > > > Unable to find device node for /dev/da0s1b in /dev! > The creation of filesystems will be aborted. First, this is not really a question for hackers@. Perhaps stable@, geom@ or fs@ would be better choices. To the subject matter, it seems like you could have an MBR that is reject by code in in 8. Have you tried to get a lit of devices that kernel sees at the mountroot prompt? What are those? It could also be useful to boot from 8 or 9 live disk and examine how the system sees your disks. -- Andriy Gapon