[233] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: lockups

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jun 26 04:32:52 1995

Date: Mon, 26 Jun 1995 04:32:49 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Stephen Franks <sdfranks@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: "[232] in netbsd-help mailing list archive"


Hi, sorry for taking so long to respond to this one.  We've been
thinking a lot recently about how to let users do builds (both kernel
and user-space) out of our source tree.  For the moment, we have
something which should work for the kernel even if it's not optimal.

First, you'll have to update your "config", since I had to make a
change to make it accept a configuration file that's not in the
current directory.  As root, do:

	cp /srvd/usr/sbin/config /usr/sbin/config

Second, make a kernel configuration file (copy ATHENA-AHA and modify
it; I assume from your message that you know how).  You can put it
anywhere you have write access; for my example, I'm going to assume
that you have it in root's home directory, $HOME/FIELD-OF-DREAMS.
Then, as root, do:

	mkdir -p /usr/obj/sys/arch/i386/compile
	cd /usr/src/sys/arch/i386/conf
	config $HOME/FIELD-OF-DREAMS
	cd ../compile/FIELD-OF-DREAMS
	make depend
	make

When you install the new kernel, also update your
/usr/vice/etc/dkload/libafs_1.0A.o from
/srvd/usr/vice/etc/dkload/libafs_1.0A.o.

In deference to jhawk, I should note that all of the second part will
work as a non-root user if you are in group wheel and /usr/obj is
chgrp'd to wheel and group-writable.


home help back first fref pref prev next nref lref last post