From nobody@FreeBSD.org  Fri Oct 19 11:43:56 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id A8DF037B405
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Oct 2001 11:43:52 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f9JIhqA42040;
	Fri, 19 Oct 2001 11:43:52 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200110191843.f9JIhqA42040@freefall.freebsd.org>
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: NFS rootfs mount failure message too cryptic
X-Send-Pr-Version: www-1.0

>Number:         31380
>Category:       kern
>Synopsis:       [nfs] 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:  Mon Mar 12 15:21:15 GMT 2007
>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:
Responsible-Changed-From-To: freebsd-bugs->cel 
Responsible-Changed-By: cel 
Responsible-Changed-When: Wed May 24 19:00:23 UTC 2006 
Responsible-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=31380 
Responsible-Changed-From-To: cel->freebsd-bugs 
Responsible-Changed-By: cel 
Responsible-Changed-When: Mon Mar 12 15:20:58 UTC 2007 
Responsible-Changed-Why:  
Back to the public pool. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=31380 
>Unformatted:
