NetBSD Problem Report #50864

From  Sat Feb 27 20:43:42 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 1623C7ACA5
	for <>; Sat, 27 Feb 2016 20:43:42 +0000 (UTC)
Message-Id: <>
Date: Sat, 27 Feb 2016 20:43:41 +0000 (UTC)
Subject: kernel configuration instructions error
X-Send-Pr-Version: www-1.0

>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
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: 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"
See above.
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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.