Subject: chicken/egg thing worked out (maybe?)
To: None <current-users@NetBSD.ORG>
From: Andrew Brown <>
List: current-users
Date: 08/18/1997 00:45:38
being kinda tired of 1.2 at home (on an i486/50) i decided to upgrade
to -current via source, thus settling (also) settling the debate about
whether or not such things should be done.

the steps i took:
 0) unpack -current (as of 7/18/97 (my computer is slow)) tarballs and
    then install the new sys/cdefs.h, nothing the distinct *absence*
    of the top level makefile (easily ftp'ed but why should i have to?)
 1) rebuild and install config, make, and the new .mk files
 2) crunch a -current kernel (with compat 1.2)
 3) reboot
 4) rebuild and installed the toolchain (as i see it; there may be
    things here that i don't specifically need, eh?) consisting of:
    (in order)
    * sh
    * awk
    * lex
    * yacc
    * gcc (done twice so that the new compiler was built with the new
    * as (required a make depend prior to the build)
    * ld
 5) built and installed src/domestic/usr.bin (i needed make_cmds and
    compile_et for the domestic part of the final "build")
 6) make build (which we all know does includes, libs, and everything
 7) manually upgraded /etc (tricky, that; i fiddled with the makefile
    there to get it to just make me a new /etc under /foo and then
    slowly reintegrated each file)
 8) then i cleaned up a bit (removed old version of nfsd, mountd, etc.
    from /sbin) and crunched myself a new kernel with the new stuff in

the system is humming along great right now; no problems whatsoever.

* new boot blocks?  do i need new boot blocks?  granted, the old ones
work fine, but should i be concerned?  after all, doing a make in
sys/arch/i386/boot results in:

   rm -f machine &&  ln -s /usr/src/sys/arch/i386/boot/../include machine
   rm -f i386 &&  ln -s /usr/src/sys/arch/i386/boot/../include i386
   cc -O6 -D_KERNEL -DI386_CPU -DI486_CPU -DI586_CPU -DDO_BAD144 -I. -I/usr/src/sys/arch/i386/boot -I/usr/src/sys/arch/i386/boot/../../.. -I/usr/src/sys/arch/i386/boot/../..  -Werror  -c sys.c
   sys.c: In function `find':
   sys.c:97: structure has no member named `i_mode'
   sys.c:98: structure has no member named `i_size'
   sys.c:106: structure has no member named `i_shortlink'
   sys.c:122: structure has no member named `i_size'
   sys.c:122: structure has no member named `i_mode'
   sys.c:129: structure has no member named `i_size'
   sys.c: In function `block_map':
   sys.c:156: structure has no member named `i_db'
   sys.c:157: structure has no member named `i_ib'
   *** Error code 1

i'm just assuming this has been fixed since then?  or am i looking in
the wrong place?

* don't i need to "upgrade" my filesystems or something?

|-----< "CODE WARRIOR" >-----| (TheMan)        * "ah!  i see you have the internet                               that goes *ping*!"      * "information is power -- share the wealth."