From owner-freebsd-small@FreeBSD.ORG Wed Nov 10 17:48:09 2004 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 284C116A4CE; Wed, 10 Nov 2004 17:48:09 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A39043D45; Wed, 10 Nov 2004 17:48:08 +0000 (GMT) (envelope-from rionda@gufi.org) Received: from kaiser.sig11.org (82.50.122.174) by vsmtp3.tin.it (7.0.027) id 418F590000135D27; Wed, 10 Nov 2004 18:48:07 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by kaiser.sig11.org (Postfix) with ESMTP id 1858F102; Wed, 10 Nov 2004 18:48:04 +0100 (CET) From: Matteo Riondato To: Poul-Henning Kamp In-Reply-To: <34772.1100072304@critter.freebsd.dk> References: <34772.1100072304@critter.freebsd.dk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XN0dFYtJCXGo+0VuS7Zi" Message-Id: <1100108882.760.42.camel@kaiser.sig11.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 10 Nov 2004 18:48:03 +0100 cc: current@freebsd.org cc: small@freebsd.org Subject: Re: HEADSUP: change in root mount semantics for md* devices. X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rionda@gufi.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 17:48:09 -0000 --=-XN0dFYtJCXGo+0VuS7Zi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Poul-Henning Kamp wrote: > We have had a hack which would mount the root filesystem R/W if > the device were named 'md*'. As part of the vnode work I'm doing > I have had to remove this hack. >=20 > People building systems which use preloaded MD root filesystems > may need to insert a "/sbin/mount -u -o rw /dev/md0 /" in their > /etc/rc scripts. Surely I'm missing something but I cannot get FreeSBIE running on Qemu anym= ore, and I think it's related to this change (cvsup'ed early afternoon CEST). I changed /etc/rc in the following way: --- /etc/rc.orig Sun Oct 17 09:02:41 2004 +++ /etc/rc Wed Nov 10 18:27:19 2004 @@ -52,6 +52,7 @@ =20 . /etc/rc.subr =20 +mount -u -o rw /dev/md0 /=20 # Note: the system configuration files are loaded as part of # the RCNG system (rc.d/rcconf.sh). Do not load them here as it may # interfere with diskless booting. But when I boot Qemu, boot process stops at: md0: Preloaded image 6291456 bytes at 0xc094bd40 [skip [a]cd0 recognition] Mounting root from ufs:/dev/md0 Nothing else is printed after this line. Any hints? Perhaps I modified the wrong file.. Best Regards --=20 Rionda aka Matteo Riondato GUFI Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) BSD-FAQ-it Main Developer (http://utenti.gufi.org/~rionda) Sent from: kaiser.sig11.org running FreeBSD-6.0-CURRENT --=-XN0dFYtJCXGo+0VuS7Zi Content-Type: application/pgp-signature; name=signature.asc Content-Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBklRS2Mp4pR7Fa+wRAoAoAJ9LG7vGiL+GPxv6uVqnlze2LEQpxQCfX5d3 pcy1lvpgA+gUPPg1L4IqJFw= =aNTh -----END PGP SIGNATURE----- --=-XN0dFYtJCXGo+0VuS7Zi--