NetBSD Problem Report #50864

From www@NetBSD.org  Sat Feb 27 20:43:42 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1623C7ACA5
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 27 Feb 2016 20:43:42 +0000 (UTC)
Message-Id: <20160227204341.2306D7ACAF@mollari.NetBSD.org>
Date: Sat, 27 Feb 2016 20:43:41 +0000 (UTC)
From: bruce.lilly@gmail.com
Reply-To: bruce.lilly@gmail.com
To: gnats-bugs@NetBSD.org
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
>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.

NetBSD Home
NetBSD PR Database Search

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