Summary: | Kernel panic: Fatal data abort 14.0-CURRENT #0 main-n254435-8af24219565 | ||
---|---|---|---|
Product: | Base System | Reporter: | Martin Filla <freebsd> |
Component: | kern | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | markj |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | arm64 | ||
OS: | Any |
Description
Martin Filla
2022-04-16 16:07:26 UTC
I believe this is a regression fixed by https://cgit.freebsd.org/src/commit/?id=f3ef799f564515b58a24a328739a4c749a02b110 Please try a kernel which includes that change. (In reply to Mark Johnston from comment #1) I fetched last base.txz kernel.txz and without result (In reply to Martin Filla from comment #2) Looks like the arm64 snapshots still have the bug, they haven't been rebuilt since the 7th. I'm not sure why it takes so long. The next snapshot should include the bug fix. (In reply to Mark Johnston from comment #1) I tried kernel with commit and issue is fixed. I have in log only this: lock order reversal: (sleepable after non-sleepable) 1st 0xffffa00000f96620 spi0 (spi0, sleep mutex) @ /usr/src/sys/arm64/rockchip/rk_spi.c:432 2nd 0xffff000000c6da28 Clock topology lock (Clock topology lock, sx) @ /usr/src/sys/dev/extres/clk/clk.c:1200 lock order spi0 -> Clock topology lock attempted at: #0 0xffff0000004e5f00 at witness_checkorder+0xaf8 #1 0xffff0000004815b4 at _sx_xlock+0x7c #2 0xffff00000019c818 at clk_set_freq+0x4c #3 0xffff00000083c9a8 at rk_spi_transfer+0x15c #4 0xffff0000cc63475c at mx25l_attach+0xdc #5 0xffff0000004b12b8 at device_attach+0x3f8 #6 0xffff0000004b0e28 at device_probe_and_attach+0x7c #7 0xffff0000004b306c at bus_generic_driver_added+0x88 #8 0xffff0000004ae530 at devclass_driver_added+0x44 #9 0xffff0000004b7384 at device_do_deferred_actions+0x70 #10 0xffff0000004b6f38 at devctl2_ioctl+0x3d0 #11 0xffff00000031e24c at devfs_ioctl+0xd4 #12 0xffff0000005743a0 at vn_ioctl+0x104 #13 0xffff00000031e940 at devfs_ioctl_f+0x20 #14 0xffff0000004ebdf0 at kern_ioctl+0x2e4 #15 0xffff0000004ebac0 at sys_ioctl+0x144 #16 0xffff00000078ada0 at do_el0_sync+0x524 #17 0xffff000000769104 at handle_el0_sync+0x40 mx25l0: Unknown SPI flash device. Vendor: 5e, device id: 4018 (In reply to Martin Filla from comment #5) This is a warning about a lock order reversal. It's worth fixing but I don't think it'll affect any functionality. we can close this bug |