From owner-freebsd-current Sun Nov 21 0: 0:58 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 6F6DE1517A; Sun, 21 Nov 1999 00:00:46 -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 XAA03550; Sat, 20 Nov 1999 23:51:04 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199911210751.XAA03550@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrey A. Chernov" Cc: Mike Smith , Wilko Bulte , current@FreeBSD.ORG, scsi@FreeBSD.ORG Subject: Re: Mount before SCSI comes up ? (was Re: Root mount failed:22 ???) In-reply-to: Your message of "Sat, 20 Nov 1999 02:45:55 +0300." <19991120024554.B5091@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 20 Nov 1999 23:51:04 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, Nov 19, 1999 at 02:52:13PM -0800, Mike Smith wrote: > > > > The diagnostic is relatively harmless, but it suggests that /etc/fstab > > > > is wrong. > > > > > > Here is fstab line, please point what is wrong? > > > /dev/da0s4a / ufs rw,userquota 1 1 > > > > I have no idea; it'd be handy to know what it's trying to mount that's > > failing, but I don't recall that in your output. > > It is NOT say, what it tries to mount that failing :-( That's because it's not actually trying to mount anything. vfs_mountroot_try() is being called with a NULL argument, almost certainly because your loader is out of date (vfs.root.mountfrom does not exist in the environment). It's possible that there's a problem with the loader that's resulting in it not being set; you should instrument /sys/boot/common/boot.c:getrootmount() to determine this. It's also possible that it's being called for some other reason; you should look at vfs_mountroot() to see what else might be the culprit. > Here is quote in more wide scope. > Is it tries to mount root before SCSI devices come up? No; 22 is EINVAL, wheras you would exepect ENXIO (6) for that case. > Waiting 2 seconds for SCSI devices to settle > Creating DISK da0 > Creating DISK da1 > Root mount failed: 22 > Mounting root from ufs:da0s4a This completes successfully, so everything looks happy. -- \\ 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