NetBSD Problem Report #21945

Received: (qmail 26570 invoked by uid 605); 20 Jun 2003 20:55:40 -0000
Message-Id: <>
Date: Fri, 20 Jun 2003 20:55:39 +0000 (UTC)
Subject: fix kernel 'make install' to use netbsd.old matching bootblock expectations
X-Send-Pr-Version: www-1.0

>Number:         21945
>Category:       kern
>Synopsis:       fix kernel 'make install' to use netbsd.old matching bootblock expectations
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 20 20:56:01 +0000 2003
>Last-Modified:  Fri Apr 02 09:26:19 +0000 2004
>Originator:     william allen simpson
>Release:        1.6U
As described on the current-users list circa 2003 Jun 20, existing 
kernel 'make install' runs as follows:

    # make -n install
    rm -f /onetbsd
    ln /netbsd /onetbsd
    cp netbsd /nnetbsd
    mv /nnetbsd /netbsd

Documents inconsistently prescribe a manual version:
    mv /netbsd /onetbsd 
    mv sys/arch/<ARCH>/compile/GENERIC/netbsd /
    mv /netbsd /netbsd.old
    mv /sys/arch/<ARCH>/compile/<MYCONF>/netbsd /"

It would be best to use a consistent method, and document it!

    rm /netbsd.old
    ln /netbsd /netbsd.old
    sleep 5
    install -cpr netbsd /
    sleep 5
Responsible-Changed-From-To: toolchain-manager->tron 
Responsible-Changed-By: tron 
Responsible-Changed-When: Sun Jun 22 08:01:39 UTC 2003 
I'll handle this PR. 

From: William Allen Simpson <>
Subject: Re: toolchain/21945: fix kernel 'make install' to use netbsd.old 
 matching bootblock expectations
Date: Mon, 23 Jun 2003 14:46:34 -0400

 I posted a patch for the www documentation that specifies:

 cd /usr/obj/sys/arch/<ARCH>/compile/GENERIC
 make install

 There's been a bit of discussion on current-users, and maybe the fix 
 to 'make install' should be:

   ln -f /netbsd /netbsd.old
   sync; sync; sync
   install -cpr netbsd /
   sync; sync; sync
   ln -f /netbsd /netbsd.$($(cat version))

 Or variations on a theme....
 William Allen Simpson
     Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32
Responsible-Changed-From-To: tron->toolchain-manager 
Responsible-Changed-By: tron 
Responsible-Changed-When: Mon Jun 23 21:44:11 UTC 2003 
There is an ongoing discussion about this issue on "current-users" which 
needs to be settled first. 
Responsible-Changed-From-To: toolchain-manager->kern-bug-people 
Responsible-Changed-By: mrg 
Responsible-Changed-When: Fri Apr 2 09:25:54 UTC 2004 
this isn't a toolchain problem, but a kernel problem. 

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.