From owner-freebsd-current Tue Feb 27 14:53:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.internet.dk (ns.internet.dk [194.19.140.1]) by hub.freebsd.org (Postfix) with ESMTP id A60F437B71B for ; Tue, 27 Feb 2001 14:53:14 -0800 (PST) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) id f1RMrDt24578 for freebsd-current@FreeBSD.ORG.AVP; Tue, 27 Feb 2001 23:53:13 +0100 (CET) (envelope-from leifn@neland.dk) Received: (from uucp@localhost) by ns.internet.dk (8.11.2/8.11.2) with UUCP id f1RMrDJ24564; Tue, 27 Feb 2001 23:53:13 +0100 (CET) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.11.1/8.11.0) with ESMTP id f1RMqsx17630; Tue, 27 Feb 2001 23:52:59 +0100 (CET) (envelope-from leifn@neland.dk) Date: Tue, 27 Feb 2001 23:52:53 +0100 (CET) From: Leif Neland To: John Baldwin Cc: freebsd-current@FreeBSD.ORG Subject: Re: make kernel failure: pecoff: machine/lock.h In-Reply-To: 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 Tue, 27 Feb 2001, John Baldwin wrote: > > On 27-Feb-01 Leif Neland wrote: > > > > > > On Tue, 27 Feb 2001, Gary Jennejohn wrote: > > > >> John Baldwin writes: > >> > > >> > On 27-Feb-01 Leif Neland wrote: > >> > > This happens with both my custom and GENERIC kernel. > >> > > > >> > > It has failed for some days, and also with source cvsup'ed today. > >> > > A kernel built with "make buildkernel -k" works... > >> > > > >> > > Leif > >> > > >> > Have you tried running make depend? > >> > > >> > >> > >> Failing that, trying deleting your /sys/compile/ directory > >> and re-config'ing your kernel. This has always worked for me. > >> > > I'm building the kernel "the new way", ie cd /usr/src > > make buildkernel KERNCONF= > > > > So the kernel is build in /usr/obj/usr/src/sys/GENERIC > > > > I deleted this, which buildkernel does itself, and config'ing it does too, > > and as I expected, it didn't make any difference. > > > > Leif > > Ok. It may be that we are overflowing the kernel stack and corrupting the pcb > in the process. One idea atm is to move the pcb off of the stack (since it > stores persistent data it's a bad place for it anyways) and to add a red zone > at the bottom of the stack to catch overflows. > Do you really thinks it is something this complicated? To me it just sounds like a makefile bug, as going to the pecoff directory and typing make gives the same error. But what do I know... Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message