Subject: Re: netbsd 4.0 beta2 crashes when swapping
To: Todd Kover <kovert@omniscient.com>
From: Pavel Cahyna <pavel@NetBSD.org>
List: port-i386
Date: 05/24/2007 07:26:16
On Tue, May 22, 2007 at 10:22:01AM -0400, Todd Kover wrote:
> 
> [ for the record, in case someone is lurking and had similar problems ] 
> 
>  > What will happen if you enter ddb from console and execute pool_drain
>  > manually, both with the bad and the good kernel?
>  >
>  > ("call pool_drain(0)" at the ddb prompt)
> 
> Something in a more recent kernel (from this weekend) fixed this:
> 
> NetBSD 4.0_BETA2 (GENERIC) #1: Sat May 19 05:35:10 CEST 2007
>         kovert@slivovice.cz.omniscient.com:/usr/obj/4.0-stable/i386/usr/src/os/NetBSD-4.0-branch/src/sys/arch/i386/compile/GENERIC
> 
> (cvs update from the branch earlier in the day, obviously).  I didn't
> end up getting time to run the above on the old kernels.
> 
> I'm now seeing crashes in GENERIC.MP on the box now when I the attached
> rc.d script is run during bootup that result in ddb (didn't write
> down whwere it died), but sync just sits there.  I'm still working on
> reproducing it and will open a pr if it doesn't go away and I can track
> down a cause. (kernel and userspace are from the same sources).

Use reboot 0x104 instead of sync.

Pavel