Port-arm archive

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

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
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.60 (GENERIC) #1: Sat Jan 28 11:20:55 JST 2012
total memory = 65536 KB
avail memory = 57888 KB
mainbus0 (root)
cpu0 at mainbus0: PXA27x rev 7 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
pxaip0 at mainbus0: Onchip Peripheral Bus
pxaip0: CPU clock = 416.002 MHz
pxaip0: kernel is configured for PXA270, cpu type is PXA270
pxaintc0 at pxaip0 addr 0x40d00000-0x40d0001f: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000-0x40e0014f: GPIO Controller
com0 at pxaip0 addr 0x40100000-0x4010001f intr 22: ns16550a, working fifo
com0: console
com1 at pxaip0 addr 0x40200000-0x4020001f intr 21: ns16550a, working fifo
com2 at pxaip0 addr 0x40700000-0x4070001f intr 20: ns16550a, working fifo
ohci0 at pxaip0 addr 0x4c000000-0x4c00006f intr 3
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
saost0 at pxaip0 addr 0x40a00000-0x40a0001f
saost0: SA-11x0 OS Timer
lcd0 at pxaip0: PXA2x0 LCD controller
wsdisplay0 at lcd0 kbdmux 1
pxadmac0 at pxaip0 addr 0x40000000-0x400002ff intr 25: DMA Controller
pxapcic0 at pxaip0: 1 slot
pcmcia0 at pxapcic0
pxartc0 at pxaip0 addr 0x40900000-0x4090000f: Real-time Clock
pxamci0 at pxaip0 addr 0x41100000-0x41100047: MMC/SD Controller
pxamci0: using DMA transfer
sdmmc0 at pxamci0
ziic0 at pxaip0 addr 0x40300000-0x403016a3: I2C controller
iic0 at ziic0: I2C bus
ioexp0 at iic0 addr 0x18: GPIO controller
zaudio0 at iic0 addr 0x1b: I2S, WM8750 Audio
audio0 at zaudio0: half duplex, playback, capture, mmap, independent
scoop0 at pxaip0: PCMCIA/GPIO controller
zssp0 at pxaip0
lcdctl0 at zssp0
ztp0 at zssp0
wsmouse0 at ztp0 mux 0
zkbd0 at pxaip0
wskbd0 at zkbd0 mux 1
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
zapm0 at pxaip0: pseudo power management module
apmdev0 at zapm0: Power Management spec V1.2
zusb0 at pxaip0: USB Mode detection
clock: hz=100 stathz=64
ne0 at pcmcia0 function 0: <Ethernet, CF Size PC Card, 1.0,  >
ne0: Ethernet address 00:90:cc:5a:4f:db
uhub0 at usb0: PXA27x OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
ld0 at sdmmc0: <SD08G>
ld0: 7595 MB, 3857 cyl, 64 head, 63 sec, 512 bytes/sect x 15554560 sectors
ld0: 4-bit width, bus clock 19.500 MHz
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
panic: kernel diagnostic assertion "uvm_page_locked_p(opg)" failed: file 
"../../../../arch/arm/arm32/pmap.c", line 3442 
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        bx      r14
db> tr
        scp=0xc03a78dc rlv=0xc04aea38 (netbsd:kern_assert+0x40)
        rsp=0xc13285b8 rfp=0xc13285cc
        scp=0xc04aea08 rlv=0xc0352290 (netbsd:pmap_kremove+0x20c)
        rsp=0xc13285e0 rfp=0xc1328628
        scp=0xc0352090 rlv=0xc043aca0 (netbsd:uvm_pagermapout+0x20)
        rsp=0xc132862c rfp=0xc1328654
        r10=0x00000002 r9=0x00000000
        r8=0xc1385f20 r7=0xc2455000 r6=0x00004000 r5=0xc1328780
        scp=0xc043ac8c rlv=0xc025c85c (netbsd:genfs_getpages+0xfe0)
        rsp=0xc1328658 rfp=0xc132877c
        r7=0x00000010 r6=0xc1385f20
        r5=0xc1328780 r4=0xc12d48f0
        scp=0xc025b888 rlv=0xc0462de4 (netbsd:VOP_GETPAGES+0x60)
        rsp=0xc1328780 rfp=0xc13287b4
        r10=0x00001802 r9=0x00000000
        r8=0xc051ab70 r7=0xc13287cc r6=0x00000000 r5=0xc1301000
        scp=0xc0462d90 rlv=0xc0426b40 (netbsd:ubc_fault+0x23c)
        rsp=0xc13287b8 rfp=0xc1328844
        scp=0xc0426910 rlv=0xc042a1b0 (netbsd:uvm_fault_internal+0x698)
        rsp=0xc1328848 rfp=0xc1328988
        r10=0x00000000 r9=0x00000000
        r8=0x00000488 r7=0x00000000 r6=0xc2a98000 r5=0x00000004
        scp=0xc0429b24 rlv=0xc024488c (netbsd:data_abort_handler+0x240)
        rsp=0xc132898c rfp=0xc13289f8
        r10=0xc2a98000 r9=0xc05b7ac4
        r8=0x00000000 r7=0xc1327000 r6=0xc051ad00 r5=0xc13289fc
        scp=0xc0244658 rlv=0xc0241d30 (netbsd:address_exception_entry+0x50)
        rsp=0xc13289fc rfp=0x00000000
        r10=0xc1327000 r9=0xc04cc050
        r8=0xc05bc3b8 r7=0x00000404 r6=0x00000404 r5=0xc1328c04

Anyone tests on other ARM machines?

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index