| Summary: | /sys/alpha/alpha/autoconf.c lacks inclusion on opt_nfs.h | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Wilko Bulte <wilko> |
| Component: | alpha | Assignee: | freebsd-alpha (Nobody) <alpha> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed #include "opt_nfs.h" added /home/ncvs/src/sys/alpha/alpha/autoconf.c,v <-- autoconf.c new revision: 1.37; previous revision: 1.36 |
/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. Fix: Add: #include "opt_nfs.h" How-To-Repeat: Any kernel built with options NFS and options NFS_ROOT