From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 01:12:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32A0016A420 for ; Sat, 10 Sep 2005 01:12:20 +0000 (GMT) (envelope-from 4711@chello.at) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id EB7B543D48 for ; Sat, 10 Sep 2005 01:12:18 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 62987 invoked from network); 9 Sep 2005 19:45:36 -0000 Received: from matrix010.matrix.net (HELO localhost) (192.168.123.10) by mail2.matrix.net with SMTP; 9 Sep 2005 19:45:36 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Fri, 9 Sep 2005 21:42:33 +0200 User-Agent: KMail/1.8 References: <20050909150402.22893.qmail@web51805.mail.yahoo.com> In-Reply-To: <20050909150402.22893.qmail@web51805.mail.yahoo.com> X-Face: 9K^F42eGrHAbAe?%/Jn(.sAeg9d{Ur6`x<[+LZ46Plx#sTFr]9_>|#(?~v6X,=?utf-8?q?2=7EBeL=23=3A7kxV8=23s=3BUP=0A=09=7C?=>X.=B,VvQ"}!^Zb}AGD:Um.+; P=%U6W Cc: Ng Pek Yong , freebsd-geom@freebsd.org Subject: Re: Recompiled freebsd 5.4 cannot boot up with geom_mirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 01:12:20 -0000 --nextPart2295173.eONkj0EE5S Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 09 September 2005 17:04:17, Ng Pek Yong wrote: > Hi, > > I am having some problem with geom_mirror on a freebsd > 5.4. > > I followed the steps described in > http://people.freebsd.org/~rse/mirror/ > and got geom_mirror up on a stock freebsd 5.4, > including / partition itself. > > The problem came when I compiled the kernel. After > pulling in the latest source tree, compiling and > installing the new kernel, I find that the OS can no > longer bootup. > > I did with 2 kernel configurations. The 1st is > completely identical to the stock kernel config. The > 2nd has an extra line "options GEOM_MIRROR". > Both failed to boot up although the errors are > different. You don't need "options GEOM_MIRROR" in your kernelconfig to run gmirror. > 1st config > ---------- > The boot process got stucked when it tries to mount / > The error message is something like this > Mount root from ufs:/dev/mirror/gm0s1a > setrootbyname failed > ffs_mountroot: can't find rootvp > Root mount failed: 6 Maybe there is a typo in your /etc/fstab. Enter a "?" here to get a list of= =20 all your geom devices. Then try to mount / from the correct device by=20 entering "ufs:mirror/your_root_device" at the "mountroot>" prompt. =20 [...] Cheers, ch =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --nextPart2295173.eONkj0EE5S Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDIeZf09WjGjvKU74RApRZAJ0UU6VQLl/t+S9JSqYYs4K4uu8GMQCeK5k3 NkrC/j7c4uqK9PYRhvqYBIA= =+xX5 -----END PGP SIGNATURE----- --nextPart2295173.eONkj0EE5S--