Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 12:20:00 GMT
From:      Ian Lepore <ian@FreeBSD.org>
To:        freebsd-arm@FreeBSD.org
Subject:   Re: arm/181602: Raspberry PI kernel panic after DHCP
Message-ID:  <201308281220.r7SCK07c091813@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR arm/181602; it has been noted by GNATS.

From: Ian Lepore <ian@FreeBSD.org>
To: Martin Laabs <info@martinlaabs.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: arm/181602: Raspberry PI kernel panic after DHCP
Date: Wed, 28 Aug 2013 06:10:23 -0600

 On Wed, 2013-08-28 at 05:44 +0000, Martin Laabs wrote:
 > >Number:         181602
 > >Category:       arm
 > >Synopsis:       Raspberry PI kernel panic after DHCP
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-arm
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Wed Aug 28 05:50:00 UTC 2013
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Martin Laabs
 > >Release:        FreeBSD 10.0-CURRENT #0 r254955M
 > >Organization:
 > -
 > >Environment:
 > not available
 > >Description:
 > With the current r254955M build the kernel panics after receiving the DHCP answer. Currently I do not know whether this is directly related to network or is the following task in the init process. The full boot log is attached.
 > It might be also in context with the lock order reversal:
 > 
 > DHCPOFFER from 192.168.1.250
 > DHCPREQUEST on ue0 to 255.255.255.255 port 67
 > DHCPACK from 192.168.1.250
 > bound to 192.168.1.54 -- renewal in 300 seconds.
 > lock order reversal: (sleepable after non-sleepable)
 >  1st 0xc2857d78 so_rcv (so_rcv) @ /usr/home/martin/Rasperry/head/sys/kern/uipc_socket.c:1594
 >  2nd 0xc2899a30 vm map (user) (vm map (user)) @ /usr/home/martin/Rasperry/head/sys/vm/vm_map.c:3816
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 >          pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 >          sp = 0xdd3ee818  fp = 0xdd3ee930
 >         r10 = 0xc2857d78
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 >          pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 >          sp = 0xdd3ee938  fp = 0xdd3ee940
 >          r4 = 0xc05908a4  r5 = 0xc04dce80
 >          r6 = 0xc04bd04d  r7 = 0xc04c14dc
 > kdb_backtrace() at kdb_backtrace+0x38
 >          pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 >          sp = 0xdd3ee948  fp = 0xdd3ee998
 >          r4 = 0xc04bd221
 > witness_checkorder() at witness_checkorder+0xddc
 >          pc = 0xc0282df8  lr = 0xc023aaf0 (_sx_slock+0x84)
 >          sp = 0xdd3ee9a0  fp = 0xdd3ee9c8
 >          r4 = 0x00000ee8  r5 = 0xc04dce7d
 >          r6 = 0xc2899a30  r7 = 0xc2899a40
 >          r8 = 0x00000000  r9 = 0x00000000
 >         r10 = 0xdd3eeb2c
 > _sx_slock() at _sx_slock+0x84
 >          pc = 0xc023aaf0  lr = 0xc044579c (vm_map_lookup+0x74)
 >          sp = 0xdd3ee9d0  fp = 0xdd3eea08
 >          r4 = 0xc28999e0  r5 = 0xc04dce7d
 >          r6 = 0x3601a000  r7 = 0x3601a000
 >          r8 = 0x00000002
 > vm_map_lookup() at vm_map_lookup+0x74
 >          pc = 0xc044579c  lr = 0xc0439a18 (vm_fault_hold+0xe4)
 >          sp = 0xdd3eea10  fp = 0xdd3eeb80
 >          r4 = 0xc28999e0  r5 = 0x00000002
 >          r6 = 0xc2819960  r7 = 0x3601a000
 >          r8 = 0xdd3eeb10  r9 = 0x00000000
 >         r10 = 0xc06f7af0
 > vm_fault_hold() at vm_fault_hold+0xe4
 >          pc = 0xc0439a18  lr = 0xc04398ec (vm_fault+0x88)
 >          sp = 0xdd3eeb88  fp = 0xdd3eeba8
 >          r4 = 0xc28999e0  r5 = 0x00000002
 >          r6 = 0xc2819960  r7 = 0x3601a000
 >          r8 = 0x00000000  r9 = 0x00000002
 >         r10 = 0xc06f7af0
 > vm_fault() at vm_fault+0x88
 >          pc = 0xc04398ec  lr = 0xc04760fc (data_abort_handler+0x2a8)
 >          sp = 0xdd3eebb0  fp = 0xdd3eec50
 >          r4 = 0xc2872640  r5 = 0xc2819960
 >          r6 = 0xc04e30cc  r7 = 0xc28726e8
 >          r8 = 0xdd3eec58  r9 = 0xdd3eeeb0
 >         r10 = 0xc28999e0
 > data_abort_handler() at data_abort_handler+0x2a8
 >          pc = 0xc04760fc  lr = 0xc0466b04 (exception_exit)
 >          sp = 0xdd3eec58  fp = 0xdd3eed10
 >          r4 = 0xc056b1cc  r5 = 0xc2857da4
 >          r6 = 0xc2857d00  r7 = 0x3601a8c0
 >          r8 = 0x00000000  r9 = 0xc2857d88
 >         r10 = 0xc272fd00
 > exception_exit() at exception_exit
 >          pc = 0xc0466b04  lr = 0xc2819960 (0xc2819960)
 >          sp = 0xdd3eecac  fp = 0xdd3eed10
 >          r0 = 0x3601a8c0  r1 = 0xc272fb00
 >          r2 = 0xc04c14d9  r3 = 0x000005ef
 >          r4 = 0xc056b1cc  r5 = 0xc2857da4
 >          r6 = 0xc2857d00  r7 = 0x3601a8c0
 >          r8 = 0x00000000  r9 = 0xc2857d88
 >         r10 = 0xc272fd00 r12 = 0x00000000
 > soreceive_generic() at soreceive_generic+0x4a8
 >          pc = 0xc02a9aec  lr = 0xc02ab784 (soreceive+0x2c)
 >          sp = 0xdd3eed18  fp = 0xdd3eed20
 >          r4 = 0xc2819960  r5 = 0x00000000
 >          r6 = 0xdd3eed98  r7 = 0x00000000
 >          r8 = 0x00000006  r9 = 0xc27c5c40
 >         r10 = 0x00000800
 > soreceive() at soreceive+0x2c
 >          pc = 0xc02ab784  lr = 0xc028da28 (soo_read+0x2c)
 >          sp = 0xdd3eed28  fp = 0xdd3eed30
 > soo_read() at soo_read+0x2c
 >          pc = 0xc028da28  lr = 0xc0286aa4 (dofileread+0xa8)
 >          sp = 0xdd3eed38  fp = 0xdd3eed58
 > dofileread() at dofileread+0xa8
 >          pc = 0xc0286aa4  lr = 0xc0286764 (kern_readv+0x60)
 >          sp = 0xdd3eed60  fp = 0xdd3eed88
 >          r4 = 0xffffffff  r5 = 0x00000000
 >          r6 = 0x00000000  r7 = 0x00000006
 >          r8 = 0xdd3eed98  r9 = 0xc2819960
 >         r10 = 0x2081f0f0
 > kern_readv() at kern_readv+0x60
 >          pc = 0xc0286764  lr = 0xc02866f4 (sys_read+0x4c)
 >          sp = 0xdd3eed90  fp = 0xdd3eedb8
 >          r4 = 0xc2819960  r5 = 0x00000000
 >          r6 = 0xbfffe5a0  r7 = 0x00000000
 >          r8 = 0xdd3eee10  r9 = 0xc2872640
 > sys_read() at sys_read+0x4c
 >          pc = 0xc02866f4  lr = 0xc0476bc4 (swi_handler+0x284)
 >          sp = 0xdd3eedc0  fp = 0xdd3eee58
 > swi_handler() at swi_handler+0x284
 >          pc = 0xc0476bc4  lr = 0xc0466928 (swi_entry+0x2c)
 >          sp = 0xdd3eee60  fp = 0xbfffedc0
 >          r4 = 0x000378f8  r5 = 0x0002d258
 >          r6 = 0xbfffe5a0  r7 = 0x00000003
 >          r8 = 0x00000000  r9 = 0x521d3af3
 > swi_entry() at swi_entry+0x2c
 >          pc = 0xc0466928  lr = 0xc0466928 (swi_entry+0x2c)
 >          sp = 0xdd3eee60  fp = 0xbfffedc0
 > Unable to unwind further
 > 
 > vm_fault(0xc28999e0, 3601a000, 2, 0) -> 5
 > Fatal kernel mode data abort: 'Translation Fault (S)'
 > trapframe: 0xdd3eec58
 > FSR=00000805, FAR=3601a8c4, spsr=20000013
 > r0 =3601a8c0, r1 =c272fb00, r2 =c04c14d9, r3 =000005ef
 > r4 =c056b1cc, r5 =c2857da4, r6 =c2857d00, r7 =3601a8c0
 > r8 =00000000, r9 =c2857d88, r10=c272fd00, r11=dd3eed10
 > r12=00000000, ssp=dd3eeca8, slr=c2819960, pc =c02a9aec
 > 
 > [ thread pid 542 tid 100059 ]
 > Stopped at      soreceive_generic+0x4a8:        str     r1, [r0, #0x004]
 > db> 
 > 
 > >How-To-Repeat:
 > Build current for Rasperry Pi and run 
 > >Fix:
 > 
 > 
 > Patch attached with submission follows:
 > 
 > 
 > 
 > U-Boot 2013.01-rc1-g6709570-dirty (Aug 17 2013 - 23:35:05)
 > 
 > DRAM:  480 MiB
 > WARNING: Caches not enabled
 > MMC:   bcm2835_sdhci: 0
 > Using default environment
 > 
 > In:    serial
 > Out:   lcd
 > Err:   lcd
 > mbox: Timeout waiting for response
 > bcm2835: Could not set USB power state
 > Net:   Net Initialization Skipped
 > No ethernet found.
 > Hit any key to stop autoboot:  3  2  1  0 
 > reading uEnv.txt
 > 89 bytes read in 9541 ms (0 Bytes/s)
 > Importing environment from mmc ...
 > reading ubldr
 > 239540 bytes read in 54396 ms (3.9 KiB/s)
 > ## Starting application at 0x02000054 ...
 > Consoles: U-Boot console  
 > Compatible API signature found @1db682a8
 > Number of U-Boot devices: 1
 > 
 > FreeBSD/armv6 U-Boot loader, Revision 1.2
 > (martin@pcbsd-7130, Wed Aug 28 01:32:51 CEST 2013)
 > DRAM:	 480MB
 > 
 > Device: disk
 > |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Loading /boot/defaults/loader.conf 
 > /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\/boot/kernel/kernel data=0x47b5e4+0x17e19c |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|syms=[0x4+0x7fcb0/-\|/-\|/-\|/-\|+0x4+0x4d 613/-\|/-\|/-]
 > 
 > Hit [Enter] to boot immediately, or any other key for command prompt.
 > Booting [/boot/kernel/kernel]...               
 > \|/-\|/Using DTB provided by U-Boot.
 > Kernel entry at 0x100100...
 > Kernel args: (null)
 > KDB: debugger backends: ddb
 > KDB: current backend: ddb
 > Copyright (c) 1992-2013 The FreeBSD Project.
 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > 	The Regents of the University of California. All rights reserved.
 > FreeBSD is a registered trademark of The FreeBSD Foundation.
 > FreeBSD 10.0-CURRENT #0 r254955M: Wed Aug 28 01:32:36 CEST 2013
 >     martin@pcbsd-7130:/usr/home/martin/Rasperry/crochet-freebsd/work/obj/arm.armv6/usr/home/martin/Rasperry/head/sys/RPI-B arm
 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > CPU: ARM1176JZ-S rev 7 (ARM11J core)
 >  Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
 >  WB enabled LABT branch prediction enabled
 >   16KB/32B 4-way instruction cache
 >   16KB/32B 4-way write-back-locking-C data cache
 > real memory  = 536870912 (512 MB)
 > avail memory = 482902016 (460 MB)
 > random device not loaded; using insecure entropy
 > random: <Software, Yarrow> initialized
 > simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff on fdtbus0
 > intc0: <BCM2835 Interrupt Controller> mem 0x2000b200-0x2000b3ff on simplebus0
 > systimer0: <BCM2835 System Timer> mem 0x20003000-0x20003fff irq 8,9,10,11 on simplebus0
 > Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000
 > Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000
 > bcmwd0: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on simplebus0
 > gpio0: <BCM2708/2835 GPIO controller> mem 0x20200000-0x202000af irq 57,59,58,60 on simplebus0
 > gpio0: read-only pins: 46,47,48,49,50,51,52,53.
 > gpio0: reserved pins: 48,49,50,51,52,53.
 > gpioc0: <GPIO controller> on gpio0
 > gpiobus0: <GPIO bus> on gpio0
 > bcm_dma0: <BCM2835 DMA Controller> mem 0x20007000-0x20007fff,0x20e05000-0x20e05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0
 > mbox0: <BCM2835 VideoCore Mailbox> mem 0x2000b880-0x2000b8bf irq 1 on simplebus0
 > sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x20300000-0x203000ff irq 70 on simplebus0
 > mmc0: <MMC/SD bus> on sdhci_bcm0
 > uart0: <PrimeCell UART (PL011)> mem 0x20201000-0x20201fff irq 65 on simplebus0
 > uart0: console (115200,n,8,1)
 > dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x20980000-0x2099ffff irq 17 on simplebus0
 > usbus0 on dwcotg0
 > simplebus1: <Flattened device tree simple bus> on fdtbus0
 > Timecounters tick every 10.000 msec
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc25d7c20 uart_hwmtx (uart_hwmtx) @ /usr/home/martin/Rasperry/head/sys/dev/uart/uart_cpu.h:92
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20c9c8  fp = 0xdc20cae0
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cae8  fp = 0xdc20caf0
 > 	 r4 = 0xc05908a4  r5 = 0xc049fb59
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20caf8  fp = 0xdc20cb48
 > 	 r4 = 0xc049fa8a
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cb50  fp = 0xdc20cb70
 > 	 r4 = 0x00000000  r5 = 0xc0580a84
 > 	 r6 = 0xc25d7c20  r7 = 0xc25d7c30
 > 	 r8 = 0x00000000  r9 = 0x0000005c
 > 	r10 = 0xc049fb56
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc014e9a4 (uart_cnputc+0x44)
 > 	 sp = 0xdc20cb78  fp = 0xdc20cb88
 > 	 r4 = 0x0000006c  r5 = 0xc0580a84
 > 	 r6 = 0xc05908a0  r7 = 0xc0581700
 > 	 r8 = 0xc055d590  r9 = 0xc05816e0
 > 	r10 = 0xdc20ccf0
 > uart_cnputc() at uart_cnputc+0x44
 > 	 pc = 0xc014e9a4  lr = 0xc01eb6b0 (cnputc+0x80)
 > 	 sp = 0xdc20cb90  fp = 0xdc20cba8
 > 	 r4 = 0x0000006c  r5 = 0xc0551c30
 > 	 r6 = 0xc05908a0
 > cnputc() at cnputc+0x80
 > 	 pc = 0xc01eb6b0  lr = 0xc026e6ec (putchar+0x194)
 > 	 sp = 0xdc20cbb0  fp = 0xdc20cc18
 > 	 r4 = 0x00000005  r5 = 0xdc20ccf0
 > 	 r6 = 0x0000006c  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > putchar() at putchar+0x194
 > 	 pc = 0xc026e6ec  lr = 0xc026d53c (kvprintf+0xb0)
 > 	 sp = 0xdc20cc20  fp = 0xdc20ccd8
 > 	 r4 = 0xc04bc4c4  r5 = 0x00000000
 > 	 r6 = 0x00000000  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > 	r10 = 0xdc20ccf0
 > kvprintf() at kvprintf+0xb0
 > 	 pc = 0xc026d53c  lr = 0xc026ec58 (printf+0x50)
 > 	 sp = 0xdc20cce0  fp = 0xdc20cd10
 > 	 r4 = 0xc2446da8  r5 = 0xc2446a68
 > 	 r6 = 0x00000000  r7 = 0xc06c394c
 > 	 r8 = 0xc06f52b4  r9 = 0x00000001
 > 	r10 = 0xc06c395b
 > printf() at printf+0x50
 > 	 pc = 0xc026ec58  lr = 0xc0282b58 (witness_checkorder+0xb3c)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > witness_checkorder() at witness_checkorder+0xb3c
 > 	 pc = 0xc0282b58  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc059198c sleepq chain (sleepq chain) @ /usr/home/martin/Rasperry/head/sys/kern/subr_sleepqueue.c:240
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20cbf8  fp = 0xdc20cd10
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cd18  fp = 0xdc20cd20
 > 	 r4 = 0xc05908a4  r5 = 0xc04ba67d
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > 	 r4 = 0xc04ba662
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > usbus0: 480Mbps High Speed USB v2.0
 > ugen0.1: <DWCOTG> at usbus0
 > uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
 > uhub0: 1 port with 1 removable, self powered
 > mmcsd0: 8GB <SDHC NCard 1.0 SN 1075839384 MFG 05/2013 by 130 JT> at mmc0 50.0MHz/4bit/65535-block
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > mmcsd0: Error indicated: 1 Timeout
 > mmcsd0: Error indicated: 1 Timeout
 > Root mount waiting for: usbus0
 > ugen0.2: <vendor 0x0424> at usbus0
 > uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0
 > uhub1: MTT enabled
 > Root mount waiting for: usbus0
 > uhub1: 3 ports with 2 removable, self powered
 > Root mount waiting for: usbus0
 > ugen0.3: <vendor 0x0424> at usbus0
 > smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
 > Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
 > mountroot: waiting for device /dev/mmcsd0s2a ...
 > smsc0: chip 0xec00, rev. 0002
 > miibus0: <MII bus> on smsc0
 > ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 > ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > ue0: <USB Ethernet> on smsc0
 > ue0: Ethernet address: b8:27:eb:1d:b7:5a
 > Mounting from ufs:/dev/mmcsd0s2a failed with error 19.
 > 
 > Loader variables:
 >   vfs.root.mountfrom=ufs:/dev/mmcsd0s2a
 >   vfs.root.mountfrom.options=rw,noatime
 > 
 > Manual root filesystem specification:
 >   <fstype>:<device> [options]
 >       Mount <device> using filesystem <fstype>
 >       and with the specified (optional) option list.
 > 
 >     eg. ufs:/dev/da0s1a
 >         zfs:tank
 >         cd9660:/dev/acd0 ro
 >           (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
 > 
 >   ?               List valid disk boot devices
 >   .               Yield 1 second (for background tasks)
 >   <empty line>    Abort manual input
 > 
 > mountroot>  kickstart.
 > Starting file system checks:
 > ** SU+J Recovering /dev/mmcsd0s2a
 > ** Reading 4194304 byte journal from inode 4.
 > ** Building recovery table.
 > ** Resolving unreferenced inode list.
 > ** Processing journal entries.
 > ** 31 journal records in 4608 bytes for 21.53% utilization
 > ** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags.
 > 
 > ***** FILE SYSTEM MARKED CLEAN *****
 > Mounting local file systems:.
 > Writing entropy file:.
 > Setting hostname: raspberry-pi.
 > smsc0: chip 0xec00, rev. 0002
 > ue0: link state changed to DOWN
 > ue0: link state changed to UP
 > Starting Network: lo0 ue0.
 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
 > 	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
 > 	inet6 ::1 prefixlen 128 
 > 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
 > 	inet 127.0.0.1 netmask 0xff000000 
 > 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 > ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 > 	options=80001<RXCSUM,LINKSTATE>
 > 	ether b8:27:eb:1d:b7:5a
 > 	media: Ethernet autoselect (100baseTX <full-duplex>)
 > 	status: active
 > 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
 > Starting devd.
 > Starting dhclient.
 > DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 4
 > DHCPOFFER from 192.168.1.250
 > DHCPREQUEST on ue0 to 255.255.255.255 port 67
 > DHCPACK from 192.168.1.250
 > bound to 192.168.1.54 -- renewal in 300 seconds.
 > lock order reversal: (sleepable after non-sleepable)
 >  1st 0xc2857d78 so_rcv (so_rcv) @ /usr/home/martin/Rasperry/head/sys/kern/uipc_socket.c:1594
 >  2nd 0xc2898a30 vm map (user) (vm map (user)) @ /usr/home/martin/Rasperry/head/sys/vm/vm_map.c:3816
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdd3ee818  fp = 0xdd3ee930
 > 	r10 = 0xc2857d78
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdd3ee938  fp = 0xdd3ee940
 > 	 r4 = 0xc05908a4  r5 = 0xc04dce80
 > 	 r6 = 0xc04bd04d  r7 = 0xc04c14dc
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdd3ee948  fp = 0xdd3ee998
 > 	 r4 = 0xc04bd221
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc023aaf0 (_sx_slock+0x84)
 > 	 sp = 0xdd3ee9a0  fp = 0xdd3ee9c8
 > 	 r4 = 0x00000ee8  r5 = 0xc04dce7d
 > 	 r6 = 0xc2898a30  r7 = 0xc2898a40
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xdd3eeb2c
 > _sx_slock() at _sx_slock+0x84
 > 	 pc = 0xc023aaf0  lr = 0xc044579c (vm_map_lookup+0x74)
 > 	 sp = 0xdd3ee9d0  fp = 0xdd3eea08
 > 	 r4 = 0xc28989e0  r5 = 0xc04dce7d
 > 	 r6 = 0x3601a000  r7 = 0x3601a000
 > 	 r8 = 0x00000002
 > vm_map_lookup() at vm_map_lookup+0x74
 > 	 pc = 0xc044579c  lr = 0xc0439a18 (vm_fault_hold+0xe4)
 > 	 sp = 0xdd3eea10  fp = 0xdd3eeb80
 > 	 r4 = 0xc28989e0  r5 = 0x00000002
 > 	 r6 = 0xc2819960  r7 = 0x3601a000
 > 	 r8 = 0xdd3eeb10  r9 = 0x00000000
 > 	r10 = 0xc06f7af0
 > vm_fault_hold() at vm_fault_hold+0xe4
 > 	 pc = 0xc0439a18  lr = 0xc04398ec (vm_fault+0x88)
 > 	 sp = 0xdd3eeb88  fp = 0xdd3eeba8
 > 	 r4 = 0xc28989e0  r5 = 0x00000002
 > 	 r6 = 0xc2819960  r7 = 0x3601a000
 > 	 r8 = 0x00000000  r9 = 0x00000002
 > 	r10 = 0xc06f7af0
 > vm_fault() at vm_fault+0x88
 > 	 pc = 0xc04398ec  lr = 0xc04760fc (data_abort_handler+0x2a8)
 > 	 sp = 0xdd3eebb0  fp = 0xdd3eec50
 > 	 r4 = 0xc2872640  r5 = 0xc2819960
 > 	 r6 = 0xc04e30cc  r7 = 0xc28726e8
 > 	 r8 = 0xdd3eec58  r9 = 0xdd3eeeb0
 > 	r10 = 0xc28989e0
 > data_abort_handler() at data_abort_handler+0x2a8
 > 	 pc = 0xc04760fc  lr = 0xc0466b04 (exception_exit)
 > 	 sp = 0xdd3eec58  fp = 0xdd3eed10
 > 	 r4 = 0xc056b1cc  r5 = 0xc2857da4
 > 	 r6 = 0xc2857d00  r7 = 0x3601a8c0
 > 	 r8 = 0x00000000  r9 = 0xc2857d88
 > 	r10 = 0xc272fd00
 > exception_exit() at exception_exit
 > 	 pc = 0xc0466b04  lr = 0xc2819960 (0xc2819960)
 > 	 sp = 0xdd3eecac  fp = 0xdd3eed10
 > 	 r0 = 0x3601a8c0  r1 = 0xc272fb00
 > 	 r2 = 0xc04c14d9  r3 = 0x000005ef
 > 	 r4 = 0xc056b1cc  r5 = 0xc2857da4
 > 	 r6 = 0xc2857d00  r7 = 0x3601a8c0
 > 	 r8 = 0x00000000  r9 = 0xc2857d88
 > 	r10 = 0xc272fd00 r12 = 0x00000000
 > soreceive_generic() at soreceive_generic+0x4a8
 > 	 pc = 0xc02a9aec  lr = 0xc02ab784 (soreceive+0x2c)
 > 	 sp = 0xdd3eed18  fp = 0xdd3eed20
 > 	 r4 = 0xc2819960  r5 = 0x00000000
 > 	 r6 = 0xdd3eed98  r7 = 0x00000000
 > 	 r8 = 0x00000006  r9 = 0xc27c5c40
 > 	r10 = 0x00000800
 > soreceive() at soreceive+0x2c
 > 	 pc = 0xc02ab784  lr = 0xc028da28 (soo_read+0x2c)
 > 	 sp = 0xdd3eed28  fp = 0xdd3eed30
 > soo_read() at soo_read+0x2c
 > 	 pc = 0xc028da28  lr = 0xc0286aa4 (dofileread+0xa8)
 > 	 sp = 0xdd3eed38  fp = 0xdd3eed58
 > dofileread() at dofileread+0xa8
 > 	 pc = 0xc0286aa4  lr = 0xc0286764 (kern_readv+0x60)
 > 	 sp = 0xdd3eed60  fp = 0xdd3eed88
 > 	 r4 = 0xffffffff  r5 = 0x00000000
 > 	 r6 = 0x00000000  r7 = 0x00000006
 > 	 r8 = 0xdd3eed98  r9 = 0xc2819960
 > 	r10 = 0x2081f0f0
 > kern_readv() at kern_readv+0x60
 > 	 pc = 0xc0286764  lr = 0xc02866f4 (sys_read+0x4c)
 > 	 sp = 0xdd3eed90  fp = 0xdd3eedb8
 > 	 r4 = 0xc2819960  r5 = 0x00000000
 > 	 r6 = 0xbfffe5a0  r7 = 0x00000000
 > 	 r8 = 0xdd3eee10  r9 = 0xc2872640
 > sys_read() at sys_read+0x4c
 > 	 pc = 0xc02866f4  lr = 0xc0476bc4 (swi_handler+0x284)
 > 	 sp = 0xdd3eedc0  fp = 0xdd3eee58
 > swi_handler() at swi_handler+0x284
 > 	 pc = 0xc0476bc4  lr = 0xc0466928 (swi_entry+0x2c)
 > 	 sp = 0xdd3eee60  fp = 0xbfffedc0
 > 	 r4 = 0x000378f8  r5 = 0x0002d258
 > 	 r6 = 0xbfffe5a0  r7 = 0x00000003
 > 	 r8 = 0x00000000  r9 = 0x521d3a99
 > swi_entry() at swi_entry+0x2c
 > 	 pc = 0xc0466928  lr = 0xc0466928 (swi_entry+0x2c)
 > 	 sp = 0xdd3eee60  fp = 0xbfffedc0
 > Unable to unwind further
 > 
 > vm_fault(0xc28989e0, 3601a000, 2, 0) -> 5
 > Fatal kernel mode data abort: 'Translation Fault (S)'
 > trapframe: 0xdd3eec58
 > FSR=00000805, FAR=3601a8c4, spsr=20000013
 > r0 =3601a8c0, r1 =c272fb00, r2 =c04c14d9, r3 =000005ef
 > r4 =c056b1cc, r5 =c2857da4, r6 =c2857d00, r7 =3601a8c0
 > r8 =00000000, r9 =c2857d88, r10=c272fd00, r11=dd3eed10
 > r12=00000000, ssp=dd3eeca8, slr=c2819960, pc =c02a9aec
 > 
 > [ thread pid 542 tid 100059 ]
 > Stopped at      soreceive_generic+0x4a8:        str     r1, [r0, #0x004]
 > db> 
 > 
 > U-Boot 2013.01-rc1-g6709570-dirty (Aug 17 2013 - 23:35:05)
 > 
 > DRAM:  480 MiB
 > WARNING: Caches not enabled
 > MMC:   bcm2835_sdhci: 0
 > Using default environment
 > 
 > In:    serial
 > Out:   lcd
 > Err:   lcd
 > mbox: Timeout waiting for response
 > bcm2835: Could not set USB power state
 > Net:   Net Initialization Skipped
 > No ethernet found.
 > Hit any key to stop autoboot:  3  2  1  0 
 > reading uEnv.txt
 > 89 bytes read in 9553 ms (0 Bytes/s)
 > Importing environment from mmc ...
 > reading ubldr
 > 239540 bytes read in 54380 ms (3.9 KiB/s)
 > ## Starting application at 0x02000054 ...
 > Consoles: U-Boot console  
 > Compatible API signature found @1db682a8
 > Number of U-Boot devices: 1
 > 
 > FreeBSD/armv6 U-Boot loader, Revision 1.2
 > (martin@pcbsd-7130, Wed Aug 28 01:32:51 CEST 2013)
 > DRAM:	 480MB
 > 
 > Device: disk
 > |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Loading /boot/defaults/loader.conf 
 > /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\/boot/kernel/kernel data=0x47b5e4+0x17e19c |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|syms=[0x4+0x7fcb0/-\|/-\|/-\|/-\|+0x4+0x4d 613/-\|/-\|/-]
 > 
 > Hit [Enter] to boot immediately, or any other key for command prompt.
 > Booting [/boot/kernel/kernel]...               
 > \|/-\|/Using DTB provided by U-Boot.
 > Kernel entry at 0x100100...
 > Kernel args: (null)
 > KDB: debugger backends: ddb
 > KDB: current backend: ddb
 > Copyright (c) 1992-2013 The FreeBSD Project.
 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > 	The Regents of the University of California. All rights reserved.
 > FreeBSD is a registered trademark of The FreeBSD Foundation.
 > FreeBSD 10.0-CURRENT #0 r254955M: Wed Aug 28 01:32:36 CEST 2013
 >     martin@pcbsd-7130:/usr/home/martin/Rasperry/crochet-freebsd/work/obj/arm.armv6/usr/home/martin/Rasperry/head/sys/RPI-B arm
 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > CPU: ARM1176JZ-S rev 7 (ARM11J core)
 >  Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
 >  WB enabled LABT branch prediction enabled
 >   16KB/32B 4-way instruction cache
 >   16KB/32B 4-way write-back-locking-C data cache
 > real memory  = 536870912 (512 MB)
 > avail memory = 482902016 (460 MB)
 > random device not loaded; using insecure entropy
 > random: <Software, Yarrow> initialized
 > simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff on fdtbus0
 > intc0: <BCM2835 Interrupt Controller> mem 0x2000b200-0x2000b3ff on simplebus0
 > systimer0: <BCM2835 System Timer> mem 0x20003000-0x20003fff irq 8,9,10,11 on simplebus0
 > Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000
 > Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000
 > bcmwd0: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on simplebus0
 > gpio0: <BCM2708/2835 GPIO controller> mem 0x20200000-0x202000af irq 57,59,58,60 on simplebus0
 > gpio0: read-only pins: 46,47,48,49,50,51,52,53.
 > gpio0: reserved pins: 48,49,50,51,52,53.
 > gpioc0: <GPIO controller> on gpio0
 > gpiobus0: <GPIO bus> on gpio0
 > bcm_dma0: <BCM2835 DMA Controller> mem 0x20007000-0x20007fff,0x20e05000-0x20e05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0
 > mbox0: <BCM2835 VideoCore Mailbox> mem 0x2000b880-0x2000b8bf irq 1 on simplebus0
 > sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x20300000-0x203000ff irq 70 on simplebus0
 > mmc0: <MMC/SD bus> on sdhci_bcm0
 > uart0: <PrimeCell UART (PL011)> mem 0x20201000-0x20201fff irq 65 on simplebus0
 > uart0: console (115200,n,8,1)
 > dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x20980000-0x2099ffff irq 17 on simplebus0
 > usbus0 on dwcotg0
 > simplebus1: <Flattened device tree simple bus> on fdtbus0
 > Timecounters tick every 10.000 msec
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc25d7c20 uart_hwmtx (uart_hwmtx) @ /usr/home/martin/Rasperry/head/sys/dev/uart/uart_cpu.h:92
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20c9c8  fp = 0xdc20cae0
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cae8  fp = 0xdc20caf0
 > 	 r4 = 0xc05908a4  r5 = 0xc049fb59
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20caf8  fp = 0xdc20cb48
 > 	 r4 = 0xc049fa8a
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cb50  fp = 0xdc20cb70
 > 	 r4 = 0x00000000  r5 = 0xc0580a84
 > 	 r6 = 0xc25d7c20  r7 = 0xc25d7c30
 > 	 r8 = 0x00000000  r9 = 0x0000005c
 > 	r10 = 0xc049fb56
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc014e9a4 (uart_cnputc+0x44)
 > 	 sp = 0xdc20cb78  fp = 0xdc20cb88
 > 	 r4 = 0x0000006c  r5 = 0xc0580a84
 > 	 r6 = 0xc05908a0  r7 = 0xc0581700
 > 	 r8 = 0xc055d590  r9 = 0xc05816e0
 > 	r10 = 0xdc20ccf0
 > uart_cnputc() at uart_cnputc+0x44
 > 	 pc = 0xc014e9a4  lr = 0xc01eb6b0 (cnputc+0x80)
 > 	 sp = 0xdc20cb90  fp = 0xdc20cba8
 > 	 r4 = 0x0000006c  r5 = 0xc0551c30
 > 	 r6 = 0xc05908a0
 > cnputc() at cnputc+0x80
 > 	 pc = 0xc01eb6b0  lr = 0xc026e6ec (putchar+0x194)
 > 	 sp = 0xdc20cbb0  fp = 0xdc20cc18
 > 	 r4 = 0x00000005  r5 = 0xdc20ccf0
 > 	 r6 = 0x0000006c  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > putchar() at putchar+0x194
 > 	 pc = 0xc026e6ec  lr = 0xc026d53c (kvprintf+0xb0)
 > 	 sp = 0xdc20cc20  fp = 0xdc20ccd8
 > 	 r4 = 0xc04bc4c4  r5 = 0x00000000
 > 	 r6 = 0x00000000  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > 	r10 = 0xdc20ccf0
 > kvprintf() at kvprintf+0xb0
 > 	 pc = 0xc026d53c  lr = 0xc026ec58 (printf+0x50)
 > 	 sp = 0xdc20cce0  fp = 0xdc20cd10
 > 	 r4 = 0xc2446da8  r5 = 0xc2446a68
 > 	 r6 = 0x00000000  r7 = 0xc06c394c
 > 	 r8 = 0xc06f52b4  r9 = 0x00000001
 > 	r10 = 0xc06c395b
 > printf() at printf+0x50
 > 	 pc = 0xc026ec58  lr = 0xc0282b58 (witness_checkorder+0xb3c)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > witness_checkorder() at witness_checkorder+0xb3c
 > 	 pc = 0xc0282b58  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc059198c sleepq chain (sleepq chain) @ /usr/home/martin/Rasperry/head/sys/kern/subr_sleepqueue.c:240
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20cbf8  fp = 0xdc20cd10
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cd18  fp = 0xdc20cd20
 > 	 r4 = 0xc05908a4  r5 = 0xc04ba67d
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > 	 r4 = 0xc04ba662
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > usbus0: 480Mbps High Speed USB v2.0
 > ugen0.1: <DWCOTG> at usbus0
 > uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
 > mmcsd0: 8GB <SDHC NCard 1.0 SN 1075839384 MFG 05/2013 by 130 JT> at mmc0 25.0MHz/4bit/65535-block
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > Root mount waiting for: usbus0
 > uhub0: 1 port with 1 removable, self powered
 > ugen0.2: <vendor 0x0424> at usbus0
 > uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0
 > uhub1: MTT enabled
 > Root mount waiting for: usbus0
 > uhub1: 3 ports with 2 removable, self powered
 > Root mount waiting for: usbus0
 > ugen0.3: <vendor 0x0424> at usbus0
 > smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
 > Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
 > WARNING: / was not properly dismounted
 > smsc0: chip 0xec00, rev. 0002
 > warning: no time-of-day clock registered, system time will not be set accurately
 > miibus0: <MII bus> on smsc0
 > ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 > ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > ue0: <USB Ethernet> on smsc0
 > ue0: Ethernet address: b8:27:eb:1d:b7:5a
 > Enlarging root partition
 > mmcsd0s2 resized
 > mmcsd0s2a resized
 > super-block backups (for fsck -b #) at:
 > 
 > Setting hostuuid: 0cff015d-0f73-11e3-b289-b827eb1db75a.
 > Setting hostid: 0xe90281aa.
 > No suitable dump device was found.
 > Entropy harvesting: interrupts ethernet point_to_point
 > 
 > U-Boot 2013.01-rc1-g6709570-dirty (Aug 17 2013 - 23:35:05)
 > 
 > DRAM:  480 MiB
 > WARNING: Caches not enabled
 > MMC:   bcm2835_sdhci: 0
 > Using default environment
 > 
 > In:    serial
 > Out:   lcd
 > Err:   lcd
 > mbox: Timeout waiting for response
 > bcm2835: Could not set USB power state
 > Net:   Net Initialization Skipped
 > No ethernet found.
 > Hit any key to stop autoboot:  3  2  1  0 
 > reading uEnv.txt
 > 89 bytes read in 9552 ms (0 Bytes/s)
 > Importing environment from mmc ...
 > reading ubldr
 > 239540 bytes read in 54417 ms (3.9 KiB/s)
 > ## Starting application at 0x02000054 ...
 > Consoles: U-Boot console  
 > Compatible API signature found @1db682a8
 > Number of U-Boot devices: 1
 > 
 > FreeBSD/armv6 U-Boot loader, Revision 1.2
 > (martin@pcbsd-7130, Wed Aug 28 01:32:51 CEST 2013)
 > DRAM:	 480MB
 > 
 > Device: disk
 > |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Loading /boot/defaults/loader.conf 
 > /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\/boot/kernel/kernel data=0x47b5e4+0x17e19c |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|syms=[0x4+0x7fcb0/-\|/-\|/-\|/-\|+0x4+0x4d 613/-\|/-\|/-]
 > 
 > Hit [Enter] to boot immediately, or any other key for command prompt.
 > Booting [/boot/kernel/kernel]...               
 > \|/-\|/Using DTB provided by U-Boot.
 > Kernel entry at 0x100100...
 > Kernel args: (null)
 > KDB: debugger backends: ddb
 > KDB: current backend: ddb
 > Copyright (c) 1992-2013 The FreeBSD Project.
 > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 > 	The Regents of the University of California. All rights reserved.
 > FreeBSD is a registered trademark of The FreeBSD Foundation.
 > FreeBSD 10.0-CURRENT #0 r254955M: Wed Aug 28 01:32:36 CEST 2013
 >     martin@pcbsd-7130:/usr/home/martin/Rasperry/crochet-freebsd/work/obj/arm.armv6/usr/home/martin/Rasperry/head/sys/RPI-B arm
 > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > CPU: ARM1176JZ-S rev 7 (ARM11J core)
 >  Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext
 >  WB enabled LABT branch prediction enabled
 >   16KB/32B 4-way instruction cache
 >   16KB/32B 4-way write-back-locking-C data cache
 > real memory  = 536870912 (512 MB)
 > avail memory = 482902016 (460 MB)
 > random device not loaded; using insecure entropy
 > random: <Software, Yarrow> initialized
 > simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff on fdtbus0
 > intc0: <BCM2835 Interrupt Controller> mem 0x2000b200-0x2000b3ff on simplebus0
 > systimer0: <BCM2835 System Timer> mem 0x20003000-0x20003fff irq 8,9,10,11 on simplebus0
 > Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000
 > Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000
 > bcmwd0: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on simplebus0
 > gpio0: <BCM2708/2835 GPIO controller> mem 0x20200000-0x202000af irq 57,59,58,60 on simplebus0
 > gpio0: read-only pins: 46,47,48,49,50,51,52,53.
 > gpio0: reserved pins: 48,49,50,51,52,53.
 > gpioc0: <GPIO controller> on gpio0
 > gpiobus0: <GPIO bus> on gpio0
 > bcm_dma0: <BCM2835 DMA Controller> mem 0x20007000-0x20007fff,0x20e05000-0x20e05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0
 > mbox0: <BCM2835 VideoCore Mailbox> mem 0x2000b880-0x2000b8bf irq 1 on simplebus0
 > sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x20300000-0x203000ff irq 70 on simplebus0
 > mmc0: <MMC/SD bus> on sdhci_bcm0
 > uart0: <PrimeCell UART (PL011)> mem 0x20201000-0x20201fff irq 65 on simplebus0
 > uart0: console (115200,n,8,1)
 > dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x20980000-0x2099ffff irq 17 on simplebus0
 > usbus0 on dwcotg0
 > simplebus1: <Flattened device tree simple bus> on fdtbus0
 > Timecounters tick every 10.000 msec
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc25d7c20 uart_hwmtx (uart_hwmtx) @ /usr/home/martin/Rasperry/head/sys/dev/uart/uart_cpu.h:92
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20c9c8  fp = 0xdc20cae0
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cae8  fp = 0xdc20caf0
 > 	 r4 = 0xc05908a4  r5 = 0xc049fb59
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20caf8  fp = 0xdc20cb48
 > 	 r4 = 0xc049fa8a
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cb50  fp = 0xdc20cb70
 > 	 r4 = 0x00000000  r5 = 0xc0580a84
 > 	 r6 = 0xc25d7c20  r7 = 0xc25d7c30
 > 	 r8 = 0x00000000  r9 = 0x0000005c
 > 	r10 = 0xc049fb56
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc014e9a4 (uart_cnputc+0x44)
 > 	 sp = 0xdc20cb78  fp = 0xdc20cb88
 > 	 r4 = 0x0000006c  r5 = 0xc0580a84
 > 	 r6 = 0xc05908a0  r7 = 0xc0581700
 > 	 r8 = 0xc055d590  r9 = 0xc05816e0
 > 	r10 = 0xdc20ccf0
 > uart_cnputc() at uart_cnputc+0x44
 > 	 pc = 0xc014e9a4  lr = 0xc01eb6b0 (cnputc+0x80)
 > 	 sp = 0xdc20cb90  fp = 0xdc20cba8
 > 	 r4 = 0x0000006c  r5 = 0xc0551c30
 > 	 r6 = 0xc05908a0
 > cnputc() at cnputc+0x80
 > 	 pc = 0xc01eb6b0  lr = 0xc026e6ec (putchar+0x194)
 > 	 sp = 0xdc20cbb0  fp = 0xdc20cc18
 > 	 r4 = 0x00000005  r5 = 0xdc20ccf0
 > 	 r6 = 0x0000006c  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > putchar() at putchar+0x194
 > 	 pc = 0xc026e6ec  lr = 0xc026d53c (kvprintf+0xb0)
 > 	 sp = 0xdc20cc20  fp = 0xdc20ccd8
 > 	 r4 = 0xc04bc4c4  r5 = 0x00000000
 > 	 r6 = 0x00000000  r7 = 0x00000000
 > 	 r8 = 0xc06f52b4  r9 = 0xc026e558
 > 	r10 = 0xdc20ccf0
 > kvprintf() at kvprintf+0xb0
 > 	 pc = 0xc026d53c  lr = 0xc026ec58 (printf+0x50)
 > 	 sp = 0xdc20cce0  fp = 0xdc20cd10
 > 	 r4 = 0xc2446da8  r5 = 0xc2446a68
 > 	 r6 = 0x00000000  r7 = 0xc06c394c
 > 	 r8 = 0xc06f52b4  r9 = 0x00000001
 > 	r10 = 0xc06c395b
 > printf() at printf+0x50
 > 	 pc = 0xc026ec58  lr = 0xc0282b58 (witness_checkorder+0xb3c)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > witness_checkorder() at witness_checkorder+0xb3c
 > 	 pc = 0xc0282b58  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > lock order reversal:
 >  1st 0xc06f3c0c entropy harvest mutex (entropy harvest mutex) @ /usr/home/martin/Rasperry/head/sys/dev/random/randomdev_soft.c:242
 >  2nd 0xc059198c sleepq chain (sleepq chain) @ /usr/home/martin/Rasperry/head/sys/kern/subr_sleepqueue.c:240
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdc20cbf8  fp = 0xdc20cd10
 > 	r10 = 0xc06f3c0c
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdc20cd18  fp = 0xdc20cd20
 > 	 r4 = 0xc05908a4  r5 = 0xc04ba67d
 > 	 r6 = 0xc04bd04d  r7 = 0xc049f1d4
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdc20cd28  fp = 0xdc20cd78
 > 	 r4 = 0xc04ba662
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc022050c (__mtx_lock_spin_flags+0xc4)
 > 	 sp = 0xdc20cd80  fp = 0xdc20cda0
 > 	 r4 = 0x00000000  r5 = 0x00000000
 > 	 r6 = 0xc059198c  r7 = 0xc059199c
 > 	 r8 = 0x00000000  r9 = 0x000000f0
 > 	r10 = 0xc04ba67a
 > __mtx_lock_spin_flags() at __mtx_lock_spin_flags+0xc4
 > 	 pc = 0xc022050c  lr = 0xc02751a4 (sleepq_lock+0x34)
 > 	 sp = 0xdc20cda8  fp = 0xdc20cda8
 > 	 r4 = 0xc2582960  r5 = 0x00000000
 > 	 r6 = 0xc0580394  r7 = 0x00000000
 > 	 r8 = 0xc2584c80  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > sleepq_lock() at sleepq_lock+0x34
 > 	 pc = 0xc02751a4  lr = 0xc023c4c0 (msleep_spin_sbt+0x80)
 > 	 sp = 0xdc20cdb0  fp = 0xdc20cdf0
 > msleep_spin_sbt() at msleep_spin_sbt+0x80
 > 	 pc = 0xc023c4c0  lr = 0xc0147458 (random_kthread+0x270)
 > 	 sp = 0xdc20cdf8  fp = 0xdc20ce38
 > 	 r4 = 0xc06f3c1c  r5 = 0x00000000
 > 	 r6 = 0xc049f1d1  r7 = 0x00000000
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xc0580390
 > random_kthread() at random_kthread+0x270
 > 	 pc = 0xc0147458  lr = 0xc02033f0 (fork_exit+0x88)
 > 	 sp = 0xdc20ce40  fp = 0xdc20ce58
 > 	 r4 = 0xc2584c80  r5 = 0xc2582960
 > 	 r6 = 0xc01471e8  r7 = 0x00000000
 > 	 r8 = 0xdc20ce60  r9 = 0x00000000
 > 	r10 = 0x00000000
 > fork_exit() at fork_exit+0x88
 > 	 pc = 0xc02033f0  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > 	 r4 = 0xc01471e8  r5 = 0x00000000
 > 	 r6 = 0xc0c0c0c0  r7 = 0xc0c0c0c0
 > 	 r8 = 0x00000000
 > fork_trampoline() at fork_trampoline+0x14
 > 	 pc = 0xc0475cec  lr = 0xc0475cec (fork_trampoline+0x14)
 > 	 sp = 0xdc20ce60  fp = 0x00000000
 > Unable to unwind further
 > usbus0: 480Mbps High Speed USB v2.0
 > ugen0.1: <DWCOTG> at usbus0
 > uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
 > mmcsd0: 8GB <SDHC NCard 1.0 SN 1075839384 MFG 05/2013 by 130 JT> at mmc0 25.0MHz/4bit/65535-block
 > WARNING: WITNESS option enabled, expect reduced performance.
 > WARNING: DIAGNOSTIC option enabled, expect reduced performance.
 > Root mount waiting for: usbus0
 > uhub0: 1 port with 1 removable, self powered
 > Root mount waiting for: usbus0
 > ugen0.2: <vendor 0x0424> at usbus0
 > uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> on usbus0
 > uhub1: MTT enabled
 > uhub1: 3 ports with 2 removable, self powered
 > Root mount waiting for: usbus0
 > ugen0.3: <vendor 0x0424> at usbus0
 > smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
 > Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
 > WARNING: / was not properly dismounted
 > smsc0: chip 0xec00, rev. 0002
 > warning: no time-of-day clock registered, system time will not be set accurately
 > miibus0: <MII bus> on smsc0
 > ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 > ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 > ue0: <USB Ethernet> on smsc0
 > ue0: Ethernet address: b8:27:eb:1d:b7:5a
 > Enlarging root partition
 > mmcsd0s2 resized
 > mmcsd0s2a resized
 > super-block backups (for fsck -b #) at:
 > 
 > Setting hostuuid: 27d85b91-0f73-11e3-b289-b827eb1db75a.
 > Setting hostid: 0xaa3c183b.
 > No suitable dump device was found.
 > Entropy harvesting: interrupts ethernet point_to_point kickstart.
 > Starting file system checks:
 > ** SU+J Recovering /dev/mmcsd0s2a
 > ** Reading 4194304 byte journal from inode 4.
 > ** Building recovery table.
 > ** Resolving unreferenced inode list.
 > ** Processing journal entries.
 > ** 28 journal records in 4096 bytes for 21.88% utilization
 > ** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags.
 > 
 > ***** FILE SYSTEM MARKED CLEAN *****
 > Mounting local file systems:.
 > Writing entropy file:.
 > Setting hostname: raspberry-pi.
 > smsc0: chip 0xec00, rev. 0002
 > ue0: link state changed to DOWN
 > ue0: link state changed to UP
 > Starting Network: lo0 ue0.
 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
 > 	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
 > 	inet6 ::1 prefixlen 128 
 > 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
 > 	inet 127.0.0.1 netmask 0xff000000 
 > 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 > ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
 > 	options=80001<RXCSUM,LINKSTATE>
 > 	ether b8:27:eb:1d:b7:5a
 > 	media: Ethernet autoselect (100baseTX <full-duplex>)
 > 	status: active
 > 	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
 > Starting devd.
 > Starting dhclient.
 > DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 7
 > DHCPOFFER from 192.168.1.250
 > DHCPREQUEST on ue0 to 255.255.255.255 port 67
 > DHCPACK from 192.168.1.250
 > bound to 192.168.1.54 -- renewal in 300 seconds.
 > lock order reversal: (sleepable after non-sleepable)
 >  1st 0xc2857d78 so_rcv (so_rcv) @ /usr/home/martin/Rasperry/head/sys/kern/uipc_socket.c:1594
 >  2nd 0xc2899a30 vm map (user) (vm map (user)) @ /usr/home/martin/Rasperry/head/sys/vm/vm_map.c:3816
 > KDB: stack backtrace:
 > db_trace_self() at db_trace_self
 > 	 pc = 0xc04652cc  lr = 0xc012e474 (db_trace_self_wrapper+0x30)
 > 	 sp = 0xdd3ee818  fp = 0xdd3ee930
 > 	r10 = 0xc2857d78
 > db_trace_self_wrapper() at db_trace_self_wrapper+0x30
 > 	 pc = 0xc012e474  lr = 0xc0268974 (kdb_backtrace+0x38)
 > 	 sp = 0xdd3ee938  fp = 0xdd3ee940
 > 	 r4 = 0xc05908a4  r5 = 0xc04dce80
 > 	 r6 = 0xc04bd04d  r7 = 0xc04c14dc
 > kdb_backtrace() at kdb_backtrace+0x38
 > 	 pc = 0xc0268974  lr = 0xc0282df8 (witness_checkorder+0xddc)
 > 	 sp = 0xdd3ee948  fp = 0xdd3ee998
 > 	 r4 = 0xc04bd221
 > witness_checkorder() at witness_checkorder+0xddc
 > 	 pc = 0xc0282df8  lr = 0xc023aaf0 (_sx_slock+0x84)
 > 	 sp = 0xdd3ee9a0  fp = 0xdd3ee9c8
 > 	 r4 = 0x00000ee8  r5 = 0xc04dce7d
 > 	 r6 = 0xc2899a30  r7 = 0xc2899a40
 > 	 r8 = 0x00000000  r9 = 0x00000000
 > 	r10 = 0xdd3eeb2c
 > _sx_slock() at _sx_slock+0x84
 > 	 pc = 0xc023aaf0  lr = 0xc044579c (vm_map_lookup+0x74)
 > 	 sp = 0xdd3ee9d0  fp = 0xdd3eea08
 > 	 r4 = 0xc28999e0  r5 = 0xc04dce7d
 > 	 r6 = 0x3601a000  r7 = 0x3601a000
 > 	 r8 = 0x00000002
 > vm_map_lookup() at vm_map_lookup+0x74
 > 	 pc = 0xc044579c  lr = 0xc0439a18 (vm_fault_hold+0xe4)
 > 	 sp = 0xdd3eea10  fp = 0xdd3eeb80
 > 	 r4 = 0xc28999e0  r5 = 0x00000002
 > 	 r6 = 0xc2819960  r7 = 0x3601a000
 > 	 r8 = 0xdd3eeb10  r9 = 0x00000000
 > 	r10 = 0xc06f7af0
 > vm_fault_hold() at vm_fault_hold+0xe4
 > 	 pc = 0xc0439a18  lr = 0xc04398ec (vm_fault+0x88)
 > 	 sp = 0xdd3eeb88  fp = 0xdd3eeba8
 > 	 r4 = 0xc28999e0  r5 = 0x00000002
 > 	 r6 = 0xc2819960  r7 = 0x3601a000
 > 	 r8 = 0x00000000  r9 = 0x00000002
 > 	r10 = 0xc06f7af0
 > vm_fault() at vm_fault+0x88
 > 	 pc = 0xc04398ec  lr = 0xc04760fc (data_abort_handler+0x2a8)
 > 	 sp = 0xdd3eebb0  fp = 0xdd3eec50
 > 	 r4 = 0xc2872640  r5 = 0xc2819960
 > 	 r6 = 0xc04e30cc  r7 = 0xc28726e8
 > 	 r8 = 0xdd3eec58  r9 = 0xdd3eeeb0
 > 	r10 = 0xc28999e0
 > data_abort_handler() at data_abort_handler+0x2a8
 > 	 pc = 0xc04760fc  lr = 0xc0466b04 (exception_exit)
 > 	 sp = 0xdd3eec58  fp = 0xdd3eed10
 > 	 r4 = 0xc056b1cc  r5 = 0xc2857da4
 > 	 r6 = 0xc2857d00  r7 = 0x3601a8c0
 > 	 r8 = 0x00000000  r9 = 0xc2857d88
 > 	r10 = 0xc272fd00
 > exception_exit() at exception_exit
 > 	 pc = 0xc0466b04  lr = 0xc2819960 (0xc2819960)
 > 	 sp = 0xdd3eecac  fp = 0xdd3eed10
 > 	 r0 = 0x3601a8c0  r1 = 0xc272fb00
 > 	 r2 = 0xc04c14d9  r3 = 0x000005ef
 > 	 r4 = 0xc056b1cc  r5 = 0xc2857da4
 > 	 r6 = 0xc2857d00  r7 = 0x3601a8c0
 > 	 r8 = 0x00000000  r9 = 0xc2857d88
 > 	r10 = 0xc272fd00 r12 = 0x00000000
 > soreceive_generic() at soreceive_generic+0x4a8
 > 	 pc = 0xc02a9aec  lr = 0xc02ab784 (soreceive+0x2c)
 > 	 sp = 0xdd3eed18  fp = 0xdd3eed20
 > 	 r4 = 0xc2819960  r5 = 0x00000000
 > 	 r6 = 0xdd3eed98  r7 = 0x00000000
 > 	 r8 = 0x00000006  r9 = 0xc27c5c40
 > 	r10 = 0x00000800
 > soreceive() at soreceive+0x2c
 > 	 pc = 0xc02ab784  lr = 0xc028da28 (soo_read+0x2c)
 > 	 sp = 0xdd3eed28  fp = 0xdd3eed30
 > soo_read() at soo_read+0x2c
 > 	 pc = 0xc028da28  lr = 0xc0286aa4 (dofileread+0xa8)
 > 	 sp = 0xdd3eed38  fp = 0xdd3eed58
 > dofileread() at dofileread+0xa8
 > 	 pc = 0xc0286aa4  lr = 0xc0286764 (kern_readv+0x60)
 > 	 sp = 0xdd3eed60  fp = 0xdd3eed88
 > 	 r4 = 0xffffffff  r5 = 0x00000000
 > 	 r6 = 0x00000000  r7 = 0x00000006
 > 	 r8 = 0xdd3eed98  r9 = 0xc2819960
 > 	r10 = 0x2081f0f0
 > kern_readv() at kern_readv+0x60
 > 	 pc = 0xc0286764  lr = 0xc02866f4 (sys_read+0x4c)
 > 	 sp = 0xdd3eed90  fp = 0xdd3eedb8
 > 	 r4 = 0xc2819960  r5 = 0x00000000
 > 	 r6 = 0xbfffe5a0  r7 = 0x00000000
 > 	 r8 = 0xdd3eee10  r9 = 0xc2872640
 > sys_read() at sys_read+0x4c
 > 	 pc = 0xc02866f4  lr = 0xc0476bc4 (swi_handler+0x284)
 > 	 sp = 0xdd3eedc0  fp = 0xdd3eee58
 > swi_handler() at swi_handler+0x284
 > 	 pc = 0xc0476bc4  lr = 0xc0466928 (swi_entry+0x2c)
 > 	 sp = 0xdd3eee60  fp = 0xbfffedc0
 > 	 r4 = 0x000378f8  r5 = 0x0002d258
 > 	 r6 = 0xbfffe5a0  r7 = 0x00000003
 > 	 r8 = 0x00000000  r9 = 0x521d3af3
 > swi_entry() at swi_entry+0x2c
 > 	 pc = 0xc0466928  lr = 0xc0466928 (swi_entry+0x2c)
 > 	 sp = 0xdd3eee60  fp = 0xbfffedc0
 > Unable to unwind further
 > 
 > vm_fault(0xc28999e0, 3601a000, 2, 0) -> 5
 > Fatal kernel mode data abort: 'Translation Fault (S)'
 > trapframe: 0xdd3eec58
 > FSR=00000805, FAR=3601a8c4, spsr=20000013
 > r0 =3601a8c0, r1 =c272fb00, r2 =c04c14d9, r3 =000005ef
 > r4 =c056b1cc, r5 =c2857da4, r6 =c2857d00, r7 =3601a8c0
 > r8 =00000000, r9 =c2857d88, r10=c272fd00, r11=dd3eed10
 > r12=00000000, ssp=dd3eeca8, slr=c2819960, pc =c02a9aec
 > 
 > [ thread pid 542 tid 100059 ]
 > Stopped at      soreceive_generic+0x4a8:        str     r1, [r0, #0x004]
 > db> 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 
 This problem was caused by recent changes to the layout of struct mbuf
 and the structures embedded within it.  Fixed in r254973.
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308281220.r7SCK07c091813>