RockPro64 with u-boot 2010.01
Klaus Küchemann
maciphone2 at googlemail.com
Wed Mar 4 21:12:32 UTC 2020
> Am 04.03.2020 um 20:38 schrieb Emmanuel Vadot <manu at bidouilliste.com>:
> …...
> We now need someone smarted than me to debug this problem ...
>
> --
> Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>
lol, I don't feel addressed , nevertheless a few hints for the smartest of the smart (perhaps imp in this context).
It has to do with the SCSI-address of the card reader , since only cardreaders panic ,similar like here :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224037
Every other USB-plugged hardware(e.g HDD) I tested works …
Here`s the probe from generic-mmccam :
—
root at generic:~ # cat pagefault
mountroot> ugen4.2: <Generic Flash Card Reader/Writer> at usbus4
umass0 on uhub0
umass0: <Generic Flash Card Reader/Writer, class 0/0, rev 2.00/1.00, addr 1> on usbus4
umass0: SCSI over Bulk-Only; quirks = 0x4001
umass0:1:0: Attached to scbus1
(probe0:umass-sim0:0:0:0): (noperiph:umass-sim0:0:-1:ffffffff): Periph created
xpt_async(AC_PATH_REGISTERED)
(probe0:umass-sim0:0:0:0): Probe started
(probe0:umass-sim0:0:0:0): Probe PROBE_INVALID to PROBE_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_INQUIRY to PROBE_SUPPORTED_VPD_LIST
(probe0:umass-sim0:0:0:0): Probe PROBE_SUPPORTED_VPD_LIST to PROBE_DEVICE_ID
(probe0:umass-sim0:0:0:0): Probe PROBE_DEVICE_ID to PROBE_EXTENDED_INQUIRY
(probe0:umass-sim0:0:0:0): Probe PROBE_EXTENDED_INQUIRY to PROBE_SERIAL_NUM
(probe0:umass-sim0:0:0:0): Probe PROBE_SERIAL_NUM to PROBE_TUR_FOR_NEGOTIATION
(probe0:umass-sim0:0:0:0): (noperiph:umass-sim0:0:0:0): Probe PROBE_TUR_FOR_NEGOTIATION to PROBE_DONE
xpt_async(AC_FOUND_DEVICE)
(probe0:umass-sim0:0:0:0): Probe completed
(probe0:umass-sim0:0:0:0): Periph invalidated
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex CAM bus lock (CAM bus lock) r = 0 (0xfffffd00008af6e0) locked @ /usr/src/sys/cam/cam_xpt.c:1025
exclusive sleep mutex XPT topology lock (XPT topology lock) r = 0 (0xffff000000b40600) locked @ /usr/src/sys/cam/cam_xpt.c:5347
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xfffffd000335fcd0) locked @ /usr/src/sys/cam/cam_xpt.c:5474
stack backtrace:
#0 0xffff000000478f8c at witness_debugger+0x64
#1 0xffff000000479fd4 at witness_warn+0x400
#2 0xffff000000774398 at data_abort+0xec
#3 0xffff0000007737d8 at do_el1h_sync+0x144
#4 0xffff000000757878 at handle_el1h_sync+0x78
#5 0xffff0000000175a8 at xpt_remove_periph+0x38
#6 0xffff0000000136a4 at cam_periph_release_locked_buses+0x184
#7 0xffff00000001384c at cam_periph_release_locked+0x1c
#8 0xffff0000000310f0 at probedone+0x17c4
#9 0xffff00000001e6d0 at xpt_done_process+0x31c
#10 0xffff0000000203c8 at xpt_done_td+0xd8
#11 0xffff0000003cdb1c at fork_exit+0x7c
x0: fffffd00008af6e0
x1: 8
x2: ffff0000008545c4
x3: 401
x4: fffffd00ecd94d00
x5: 11a
x6: bb
x7: ffff00004036c338
x8: deadc0dedeadc0de
x9: deadc0dedeadc0de
x10: deadc0df
x11: 10000
x12: ffff000000d48b98
x13: ffffffff
x14: 0
x15: 10000
x16: 1
x17: 10000
x18: ffff00004036c170
x19: fffffd000336eb00
x20: fffffd000335f800
x21: fffffd000335c000
x22: ffff000000a8b000
x23: ffff0000007ef50a
x24: ffff0000011d5000
x25: fffffd0003303180
x26: fffffd000335c810
x27: fffffd000336eb00
x28: fffffd000335c800
x29: ffff00004036c180
sp: ffff00004036c170
lr: ffff0000000175ac
elr: ffff0000000175cc
spsr: 80000145
far: deadc0dedeadc13e
esr: 96000004
panic: data abort in critical section or under mutex
cpuid = 1
time = 113
KDB: stack backtrace:
db_trace_self() at db_trace_self_wrapper+0x28
pc = 0xffff000000754d7c lr = 0xffff000000110a04
sp = 0xffff00004036bb60 fp = 0xffff00004036bd70
db_trace_self_wrapper() at vpanic+0x194
pc = 0xffff000000110a04 lr = 0xffff000000410408
sp = 0xffff00004036bd80 fp = 0xffff00004036be30
vpanic() at panic+0x44
pc = 0xffff000000410408 lr = 0xffff0000004101b0
sp = 0xffff00004036be40 fp = 0xffff00004036bec0
panic() at data_abort+0x250
pc = 0xffff0000004101b0 lr = 0xffff0000007744fc
sp = 0xffff00004036bed0 fp = 0xffff00004036bf80
data_abort() at do_el1h_sync+0x144
pc = 0xffff0000007744fc lr = 0xffff0000007737d8
sp = 0xffff00004036bf90 fp = 0xffff00004036bfc0
do_el1h_sync() at handle_el1h_sync+0x78
pc = 0xffff0000007737d8 lr = 0xffff000000757878
sp = 0xffff00004036bfd0 fp = 0xffff00004036c0e0
handle_el1h_sync() at xpt_remove_periph+0x38
pc = 0xffff000000757878 lr = 0xffff0000000175a8
sp = 0xffff00004036c0f0 fp = 0xffff00004036c180
xpt_remove_periph() at cam_periph_release_locked_buses+0x184
pc = 0xffff0000000175a8 lr = 0xffff0000000136a4
sp = 0xffff00004036c190 fp = 0xffff00004036c6a0
cam_periph_release_locked_buses() at cam_periph_release_locked+0x1c
pc = 0xffff0000000136a4 lr = 0xffff00000001384c
sp = 0xffff00004036c6b0 fp = 0xffff00004036c6c0
cam_periph_release_locked() at probedone+0x17c4
pc = 0xffff00000001384c lr = 0xffff0000000310f0
sp = 0xffff00004036c6d0 fp = 0xffff00004036c8b0
probedone() at xpt_done_process+0x31c
pc = 0xffff0000000310f0 lr = 0xffff00000001e6d0
sp = 0xffff00004036c8c0 fp = 0xffff00004036c8e0
xpt_done_process() at xpt_done_td+0xd8
pc = 0xffff00000001e6d0 lr = 0xffff0000000203c8
sp = 0xffff00004036c8f0 fp = 0xffff00004036c940
xpt_done_td() at fork_exit+0x7c
pc = 0xffff0000000203c8 lr = 0xffff0000003cdb1c
sp = 0xffff00004036c950 fp = 0xffff00004036c980
fork_exit() at fork_trampoline+0x10
pc = 0xffff0000003cdb1c lr = 0xffff00000077350c
sp = 0xffff00004036c990 fp = 0x0000000000000000
KDB: enter: panic
[ thread pid 9 tid 100043 ]
Stopped at xpt_remove_periph+0x5c: ldr x9, [x9, #96]
More information about the freebsd-arm
mailing list