Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic when writing lots of data to sd card #22

Open
VladimirKempik opened this issue Jan 18, 2024 · 0 comments
Open

Kernel panic when writing lots of data to sd card #22

VladimirKempik opened this issue Jan 18, 2024 · 0 comments

Comments

@VladimirKempik
Copy link

Writing tens of megabytes to sd card for a few minutes then getting kernel panic ( seeing it on uart console)

[  898.206451] Unable to handle kernel paging request at virtual address 000000136880fed2
[  898.208301] Unable to handle kernel paging request at virtual address 0000000336b11660
[  898.214435] Oops [#1]
[  898.224632] Modules linked in: dwc3 roles dwc3_thead
[  898.229628] CPU: 0 PID: 105 Comm: kworker/0:2 Not tainted 5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.238778] Workqueue: events sdio_irq_work
[  898.242984] epc : kfree+0x92/0x4a4
[  898.246400]  ra : _rtw_mfree+0x10/0x18
[  898.250157] epc: ffffffe00038b3b2 ra : ffffffe00095da44 sp : ffffffe1018afc30
[  898.257299]  gp : ffffffe001611290 tp : ffffffe1017cb600 t0 : ffffffe1018afa58
[  898.264528]  t1 : 0000000000000008 t2 : 0000000000000000 s0 : ffffffe1018afc80
[  898.271756]  s1 : ffffffe100c99480 a0 : ffffffe100c99480 a1 : 0000000000000008
[  898.278985]  a2 : 0000000000000006 a3 : 0000000000000000 a4 : 006f340b16e35560
[  898.286212]  a5 : 0000000000000000 a6 : 0000000000000001 a7 : 0000000000000001
[  898.293441]  s2 : 001475136880feaa s3 : ffffffe00095da44 s4 : ffffffe3d7e3a640
[  898.300668]  s5 : ffffffe001615128 s6 : ffffffe001615120 s7 : ffffffe001615f40
[  898.307896]  s8 : 0000000000000001 s9 : ffffffe001615340 s10: 0000000000000000
[  898.315124]  s11: 0000000000000000 t3 : 00000000000003ff t4 : 0000000000000137
[  898.322353]  t5 : 0000000000000007 t6 : ffffffe1018afcf6
[  898.327674] status: 0000000200000120 badaddr: 000000136880fed2 cause: 000000000000000d
[  898.335612] Oops [#2]
[  898.335798] Unable to handle kernel paging request at virtual address ffffff8300b402e0
[  898.336204] Unable to handle kernel paging request at virtual address ffffff975f810513
[  898.337899] Modules linked in: dwc3 roles dwc3_thead
[  898.337928] CPU: 3 PID: 798 Comm: gmain Tainted: G      D           5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.337948] epc : kmem_cache_free+0xb2/0x462
[  898.373009]  ra : putname+0x46/0x52
[  898.376505] epc: ffffffe00038e83a ra : ffffffe0003b1fd4 sp : ffffffe10c337d20
[  898.383645]  gp : ffffffe001611290 tp : ffffffe103acde80 t0 : 00000000000000d8
[  898.390875]  t1 : 0000000000040000 t2 : b9d447ab1853ce3c s0 : ffffffe10c337d70
[  898.398103]  s1 : ffffffe1031ae000 a0 : 0000000000000001 a1 : 0000000000000200
[  898.405329]  a2 : ffffffdfffe00000 a3 : ffffffe3d3e08000 a4 : 47a1450336b11623
[  898.412555]  a5 : 47a1450336b11622 a6 : 0000000000000fd8 a7 : 0000000000000000
[  898.419782]  s2 : ffffffe0ffece800 s3 : 47a1450336b11622 s4 : ffffffe0003b1fd4
[  898.427008]  s5 : ffffffe001615128 s6 : ffffffe001615f40 s7 : ffffffe001615120
[  898.434235]  s8 : 0000003fd7b91478 s9 : 0000002ae5b197d0 s10: 0000003fd8be49b0
[  898.441461]  s11: 0000003fd8c91368 t3 : ffffffd518deffff t4 : fefefefefefefeff
[  898.448688]  t5 : 0000000000000007 t6 : 00000000a21a8caa
[  898.454005] status: 0000000200000120 badaddr: 0000000336b11660 cause: 000000000000000d
[  898.461933] Oops [#3]
[  898.462207] ---[ end trace a5c45f4ead0855a3 ]---
[  898.464215] Modules linked in: dwc3 roles dwc3_thead
[  898.464242] CPU: 0 PID: 2414 Comm: dpkg Tainted: G      D           5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.464256] epc : free_pcppages_bulk+0x100/0x296
[  898.464265]  ra : free_unref_page_commit+0xec/0x100
[  898.493338] epc: ffffffe000372174 ra : ffffffe0003723f6 sp : ffffffe10e20fba0
[  898.500479]  gp : ffffffe001611290 tp : ffffffe103c2b600 t0 : ffffffe10eb9b000
[  898.507707]  t1 : 0000000000000100 t2 : 00b5196302c5352f s0 : ffffffe10e20fc30
[  898.514936]  s1 : 0000000000000002 a0 : ffffffe3d7e07780 a1 : 000000000030f000
[  898.522165]  a2 : ffffffe3ffcb2ec0 a3 : ffffffe3ffcb2ed0 a4 : ffe9a0975f810513
[  898.529392]  a5 : ffffffe3d7e07788 a6 : ffffffffffffffff a7 : 0000000000000122
[  898.536621]  s2 : ffffffe0015bd840 s3 : 0000000000000004 s4 : 000000000030f231
[  898.543848]  s5 : ffffffe3ffcb2ed0 s6 : ffffffe3ffcb2ec0 s7 : 0000000000000000
[  898.551076]  s8 : ffffffe10e20fba8 s9 : ffffffe3ffcb2ec0 s10: fffffffffffffff6
[  898.558302]  s11: 000000000000000a t3 : 0000000000000000 t4 : 0000000000000000
[  898.565529]  t5 : ffffffffe455d934 t6 : 0000000000040000
[  898.570848] status: 0000000200000100 badaddr: ffffff975f810513 cause: 000000000000000f
[  898.578782] Oops [#4]
[  898.579043] Unable to handle kernel paging request at virtual address 0000002246119b06
[  898.581064] Modules linked in: dwc3 roles dwc3_thead
[  898.581090] CPU: 1 PID: 18 Comm: ksoftirqd/1 Tainted: G      D           5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.581109] epc : kmem_cache_free+0xb2/0x462
[  898.589054] ---[ end trace a5c45f4ead0855a4 ]---
[  898.593992]  ra : mempool_free_slab+0x12/0x1a
[  898.593998] epc: ffffffe00038e83a ra : ffffffe00032f5e0 sp : ffffffe100027bb0
[  898.594001]  gp : ffffffe001611290 tp : ffffffe100019b00 t0 : ffffffe10213cb40
[  898.594009]  t1 : 0000000000000039 t2 : 0000000000000000 s0 : ffffffe100027c00
[  898.639263]  s1 : ffffffe10331a780 a0 : 0000000000000001 a1 : 0000000000000200
[  898.646491]  a2 : ffffffdfffe00000 a3 : ffffffe3d3e08000 a4 : 0621058300b402a3
[  898.653719]  a5 : 0621058300b402a2 a6 : 0000000000000001 a7 : 000000000000e90a
[  898.660946]  s2 : ffffffe0ffed8f00 s3 : 0621058300b402a2 s4 : ffffffe00032f5e0
[  898.668173]  s5 : ffffffe001615128 s6 : ffffffe001615f40 s7 : ffffffe001615120
[  898.674747] Unable to handle kernel paging request at virtual address 000000643423f010
[  898.675405]  s8 : 000000000000000a s9 : ffffffe10213c340 s10: 00000000ffffffff
[  898.690540]  s11: ffffffe001406480 t3 : 0000000000000000 t4 : 00000000000002d0
[  898.697763]  t5 : 0000000000080000 t6 : 00000000c9b9bd85
[  898.703076] status: 0000000200000120 badaddr: ffffff8300b402e0 cause: 000000000000000d
[  898.711008] Oops [#5]
[  898.711042] ---[ end trace a5c45f4ead0855a5 ]---
[  898.713285] Modules linked in: dwc3 roles dwc3_thead
[  898.717943] Kernel panic - not syncing: Fatal exception in interrupt
[  898.722892] CPU: 0 PID: 286 Comm: systemd-journal Tainted: G      D           5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.729244] SMP: stopping secondary CPUs
[  898.740118] epc : kmem_cache_alloc+0x246/0x570
[  898.748472]  ra : kmem_cache_alloc+0x44c/0x570
[  898.752915] epc: ffffffe00038dada ra : ffffffe00038dce0 sp : ffffffe103863b60
[  898.760047]  gp : ffffffe001611290 tp : ffffffe103459b00 t0 : ffffffe10cd53500
[  898.767267]  t1 : 0000000000040000 t2 : b1b2adb33dcbe56e s0 : ffffffe103863bd0
[  898.774487]  s1 : ffffffe001615128 a0 : ffffffe10cd53400 a1 : 0000000000000200
[  898.781706]  a2 : 0000000000000001 a3 : ffffffdfffe00000 a4 : 9097852246119acf
[  898.788926]  a5 : ffffffe3d3e08000 a6 : ffffffe10cd53500 a7 : 0000000000000000
[  898.796146]  s2 : ffffffe0ffeceb00 s3 : ffffffe103463140 s4 : ffffffe10cd53400
[  898.803365]  s5 : ffffffe00164ca18 s6 : 0000000000000dc0 s7 : ffffffe0003a4ec8
[  898.810585]  s8 : 9097852246119ace s9 : ffffffe001615120 s10: ffffffe001615f40
[  898.817805]  s11: 0000000000000dc0 t3 : ff8d9a8cd18c8aff t4 : fefefefefefefeff
[  898.825024]  t5 : 0000000000000007 t6 : ffffffe103863de8
[  898.830334] status: 0000000200000120 badaddr: 0000002246119b06 cause: 000000000000000d
[  898.838256] Oops [#6]
[  898.840532] Modules linked in: dwc3 roles dwc3_thead
[  898.845518] CPU: 2 PID: 5018 Comm: dpkg-deb Tainted: G      D           5.10.113-lpi4a #2023.12.08.03.26+b8c5d3546
[  898.855869] epc : get_page_from_freelist+0x3cc/0xb18
[  898.860833]  ra : get_page_from_freelist+0x352/0xb18
[  898.865797] epc: ffffffe000374800 ra : ffffffe000374786 sp : ffffffe10e69b780
[  898.872930]  gp : ffffffe001611290 tp : ffffffe102f25e80 t0 : 00000000000006b8
[  898.880150]  t1 : ffffffe3d8114d00 t2 : 0000002abd042476 s0 : ffffffe10e69b8b0
[  898.887370]  s1 : ffffffe0015be7c0 a0 : 0000000200000022 a1 : ffffffe3d8114d08
[  898.894589]  a2 : 051303643423f008 a3 : 0000000000000002 a4 : 9097060006130304
[  898.901809]  a5 : 00000000000000d0 a6 : ffffffe3d8114d08 a7 : 0000000000000068
[  898.909029]  s2 : 0000000000000002 s3 : 0000000000000002 s4 : 0000000000000000
[  898.916249]  s5 : ffffffe0015bd840 s6 : 0000000000000901 s7 : 0000000000000000
[  898.923469]  s8 : 00000000007fffff s9 : ffffffe10e69b970 s10: 0000000000000000
[  898.930689]  s11: 0000000000000004 t3 : 000000000000000f t4 : 0000000000000000
[  898.937907]  t5 : 0000000000000068 t6 : ffffffe0015bda00
[  898.943218] status: 0000000200000100 badaddr: 000000643423f010 cause: 000000000000000f
[  898.951140] enter panic_cpufreq_notifier_call
[  898.955651] finish to execute cpufreq notifier callback on panic
[  898.961724] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant