[Bug 254229] Kernel pcanic when connect USB mass storage on Raspberry Pi 4

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254229

            Bug ID: 254229
           Summary: Kernel pcanic when connect USB mass storage on
                    Raspberry Pi 4
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: [email protected]
          Reporter: [email protected]

I used snapshot of
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img.xz
My RPI4 is 8GB model.

I tested all USB ports and some devices.

----
ugen0.5: <vendor 0x174c USB 3.1 Device PM> at usbus0
umass0 on uhub0
umass0: <vendor 0x174c USB 3.1 Device PM, class 0/0, rev 3.10/1.00, addr 4> on
usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:0:0: Attached to scbus0
opanic: malloc(M_WAITOK) with sleeping prohibited
cpuid = 0
time = 1615452946
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x184
panic() at panic+0x44
malloc_dbg() at malloc_dbg+0xf8
malloc() at malloc+0x30
disk_alloc() at disk_alloc+0x1c
daregister() at daregister+0x3b8
cam_periph_alloc() at cam_periph_alloc+0x528
daasync() at daasync+0x260
xpt_async_process_dev() at xpt_async_process_dev+0x194
xpt_async_process() at xpt_async_process+0x3a0
xpt_done_process() at xpt_done_process+0x314
xpt_done_td() at xpt_done_td+0xd8
fork_exit() at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x14
KDB: enter: panic
[ thread pid 7 tid 100044 ]
Stopped at      kdb_enter+0x44: undefined       f902811f
---


---
ugen0.3: <USB Flash Disk> at usbus0
umass0 on uhub1
umass0: <USB Flash Disk, class 0/0, rev 2.10/11.00, addr 2> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:0:0: Attached to scbus0
panic: malloc(M_WAITOK) with sleeping prohibited
cpuid = 2
time = 1615455121
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x184
panic() at panic+0x44
malloc_dbg() at malloc_dbg+0xf8
malloc() at malloc+0x30
disk_alloc() at disk_alloc+0x1c
daregister() at daregister+0x3b8
cam_periph_alloc() at cam_periph_alloc+0x528
daasync() at daasync+0x260
xpt_async_process_dev() at xpt_async_process_dev+0x194
xpt_async_process() at xpt_async_process+0x3a0
xpt_done_process() at xpt_done_process+0x314
xpt_done_td() at xpt_done_td+0xd8
fork_exit() at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x14
KDB: enter: panic
[ thread pid 7 tid 100044 ]
Stopped at      kdb_enter+0x44: undefined       f902811f
---

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.