NetBSD-Bugs archive

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

misc/50864: kernel configuration instructions error



>Number:         50864
>Category:       misc
>Synopsis:       kernel configuration instructions error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 27 20:45:00 +0000 2016
>Originator:     Bruce Lilly
>Release:        6.1.5, 7.0
>Organization:
>Environment:
You don't really need the machine node name, therefore instead of `uname -a` you get:
# uname -srvmpio
NetBSD 6.1.5 NetBSD 6.1.5 (GENERIC) i386 i386 Intel 686-class NetBSD
>Description:
http://www.netbsd.org/docs/guide/en/chap-kernel.html#chap-kernel-procedure section 32.4.1 says to use `config KERNEL`.  That does
not work when upgrading from 6.1.5 to 7.0:

# config GENERIC
../../../../external/bsd/drm2/drm/files.drmkms:71: undefined attribute `genfb'
*** Stop.

I suggest that tools should be built first (which happens if userland
is built before the kernel, as described in Guide section 33 (but not Guide section 32). Then configuration can be performed using the
built tool "nbconfig":

# /usr/tools/bin/nbconfig GENERIC
Build directory is ../compile/GENERIC
Don't forget to run "make depend"
>How-To-Repeat:
See above.
>Fix:
Update Guide section 32.4.1, specifically replace "config " with "/usr/tools/bin/nbconfig ".  Also, section 32.1 "Requirements and procedure" should mention building the tools.



Home | Main Index | Thread Index | Old Index