Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: macppc/5.99.44: hangs after 'avail memory'



On Jan 23, 2011, at 7:46 AM, Frank Wille wrote:

> gremlin wrote:
> 
>> using 'option DIAGNOSTICS' enabled in GENERIC's kernel config file, this
>> are the famous last words from my -current kernel:
>> 
>> NetBSD 5.99.44 (GENERIC) #0: Sun Jan 23 14:33:43 CET 2011
>> root@:/usr/obj/sys/arch/macppc/compile/GENERIC
>> total memory: 1024 MB
>> avail memory: 984 MB
>> panic: kernel diagnostic assertion "(void *)uvm_lwp_getuarea(|) != NULL"
>> failed: file "/usr/src/sys/kern/kern_lwp.c", line 304
>> Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x10:   iwz  r0, 0x14(r1)
>> 0x00993e50: at panic+0x25c
>> 0x00993ea0: at kern_assert+0x4c
>> 0x00993eb0: at lwp0_init+0x110
>> 0x00993ed0: at main+0xd4
>> 0x00993f20: at 0x10009c
>> 
>> Is there anyone around having the same problem?
> 
> Yes. Exactly the same here on my PowerBook G4.
> 
> I would guess that's the same problem as mentioned by Jeff Rizzo in
> "Latest macppc GENERIC hangs" as few days earlier. Only difference is
> that we have DIAGNOSTICS enabled, so we see the assertion failure.
> 
> No idea what to do here. I doubt the problem is in kern_lwp.c.

No it wasn't.  This is now fixed.  (It was due to older ports specifying
r0 as temporary register but r0 has restrictions on how it can used so
the macro that inits lwp0.l_addr had to change to deal with that.


Home | Main Index | Thread Index | Old Index