Hi, I've successfully boot into single user mode using the GENERIC-MMCCAM 13-CURRENT kernel, The last few lines of log have some stack backtraces, they doesn't stop stop the boot process, but seems like bug to me. is this normal? Using DTB provided by EFI0at70x80f0000. ---<<BOOT>>--- 57 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 HsThe Regents of the University of California. All rights reserved. ` FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 141dd35d7f1-c262723(myfreebweb)-dirty: Tue Sep 17 15:28:37 NZST 2019 root@dez:/usr/obj/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM arm64 FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface MAP f4f2a000 mode 2 pages 1 MAP f4f2c000 mode 2 pages 1 MAP f7f40000 mode 2 pages 16 kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> clk_fixed0: <Fixed clock> on ofwbus0 simplebus0: <Flattened device tree simple bus> on ofwbus0 rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0 rk_grf1: <RockChip General Register Files> mem 0xff770000-0xff77ffff on ofwbus0 clk_fixed1: <Fixed clock> on ofwbus0 regfix0: <Fixed Regulator> on ofwbus0 regfix1: <Fixed Regulator> on ofwbus0 regfix2: <Fixed Regulator> on ofwbus0 regfix3: <Fixed Regulator> on ofwbus0 regfix4: <Fixed Regulator> on ofwbus0 regfix5: <Fixed Regulator> on ofwbus0 regfix6: <Fixed Regulator> on ofwbus0 simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff310000-0xff310fff on ofwbus0 psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0 gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: <ARM GIC Interrupt Translation Service> mem 0xfee20000-0xfee3ffff on gic0 rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0 gpio0: <RockChip GPIO Bank controller> mem 0xff720000-0xff7200ff irq 65 on rk_pinctrl0 gpiobus0: <OFW GPIO bus> on gpio0 gpio1: <RockChip GPIO Bank controller> mem 0xff730000-0xff7300ff irq 66 on rk_pinctrl0 gpiobus1: <OFW GPIO bus> on gpio1 gpio2: <RockChip GPIO Bank controller> mem 0xff780000-0xff7800ff irq 67 on rk_pinctrl0 gpiobus2: <OFW GPIO bus> on gpio2 gpio3: <RockChip GPIO Bank controller> mem 0xff788000-0xff7880ff irq 68 on rk_pinctrl0 gpiobus3: <OFW GPIO bus> on gpio3 gpio4: <RockChip GPIO Bank controller> mem 0xff790000-0xff7900ff irq 69 on rk_pinctrl0 gpiobus4: <OFW GPIO bus> on gpio4 rk_i2c0: <RockChip I2C> mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: <OFW I2C bus> on rk_i2c0 rk_i2c1: <RockChip I2C> mem 0xff130000-0xff130fff irq 22 on ofwbus0 iicbus1: <OFW I2C bus> on rk_i2c1 rk_i2c2: <RockChip I2C> mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus2: <OFW I2C bus> on rk_i2c2 syr8270: <Silergy SYR827 regulator> at addr 0x80 on iicbus2 rk_i2c3: <RockChip I2C> mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus3: <OFW I2C bus> on rk_i2c3 rk805_pmu0: <RockChip RK805 PMIC> at addr 0x36 irq 70 on iicbus2 generic_timer0: <ARMv8 Generic Timer> irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_emmcphy0: <Rockchip RK3399 eMMC PHY> mem 0-0xff76ffff,0-0xffff on rk_grf1 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 cpufreq_dt0: <Generic cpufreq driver> on cpu0 cpu1: <Open Firmware CPU> on cpulist0 cpufreq_dt1: <Generic cpufreq driver> on cpu1 cpu2: <Open Firmware CPU> on cpulist0 cpufreq_dt2: <Generic cpufreq driver> on cpu2 cpu3: <Open Firmware CPU> on cpulist0 cpufreq_dt3: <Generic cpufreq driver> on cpu3 cpu4: <Open Firmware CPU> on cpulist0 cpufreq_dt4: <Generic cpufreq driver> on cpu4 cpu5: <Open Firmware CPU> on cpulist0 cpufreq_dt5: <Generic cpufreq driver> on cpu5 dwc0: <Rockchip Gigabit Ethernet Controller> mem 0xfe300000-0xfe30ffff irq 9 on ofwbus0 miibus0: <MII bus> on dwc0 rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto dwc0: Ethernet address: 62:73:64:cd:84:c2 rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a sdhci_fdt0: <Rockchip RK3399 fdt SDHCI controller> mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0 rk_emmcphy0: got emmcclk clock sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk. sdhci_fdt0: 1 slot(s) allocated mmc_alloc_device() ohci0: <Generic OHCI Controller> mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0 usbus0 on ohci0 ohci1: <Generic OHCI Controller> mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0 usbus1 on ohci1 iic0: <I2C generic I/O> on iicbus0 iic1: <I2C generic I/O> on iicbus1 uart0: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart0: console (1500000,n,8,1) syscon_generic0: <syscon> mem 0xffa58000-0xffa5801f on ofwbus0 syscon_generic1: <syscon> mem 0xffa5c000-0xffa5c01f on ofwbus0 syscon_generic2: <syscon> mem 0xffa60080-0xffa6009f on ofwbus0 syscon_generic3: <syscon> mem 0xffa60100-0xffa6011f on ofwbus0 syscon_generic4: <syscon> mem 0xffa60180-0xffa6019f on ofwbus0 syscon_generic5: <syscon> mem 0xffa70000-0xffa7001f on ofwbus0 syscon_generic6: <syscon> mem 0xffa70080-0xffa7009f on ofwbus0 syscon_generic7: <syscon> mem 0xffa74000-0xffa7401f on ofwbus0 syscon_generic8: <syscon> mem 0xffa76000-0xffa7601f on ofwbus0 syscon_generic9: <syscon> mem 0xffa90000-0xffa9001f on ofwbus0 syscon_generic10: <syscon> mem 0xffa98000-0xffa9801f on ofwbus0 syscon_generic11: <syscon> mem 0xffaa0000-0xffaa001f on ofwbus0 syscon_generic12: <syscon> mem 0xffaa0080-0xffaa009f on ofwbus0 syscon_generic13: <syscon> mem 0xffaa8000-0xffaa801f on ofwbus0 syscon_generic14: <syscon> mem 0xffaa8080-0xffaa809f on ofwbus0 syscon_generic15: <syscon> mem 0xffab0000-0xffab001f on ofwbus0 syscon_generic16: <syscon> mem 0xffab0080-0xffab009f on ofwbus0 syscon_generic17: <syscon> mem 0xffab8000-0xffab801f on ofwbus0 syscon_generic18: <syscon> mem 0xffac0000-0xffac001f on ofwbus0 syscon_generic19: <syscon> mem 0xffac0080-0xffac009f on ofwbus0 syscon_generic20: <syscon> mem 0xffac8000-0xffac801f on ofwbus0 syscon_generic21: <syscon> mem 0xffac8080-0xffac809f on ofwbus0 syscon_generic22: <syscon> mem 0xffad0000-0xffad001f on ofwbus0 syscon_generic23: <syscon> mem 0xffad8080-0xffad809f on ofwbus0 syscon_generic24: <syscon> mem 0xffae0000-0xffae001f on ofwbus0 syscon_generic25: <syscon> mem 0xff330000-0xff33e3d3 on ofwbus0 iicbus2: <unknown card> at addr 0x82 iic2: <I2C generic I/O> on iicbus2 iic3: <I2C generic I/O> on iicbus3 syscon_generic26: <syscon> mem 0xff620000-0xff6200ff on ofwbus0 gpioc0: <GPIO controller> on gpio0 gpioc1: <GPIO controller> on gpio1 gpioc2: <GPIO controller> on gpio2 gpioc3: <GPIO controller> on gpio3 gpioc4: <GPIO controller> on gpio4 cryptosoft0: <software crypto> Timecounters tick every 1.000 msec mmc_dev_async(async_code=0x20, path_id=0, target_id=0, lun_id=0 Got AC_PATH_REGISTERED -- whatever... mmc_dev_async(async_code=0x20, path_id=0, target_id=ffffffff, lun_id=ffffffff usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 (noperiph:sdhci_slot0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} (noperiph:sdhci_slot0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} (noperiph:sdhci_slot0:0:0:0): Set up the mmcprobe device... (mmcprobe0:sdhci_slot0:0:0:0): Periph created (mmcprobe0:sdhci_slot0:0:0:0): Probe started (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_INVALID to PROBE_RESET ugen0.1: <Generic OHCI root HUB> at usbus0 uhub0 on usbus0 uhub0: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <Generic OHCI root HUB> at usbus1 uhub1 on usbus1 uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_RESET sdhci_fdt0-slot0: Clock => 0 sdhci_fdt0-slot0: VDD => 7 sdhci_fdt0-slot0: CS => 0 sdhci_fdt0-slot0: Bus width => 0 sdhci_fdt0-slot0: Power mode => 1 sdhci_fdt0-slot0: Bus mode => 1 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=1, clk=0, bus_width=0, timing=0 sdhci_fdt0-slot0: Clock => 399193 sdhci_fdt0-slot0: Power mode => 2 sdhci_fdt0-slot0: Timing => 0 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=399193, bus_width=0, timing=0 sdhci_fdt0-slot0: CS => 1 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=399193, bus_width=0, timing=0 (mmcprobe0:sdhci_slot0:0:0:0): Send first XPT_MMC_IO (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done Starting completion of PROBE_RESET (mmcprobe0:sdhci_slot0:0:0:0): done with PROBE_RESET (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_RESET to PROBE_SEND_IF_COND (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SEND_IF_COND mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): IF_COND: error 1, pattern 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_RESET mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_INIT mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): APP_OP_COND: error 1, resp 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR 40ff8080 (mmcprobe0:sdhci_slot0:0:0:0): -> sending OCR to card (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT mmc_probedone: remaining freezecnt 1 (mmcprobe: mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR 40ff8080 (mmcprobe0:sdhci_slot0:0:0:0): Card is still powering up (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR c0ff8080 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_MMC_INIT to PROBE_GET_CID (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): CID 8801034e436172642017a5f68b425500 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_GET_CID to PROBE_MMC_SET_RELATIVE_ADDR (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_MMC_SET_RELATIVE_ADDR to PROBE_GET_CSD (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): CSD d0ffff320f5903ffffffffe796400000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_GET_CSD to PROBE_SELECT_CARD (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start mmc_probedone: remaining freezecnt 1 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SELECT_CARD to PROBE_DONE (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_DONE sdhci_fdt0-slot0: Bus mode => 2 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=399193, bus_width=0, timing=0 mmc_probedone: remaining freezecnt 0 (mmcprobe0:sdhci_slot0:0:0:0): Periph invalidated (mmcprobe0:sdhci_slot0:0:0:0): Periph destroyed (noperiph:sdhci_slot0:0:0:0): xpt_async(AC_FOUND_DEVICE) mmc_dev_async(async_code=0x80, path_id=0, target_id=0, lun_id=0 Got AC_FOUND_DEVICE -- whatever... (sdda0:sdhci_slot0:0:0:0): Periph created (pass0:sdhci_slot0:0:0:0): Periph created Release APs...done (sdda0:sdhci_slot0:0:0:0): Capacity: 31037849600, sectors: 60620800 (sdda0:sdhci_slot0:0:0:0): Set SD freq to 52 MHz (min out of host f=198 MHz and card f=52 MHz) sdhci_fdt0-slot0: Timing => 1 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=399193, bus_width=0, timing=1 sdhci_fdt0-slot0: Clock => 49500000 CPU 0: ARM Cortex-A53 r0p4 affinity: 0 0 sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=49500000, bus_width=0, timing=1 Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL> Instruction Set Attributes 1 = <> Processor Features 0 = <GIC,AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32> (sdda0:sdhci_slot0:0:0:0): Processor Features 1 = <0> Set bus width to 8-bit (min of host 8-bit and card 8-bit) Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TB PA> sdhci_fdt0-slot0: Bus width => 3 Memory Model Features 1 = <> sdhci_fdt0-slot0: sdhci_cam_update_ios: power_mode=2, clk=49500000, bus_width=3, timing=1 Memory Model Features 2 = <32b CCIDX,48b VA> (sdda0:sdhci_slot0:0:0:0): Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8> Partition type 'default', size 31037849600 uma_zalloc_arg: zone "128"Trying to mount root from ufs:/dev/sdda0s2 [rw,noatime]... with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock)mountroot: waiting for device /dev/sdda0s2... r = 0 (0xfffffd0000ff64d0) locked @ /usr/src/sys/cam/mmc/mmc_da.c:1103 stack backtrace: Debug Features 1 = <0> Auxiliary Features 0 = <0> Auxiliary Features 1 = <0> #0 0xffff0000004670d4 at witnesCPU 1: ARM Cortex-A53 r0p4 affinity: 0 1 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TB PA> s_debugger+0x64 #1 0xffff000000CPU 2: ARM Cortex-A53 r0p4 affinity: 0 2 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TB PA> 4680cc at witness_warn+0x3dc #2CPU 3: ARM Cortex-A53 r0p4 affinity: 0 3 0xffff0000006b6438 at uma_zall Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TBU 4: ARM Cortex-A72 r0p2 affinity: 1 0 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,16TB PA> 68 at malloc+0x9c CPU 5: ARM Cortex-A72 r0p2 affinity: 1 1 #4 0xffff0000 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,16TB PA> 000428d0 at sdda_add_part+0xf4 #5 0xffff00000004249c at sdda_start_init_task+0x1778 #6 0xffffWARNING: WITNESS option enabled, expect reduced performance. 00000045a758 at taskqueue_run_locked+0xe8 #7 0xffff00000045b728 at taskqueue_thread_loop+0x9c #8 0xffff0000003c0e90 at fork_exit+0x7c (sdda0:sdhci_slot0:0:0:0): Partition type 'boot0', size 4194304 uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffd0000ff64d0) locked @ /usr/src/sys/cam/mmc/mmc_da.c:1554 stack backtrace: #0 0xffff0000004670d4 at witness_debugger+0x64 #1 0xffff0000004680cc at witness_warn+0x3dc #2 0xffff0000006b6438 at uma_zalloc_arg+0x44 #3 0xffff0000003da168 at malloc+0x9c #4 0xffff0000000428d0 at sdda_add_part+0xf4 #5 0xffff000000042628 at sdda_start_init_task+0x1904 #6 0xffff00000045a758 at taskqueue_run_locked+0xe8 #7 0xffff00000045b728 at taskqueue_thread_loop+0x9c #8 0xffff0000003c0e90 at fork_exit+0x7c (sdda0:sdhci_slot0:0:0:0): Partition type 'boot1', size 4194304 uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffd0000ff64d0) locked @ /usr/src/sys/cam/mmc/mmc_da.c:1554 stack backtrace: #0 0xffff0000004670d4 at witness_debugger+0x64 #1 0xffff0000004680cc at witness_warn+0x3dc #2 0xffff0000006b6438 at uma_zalloc_arg+0x44 #3 0xffff0000003da168 at malloc+0x9c #4 0xffff0000000428d0 at sdda_add_part+0xf4 #5 0xffff00000004264c at sdda_start_init_task+0x1928 #6 0xffff00000045a758 at taskqueue_run_locked+0xe8 #7 0xffff00000045b728 at taskqueue_thread_loop+0x9c #8 0xffff0000003c0e90 at fork_exit+0x7c (sdda0:sdhci_slot0:0:0:0): Partition type 'RPMB', size 4194304 uma_zalloc_arg: zone "128" with the following non-sleepable locks held: exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffd0000ff64d0) locked @ /usr/src/sys/cam/mmc/mmc_da.c:1554 stack backtrace: #0 0xffff0000004670d4 at witness_debugger+0x64 #1 0xffff0000004680cc at witness_warn+0x3dc #2 0xffff0000006b6438 at uma_zalloc_arg+0x44 #3 0xffff0000003da168 at malloc+0x9c #4 0xffff0000000428d0 at sdda_add_part+0xf4 #5 0xffff00000004267c at sdda_start_init_task+0x1958 #6 0xffff00000045a758 at taskqueue_run_locked+0xe8 #7 0xffff00000045b728 at taskqueue_thread_loop+0x9c #8 0xffff0000003c0e90 at fork_exit+0x7c (sdda0:sdhci_slot0:0:0:0): Don't know what to do with RPMB partitions yet sdda0 at sdhci_slot0 bus 0 scbus0 target 0 lun 0 sdda0: Relative addr: 00000002 Card features: <MMC Memory High-Capacity > Card memory OCR: 40ff8080 sdda0: Serial Number A5F68B4 (sdda0:sdhci_slot0:0:0:0): mmc_announce_periph: called XPT info: CLK 2F34F60, ... sdda0: MMCHC NCard 1.7 SN A5F68B42 MFG 05/2002 by 136 0x0003 (sdda0:sdhci_slot0:0:0:0): Partition 0 -> 1 (sdda0:sdhci_slot0:0:0:0): Partition 1 -> 2 (sdda0:sdhci_slot0:0:0:0): Partition 2 -> 0 Warning: no time-of-day clock registered, system time will not be set accurately Enter full pathname of shell or RETURN for /bin/sh:
*** This bug has been marked as a duplicate of bug 240644 ***
It's good to know both bugs are related
The witness warnings are because the CAM probe device isn't allowed to sleep in its completion routine, and by allocating memory there it is sleeping. I'll see what it's allocating to see if there a simple / easy fix.
Hi Warner, Good to know you are also working on this board. I hope this board will be usable before 12.1 release.