NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/50410: no netbsd32 compat w/o nfsserver



>Number:         50410
>Category:       kern
>Synopsis:       no netbsd32 compat w/o nfsserver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 06 17:05:00 +0000 2015
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 7.99.21 NetBSD 7.99.21 (NELLY) #2: Fri Nov 6 17:32:48 CET 2015 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/ssd/src/sys/arch/sparc64/compile/NELLY sparc
Architecture: sparc
Machine: sparc
>Description:

Booting a sparc64 machine with 64bit kernel and 32bit userland fails, if the
non-modular kernel does not have options NFSSERVER.

At boot I get the message:

WARNING: module error: can't find builtin dependency `nfsserver'

and exec'ing /sbin/init fails.

Adding the option to the kernel makes the machine boot, and modstat shows:

NAME             CLASS      SOURCE     REFS  ADDRESS          SIZE     REQUIRES 
compat_netbsd32  exec       builtin    0     0                -        compat,compat_sysv,nfsserver,mqueue,exec_elf32


>How-To-Repeat:
s/a

>Fix:
Make the module dependency #ifdef NFSSERVER for the builtin (or at least 
non-MODULAR) case?



Home | Main Index | Thread Index | Old Index