Subject: Re: panic in uvm_fault.c
To: None <tech-kern@netbsd.org>
From: Rui Paulo <rpaulo@fnop.net>
List: tech-kern
Date: 04/11/2006 18:39:43
Michael Lorenz <macallan@netbsd.org> writes:

> Hello,
>
> I just updated kernel sources, rebuilt and now I'm getting this every
> time right after enabling swap:
>
> panic: kernel diagnostic assertion "(curpg->flags & PG_WANTED) == 0"
> failed: file "../../../../uvm/uvm_fault.c", line 1139
>
> backtrace:
> 0xd934bcf0: at panic+0x1a4
> 0xd934bd80: at __assert+0x28
> 0xd934bd90: at uvm_fault_internel+0x998
> 0xd934bec0: at trap+0xc54
> 0xd934bf40: user ISI trap by 0x1803b98: srr1=0x4000d032
>             r1=0xffffdd30 cr=0x22002044 xer=0 ctr=0x1803b98
>
> On macppc -current, the machine is a UMAX S900 with a G3 CPU.
>
> Booting single user seems to work fine.

For a workaround: comment out KASSERT((curpg->flags & PG_WANTED) == 0)
in uvm_fault.c. I asked yamt@ about it on source-changes.

-- 
  Rui Paulo			<rpaulo@{NetBSD{,-PT}.org,fnop.net}>