From owner-freebsd-mips@FreeBSD.ORG Tue Jun 29 22:41:58 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBA4E106564A for ; Tue, 29 Jun 2010 22:41:58 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id AE7498FC1D for ; Tue, 29 Jun 2010 22:41:58 +0000 (UTC) Received: by vws13 with SMTP id 13so211856vws.13 for ; Tue, 29 Jun 2010 15:41:52 -0700 (PDT) Received: by 10.220.124.196 with SMTP id v4mr4220910vcr.175.1277851312401; Tue, 29 Jun 2010 15:41:52 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.220.188.69 with HTTP; Tue, 29 Jun 2010 15:41:31 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Tue, 29 Jun 2010 15:41:31 -0700 X-Google-Sender-Auth: K682prBVkZo2BDqJSnKkXFzVY5c Message-ID: To: waynegong L Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: mouting rootfs fails/devfs_lookup issue X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2010 22:41:59 -0000 On Tue, Jun 29, 2010 at 09:37, waynegong L wrote: > I =A0tried to boot the kernel ( N64ABI) on one of my =A0octeon boards, wi= th > rootfs on the compact flash. N64 worlds are not currently supported. N64 kernels will not be able to run init. > The booting came to halt when mouting the rootfs, off the cf and dropped = to > mountroot prompt with below error. > *ROOT MOUNT ERROR: > If you have invalid mount options, reboot, and first try the following fr= om > the loader prompt: > =A0 =A0 set vfs.root.mountfrom.options=3Drw > * > After some debugging, I found that devfs_lookup( ) was not able to find t= he > entry cf0s1 in the /dev directory > and so cameout with ENOENT error. Below is my understanding, Please corre= ct > me if i am wrong. > [ ... ] > -->Flash was partition as below. > fdisk -vBI /dev/da0 > bsdlabel -w /dev/da0s1 > bsdlabel da0s1 > newfs /dev/da0s1a > > Please let me know if i am missing some thing during my configuration. Your root device is cf0s1a, not cf0s1.