Date: Fri, 19 Oct 2001 11:43:52 -0700 (PDT) From: Dirk-Willem van Gulik <dirkx@apache.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/31380: NFS rootfs mount failure message too cryptic Message-ID: <200110191843.f9JIhqA42040@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 31380
>Category: misc
>Synopsis: NFS rootfs mount failure message too cryptic
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 19 11:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Dirk-Willem van Gulik
>Release: 4.4
>Organization:
private
>Environment:
FreeBSD goedel.workbench.covalent.net 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Fri Jul 20 18:45:32 PDT 2001 root@goedel.workbench.covalent.net:/usr/src/sys/compile/GOEDEL i386
>Description:
in nfs/bootp_subr.c:
When setfs() fails during NFS mount of the root partition due to essentially a malformed root path string - then the error message
is simply
panic("Failed to set rootfs to %s",p);
without any hint as to what the problem is.
>How-To-Repeat:
>Fix:
Given that the message is only shown when setfs() fails - which really is by and large a syntax check function - a slightly more informative string would be really nice
failed to set rootfs to '%s' - expect <ip>:/path syntax
or something.
Tx !
Dw
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110191843.f9JIhqA42040>
