From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 16:54:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E364E1065672 for ; Thu, 17 Jun 2010 16:54:56 +0000 (UTC) (envelope-from akashb503@yahoo.co.in) Received: from n14-vm0.bullet.mail.in.yahoo.com (n14-vm0.bullet.mail.in.yahoo.com [202.86.5.219]) by mx1.freebsd.org (Postfix) with SMTP id 12CC38FC12 for ; Thu, 17 Jun 2010 16:54:55 +0000 (UTC) Received: from [202.86.5.126] by n14.bullet.mail.in.yahoo.com with NNFMP; 17 Jun 2010 16:54:54 -0000 Received: from [203.104.18.52] by t6.bullet.mail.in.yahoo.com with NNFMP; 17 Jun 2010 16:54:54 -0000 Received: from [127.0.0.1] by omp113.mail.in2.yahoo.com with NNFMP; 17 Jun 2010 16:54:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 589887.60438.bm@omp113.mail.in2.yahoo.com Received: (qmail 63083 invoked by uid 60001); 17 Jun 2010 16:54:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1276793694; bh=LHX0Qco4gkG4JARXiEJav5QJ4VSQ2UO4ImlfYbbvC7g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=uO1OawYUfh8zcs+kNxkIeJpJ52xyDHd3wcYAzkMNm97h5HhutU4Wd5O5UU0d+HPh6w7bjEjbb1+8F0dwjFg2IYrqsmNIqtLZZXnd8k8tleVtCJZQI645OOb6TVPRHm7ko14gEGgBC9quVngwNnCnRkCSkMqgCtdB14LuXpVatc8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=U7aYzf8Nex2pC/jgCHw0nJ9XhQf1Nu9he7pc1x/tLK4WSo8rrVEafcGbbhc17Vn5IRtfiNw/QKOkdlujMF53+IZ17OiWOAF4hcZJINtjmth4mi5wLxcCOixz63ybTllkbe7LudmWlaxI9Y4GtaZawjCrEZaqOQgVcUvFKA2J1II=; Message-ID: <380848.61900.qm@web95111.mail.in2.yahoo.com> X-YMail-OSG: jtCBexkVM1nPkOBu3fQPB48GUf3BT1ENKV0OcJ9P9W7sJOg JXS5GKrwMEOTO74kuvEyunw04K9Garsg8yYcQB_ZyIKZzAUfYTmq5.VjaFcv kx2_OWvwQkDQX4o5Q16YCfULZx0WRgK1maRbyFAMDnWcsXJAfRC0wOJkqQW1 cnIgu_maEGRQJuezz2WGHSeP6FwSEjM6XOPu4Gw-- Received: from [122.167.99.228] by web95111.mail.in2.yahoo.com via HTTP; Thu, 17 Jun 2010 22:24:54 IST X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.103.269680 Date: Thu, 17 Jun 2010 22:24:54 +0530 (IST) From: akash kumar To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mountroot error with memory based rootfs 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: Thu, 17 Jun 2010 16:54:57 -0000 Hi,=0A=0AI was trying to build root filesystem in to the kernel (i.e using = /dev/md0) for Mips based target boards. In the process i built tool chain a= nd kernel successfully.=0ABut when i boot the kernel on the target, it fail= s to mount the md0 and drops to mountroot prompt. =0A=0Amountroot> ufs:/dev= /md0=0AROOT MOUNT ERROR=0AIf you have invalid mount options, reboot, and fi= rst try the following from =0Athe loader prompt: =0A=0Aset vfs.root.mountfr= om.options=3Drw=0A=0Aand the remove invalid mount options from /etc/fstab.= =0A=0ALoader variables:=0Avfs.root.mountfrom=3D=0Avfs.root.mountform.option= s=3D=0A=0AI could see that both the above variables are unset and not sure = whether this is by default. As i am building a cross kernel, i can't add th= ese options to /boot/loader.conf files which applies to current host machin= e.=0A=0APlease help me where the above settings need to be added i.e which = directory and file for the settings to=A0effect for my target kernel build.= =0A=0AThanks,=0AAkash.=0A=0A=0A