Izumi Tsutsui | 28 Jan 04:29
Picon

vmem(9) and arm32/pmap.c changes (Re: CVS commit: src)

> Module Name:	src
> Committed By:	para
> Date:		Fri Jan 27 19:48:42 UTC 2012
> 
> Modified Files:
> Log Message:
> extending vmem(9) to be able to allocated resources for it's own needs.
> simplifying uvm_map handling (no special kernel entries anymore no relocking)
> make malloc(9) a thin wrapper around kmem(9)
> (with private interface for interrupt safety reasons)
> 
> releng@ acknowledged

 :

> Module Name:	src
> Committed By:	matt
> Date:		Sat Jan 28 00:11:47 UTC 2012
> 
> Modified Files:
> 	src/sys/arch/arm/arm32: pmap.c
> 
> Log Message:
> Don't use simple locks.

Now my zaurus stops booting:
---
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
(Continue reading)

Nick Hudson | 28 Jan 10:06
Picon
Favicon

Re: vmem(9) and arm32/pmap.c changes (Re: CVS commit: src)

On Saturday 28 January 2012 03:29:00 Izumi Tsutsui wrote:
> > Module Name:	src
> > Committed By:	para
> > Date:		Fri Jan 27 19:48:42 UTC 2012
> > 
> > Modified Files:
> > Log Message:
> > extending vmem(9) to be able to allocated resources for it's own needs.
> > simplifying uvm_map handling (no special kernel entries anymore no
> > relocking) make malloc(9) a thin wrapper around kmem(9)
> > (with private interface for interrupt safety reasons)
> > 
> > releng@ acknowledged
> > 
> > 
> > 
> > Module Name:	src
> > Committed By:	matt
> > Date:		Sat Jan 28 00:11:47 UTC 2012
> > 
> > Modified Files:
> > 	src/sys/arch/arm/arm32: pmap.c
> > 
> > Log Message:
> > Don't use simple locks.
> 
> Now my zaurus stops booting:

I think the attached should fix it and is correct. That is, only managed 
mappings will have uvm_page_locked_p
(Continue reading)

Izumi Tsutsui | 28 Jan 13:46
Picon

Re: vmem(9) and arm32/pmap.c changes (Re: CVS commit: src)

skrll@ wrote:

> I think the attached should fix it and is correct. That is, only managed 
> mappings will have uvm_page_locked_p

Now I get:
---
 :

boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
WARNING: clock lost 59 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
panic: kernel diagnostic assertion "uvm_page_locked_p(pg)" failed: file
"../../../../arch/arm/arm32/pmap.c", line 3855 
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        bx      r14
db> tr
netbsd:vpanic+0xc
	scp=0xc03a7a0c rlv=0xc04aeab8 (netbsd:kern_assert+0x40)
	rsp=0xc1326ed8 rfp=0xc1326eec
	r7=0xc05aa0c0
netbsd:kern_assert+0x10
	scp=0xc04aea88 rlv=0xc0352dd0 (netbsd:pmap_fault_fixup+0x274)
	rsp=0xc1326f00 rfp=0xc1326f40
netbsd:pmap_fault_fixup+0xc
	scp=0xc0352b68 rlv=0xc024484c (netbsd:data_abort_handler+0x300)
	rsp=0xc1326f44 rfp=0xc1326fb0
	r10=0x20030000 r9=0xc12c5e58
(Continue reading)

Izumi Tsutsui | 29 Jan 04:58
Picon

Re: vmem(9) and arm32/pmap.c changes (Re: CVS commit: src)

I wrote:

> Now I get:
  :
> panic: kernel diagnostic assertion "uvm_page_locked_p(pg)" failed: file
"../../../../arch/arm/arm32/pmap.c", line 3855 

FYI, these KASSERT() has been disabled and my zaurus works fine.

---
Izumi Tsutsui


Gmane