Subject: The END of the never ending upgrade story !!!
To: None <current-users@sun-lamp.CS.Berkeley.EDU>
From: None <kue@zerberus.gud.siemens.co.at>
List: current-users
Date: 02/08/1994 07:46:53
Hi All !

Finally I was able to complete the upgrade -:)
Thats what I did :

- get rid of the old sources (mv /usr/src /usr/src.ori)
- install the new sources
- setenv MACHINE_ARCH i386
- setenv LDSTATIC -static
- setenv NOPIC
- edit <machine/asm.h> and remove '.type x,@function'
- cd /usr/src/include; make && make install
- cd /usr/src/share/mk; make && make install
- cd /usr/src/include; make && make install
- cd /usr/src/lib/libc; make && make install
- cd /usr/src/gnu/lib/libmalloc; make && make install
- cd /usr/src/gnu/usr.bin/gas; make && make install
- cd /usr/src/gnu/usr.bin/ld; make && make install
- setenv .OBJDIR `pwd`/common
- cd /usr/src/gnu/usr.bin/gcc2; make & make install
- unsetenv LDSTATIC NOPIC .OBJDIR
- cd /usr/src/lib; make && make install
- cd /usr/src/gnu/lib; make && make install
- cd /usr/src/gnu/usr.bin/ld; make && make install
- cd /usr/src/lib; make && make install
- cd /usr/src/include; make && make install
- setenv .OBJDIR .
- cd /usr/src/bin; make && make install
- cd /usr/src/libexec; make && make install
- cd /usr/src/sbin; make && make install
- cd /usr/src/usr.bin; make && make install
- cd /usr/src/usr.sbin/config; make && make install
- cd /sys/arch/i386/conf
- edit TAMIAMI (my configfile)
	add options SWAPPAGER, VNODEPAGER, DEVPAGER, MACHINE_NONCONTIG
	remove pseudo-devices swappager, vnodepager, devpager
- config TAMIAMI
- cd ../compile/TAMIAMI
- ln -s /sys/lib/libkern/libkern.a libkern.a
- setenv .OBJDIR .
- change option of strip in Makefile from `-x` to `-d`
- make depend && make
- rename old kernel
- cp netbsd /
- sync;reboot
- crash at boot
- boot old kernel
- setenv MACHINE_ARCH i386
- cd /usr/src/sys/arch/i386/boot
- apply patch for sys.c (from Dirk Steinberg)
- generate a bootable floppy with disklabel and the right disktab file and
  the old sdboot and bootsd files
- make && make install
- cd /usr/mdec
- disklabel -w -r /dev/rsd0a toshiba bootsd sdboot
- disklabel -w -r /dev/rsd1a wren6 bootsd sdboot
- sync;reboot
****** the new kernel boots *********
- setenv MACHINE_ARCH i386
- cd /usr/src/usr.bin; make && make install
	wasn't able to compile `ref` because an the file ../elvis/config.h is
	included somewhere, but ../elvis is no longer there.
	wasn't able to compile tn3270 (I did this in earlier stages of my
	upgrade saga, but I don't need right now, so I just skipped it.
- cd /usr/src/usr/sbin; make && make install
- cd /usr/src/share; make && make install
- cd /usr/src/games; make && make install
- cd /usr/src/gnu; make && make install
	groff barfs about some includefile, I simply skipped groff
- cd /usr/src/sys; make && make install

Finally I am up,but as I write this the sources are outdated again. But I am
not going to do it again for now. I think I will try to get postgres up and of
course try Wine, because that's the reason I started this mess in late December
last year.
Thanks for the hints to :
	Theo Deraadt
	Paul Kraneburg
	Robert Shady
	Dirk W. Steinberg
	Marc Wandschneider
and of course to the whole NetBSD team.

	Regards
		Werner Kuehnert

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
|	E-Mail : kue@zerberus.gud.siemens.co.at          |
|	Tel.   : 0043-222-60171-5205                     |
|	FAX    : 0043-222-60171-5202                     |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|              Make a nice day :-)                       |
\_______________________________________________________/

------------------------------------------------------------------------------