pine64 stack backtrace

laamalif at pm.me laamalif at pm.me
Mon Aug 27 20:09:17 UTC 2018


FreeBSD 12.0-ALPHA3 #0 r338287
SanDisk Extreme Pro 32GB UHS-I Card

root at pine64:~ # dmesg
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 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 12.0-ALPHA3 #0 r338287: Fri Aug 24 03:43:03 UTC 2018
    root at releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
KLD file umodem.ko is missing dependencies
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 47ffe000 mode 2 pages 2
MAP 48005000 mode 2 pages 2
MAP b8f1e000 mode 2 pages 1
MAP bdfb9000 mode 2 pages 2
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
clk_fixed1: <Fixed clock> on ofwbus0
clk_fixed2: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
ccu_a64ng0: <Allwinner A64 Clock Control Unit NG> mem 0x1c20000-0x1c203ff on simplebus0
iichb0: <Allwinner Integrated I2C Bus Controller> mem 0x1c2b000-0x1c2b3ff irq 25 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
ccu_sun8i_r0: <Allwinner SUN8I_R Clock Control Unit NG> mem 0x1f01400-0x1f014ff on simplebus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
iichb1: <Allwinner RSB> mem 0x1f03400-0x1f037ff irq 35 on simplebus0
iicbus1: <OFW I2C bus> on iichb1
gic0: <ARM Generic Interrupt Controller> mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 30 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x1c20800-0x1c20bff irq 13,14,15 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
aw_nmi0: <Allwinner NMI Controller> mem 0x1f00c00-0x1f00fff irq 33 on simplebus0
gpio1: <Allwinner GPIO/Pinmux controller> mem 0x1f02c00-0x1f02fff irq 34 on simplebus0
gpiobus1: <OFW GPIO bus> on gpio1
axp8xx_pmu0: <X-Powers AXP803 Power Management Unit> at addr 0x746 irq 37 on iicbus1
gpiobus2: <OFW GPIO bus> on axp8xx_pmu0
generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
rtc0: <Allwinner RTC> mem 0x1f00000-0x1f00053 irq 31,32 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
aw_syscon0: <Allwinner syscon> mem 0x1c00000-0x1c00fff on simplebus0
awusbphy0: <Allwinner USB PHY> mem 0x1c19400-0x1c19413,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x1c0f000-0x1c0ffff irq 5 on simplebus0
mmc0: <MMC/SD bus> on aw_mmc0
ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c1a000-0x1c1a0ff irq 9 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ohci0: <Generic OHCI Controller> mem 0x1c1a400-0x1c1a4ff irq 10 on simplebus0
usbus1 on ohci0
ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1b000-0x1c1b0ff irq 11 on simplebus0
usbus2: EHCI version 1.0
usbus2 on ehci1
ohci1: <Generic OHCI Controller> mem 0x1c1b400-0x1c1b4ff irq 12 on simplebus0
usbus3 on ohci1
gpioc0: <GPIO controller> on gpio0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 19 on simplebus0
uart0: console (115384,n,8,1)
iic0: <I2C generic I/O> on iicbus0
awg0: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c3ffff irq 29 on simplebus0
miibus0: <MII bus> on awg0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
awg0: Ethernet address: 02:ba:61:71:f2:e7
gpioc1: <GPIO controller> on gpio1
gpioc2: <GPIO controller> on axp8xx_pmu0
iic1: <I2C generic I/O> on iicbus1
aw_wdog0: <Allwinner A31 Watchdog> mem 0x1c20ca0-0x1c20cbf irq 36 on simplebus0
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen1.1: <Generic OHCI root HUB> at usbus1
uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Allwinner EHCI root HUB> at usbus2
uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen0.1: <Allwinner EHCI root HUB> at usbus0
uhub2: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
mmcsd0: 32GB <SDHC SP32G 8.0 SN B23036C3 MFG 07/2018 by 3 SD> at mmc0 50.0MHz/4bit/32768-block
Release APs...done
CPU  0: ARM Cortex-A53 r0p4 affinity:  0
mmc0: Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
Failed to set VCCQ for card at relative address 43690
Instruction Set Attributes 1 = <>
         Processor Features 0 = <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <0>
      Memory Model Features 0 = <4k Granule,64k Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA>
      Memory Model Features 1 = <>
      Memory Model Features 2 = <32b CCIDX,48b VA>
             Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
             Debug Features 1 = <0>
         Auxiliary Features 0 = <0>
         Auxiliary Features 1 = <0>
CPU  1: ARM Cortex-A53 r0p4 affinity:  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  2
CPU  3: ARM Cortex-A53 r0p4 affinity:  3
WARNING: WITNESS option enabled, expect reduced performance.
uhub0: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
ugen3.2: <Gaming KB Gaming KB> at usbus3
ukbd0 on uhub3
ukbd0: <Gaming KB Gaming KB, class 0/0, rev 1.10/20.03, addr 2> on usbus3
kbd1 at ukbd0
ukbd1 on uhub3
ukbd1: <Gaming KB Gaming KB, class 0/0, rev 1.10/20.03, addr 2> on usbus3
kbd2 at ukbd1
lo0: link state changed to UP
awg0: link state changed to DOWN
awg0: link state changed to UP
lock order reversal:
1st 0xffff000040e07e98 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3916
2nd 0xfffffd0000242a00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:289
stack backtrace:
#0 0xffff0000003ec3bc at witness_debugger+0x64
#1 0xffff0000003914f8 at _sx_xlock+0x7c
#2 0xffff000000631df0 at ufsdirhash_add+0x38
#3 0xffff000000634834 at ufs_direnter+0x3a0
#4 0xffff00000063cb84 at ufs_makeinode+0x4b8
#5 0xffff0000006392ec at ufs_create+0x38
#6 0xffff0000006ee314 at VOP_CREATE_APV+0xa8
#7 0xffff00000045d1e0 at vn_open_cred+0x264
#8 0xffff000000456574 at kern_openat+0x208
#9 0xffff0000006b61f8 at do_el0_sync+0x4b8
#10 0xffff00000069da00 at handle_el0_sync+0x84
lock order reversal:
1st 0xfffffd0003ebb248 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2590
2nd 0xffff000040d0ad60 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:282
3rd 0xfffffd004269a068 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2590
stack backtrace:
#0 0xffff0000003ec3bc at witness_debugger+0x64
#1 0xffff00000035f618 at lockmgr_xlock_hard+0x6c
#2 0xffff00000035fff4 at __lockmgr_args+0x60c
#3 0xffff00000062d42c at ffs_lock+0x88
#4 0xffff0000006f0f18 at VOP_LOCK1_APV+0xa8
#5 0xffff00000045d850 at _vn_lock+0x58
#6 0xffff00000044df98 at vget+0x58
#7 0xffff000000441198 at vfs_hash_get+0xec
#8 0xffff00000062956c at ffs_vgetf+0x44
#9 0xffff0000006203f0 at softdep_sync_buf+0x8e8
#10 0xffff00000062e0d0 at ffs_syncvnode+0x1f8
#11 0xffff000000608bcc at ffs_truncate+0x6c4
#12 0xffff000000634bfc at ufs_direnter+0x768
#13 0xffff00000063cb84 at ufs_makeinode+0x4b8
#14 0xffff0000006392ec at ufs_create+0x38
#15 0xffff0000006ee314 at VOP_CREATE_APV+0xa8
#16 0xffff00000045d1e0 at vn_open_cred+0x264
#17 0xffff000000456574 at kern_openat+0x208


More information about the freebsd-arm mailing list