From owner-freebsd-bugs Fri Oct 19 11:50:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BB60C37B407 for ; Fri, 19 Oct 2001 11:50:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9JIo0m42513; Fri, 19 Oct 2001 11:50:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A8DF037B405 for ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/31380: NFS rootfs mount failure message too cryptic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 :/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