Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 1999 22:12:11 +0100 (CET)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   alpha/15711: /sys/alpha/alpha/autoconf.c lacks inclusion on opt_nfs.h
Message-ID:  <199912262112.WAA58990@yedi.iaf.nl>

next in thread | raw e-mail | index | archive | help

>Number:         15711
>Category:       alpha
>Synopsis:       /sys/alpha/alpha/autoconf.c lacks inclusion on opt_nfs.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 26 23:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Wilko Bulte
>Release:        current
>Organization:
none
>Environment:

	Any -current on an Alpha CPU.

>Description:

	/sys/alpha/alpha/autoconf.c does not have opt_nfs.h included.
 	This makes the following code a NO-OP:

void
cpu_rootconf()
{
        int     order = 0; 
#if defined(NFS) && defined(NFS_ROOT)
#if !defined(BOOTP_NFSROOT)
        if (nfs_diskless_valid) 
#endif 
                rootdevnames[order++] = "nfs:";
#endif 

	An NFS root is therefore never considered by the kernel.

>How-To-Repeat:

	Any kernel built with options NFS and options NFS_ROOT

>Fix:
	
	Add:

	#include "opt_nfs.h"


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912262112.WAA58990>