From owner-freebsd-current Sun Jan 21 23:17: 3 2001 Delivered-To: freebsd-current@freebsd.org Received: from thelab.hub.org (SHW2-202.accesscable.net [24.71.145.202]) by hub.freebsd.org (Postfix) with ESMTP id 1FB2437B69B for ; Sun, 21 Jan 2001 23:16:43 -0800 (PST) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.1/8.11.1) with ESMTP id f0M7Ehw20596; Mon, 22 Jan 2001 03:14:43 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Mon, 22 Jan 2001 03:14:43 -0400 (AST) From: The Hermit Hacker To: Peter Wemm Cc: Subject: Re: lastest kernel from cvs ( sh exists with signal 8 ) In-Reply-To: <200101220649.f0M6nUk12690@mobile.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21 Jan 2001, Peter Wemm wrote: > The Hermit Hacker wrote: > > > > d'oh, did it backwards again ... buildkernel then buildworld ... let me go > > back and rebuild kernel and see if that is all it was in my case ... > > Argh! I wish people would stop using buildkernel! :-( It calls config(8) > in such a way that buries the warning messages where people dont see. > config(8) is meant to be used interactively :-( well, according to /usr/src/UPDATING, that is the documented way to do things, or at least two out of 4 of them: To build a kernel ----------------- If you are updating from a prior version of FreeBSD (even one just a few days old), you should follow this procedure. With a /usr/obj tree with a fresh buildworld, make buildkernel KERNEL=YOUR_KERNEL_HERE make installkernel KERNEL=YOUR_KERNEL_HERE To just build a kernel when you know that it won't mess you up -------------------------------------------------------------- cd src/sys/{i386,alpha}/conf config KERNEL_NAME_HERE [1] cd ../../compile/KERNEL_NAME_HERE make depend make make install [1] If in doubt, -r might help here. If this fails, go to the "To build a kernel" section. To rebuild everything and install it on the current system. ----------------------------------------------------------- make world Build a new kernel, see above. To upgrade from 4.x-stable to current ------------------------------------- make buildworld make buildkernel KERNEL=YOUR_KERNEL_HERE cp src/sys/${MACHINE_ARCH}/GENERIC.hints /boot/device.hints [2] make installkernel KERNEL=YOUR_KERNEL_HERE make installworld [1] If this is wrong, can we get that updated? Even /usr/src/README references and steers ppl to buildkernel: "The ``buildkernel'' and ``installkernel'' targets build and install the kernel and the modules (see below)" I have no probs with switching back to the more 'manual way' of cd'ng into conf and using config, etc ... I just got the impression awhile back that using buildkernel/installkernel was the recommended way of doing this, so switched to it ... > > > On Sun, 21 Jan 2001, Peter Wemm wrote: > > > > > The Hermit Hacker wrote: > > > > > > > > just tried to reboot with a latest build (from this afternoon), and upon > > > > reboot, it gives: > > > > > > > > pid 6 (sh), uid 0: exited with signal 8 > > > > > > > > when /etc/rc tries to run, and, of course, won't let me get to single use > r > > > > mode for same reason ... > > > > > > > > checked /usr/src/UPDATING, and nothing in there seems to apply ... > > > > > > We were discussing this and a couple of other related strange things > > > that turned up. I might have broken the npx code with my last config(8) > > > change and the corresponding #ifdefs. I have not gone back over it all > > > again but will shortly. Given that two people have this sort of problem > > > now, things are pointing to the npx commits somehow. You did rebuild confi > g, > > > right? > > > > > > Can you please check the opt_npx.h file in your build directory and make su > re > > > it has "#define DEV_NPX 1" in it? > > > > > > Cheers, > > > -Peter > > > -- > > > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > > > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > > > > > > > > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrapp > y > > Systems Administrator @ hub.org > > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.or > g > > > > > > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message