Subject: Uhrm. Current upgrade problems. Help?
To: None <current-users@NetBSD.ORG>
From: Colin BRADLEY <fox@CS.McGill.CA>
List: current-users
Date: 03/10/1995 11:13:45
Hello, everyone..

	I'm attempting to upgrade my 1.0 machine to current, for
	rather obvious reasons, and have been following the instructions
	that were posted here a while back...

	A few notes:

		I found you have to build /usr/src/include first, 
		otherwise a bunch of things don't know what va_args 

		At least one ethernet device has to be configured into
		the kernel, else it won't link...

	And a problem...

		I booted off my new kernel, and it seemed to be unable
		to execute anything in libexec (notably getty, hehehe.)
		So I had to boot off a 1.0 floppy and replace the kernel
		with my old kernel, which was just fine.

		At this point I had built
			a new kernel

		... as per the instructions...

		What is it I should have done so that the new kernel could
		execute things? I can't remember exactly what the error 
		messages were as they came up on the con during 'rc', and
		'netstart', but I think it was something to the effect
		that 'cannot execute /usr/libexec/getty' and a bunch of 
		other stuff... (inetd, ...)

	At this point I am back on my 1.0 kernel, and am more or less
	manually going through the source tree seeing what will build 
	and what will not...

	Everything up till /usr/src/lib/libc seems to go. When it gets

===> libc
ctags /usr/src/lib/libc/db/btree/bt_close.c /usr/src/lib/libc/db/btree/bt_co
[snip snip]
[lots of stuff snipped]
[Duplicate entries, Second entries ignored...]
Second entry ignored
egrep -o "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /usr/src/lib/libc/arch/i386/gen/_s
| sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$/;" >>
tags; sort -o tags tags
egrep: illegal option -- o
usage: egrep [-[[AB] ]<num>] [-[CEFGVchilnqsvwx]] [-[ef]] <expr>
install -c -o bin -g bin -m 444 tags /var/db/libc.tags
install -c -o bin -g bin -m 444 libc.a  /usr/lib
ranlib -t /usr/lib/libc.a
install -c -o bin -g bin -m 444  libc_p.a /usr/lib
ranlib -t /usr/lib/libc_p.a
install -c -o bin -g bin -m 444  libc_pic.a /usr/lib
ranlib -t /usr/lib/libc_pic.a
install -c -o bin -g bin -m 444 /usr/lib
install -c -o bin -g bin -m 444 btree.cat3 /usr/share/man/cat3/btree.0
Bus error - core dumped
*** Error code 138

*** Error code 1


	And at this point alot of stuff doesn't work, and fails with 
	a bus error... So my question is

		Did I have to be running the new kernel for this to
		work properly? If so, what was the problem with the 
		kernel that didn't allow things to function? If not,
		is the problem Is it a dynamic linking 
		problem? (I'm kinda fuzzy on this area...)

		Must....... get....... DooM......... running...... soon...

	Thanks a million for any advice, tips, recommendations, or even
	constructive flames anyone can give me...

Regards, Colin.

Colin Bradley 
                 -chewing the same piece of gum since '77