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/<NAME> 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=<kernelname>
> 
> 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.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to