Port-arm archive

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

Re: rfc: OMAP2: micro benchmarks



On Thu, Jul 17, 2008 at 2:44 PM, Andy Shevchenko
<andy.shevchenko%gmail.com@localhost> wrote:
> P.S. More detailed description about bugs is coming soon...

1. Problem with lo0 interface [1] (the additional action is required
to start ifconfig manually if you have rc_configured=NO)
2. 'connection' and 'close_tcp' produce lock collision when LOCKDEBUG
is set (moreover 'close_tcp' produces this issue every time) [2]
Reproducibility: 100% (always)
3. Action is required to update kern.maxproc from 532 (16*32+20) at
least to 1020 (1000+20)
But after this we have got the another lock collision when LOCKDEBUG is set.
Reproducibility: 100% (always)

Running:           fork_1000Reader / writer lock error:
lockdebug_wantlock: locking against myself

lock address : 0x0000000081cbd644 type     :     sleep/adaptive
initialized  : 0x00000000803afb78
shared holds :                  0 exclusive:                  1
shares wanted:                  1 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 0x0000000082b2ea40 last held: 0x0000000082b2ea40
last locked  : 0x00000000803b1310 unlocked : 0x00000000803aa64c
owner/count  : 0x0000000082b2ea40 flags    : 0x000000000000000c

Turnstile chain at 0x80551020.
=> No active turnstile for this lock.

panic: LOCKDEBUG
Stopped in pid 1675.1 (fork) at netbsd:cpu_Debugger+0x4:        bx      r14


  ADDRESSES:

andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
0x00000000803b1310
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_map.c:533
andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
0x00000000803aa64c
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_fault_i.h:61
andy@FITFIESPPC176:~/tmp/nbcvs/root/micro/src/libMicro$ addr2line -e
~/prj/netbsd/objcvs/sys/arch/evbarm/compile/TISDP2420LOC/netbsd.gdb
0x00000000803afb78
/home/andy/prj/netbsd/netbsd-current/sys/uvm/uvm_map.c:5056

BACKTRACE:
netbsd:panic+0x14
        scp=0x804127b8 rlv=0x8040b280 (netbsd:lockdebug_abort1+0x90)
        rsp=0x82b4bb60 rfp=0x82b4bb80
netbsd:lockdebug_abort1+0xc
        scp=0x8040b1fc rlv=0x8040b3a0 (netbsd:lockdebug_wantlock+0x10c)
        rsp=0x82b4bb84 rfp=0x82b4bbb0
        r8=0x00000000 r7=0x82b2ea40
        r6=0x81cbd644 r5=0x00000001 r4=0x83b948c0
netbsd:lockdebug_wantlock+0x10
        scp=0x8040b2a4 rlv=0x803ee730 (netbsd:rw_vector_enter+0x184)
        rsp=0x82b4bbb4 rfp=0x82b4bbfc
        r10=0x00000001 r9=0x81cbd640
        r8=0x82b2ea40 r7=0x00000000 r6=0x82b2ea40 r5=0x81cbd644
        r4=0x81cbd640
netbsd:rw_vector_enter+0x10
        scp=0x803ee5bc rlv=0x803a9f28 (netbsd:uvm_fault_internal+0xcc)
        rsp=0x82b4bc00 rfp=0x82b4bd20
        r10=0x00000001 r9=0x81cbd640
        r8=0x82b4a000 r7=0x00000000 r6=0x82b2ea40 r5=0x00000000
        r4=0x81cbd640
netbsd:uvm_fault_internal+0xc
        scp=0x803a9e68 rlv=0x80478788 (netbsd:data_abort_handler+0x2b0)
        rsp=0x82b4bd24 rfp=0x82b4bd94
        r10=0x00000001 r9=0x81cbd640
        r8=0x82b4a000 r7=0x00000000 r6=0x82b2ea40 r5=0x82b4bd98
        r4=0x00000000
netbsd:data_abort_handler+0xc
        scp=0x804784e4 rlv=0x8047808c (netbsd:address_exception_entry+0x50)
        rsp=0x82b4bd98 rfp=0x82b4be00
        r10=0x82b2ea40 r9=0x00000000
        r8=0x81cbd640 r7=0x00000000 r6=0x83d96b68 r5=0x00000001
        r4=0x8051f2c0
netbsd:pmap_create+0x10
        scp=0x8047e3e0 rlv=0x803affac (netbsd:uvmspace_init+0x5c)
        rsp=0x82b4be04 rfp=0x82b4be20
        r6=0x83d95f00 r5=0x80000000
        r4=0x00001000
netbsd:uvmspace_init+0xc
        scp=0x803aff5c rlv=0x803afff8 (netbsd:uvmspace_alloc+0x38)
        rsp=0x82b4be24 rfp=0x82b4be3c
        r7=0x82b28a58 r6=0x80000000
        r5=0x83d95f00 r4=0x00001000
netbsd:uvmspace_alloc+0x10
        scp=0x803affd0 rlv=0x803b3474 (netbsd:uvmspace_fork+0x24)
        rsp=0x82b4be40 rfp=0x82b4be68
        r6=0x00000000 r5=0x82b28a58
        r4=0x83d92dd8
netbsd:uvmspace_fork+0xc
        scp=0x803b345c rlv=0x803ac5e8 (netbsd:uvm_proc_fork+0x40)
        rsp=0x82b4be6c rfp=0x82b4be80
        r10=0x82b2ea40 r8=0x82b28a58
        r7=0x82b28a58 r6=0x00000000 r5=0x82b28a58 r4=0x83d92dd8
netbsd:uvm_proc_fork+0x10
        scp=0x803ac5b8 rlv=0x803dd00c (netbsd:fork1+0x344)
        rsp=0x82b4be84 rfp=0x82b4bee4
        r5=0x83d92dd8 r4=0x805503a0
netbsd:fork1+0xc
        scp=0x803dccd4 rlv=0x803dd600 (netbsd:sys_fork+0x38)
        rsp=0x82b4bee8 rfp=0x82b4bf08
        r10=0x20170128 r9=0x00000004
        r8=0x82b2ea40 r7=0x82b4bfb8 r6=0x82b4bfb4 r5=0x00000000
        r4=0x82b4bfb4
netbsd:sys_fork+0xc
        scp=0x803dd5d4 rlv=0x80474a80 (netbsd:syscall_plain+0x130)
        rsp=0x82b4bf0c rfp=0x82b4bf90
netbsd:syscall_plain+0x10
        scp=0x80474960 rlv=0x80474fac (netbsd:swi_handler+0x88)
        rsp=0x82b4bf94 rfp=0x82b4bfb0
        r10=0x20170128 r9=0x00000000
        r8=0x00000000 r7=0x82b28a58 r6=0xefa00002 r5=0x82b2ea40
        r4=0x82b4bfb4
netbsd:swi_handler+0x14
        scp=0x80474f38 rlv=0x80477ec8 (netbsd:swi_entry+0x2c)
        rsp=0x82b4bfb4 rfp=0x7fffe47c
        r7=0x0000000d r6=0x00000000
        r5=0x00002228 r4=0x8051f2c0



[1] http://mail-index.netbsd.org/tech-misc/2008/07/21/msg000058.html
[2] http://mail-index.netbsd.org/tech-kern/2008/07/11/msg002025.html

-- 
With Best Regards,
Andy Shevchenko


Home | Main Index | Thread Index | Old Index