From owner-freebsd-current Sun Nov 21 1: 1:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from dingo.cdrom.com (castles556.castles.com [208.214.165.120]) by hub.freebsd.org (Postfix) with ESMTP id 54A7514DF7 for ; Sun, 21 Nov 1999 01:01:38 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id AAA03911; Sun, 21 Nov 1999 00:51:59 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911210851.AAA03911@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: sthaug@nethelp.no Cc: mike@smith.net.au, current@FreeBSD.ORG Subject: Re: Root mount failed:22 ??? In-reply-to: Your message of "Sun, 21 Nov 1999 09:53:13 +0100." <102.943174393@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Nov 1999 00:51:59 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > This suggests you may have an old loader, or the loader's parsing of > > your /etc/fstab file may be failing. I probably need to add a > > diagnostic to it to help us track this down. > > Okay, here's another one. I have 3.3-STABLE on wd0s1a, and -current > (from 18. November) on wd0s1d. I boot this by pressing the space bar > so I get the "boot: " prompt, and then typing "wd(0,d)kernel". This > works fine, except I get the "Root mount failed" error message: You should be using the loader to load the kernel. wd(0,d)/boot/loader would be correct. > With the commit you just did to vfs_conf.c I guess it'll be silent > after the next time I've cvsup'ed and built world - I'm just wondering > why this happens now. You're not using the loader, so nothing gets to read /etc/fstab and set vfs.root.mountfrom. Thus the kernel can't use it to find the root filesystem. I should probably emit a diagnostic to the effect that it wasn't set, since in many cases to come that will be fatal for the boot process. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message