linux icon indicating copy to clipboard operation
linux copied to clipboard

Unable to handle kernel NULL pointer dereference at virtual address 00000028

Open abraunegg opened this issue 3 years ago • 8 comments

Describe the bug

Post updating a system running 2020-05-27-raspios-buster-armhf using kernel7.img (this is the only image archive that I can get to boot without this crash), the following system crash occurs on reboot. The crash is the same regardless of update method:

  • sudo rpi-update
  • Using sudo apt full-upgrade -y

Steps to reproduce the behaviour

  1. Boot system with 2020-05-27-raspios-buster-armhf and kernel7.img on a RPI 2B
  2. Update the system via sudo rpi-update or sudo apt full-upgrade -y

Device (s)

Raspberry Pi 2 Mod. B

System

System crashes before login post upgrade. This would only be valid for the system state before the upgrade.

Logs

Before Upgrade:

Linux raspberrypi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb  7 22:22:38 2022
pi@raspberrypi:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.19.118-v7+
#############################################################
WARNING: This update bumps to rpi-5.15.y linux tree
See: https://forums.raspberrypi.com/viewtopic.php?t=322879

'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer or if you want to help the testing effort
and are comfortable with restoring if there are regressions.

DO NOT use 'rpi-update' as part of a regular update process.
##############################################################
Would you like to proceed? (y/N)
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   173  100   173    0     0    239      0 --:--:-- --:--:-- --:--:--   252
100  123M    0  123M    0     0   143k      0 --:--:--  0:14:38 --:--:--  179k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 5.15.21-v8+
 *** depmod 5.15.21-v7l+
 *** depmod 5.15.21+
 *** depmod 5.15.21-v7+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to fbcab73d5a20f592aa9f6b0e364757ef131dae27
 *** A reboot is needed to activate the new firmware
pi@raspberrypi:~ $ sudo reboot

Console Log post reboot:


Raspbian GNU/Linux 10 raspberrypi ttyAMA0

raspberrypi login: usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
[  818.554169] 8<--- cut here ---
[  818.555048] Unable to handle kernel NULL pointer dereference at virtual address 00000028
[  818.556593] pgd = c71a5b8e
[  818.557910] [00000028] *pgd=05e99835, *pte=00000000, *ppte=00000000
[  818.560379] Internal error: Oops: 17 [#1] SMP ARM
[  818.561895] Modules linked in: sha256_generic cfg80211 rfkill 8021q garp stp llc cdc_subset cdc_ether raspberrypi_hwmon fixed uio_pdrv_genirq uio i2c_dev ip_tables x_tables ipv6
[  818.588463] CPU: 0 PID: 451 Comm: dhcpcd Tainted: G        W         5.15.21-v7+ #1523
[  818.601158] Hardware name: BCM2835
[  818.610290] PC is at bcm2835_sdhost_dma_complete+0x9c/0x1f4
[  818.616447] LR is at log_event_impl.part.0+0x90/0x94
[  818.624539] pc : [<80858b28>]    lr : [<80857200>]    psr: a0000193
[  818.625626] sp : 84dcbde8  ip : 84dcbdc8  fp : 84dcbe14
[  818.626515] r10: ffffe000  r9 : 00000100  r8 : 00000000
[  818.627389] r7 : 00000000  r6 : a0000113  r5 : 810b7be4  r4 : 81fe0340
[  818.630426] r3 : 81665640  r2 : 00000000  r1 : a0000193  r0 : 810b7be4
[  818.636684] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  818.644425] Control: 10c5387d  Table: 0350006a  DAC: 00000055
[  818.651220] Register r0 information: non-slab/vmalloc memory
[  818.663061] Register r1 information: non-slab/vmalloc memory
[  818.669901] Register r2 information: NULL pointer
[  818.677481] Register r3 information: slab kmalloc-512 start 81665600 pointer offset 64 size 512
[  818.694985] Register r4 information: slab kmalloc-2k start 81fe0000 pointer offset 832 size 2048
[  818.705935] Register r5 information: non-slab/vmalloc memory
[  818.715669] Register r6 information: non-slab/vmalloc memory
[  818.724035] Register r7 information: NULL pointer
[  818.730534] Register r8 information: NULL pointer
[  818.741500] Register r9 information: non-paged memory
[  818.748417] Register r10 information: non-paged memory
[  818.755525] Register r11 information: non-slab/vmalloc memory
[  818.764784] Register r12 information: non-slab/vmalloc memory
[  818.776033] Process dhcpcd (pid: 451, stack limit = 0x03f2fd31)
[  818.785808] Stack: (0x84dcbde8 to 0x84dcc000)
[  818.794660] bde0:                   8022e900 8022fcdc 81665480 836d0884 836d08bc 84dcbde8
[  818.804773] be00: 84dcbe20 00000122 84dcbe6c 84dcbe18 806e0084 80858a98 80f05008 84dcbea4
[  818.814332] be20: 84dcbe20 84dcbe20 00000000 00000000 80858a8c 00000000 81fe0340 5674124e
[  818.823567] be40: 84dcbe6c 81665480 81fe0364 b77142d4 00000000 00000006 84dca000 ffffe000
[  818.831328] be60: 84dcbe94 84dcbe70 80126298 806dfeb0 80f03098 00000005 00000006 00000100
[  818.838040] be80: 000000b0 84dca000 84dcbea4 84dcbe98 801262dc 801261c4 84dcbf14 84dcbea8
[  818.848476] bea0: 80101468 801262c0 00000080 5674124e b771564c 80b0211c 00400040 00000001
[  818.857851] bec0: 80d0c4f0 80f03d00 0000c9de 80e8a2cc 0000000a 80e91b00 81038494 80f05058
[  818.870055] bee0: 80e8a348 80f03080 8018db08 ffffe000 00000000 00000000 00000008 60000010
[  818.880996] bf00: 84dca000 10c5387d 84dcbf2c 84dcbf18 80126088 801012dc 80e9110c 00000000
[  818.887252] bf20: 84dcbf4c 84dcbf30 8018822c 80125fbc 80100124 60000013 ffffffff 84dcbf94
[  818.899077] bf40: 84dcbf5c 84dcbf50 80101228 801881c8 00000000 84dcbf60 80100aac 801011d8
[  818.905855] bf60: 0000001e 76fa9d7c 3688a000 00000000 00000000 76fa9f48 0005dca0 000000ae
[  818.919999] bf80: 60000010 76e1e02c 10c5387d 00000000 84dcbfb0 84dcbfb0 80100120 80100124
[  818.934840] bfa0: 60000013 ffffffff 80100120 8022e8b4 0000001e 76fa9d7c 00000000 00000008
[  818.944293] bfc0: 00000000 76fa9f48 0005dca0 000000ae 0000001e 0000001e 7ede98b4 76fa9ffc
[  818.955583] bfe0: 00000020 76fa9d78 00000000 76e1e02c 60000010 0000001e 00000000 00000000
[  818.964692] Backtrace: 
[  818.969732] [<80858a8c>] (bcm2835_sdhost_dma_complete) from [<806e0084>] (vchan_complete+0x1e0/0x22c)
[  818.978947]  r8:00000122 r7:84dcbe20 r6:84dcbde8 r5:836d08bc r4:836d0884
[  818.987548] [<806dfea4>] (vchan_complete) from [<80126298>] (tasklet_action_common.constprop.5+0xe0/0xfc)
[  818.996081]  r10:ffffe000 r9:84dca000 r8:00000006 r7:00000000 r6:b77142d4 r5:81fe0364
[  819.003809]  r4:81665480
[  819.005678] [<801261b8>] (tasklet_action_common.constprop.5) from [<801262dc>] (tasklet_action+0x28/0x30)
[  819.016924]  r9:84dca000 r8:000000b0 r7:00000100 r6:00000006 r5:00000005 r4:80f03098
[  819.027371] [<801262b4>] (tasklet_action) from [<80101468>] (__do_softirq+0x198/0x474)
[  819.039510] [<801012d0>] (__do_softirq) from [<80126088>] (irq_exit+0xd8/0x120)
[  819.054595]  r10:10c5387d r9:84dca000 r8:60000010 r7:00000008 r6:00000000 r5:00000000
[  819.064093]  r4:ffffe000
[  819.069242] [<80125fb0>] (irq_exit) from [<8018822c>] (handle_domain_irq+0x70/0x88)
[  819.085216]  r5:00000000 r4:80e9110c
[  819.093258] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  819.102428]  r7:84dcbf94 r6:ffffffff r5:60000013 r4:80100124
[  819.111640] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  819.125595] Exception stack(0x84dcbf60 to 0x84dcbfa8)
[  819.132431] bf60: 0000001e 76fa9d7c 3688a000 00000000 00000000 76fa9f48 0005dca0 000000ae
[  819.139186] bf80: 60000010 76e1e02c 10c5387d 00000000 84dcbfb0 84dcbfb0 80100120 80100124
[  819.145235] bfa0: 60000013 ffffffff
[  819.150937] Code: e3530000 0a000008 e5933000 e3a08000 (e5972028) 
[  819.165892] ---[ end trace 71381bd3ff2a2377 ]---
[  819.176066] Kernel panic - not syncing: Fatal exception in interrupt
[  819.186798] CPU3: stopping
[  819.188238] CPU: 3 PID: 396 Comm: kworker/3:0 Tainted: G      D W         5.15.21-v7+ #1523
[  819.191549] Hardware name: BCM2835
[  819.193149] Workqueue: events bpf_prog_free_deferred
[  819.195984] Backtrace: 
[  819.198043] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  819.203469]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  819.207568] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  819.211941] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  819.216445]  r7:00000015 r6:00000003 r5:80fe9344 r4:81050380
[  819.221099] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  819.227817] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  819.233790]  r9:826a6000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  819.238857] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  819.243993] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  819.251264]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110f0
[  819.255500] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  819.262625] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  819.268680]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  819.271985] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  819.277303]  r7:826a7d54 r6:ffffffff r5:80000013 r4:80118ffc
[  819.281200] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  819.286467] Exception stack(0x826a7d20 to 0x826a7d68)
[  819.290196] 7d20: a5b8e000 bc817000 00000001 80118fe4 80f05008 85cc6000 85cc6000 00000004
[  819.295388] 7d40: 00000001 81087718 b774ada8 826a7d9c 85cc5000 826a7d70 8010f734 80118ffc
[  819.301168] 7d60: 80000013 ffffffff
[  819.303686] [<8010f6c8>] (flush_tlb_kernel_range) from [<8030df10>] (__purge_vmap_area_lazy+0xc8/0x710)
[  819.309325]  r4:85cc5000
[  819.311481] [<8030de48>] (__purge_vmap_area_lazy) from [<8030eca0>] (_vm_unmap_aliases+0x134/0x170)
[  819.317243]  r10:b774ada8 r9:80f05188 r8:00000001 r7:00000004 r6:85cc6000 r5:85cc5000
[  819.321618]  r4:b774adc0
[  819.323315] [<8030eb6c>] (_vm_unmap_aliases) from [<80311bec>] (__vunmap+0x108/0x230)
[  819.327727]  r10:85cc6000 r9:b7769000 r8:00000001 r7:38e38e39 r6:85cc6000 r5:85c533c4
[  819.332721]  r4:85c53340
[  819.334672] [<80311ae4>] (__vunmap) from [<80311dbc>] (__vfree+0x50/0x90)
[  819.339051]  r10:b774ef05 r9:00000000 r8:b774ef00 r7:000000c0 r6:b774bb40 r5:85ccc5b8
[  819.343322]  r4:bc815000
[  819.344377] [<80311d6c>] (__vfree) from [<80311e60>] (vfree+0x64/0x7c)
[  819.348505]  r5:85ccc5b8 r4:bc815000
[  819.350958] [<80311dfc>] (vfree) from [<80254970>] (__bpf_prog_free+0x4c/0x50)
[  819.355460]  r5:85ccc5b8 r4:bc815000
[  819.357669] [<80254924>] (__bpf_prog_free) from [<80258928>] (bpf_prog_free_deferred+0xcc/0xe4)
[  819.362999]  r5:85ccc5b8 r4:85ccc400
[  819.365530] [<8025885c>] (bpf_prog_free_deferred) from [<8013c928>] (process_one_work+0x250/0x57c)
[  819.370991]  r7:000000c0 r6:b774bb40 r5:861c3500 r4:85ccc5b8
[  819.374738] [<8013c6d8>] (process_one_work) from [<8013ccb4>] (worker_thread+0x60/0x5c4)
[  819.378452]  r10:b774bb40 r9:80f03d00 r8:b774bb58 r7:00000008 r6:b774bb40 r5:861c3518
[  819.384070]  r4:861c3500
[  819.386003] [<8013cc54>] (worker_thread) from [<80144fe4>] (kthread+0x178/0x194)
[  819.391621]  r10:826a6000 r9:83711e74 r8:00000000 r7:861c3500 r6:8013cc54 r5:85c95c40
[  819.396180]  r4:85e09e80
[  819.397989] [<80144e6c>] (kthread) from [<801000d4>] (ret_from_fork+0x14/0x20)
[  819.403052] Exception stack(0x826a7fb0 to 0x826a7ff8)
[  819.406969] 7fa0:                                     00000000 00000000 00000000 00000000
[  819.412065] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  819.418422] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  819.423098]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80144e6c
[  819.428667]  r4:85c95c40
[  819.430805] CPU1: stopping
[  819.433232] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W         5.15.21-v7+ #1523
[  819.437915] Hardware name: BCM2835
[  819.440834] Backtrace: 
[  819.442770] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  819.448337]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  819.452725] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  819.457689] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  819.462491]  r7:00000015 r6:00000001 r5:80fe9344 r4:81050380
[  819.466665] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  819.472359] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  819.477547]  r9:8155c000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  819.483269] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  819.488677] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  819.496270]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110d0
[  819.500486] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  819.506891] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  819.511952]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  819.516717] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  819.524094]  r7:8155df64 r6:ffffffff r5:60000013 r4:80108864
[  819.528862] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  819.534390] Exception stack(0x8155df30 to 0x8155df78)
[  819.537845] df20:                                     07484476 00000000 00000001 801190c0
[  819.543046] df40: ffffe000 00000002 80f05058 80f050a8 00000001 81037ca0 80d0eedc 8155df8c
[  819.549141] df60: 8155df90 8155df80 80108860 80108864 60000013 ffffffff
[  819.553262] [<8010881c>] (arch_cpu_idle) from [<80a4cc48>] (default_idle_call+0x4c/0xd8)
[  819.557874] [<80a4cbfc>] (default_idle_call) from [<8015a528>] (do_idle+0x114/0x164)
[  819.562597] [<8015a414>] (do_idle) from [<8015a89c>] (cpu_startup_entry+0x28/0x2c)
[  819.567792]  r10:00000000 r9:410fc075 r8:0000406a r7:8155dff8 r6:10c0387d r5:00000001
[  819.573316]  r4:00000096 r3:60000093
[  819.575363] [<8015a874>] (cpu_startup_entry) from [<8010ed30>] (secondary_start_kernel+0x168/0x174)
[  819.581612] [<8010ebc8>] (secondary_start_kernel) from [<001017f0>] (0x1017f0)
[  819.586188]  r5:00000055 r4:0157806a
[  819.589556] CPU2: stopping
[  819.599308] CPU: 2 PID: 113 Comm: systemd-journal Tainted: G      D W         5.15.21-v7+ #1523
[  819.605028] Hardware name: BCM2835
[  819.609717] Backtrace: 
[  819.614524] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  819.622910]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  819.627370] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  819.632232] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  819.636753]  r7:00000015 r6:00000002 r5:80fe9344 r4:81050380
[  819.639372] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  819.643541] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  819.647891]  r9:00000000 r8:10c5387d r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  819.652074] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  819.657656] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  819.663279]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110e0
[  819.666365] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  819.673328] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  819.679223]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  819.682248] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  819.687540]  r7:10c5387d r6:ffffffff r5:80000010 r4:76ec725c
[  819.690936] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100dac>] (__irq_usr+0x4c/0x60)
[  819.696703] Exception stack(0x82ae1fb0 to 0x82ae1ff8)
[  819.700600] 1fa0:                                     fffffffe 000001ed 00000424 00000000
[  819.707103] 1fc0: 7e821990 00000000 00000001 00000027 7e81f158 00000000 00000009 7e81f0a4
[  819.711995] 1fe0: 004cddfc 7e81f064 004b27cc 76ec725c 80000010 ffffffff
[  819.719549] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

Additional context

No response

abraunegg avatar Feb 08 '22 07:02 abraunegg

It's working here, running Chromium on 5.15.21-v7+.

What software do you have running in the background for it to be in __bpf_prog_free? Presumably something network-related.

pelwell avatar Feb 08 '22 11:02 pelwell

@pelwell This is a clean install - nothing else installed, configured or enabled except for enabling ssh. Nothing was disabled.

After creating the initial filesystem using 2020-05-27-raspios-buster-armhf - the only things done once this is booted are:

pi@raspberrypi:~ $ history
    1  passwd
    2  sudo passwd root
    3  sudo raspi-config
	
		expand disk
		enable ssh

The only things running then would be dhcpd and sshd - anything else would be as per system defaults.

abraunegg avatar Feb 08 '22 19:02 abraunegg

If I add ipv6.disable=1 to the boot parameters / cmdline.txt - at least I can boot, but the network interface does not even get an IPv4 address. On poweroff, however:

[  OK  ] Started Terminate Plymouth Boot Screen.

Raspbian GNU/Linux 10 raspberrypi ttyAMA0

raspberrypi login: root
Password: 
Linux raspberrypi 5.15.21-v7+ #1523 SMP Mon Feb 7 18:31:44 GMT 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@raspberrypi:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 40:54:00:12:34:57  txqueuelen 1000  (Ethernet)
        RX packets 1  bytes 302 (302.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 385 (385.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@raspberrypi:~# poweroffusbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0

root@raspberrypi:~# usbnet: failed control transaction: request 0x2143 value 0xe index 0x0 length 0x0
[  OK  ] Started Show Plymouth Power Off Screen.
[  OK  ] Stopped LSB: Switch to ond…(unless shift key is pressed).
[**    ] (1 of 3) A stop job is running for …Manager for UID 0 (47s / 2min 11s)
[  763.407688] 8<--- cut here ---
[  763.414136] Unable to handle kernel NULL pointer dereference at virtual address 00000028
[  763.419521] pgd = cd0f544e
[  763.425313] [00000028] *pgd=00000000
[  763.436455] Internal error: Oops: 17 [#1] SMP ARM
[  763.444570] Modules linked in: sha256_generic cfg80211 rfkill 8021q garp stp llc cdc_subset cdc_ether raspberrypi_hwmon uio_pdrv_genirq fixed uio i2c_dev i
p_tables x_tables ipv6
[  763.483902] CPU: 0 PID: 11 Comm: ksoftirqd/0 Tainted: G        W         5.15.21-v7+ #1523
[  763.492386] Hardware name: BCM2835
[  763.496998] PC is at bcm2835_sdhost_dma_complete+0x9c/0x1f4
[  763.503086] LR is at log_event_impl.part.0+0x90/0x94
[  763.506526] pc : [<80858b28>]    lr : [<80857200>]    psr: a0000193
[  763.510452] sp : 81557d08  ip : 81557ce8  fp : 81557d34
[  763.515173] r10: ffffe000  r9 : 00000100  r8 : 00000000
[  763.520546] r7 : 00000000  r6 : a0000113  r5 : 810b7be4  r4 : 81d28b40
[  763.529843] r3 : 81ccd640  r2 : 00000000  r1 : a0000193  r0 : 810b7be4
[  763.536767] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  763.543127] Control: 10c5387d  Table: 051dc06a  DAC: 00000055
[  763.550476] Register r0 information: non-slab/vmalloc memory
[  763.564640] Register r1 information: non-slab/vmalloc memory
[  763.572154] Register r2 information: NULL pointer
[  763.582512] Register r3 information: slab kmalloc-512 start 81ccd600 pointer offset 64 size 512
[  763.599302] Register r4 information: slab kmalloc-2k start 81d28800 pointer offset 832 size 2048
[  763.611990] Register r5 information: non-slab/vmalloc memory
[  763.615193] Register r6 information: non-slab/vmalloc memory
[  763.621826] Register r7 information: NULL pointer
[  763.630244] Register r8 information: NULL pointer
[  763.634597] Register r9 information: non-paged memory
[  763.639700] Register r10 information: non-paged memory
[  763.643385] Register r11 information: non-slab/vmalloc memory
[  763.647388] Register r12 information: non-slab/vmalloc memory
[  763.655118] Process ksoftirqd/0 (pid: 11, stack limit = 0xf5b3098f)
[  763.663267] Stack: (0x81557d08 to 0x81558000)
[  763.668254] 7d00:                   8022e900 8022fcdc 81ccd480 86631784 866317bc 81557d08
[  763.675140] 7d20: 81557d40 00000122 81557d8c 81557d38 806e0084 80858a98 80f05008 8022e8b4
[  763.682617] 7d40: 81557d40 81557d40 00000000 00000000 80858a8c 00000000 81d28b40 cacfc89c
[  763.687753] 7d60: 81557d8c 81ccd480 84bc86f4 b77142d4 00000000 00000006 81556000 ffffe000
[  763.693758] 7d80: 81557db4 81557d90 80126298 806dfeb0 80f03098 00000005 00000006 00000100
[  763.699434] 7da0: 00000030 81556000 81557dc4 81557db8 801262dc 801261c4 81557e34 81557dc8
[  763.708648] 7dc0: 80101468 801262c0 00000080 cacfc89c 8010cd24 80b0211c 04208040 00000001
[  763.714956] 7de0: 80d0c4f0 80f03d00 0000afee 80e8a2cc 0000000a 80e91b00 81038494 80f05058
[  763.721554] 7e00: 80e8a348 80f03080 8018db08 ffffe000 00000000 00000000 00000008 80e91f40
[  763.728302] 7e20: 81556000 ffffe000 81557e4c 81557e38 80126088 801012dc 80e9110c 00000000
[  763.735691] 7e40: 81557e6c 81557e50 8018822c 80125fbc 80a45614 60000113 ffffffff 81557eb4
[  763.745226] 7e60: 81557e7c 81557e70 80101228 801881c8 81557f34 81557e80 80100aac 801011d8
[  763.754973] 7e80: 3688a000 cacfc89c 00000000 00000000 b771bf40 81599f00 00000000 80f05008
[  763.760322] 7ea0: 80e91f40 80e91f40 ffffe000 81557f34 00000000 81557ed0 80a460ac 80a45614
[  763.767900] 7ec0: 60000113 ffffffff 80a458d0 8014f1b4 81557f14 81557ee0 8010cd24 8010bc24
[  763.774437] 7ee0: 00000000 00000000 00000000 000000aa 3688a000 80a460ac 00000000 80149494
[  763.782202] 7f00: 00000004 cacfc89c 81557f3c ffffe000 81599f00 00000000 80f0c9d0 00000001
[  763.789857] 7f20: 00000000 81556000 81557f4c 81557f38 80a460ac 80a455ac 81506040 ffffe000
[  763.800092] 7f40: 81557f74 81557f50 801494dc 80a46050 815062c0 81506280 80149398 81506040
[  763.810124] 7f60: 00000000 81543ddc 81557fac 81557f78 80144fe4 801493a4 815062e0 815062e0
[  763.816965] 7f80: 00000000 81506280 80144e6c 00000000 00000000 00000000 00000000 00000000
[  763.824472] 7fa0: 00000000 81557fb0 801000d4 80144e78 00000000 00000000 00000000 00000000
[  763.835927] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  763.844080] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[  763.854022] Backtrace: 
[  763.855637] [<80858a8c>] (bcm2835_sdhost_dma_complete) from [<806e0084>] (vchan_complete+0x1e0/0x22c)
[  763.855941]  r8:00000122 r7:81557d40 r6:81557d08 r5:866317bc r4:86631784
[  763.856162] [<806dfea4>] (vchan_complete) from [<80126298>] (tasklet_action_common.constprop.5+0xe0/0xfc)
[  763.856356]  r10:ffffe000 r9:81556000 r8:00000006 r7:00000000 r6:b77142d4 r5:84bc86f4
[  763.856452]  r4:81ccd480
[  763.857180] [<801261b8>] (tasklet_action_common.constprop.5) from [<801262dc>] (tasklet_action+0x28/0x30)
[*  763.1858773] [<801262b4;>] 31m*asklet_action) from [<80101468>]m* (__do_so   ftirq+0x19] (1 of 3) A stop job is running for …Manager for UI8/0D x470 (474)
[  763.936980] [<801012d0>] (__do_softirq) from [<80126088>] (irq_exit+0xd8/0x120)

[  763.945662]  r10:ffffe000 r9:81556000 r8:80e91f40 r7:00000008 r6:00000000 r5:00000000
[  763.955370]  r4:ffffe000
[  763.959333] [<80125fb0>] (irq_exit) from [<8018822c>] (handle_domain_irq+0x70/0x88)
[  763.966017]  r5:00000000 r4:80e9110c
[  763.970388] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  763.979378]  r7:81557eb4 r6:ffffffff r5:60000113 r4:80a45614
[  763.984873] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  763.990973] Exception stack(0x81557e80 to 0x81557ec8)
[  763.994778] 7e80: 3688a000 cacfc89c 00000000 00000000 b771bf40 81599f00 00000000 80f05008
[  764.002517] 7ea0: 80e91f40 80e91f40 ffffe000 81557f34 00000000 81557ed0 80a460ac 80a45614
[  764.008725] 7ec0: 60000113 ffffffff
[  764.011557] [<80a455a0>] (__schedule) from [<80a460ac>] (schedule+0x68/0xe4)
[  764.019514]  r10:81556000 r9:00000000 r8:00000001 r7:80f0c9d0 r6:00000000 r5:81599f00
[  764.027661]  r4:ffffe000
[  764.030754] [<80a46044>] (schedule) from [<801494dc>] (smpboot_thread_fn+0x144/0x1ac)
[  764.037868]  r5:ffffe000 r4:81506040
[  764.041167] [<80149398>] (smpboot_thread_fn) from [<80144fe4>] (kthread+0x178/0x194)
[  764.049318]  r9:81543ddc r8:00000000 r7:81506040 r6:80149398 r5:81506280 r4:815062c0
[  764.058186] [<80144e6c>] (kthread) from [<801000d4>] (ret_from_fork+0x14/0x20)
[  764.065575] Exception stack(0x81557fb0 to 0x81557ff8)
[  764.069563] 7fa0:                                     00000000 00000000 00000000 00000000
[  764.075494] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  764.081865] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  764.089425]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80144e6c
[  764.096004]  r4:81506280
[  764.101127] Code: e3530000 0a000008 e5933000 e3a08000 (e5972028) 
[  764.110150] ---[ end trace e22c53207cdfcaa6 ]---
[  764.115684] Kernel panic - not syncing: Fatal exception in interrupt
[  764.122232] CPU2: stopping
[  764.123448] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D W         5.15.21-v7+ #1523
[  764.127082] Hardware name: BCM2835
[  764.129045] Backtrace: 
[  764.130674] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  764.135441]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  764.138816] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  764.143323] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  764.148470]  r7:00000015 r6:00000002 r5:80fe9344 r4:81050380
[  764.151780] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  764.156535] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  764.160821]  r9:8155e000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  764.164688] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  764.169745] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  764.174202]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110e0
[  764.177632] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  764.184445] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  764.190136]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  764.192954] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  764.197847]  r7:8155ff64 r6:ffffffff r5:60000013 r4:80108864
[  764.201090] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  764.205653] Exception stack(0x8155ff30 to 0x8155ff78)
[  764.208409] ff20:                                     18cd5b42 00000000 00000001 801190c0
[  764.213199] ff40: ffffe000 00000004 80f05058 80f050a8 00000001 81037ca0 80d0eedc 8155ff8c
[  764.217742] ff60: 8155ff90 8155ff80 80108860 80108864 60000013 ffffffff
[  764.221537] [<8010881c>] (arch_cpu_idle) from [<80a4cc48>] (default_idle_call+0x4c/0xd8)
[  764.225809] [<80a4cbfc>] (default_idle_call) from [<8015a528>] (do_idle+0x114/0x164)
[  764.230564] [<8015a414>] (do_idle) from [<8015a89c>] (cpu_startup_entry+0x28/0x2c)
[  764.235459]  r10:00000000 r9:410fc075 r8:0000406a r7:8155fff8 r6:10c0387d r5:00000002
[  764.241089]  r4:00000096 r3:60000093
[  764.244405] [<8015a874>] (cpu_startup_entry) from [<8010ed30>] (secondary_start_kernel+0x168/0x174)
[  764.250275] [<8010ebc8>] (secondary_start_kernel) from [<001017f0>] (0x1017f0)
[  764.256248]  r5:00000055 r4:0157806a
[  764.258327] CPU1: stopping
[  764.260042] CPU: 1 PID: 434 Comm: kworker/1:0 Tainted: G      D W         5.15.21-v7+ #1523
[  764.265143] Hardware name: BCM2835
[  764.267563] Workqueue: events bpf_prog_free_deferred
[  764.270531] Backtrace: 
[  764.272407] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  764.276442]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  764.280256] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  764.285100] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  764.288942]  r7:00000015 r6:00000001 r5:80fe9344 r4:81050380
[  764.292525] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  764.297021] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  764.302375]  r9:8353a000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  764.307136] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  764.313141] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  764.320935]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110d0
[  764.325012] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  764.331585] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  764.338078]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  764.341584] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  764.348363]  r7:8353bd54 r6:ffffffff r5:90000113 r4:80118ffc
[  764.351522] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  764.358097] Exception stack(0x8353bd20 to 0x8353bd68)
[  764.361182] bd20: 7fb67000 bc8ef000 00000001 80118fe4 80f05008 86525000 86525000 00000004
[  764.366420] bd40: 00000001 81087718 b774ada8 8353bd9c 7f09f000 8353bd70 8010f734 80118ffc
[  764.371015] bd60: 90000113 ffffffff
[  764.373138] [<8010f6c8>] (flush_tlb_kernel_range) from [<8030df10>] (__purge_vmap_area_lazy+0xc8/0x710)
[  764.379172]  r4:86524000
[  764.380784] [<8030de48>] (__purge_vmap_area_lazy) from [<8030eca0>] (_vm_unmap_aliases+0x134/0x170)
[  764.387975]  r10:b774ada8 r9:80f05188 r8:00000001 r7:00000004 r6:86525000 r5:86524000
[  764.392197]  r4:b774adc0
[  764.394038] [<8030eb6c>] (_vm_unmap_aliases) from [<80311bec>] (__vunmap+0x108/0x230)
[  764.398751]  r10:86525000 r9:b7769000 r8:00000001 r7:38e38e39 r6:86525000 r5:8646fc44
[  764.402724]  r4:8646fac0
[  764.404285] [<80311ae4>] (__vunmap) from [<80311dbc>] (__vfree+0x50/0x90)
[  764.408697]  r10:b772ef05 r9:00000000 r8:b772ef00 r7:00000040 r6:b772bb40 r5:835837b8
[  764.413774]  r4:bc81d000
[  764.415575] [<80311d6c>] (__vfree) from [<80311e60>] (vfree+0x64/0x7c)
[  764.419079]  r5:835837b8 r4:bc81d000
[  764.421744] [<80311dfc>] (vfree) from [<80254970>] (__bpf_prog_free+0x4c/0x50)
[  764.425858]  r5:835837b8 r4:bc81d000
[  764.428189] [<80254924>] (__bpf_prog_free) from [<80258928>] (bpf_prog_free_deferred+0xcc/0xe4)
[  764.432656]  r5:835837b8 r4:83583600
[  764.435034] [<8025885c>] (bpf_prog_free_deferred) from [<8013c928>] (process_one_work+0x250/0x57c)
[  764.440250]  r7:00000040 r6:b772bb40 r5:84960f00 r4:835837b8
[  764.443823] [<8013c6d8>] (process_one_work) from [<8013ccb4>] (worker_thread+0x60/0x5c4)
[  764.448522]  r10:b772bb40 r9:80f03d00 r8:b772bb58 r7:00000008 r6:b772bb40 r5:84960f18
[  764.454107]  r4:84960f00
[  764.455738] [<8013cc54>] (worker_thread) from [<80144fe4>] (kthread+0x178/0x194)
[  764.459317]  r10:8353a000 r9:817bde74 r8:00000000 r7:84960f00 r6:8013cc54 r5:86619c00
[  764.464290]  r4:8525d680
[  764.465780] [<80144e6c>] (kthread) from [<801000d4>] (ret_from_fork+0x14/0x20)
[  764.469801] Exception stack(0x8353bfb0 to 0x8353bff8)
[  764.473098] bfa0:                                     00000000 00000000 00000000 00000000
[  764.478230] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  764.483302] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  764.487327]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80144e6c
[  764.492456]  r4:86619c00
[  764.494723] CPU3: stopping
[  764.497321] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D W         5.15.21-v7+ #1523
[  764.502461] Hardware name: BCM2835
[  764.504855] Backtrace: 
[  764.506809] [<80a3c57c>] (dump_backtrace) from [<80a3c7c4>] (show_stack+0x20/0x24)
[  764.510973]  r7:00000015 r6:80d18310 r5:00000080 r4:60000193
[  764.512507] [<80a3c7a4>] (show_stack) from [<80a40cfc>] (dump_stack_lvl+0x70/0x94)
[  764.516685] [<80a40c8c>] (dump_stack_lvl) from [<80a40d38>] (dump_stack+0x18/0x1c)
[  764.523016]  r7:00000015 r6:00000003 r5:80fe9344 r4:81050380
[  764.527359] [<80a40d20>] (dump_stack) from [<8010e6b0>] (do_handle_IPI+0x2dc/0x310)
[  764.532118] [<8010e3d4>] (do_handle_IPI) from [<8010e70c>] (ipi_handler+0x28/0x30)
[  764.538590]  r9:81560000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe9344 r4:814e3e00
[  764.543505] [<8010e6e4>] (ipi_handler) from [<8018e968>] (handle_percpu_devid_irq+0x8c/0x1d0)
[  764.549875] [<8018e8dc>] (handle_percpu_devid_irq) from [<80187c10>] (generic_handle_domain_irq+0x3c/0x4c)
[  764.556781]  r7:00000004 r6:814e3818 r5:80fe9464 r4:bc8110f0
[  764.561454] [<80187bd4>] (generic_handle_domain_irq) from [<8069a3f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[  764.567373] [<8069a354>] (bcm2836_arm_irqchip_handle_ipi) from [<80188228>] (handle_domain_irq+0x6c/0x88)
[  764.573780]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[  764.580177] [<801881bc>] (handle_domain_irq) from [<80101228>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[  764.586622]  r7:81561f64 r6:ffffffff r5:60000013 r4:80108864
[  764.590823] [<801011cc>] (bcm2836_arm_irqchip_handle_irq) from [<80100aac>] (__irq_svc+0x4c/0x64)
[  764.596306] Exception stack(0x81561f30 to 0x81561f78)
[  764.599048] 1f20:                                     18b76bae 00000000 00000001 801190c0
[  764.604545] 1f40: ffffe000 00000008 80f05058 80f050a8 00000001 81037ca0 80d0eedc 81561f8c
[  764.609059] 1f60: 81561f90 81561f80 80108860 80108864 60000013 ffffffff
[  764.612837] [<8010881c>] (arch_cpu_idle) from [<80a4cc48>] (default_idle_call+0x4c/0xd8)
[  764.618322] [<80a4cbfc>] (default_idle_call) from [<8015a528>] (do_idle+0x114/0x164)
[  764.621677] [<8015a414>] (do_idle) from [<8015a89c>] (cpu_startup_entry+0x28/0x2c)
[  764.626338]  r10:00000000 r9:410fc075 r8:0000406a r7:81561ff8 r6:10c0387d r5:00000003
[  764.630338]  r4:00000096 r3:60000093
[  764.632333] [<8015a874>] (cpu_startup_entry) from [<8010ed30>] (secondary_start_kernel+0x168/0x174)
[  764.637202] [<8010ebc8>] (secondary_start_kernel) from [<001017f0>] (0x1017f0)
[  764.641462]  r5:00000055 r4:0157806a
[  764.645035] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

abraunegg avatar Feb 08 '22 20:02 abraunegg

There is something different about your system - the SD card, the power supply, or the RPi itself - because I don't get the same behaviour and nobody else has reported it.

What are you able to change? Adding over_voltage=2, core_freq=250 and arm_freq=600 to config.txt will help to rule out a few potential causes.

pelwell avatar Feb 08 '22 21:02 pelwell

@pelwell

What are you able to change? Adding over_voltage=2, core_freq=250 and arm_freq=600 to config.txt will help to rule out a few potential causes.

Will test this shortly.

Currently testing adding the following to /etc/sysctl.conf before upgrade (ensuring system is rebooted post this change as well):

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

abraunegg avatar Feb 08 '22 22:02 abraunegg

@pelwell

Adding over_voltage=2, core_freq=250 and arm_freq=600 to config.txt will help to rule out a few potential causes

Unfortunately adding all of these, or in any combination of fails to make any difference. Post updating the system, with those options in place, in all circumstances the kernel crash occurs at the same virtual address.

In testing however disabling IPv6 via sysctl.conf (as per above) before booting, the following outcomes occur.

  • 2020-05-27-raspios-buster-armhf
    • before upgrade, boot no issue, system 100% stable
    • reboot post upgrade is stable, however, on first attempt to access system via SSH, system crashes
  • 2020-08-20-raspios-buster-armhf
    • system hangs when trying to start a job for swap file: (1 of 7) A start job is running for ... a swap file (X min YYs / no limit)
    • does not complete booting despite being left for hours on the swap job
    • updates not attempted
  • 2020-12-02-raspios-buster-armhf
    • system starts booting but starts kicking out some rcu_sched self-detected stall on CPU (not seen with prior 2 OS builds above)
    • system crashes with a kernel oops: kernel BUG at drivers/mmc/host/bcm2835-sdhost.c:1093
    • updates not possible
  • 2021-01-11-raspios-buster-armhf
    • system starts booting but starts kicking out some rcu_sched self-detected stall on CPU
    • system crashes with a kernel oops: kernel BUG at drivers/mmc/host/bcm2835-sdhost.c:1093
    • updates not possible
  • 2021-03-04-raspios-buster-armhf
    • system starts booting but starts kicking out some rcu_sched self-detected stall on CPU
    • system crashes with: Unable to handle kernel NULL pointer dereference at virtual address 00000028
    • updates not possible
  • 2021-05-07-raspios-buster-armhf
    • system starts booting but starts kicking out some rcu_sched self-detected stall on CPU
    • system boots eventually without issue, no crash, but it is very very very slow
    • access via SSH is possible - but again but it is very very very slow - molasses slow
    • updates not attempted ..

What else can be disabled in config.txt to ensure totally minimal hardware is active? I have read some options re disabling audio etc (I certainly do not need audio or any other option - IR etc) .. what about extended graphics / graphics options - again not needed.

The aim here is to have a viable | working Pi2 running as a armv7l so that when I get to install Docker, I can build & test 32bit Docker images correctly.

Disclaimer: I am the developer|maintainer of the OneDrive Client for Linux (https://github.com/abraunegg/onedrive) - so essentially I am trying to expand my testing footprint to ensure platforms that folk use are tested correctly.

Open to suggestions here ..

abraunegg avatar Feb 10 '22 08:02 abraunegg

As well as the config.txt settings - a long shot, but worth trying - I listed a few things that make your system different to mine: the SD card, the power supply, and the RPi itself.

SD cards can go bad, an inadequate power supply (or bad power cable) will cause problems under load, and RPis do break. I'm going to rule out other environmental factors for now. All you can do is try changing each of those elements until it starts working.

I don't know how many of the millions of Pi 2s are still in use (we don't track devices), but I'm sure there are many other 2B users out there happily running 5.15 like me.

pelwell avatar Feb 10 '22 09:02 pelwell

I ran into this - what appears to me like the same - problem on QEMU when emulating Raspi2b.

I can not reproduce a specific time of crash. Sometimes, it makes it into the initial setup dialogue, sometimes it crashes earlier when the serial login prompt appears.

Software is stock 2022-04-04-raspios-bullseye-armhf-lite.img just resized to 4GB (qemu-img resize 2022-04-04-raspios-bullseye-armhf-lite.img 4G) prior to first booting.

[ 9900.186706] 8<--- cut here ---
[ 9900.203823] Unable to handle kernel NULL pointer dereference at virtual address 00000028
[ 9900.210531] pgd = 63f9844a
[ 9900.217649] [00000028] *pgd=00000000
[ 9900.230398] Internal error: Oops: 5 [#1] SMP ARM
[ 9900.236249] Modules linked in: sha256_generic cfg80211 rfkill 8021q garp stp llc joydev cdc_ether cdc_subset raspberrypi_hwmon uio_pdrv_genirq uio fixed drm drm_panel_orientation_quirks backlight fuse ip_tables x_tables ipv6
[ 9900.270318] CPU: 0 PID: 33 Comm: kworker/0:1 Not tainted 5.15.32-v7+ #1538
[ 9900.272319] Hardware name: BCM2835
[ 9900.277633] Workqueue: usb_hub_wq hub_event
[ 9900.283610] PC is at bcm2835_sdhost_dma_complete+0x9c/0x1f4
[ 9900.290422] LR is at log_event_impl.part.0+0x90/0x94
[ 9900.293663] pc : [<80858f94>]    lr : [<8085766c>]    psr: a0000193
[ 9900.299945] sp : 81627a58  ip : 81627a38  fp : 81627a84
[ 9900.301257] r10: ffffe000  r9 : 00000100  r8 : 00000000
[ 9900.308805] r7 : 00000000  r6 : a0000113  r5 : 810b7b24  r4 : 81ee8b40
[ 9900.311151] r3 : 8166b640  r2 : 00000000  r1 : a0000193  r0 : 810b7b24
[ 9900.314790] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 9900.321244] Control: 10c5387d  Table: 0506406a  DAC: 00000055
[ 9900.327170] Register r0 information: non-slab/vmalloc memory
[ 9900.338732] Register r1 information: non-slab/vmalloc memory
[ 9900.342604] Register r2 information: NULL pointer
[ 9900.350516] Register r3 information: slab kmalloc-512 start 8166b600 pointer offset 64 size 512
[ 9900.365881] Register r4 information: slab kmalloc-2k start 81ee8800 pointer offset 832 size 2048
[ 9900.373349] Register r5 information: non-slab/vmalloc memory
[ 9900.380395] Register r6 information: non-slab/vmalloc memory
[ 9900.383837] Register r7 information: NULL pointer
[ 9900.390547] Register r8 information: NULL pointer
[ 9900.393368] Register r9 information: non-paged memory
[ 9900.400888] Register r10 information: non-paged memory
[ 9900.406612] Register r11 information: non-slab/vmalloc memory
[ 9900.412035] Register r12 information: non-slab/vmalloc memory
[ 9900.420451] Process kworker/0:1 (pid: 33, stack limit = 0x8b7d4d08)
[ 9900.422798] Stack: (0x81627a58 to 0x81628000)
[ 9900.426902] 7a40:                                                       8022f0a0 8023047c
[ 9900.430405] 7a60: 8166b480 8514ad84 8514adbc 81627a58 81627a90 00000122 81627adc 81627a88
[ 9900.433068] 7a80: 806e0198 80858f04 80f05008 00000000 81627a90 81627a90 00000000 00000000
[ 9900.438497] 7aa0: 80858ef8 00000000 81ee8b40 2d9a6595 81627adc 8166b480 81ee8b64 b77142d4
[ 9900.444364] 7ac0: 00000000 00000006 81626000 ffffe000 81627b04 81627ae0 80126800 806dffc4
[ 9900.450076] 7ae0: 80f03098 00000005 00000006 00000100 000000b0 81626000 81627b14 81627b08
[ 9900.453692] 7b00: 80126844 8012672c 81627b84 81627b18 801014a8 80126828 00000080 2d9a6595
[ 9900.461094] 7b20: 801265f0 80b02160 04208060 00000001 80d0b78c 80f03d00 000ea1ea 80e8a2cc
[ 9900.464802] 7b40: 0000000a 80e91b00 81038594 80f05058 80e8a348 80f03080 8018e050 ffffe000
[ 9900.470488] 7b60: 00000000 00000000 00000008 00000402 81626000 00000000 81627b9c 81627b88
[ 9900.475156] 7b80: 801265f0 8010131c 80e9110c 00000000 81627bbc 81627ba0 80188774 80126524
[ 9900.480332] 7ba0: 80a4d57c 60000113 ffffffff 81627c04 81627bcc 81627bc0 80101268 80188710
[ 9900.484653] 7bc0: 81627c34 81627bd0 80100aec 80101218 80a4d584 60000113 60000193 60000193
[ 9900.490638] 7be0: 60000113 60000113 81e8d400 fffffffe 00000402 81c93000 00000000 81627c34
[ 9900.493504] 7c00: 81627bf8 81627c20 8022f0a0 80a4d57c 60000113 ffffffff 80a4d584 8022f054
[ 9900.499688] 7c20: 81e8af00 60000113 81627c54 81627c38 807b9b2c 80a4d53c 81e8af00 80f05008
[ 9900.502863] 7c40: 81e8af10 81c9345c 81627c8c 81627c58 807baf5c 807b9ad4 81627c8c 81c93464
[ 9900.508542] 7c60: 00000000 8175e000 81627c8c 2d9a6595 81c92000 00000000 8175e000 81c9345c
[ 9900.511997] 7c80: 81627ca4 81627c90 8086e45c 807baeec 81c92000 00000000 81627cd4 81627ca8
[ 9900.517350] 7ca0: 80870a94 8086e43c 81e9be00 00000000 81e8d400 80f05008 81e8d504 00000402
[ 9900.524742] 7cc0: 00000001 82564200 81627d1c 81627cd8 807bf610 808708e8 80a45ee8 00000000
[ 9900.530363] 7ce0: 80d6f018 00000400 80e8fc50 2d9a6595 81e8d504 81e8d400 81e8d480 81e8d504
[ 9900.534917] 7d00: 81e8d504 80f05008 00000000 ffffe000 81627d34 81627d20 807c0930 807bf584
[ 9900.540423] 7d20: 81e8d480 807c08f8 81627d5c 81627d38 80743f1c 807c0904 81e8d480 807c08f8
[ 9900.546687] 7d40: 81e8d504 00000008 80f05008 0000000c 81627d7c 81627d60 807440c0 80743ecc
[ 9900.550681] 7d60: 81e8d480 807c08f8 81e8d504 00000008 81627ddc 81627d80 807453ac 80744050
[ 9900.551479] 7d80: 81627de0 8022f32c 80745acc 2d9a6595 80173064 00000000 81627dc4 81627da8
[ 9900.556144] 7da0: 8022f32c 8010cde8 81e8d504 2d9a6595 81e8d504 81e8d480 0000000c 81e8d504
[ 9900.560764] 7dc0: 00000001 60000113 00000000 81e9a900 81627e04 81627de0 80745ae0 807452bc
[ 9900.566068] 7de0: 81e8d400 81e8d4c4 00000000 00000001 81e9aa00 00000000 81627e1c 81627e08
[ 9900.571121] 7e00: 807bfe8c 80745a68 81e8d400 81e8d4c4 81627e3c 81627e20 807b50e4 807bfe68
[ 9900.575234] 7e20: 00000000 00000000 00000001 00000001 81627ef4 81627e40 807b56f4 807b5094
[ 9900.580778] 7e40: 81627ea2 00000000 80e8fc50 8013b93c 81627e84 80d6e53c 80d9a2b0 810b32b8
[ 9900.584778] 7e60: 81627e94 81627e70 81e9abcc 81e9a620 80f05008 81e8d0c4 81e8d400 81e9a840
[ 9900.590525] 7e80: 81e8d000 81e9a600 81e9aa08 81e9abcc 81e9a838 81e8d400 81e9a800 81e9a834
[ 9900.594617] 7ea0: 00040103 81627f74 80e8fc50 8013ceb0 b771bb40 8013d250 b7721100 00000000
[ 9900.600437] 7ec0: 81627ef4 2d9a6595 8022f0a0 81e9a900 816f6580 b771bb40 00000000 b7721100
[ 9900.605271] 7ee0: 00000000 b7721105 81627f34 81627ef8 8013cec4 807b5250 8022f32c 8010cde8
[ 9900.610392] 7f00: b771bb40 b771bb40 b771bb40 816f6580 816f6598 b771bb40 00000008 b771bb58
[ 9900.614687] 7f20: 80f03d00 b771bb40 81627f74 81627f38 8013d250 8013cc80 80a4d584 80d0cb34
[ 9900.620865] 7f40: 81037d44 ffffe000 81627f74 8173f0c0 81733540 8013d1f0 816f6580 00000000
[ 9900.625326] 7f60: 8154be74 81626000 81627fac 81627f78 80145580 8013d1fc 8173f0e0 8173f0e0
[ 9900.630442] 7f80: 00000000 81733540 80145408 00000000 00000000 00000000 00000000 00000000
[ 9900.637053] 7fa0: 00000000 81627fb0 801000d4 80145414 00000000 00000000 00000000 00000000
[ 9900.644758] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9900.650339] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 9900.655250] Backtrace:
[ 9900.660365] [<80858ef8>] (bcm2835_sdhost_dma_complete) from [<806e0198>] (vchan_complete+0x1e0/0x22c)
[ 9900.665393]  r8:00000122 r7:81627a90 r6:81627a58 r5:8514adbc r4:8514ad84
[ 9900.670266] [<806dffb8>] (vchan_complete) from [<80126800>] (tasklet_action_common.constprop.5+0xe0/0xfc)
[ 9900.676025]  r10:ffffe000 r9:81626000 r8:00000006 r7:00000000 r6:b77142d4 r5:81ee8b64
[ 9900.680369]  r4:8166b480
[ 9900.681899] [<80126720>] (tasklet_action_common.constprop.5) from [<80126844>] (tasklet_action+0x28/0x30)
[ 9900.688835]  r9:81626000 r8:000000b0 r7:00000100 r6:00000006 r5:00000005 r4:80f03098
[ 9900.693480] [<8012681c>] (tasklet_action) from [<801014a8>] (__do_softirq+0x198/0x474)
[ 9900.700551] [<80101310>] (__do_softirq) from [<801265f0>] (irq_exit+0xd8/0x120)
[ 9900.706310]  r10:00000000 r9:81626000 r8:00000402 r7:00000008 r6:00000000 r5:00000000
[ 9900.710292]  r4:ffffe000
[ 9900.710798] [<80126518>] (irq_exit) from [<80188774>] (handle_domain_irq+0x70/0x88)
[ 9900.716404]  r5:00000000 r4:80e9110c
[ 9900.720941] [<80188704>] (handle_domain_irq) from [<80101268>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[ 9900.728349]  r7:81627c04 r6:ffffffff r5:60000113 r4:80a4d57c
[ 9900.731083] [<8010120c>] (bcm2836_arm_irqchip_handle_irq) from [<80100aec>] (__irq_svc+0x4c/0x64)
[ 9900.739153] Exception stack(0x81627bd0 to 0x81627c18)
[ 9900.740846] 7bc0:                                     80a4d584 60000113 60000193 60000193
[ 9900.746121] 7be0: 60000113 60000113 81e8d400 fffffffe 00000402 81c93000 00000000 81627c34
[ 9900.753160] 7c00: 81627bf8 81627c20 8022f0a0 80a4d57c 60000113 ffffffff
[ 9900.760293] [<80a4d530>] (_raw_spin_unlock_irqrestore) from [<807b9b2c>] (usb_hcd_unlink_urb+0x64/0x94)
[ 9900.763733]  r5:60000113 r4:81e8af00
[ 9900.769477] [<807b9ac8>] (usb_hcd_unlink_urb) from [<807baf5c>] (usb_kill_urb+0x7c/0x10c)
[ 9900.775536]  r7:81c9345c r6:81e8af10 r5:80f05008 r4:81e8af00
[ 9900.780698] [<807baee0>] (usb_kill_urb) from [<8086e45c>] (hid_cease_io+0x2c/0x40)
[ 9900.784565]  r7:81c9345c r6:8175e000 r5:00000000 r4:81c92000
[ 9900.789171] [<8086e430>] (hid_cease_io) from [<80870a94>] (hid_suspend+0x1b8/0x22c)
[ 9900.791119]  r5:00000000 r4:81c92000
[ 9900.794583] [<808708dc>] (hid_suspend) from [<807bf610>] (usb_suspend_both+0x98/0x244)
[ 9900.800434]  r10:82564200 r9:00000001 r8:00000402 r7:81e8d504 r6:80f05008 r5:81e8d400
[ 9900.805092]  r4:00000000 r3:81e9be00
[ 9900.810303] [<807bf578>] (usb_suspend_both) from [<807c0930>] (usb_runtime_suspend+0x38/0x7c)
[ 9900.813448]  r10:ffffe000 r9:00000000 r8:80f05008 r7:81e8d504 r6:81e8d504 r5:81e8d480
[ 9900.820356]  r4:81e8d400
[ 9900.822291] [<807c08f8>] (usb_runtime_suspend) from [<80743f1c>] (__rpm_callback+0x5c/0x184)
[ 9900.830335]  r5:807c08f8 r4:81e8d480
[ 9900.832532] [<80743ec0>] (__rpm_callback) from [<807440c0>] (rpm_callback+0x7c/0x80)
[ 9900.840352]  r9:0000000c r8:80f05008 r7:00000008 r6:81e8d504 r5:807c08f8 r4:81e8d480
[ 9900.841965] [<80744044>] (rpm_callback) from [<807453ac>] (rpm_suspend.part.6+0xfc/0x60c)
[ 9900.849560]  r7:00000008 r6:81e8d504 r5:807c08f8 r4:81e8d480
[ 9900.850991] [<807452b0>] (rpm_suspend.part.6) from [<80745ae0>] (__pm_runtime_suspend+0x84/0x20c)
[ 9900.859273]  r10:81e9a900 r9:00000000 r8:60000113 r7:00000001 r6:81e8d504 r5:0000000c
[ 9900.863977]  r4:81e8d480
[ 9900.870308] [<80745a5c>] (__pm_runtime_suspend) from [<807bfe8c>] (usb_autosuspend_device+0x30/0x34)
[ 9900.875651]  r9:00000000 r8:81e9aa00 r7:00000001 r6:00000000 r5:81e8d4c4 r4:81e8d400
[ 9900.880873] [<807bfe5c>] (usb_autosuspend_device) from [<807b50e4>] (usb_remote_wakeup+0x5c/0x60)
[ 9900.887329]  r5:81e8d4c4 r4:81e8d400
[ 9900.890816] [<807b5088>] (usb_remote_wakeup) from [<807b56f4>] (hub_event+0x4b0/0x1350)
[ 9900.899104]  r7:00000001 r6:00000001 r5:00000000 r4:00000000
[ 9900.900864] [<807b5244>] (hub_event) from [<8013cec4>] (process_one_work+0x250/0x57c)
[ 9900.908895]  r10:b7721105 r9:00000000 r8:b7721100 r7:00000000 r6:b771bb40 r5:816f6580
[ 9900.911097]  r4:81e9a900
[ 9900.911449] [<8013cc74>] (process_one_work) from [<8013d250>] (worker_thread+0x60/0x5c4)
[ 9900.919712]  r10:b771bb40 r9:80f03d00 r8:b771bb58 r7:00000008 r6:b771bb40 r5:816f6598
[ 9900.921424]  r4:816f6580
[ 9900.925623] [<8013d1f0>] (worker_thread) from [<80145580>] (kthread+0x178/0x194)
[ 9900.930738]  r10:81626000 r9:8154be74 r8:00000000 r7:816f6580 r6:8013d1f0 r5:81733540
[ 9900.932895]  r4:8173f0c0
[ 9900.938573] [<80145408>] (kthread) from [<801000d4>] (ret_from_fork+0x14/0x20)
[ 9900.944776] Exception stack(0x81627fb0 to 0x81627ff8)
[ 9900.950824] 7fa0:                                     00000000 00000000 00000000 00000000
[ 9900.957279] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9900.960427] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 9900.965575]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80145408
[ 9900.972463]  r4:81733540
[ 9900.980375] Code: e3530000 0a000008 e5933000 e3a08000 (e5972028)
[ 9900.989546] ---[ end trace eebb4bb7a4d9ea4d ]---
[ 9900.995743] Kernel panic - not syncing: Fatal exception in interrupt
[ 9901.002100] CPU3: stopping
[ 9901.002769] CPU: 3 PID: 332 Comm: rs:main Q:Reg Tainted: G      D           5.15.32-v7+ #1538
[ 9901.003555] Hardware name: BCM2835
[ 9901.003924] Backtrace:
[ 9901.004202] [<80a3cb94>] (dump_backtrace) from [<80a3cddc>] (show_stack+0x20/0x24)
[ 9901.004862]  r7:00000015 r6:80d175cc r5:00000080 r4:60000193
[ 9901.005328] [<80a3cdbc>] (show_stack) from [<80a41314>] (dump_stack_lvl+0x70/0x94)
[ 9901.006026] [<80a412a4>] (dump_stack_lvl) from [<80a41350>] (dump_stack+0x18/0x1c)
[ 9901.006672]  r7:00000015 r6:00000003 r5:80fe93c4 r4:81050380
[ 9901.007131] [<80a41338>] (dump_stack) from [<8010e7c4>] (do_handle_IPI+0x2dc/0x310)
[ 9901.007845] [<8010e4e8>] (do_handle_IPI) from [<8010e820>] (ipi_handler+0x28/0x30)
[ 9901.008515]  r9:83552000 r8:00000007 r7:00000015 r6:814e6340 r5:80fe93c4 r4:814e3e00
[ 9901.009172] [<8010e7f8>] (ipi_handler) from [<8018eeb0>] (handle_percpu_devid_irq+0x8c/0x1d0)
[ 9901.009872] [<8018ee24>] (handle_percpu_devid_irq) from [<80188158>] (generic_handle_domain_irq+0x3c/0x4c)
[ 9901.010719]  r7:00000004 r6:814e3818 r5:80fe94e4 r4:bc8110f0
[ 9901.011289] [<8018811c>] (generic_handle_domain_irq) from [<8069b7f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[ 9901.012530] [<8069b754>] (bcm2836_arm_irqchip_handle_ipi) from [<80188770>] (handle_domain_irq+0x6c/0x88)
[ 9901.013511]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[ 9901.014178] [<80188704>] (handle_domain_irq) from [<80101268>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[ 9901.015257]  r7:83553de4 r6:ffffffff r5:60000013 r4:803d34dc
[ 9901.016077] [<8010120c>] (bcm2836_arm_irqchip_handle_irq) from [<80100aec>] (__irq_svc+0x4c/0x64)
[ 9901.017327] Exception stack(0x83553db0 to 0x83553df8)
[ 9901.017907] 3da0:                                     00000000 80f961a4 80e92819 00000000
[ 9901.018867] 3dc0: 00000000 00000000 859cf21c 8446e540 00000007 80f05008 859cf200 83553e7c
[ 9901.019641] 3de0: 83553de8 83553e00 80a467b0 803d34dc 60000013 ffffffff
[ 9901.020365] [<803d3450>] (posix_lock_inode) from [<803d3e00>] (vfs_lock_file+0x40/0x44)
[ 9901.021505]  r10:0000000e r9:80f05008 r8:00000007 r7:8446e540 r6:859cf21c r5:859cf200
[ 9901.022450]  r4:00000000
[ 9901.022820] [<803d3dc0>] (vfs_lock_file) from [<803d3fe4>] (do_lock_file_wait+0x70/0xf4)
[ 9901.023729]  r5:859cf200 r4:00000000
[ 9901.024225] [<803d3f74>] (do_lock_file_wait) from [<803d48d4>] (fcntl_setlk+0x88/0x260)
[ 9901.025381]  r10:0000000e r9:83553f10 r8:84707160 r7:00000007 r6:00000000 r5:8446e540
[ 9901.026448]  r4:859cf200
[ 9901.026852] [<803d484c>] (fcntl_setlk) from [<80361178>] (do_fcntl+0x5b8/0x6cc)
[ 9901.028074]  r10:0000000e r9:00000000 r8:0000000e r7:75ffe080 r6:8446e540 r5:80f05008
[ 9901.028934]  r4:00000007 r3:83553f10
[ 9901.029478] [<80360bc0>] (do_fcntl) from [<803613f8>] (sys_fcntl64+0xb0/0x20c)
[ 9901.030516]  r8:75ffe080 r7:00000007 r6:8446e540 r5:8446e541 r4:80f05008
[ 9901.031275] [<80361348>] (sys_fcntl64) from [<80100040>] (ret_fast_syscall+0x0/0x1c)
[ 9901.032279] Exception stack(0x83553fa8 to 0x83553ff0)
[ 9901.032885] 3fa0:                   75ffe0a4 00000000 0000000e 00000007 75ffe080 75ffe078
[ 9901.033894] 3fc0: 75ffe0a4 00000000 00000000 000000dd 00000000 00000901 000ba530 000a1240
[ 9901.034990] 3fe0: 00000000 75ffe058 76e30000 76db5a60
[ 9901.035692]  r10:000000dd r9:83552000 r8:80100244 r7:000000dd r6:00000000 r5:00000000
[ 9901.036783]  r4:75ffe0a4
[ 9901.037543] CPU1: stopping
[ 9901.043293] CPU: 1 PID: 1 Comm: systemd Tainted: G      D           5.15.32-v7+ #1538
[ 9901.044436] Hardware name: BCM2835
[ 9901.045232] Backtrace:
[ 9901.046771] [<80a3cb94>] (dump_backtrace) from [<80a3cddc>] (show_stack+0x20/0x24)
[ 9901.048846]  r7:00000015 r6:80d175cc r5:00000080 r4:60000193
[ 9901.049450] [<80a3cdbc>] (show_stack) from [<80a41314>] (dump_stack_lvl+0x70/0x94)
[ 9901.050271] [<80a412a4>] (dump_stack_lvl) from [<80a41350>] (dump_stack+0x18/0x1c)
[ 9901.051167]  r7:00000015 r6:00000001 r5:80fe93c4 r4:81050380
[ 9901.051784] [<80a41338>] (dump_stack) from [<8010e7c4>] (do_handle_IPI+0x2dc/0x310)
[ 9901.052571] [<8010e4e8>] (do_handle_IPI) from [<8010e820>] (ipi_handler+0x28/0x30)
[ 9901.053536]  r9:0060e6e0 r8:10c5387d r7:00000015 r6:814e6340 r5:80fe93c4 r4:814e3e00
[ 9901.054457] [<8010e7f8>] (ipi_handler) from [<8018eeb0>] (handle_percpu_devid_irq+0x8c/0x1d0)
[ 9901.055257] [<8018ee24>] (handle_percpu_devid_irq) from [<80188158>] (generic_handle_domain_irq+0x3c/0x4c)
[ 9901.056236]  r7:00000004 r6:814e3818 r5:80fe94e4 r4:bc8110d0
[ 9901.056868] [<8018811c>] (generic_handle_domain_irq) from [<8069b7f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[ 9901.057873] [<8069b754>] (bcm2836_arm_irqchip_handle_ipi) from [<80188770>] (handle_domain_irq+0x6c/0x88)
[ 9901.058865]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[ 9901.059544] [<80188704>] (handle_domain_irq) from [<80101268>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[ 9901.060465]  r7:10c5387d r6:ffffffff r5:20000010 r4:76f93258
[ 9901.061085] [<8010120c>] (bcm2836_arm_irqchip_handle_irq) from [<80100dec>] (__irq_usr+0x4c/0x60)
[ 9901.062098] Exception stack(0x81543fb0 to 0x81543ff8)
[ 9901.062917] 3fa0:                                     76f35d2d 76f35d2c 00000ff8 0000002f
[ 9901.063981] 3fc0: 7e88e670 00f0f708 00f2c750 7e88e67c 7e88e674 0060e6e0 00000013 7e88e6a4
[ 9901.064735] 3fe0: 76f8c8c4 7e88e630 76da473c 76f93258 20000010 ffffffff
[ 9901.065732] CPU2: stopping
[ 9901.066224] CPU: 2 PID: 1098 Comm: kworker/2:1 Tainted: G      D           5.15.32-v7+ #1538
[ 9901.067077] Hardware name: BCM2835
[ 9901.067537] Workqueue: events bpf_prog_free_deferred
[ 9901.068190] Backtrace:
[ 9901.068575] [<80a3cb94>] (dump_backtrace) from [<80a3cddc>] (show_stack+0x20/0x24)
[ 9901.069510]  r7:00000015 r6:80d175cc r5:00000080 r4:60000193
[ 9901.070161] [<80a3cdbc>] (show_stack) from [<80a41314>] (dump_stack_lvl+0x70/0x94)
[ 9901.071008] [<80a412a4>] (dump_stack_lvl) from [<80a41350>] (dump_stack+0x18/0x1c)
[ 9901.071882]  r7:00000015 r6:00000002 r5:80fe93c4 r4:81050380
[ 9901.072498] [<80a41338>] (dump_stack) from [<8010e7c4>] (do_handle_IPI+0x2dc/0x310)
[ 9901.073374] [<8010e4e8>] (do_handle_IPI) from [<8010e820>] (ipi_handler+0x28/0x30)
[ 9901.074289]  r9:834e8000 r8:00000001 r7:00000015 r6:814e6340 r5:80fe93c4 r4:814e3e00
[ 9901.075027] [<8010e7f8>] (ipi_handler) from [<8018eeb0>] (handle_percpu_devid_irq+0x8c/0x1d0)
[ 9901.075822] [<8018ee24>] (handle_percpu_devid_irq) from [<80188158>] (generic_handle_domain_irq+0x3c/0x4c)
[ 9901.076735]  r7:00000004 r6:814e3818 r5:80fe94e4 r4:bc8110e0
[ 9901.077349] [<8018811c>] (generic_handle_domain_irq) from [<8069b7f8>] (bcm2836_arm_irqchip_handle_ipi+0xa4/0xc4)
[ 9901.078445] [<8069b754>] (bcm2836_arm_irqchip_handle_ipi) from [<80188770>] (handle_domain_irq+0x6c/0x88)
[ 9901.079445]  r7:00000004 r6:00000000 r5:00000000 r4:80e9110c
[ 9901.080053] [<80188704>] (handle_domain_irq) from [<80101268>] (bcm2836_arm_irqchip_handle_irq+0x5c/0x60)
[ 9901.080918]  r7:834e9d54 r6:ffffffff r5:80000013 r4:801192fc
[ 9901.081579] [<8010120c>] (bcm2836_arm_irqchip_handle_irq) from [<80100aec>] (__irq_svc+0x4c/0x64)
[ 9901.082416] Exception stack(0x834e9d20 to 0x834e9d68)
[ 9901.082962] 9d20: a9305000 bc8aa000 00000001 801192e4 80f05008 85102000 85102000 00000004
[ 9901.083713] 9d40: 00000001 81087758 b774ada8 834e9d9c 85101000 834e9d70 8010f848 801192fc
[ 9901.084600] 9d60: 80000013 ffffffff
[ 9901.084962] [<8010f7dc>] (flush_tlb_kernel_range) from [<8030ee9c>] (__purge_vmap_area_lazy+0xc8/0x710)
[ 9901.086037]  r4:85101000
[ 9901.086327] [<8030edd4>] (__purge_vmap_area_lazy) from [<8030fc2c>] (_vm_unmap_aliases+0x134/0x170)
[ 9901.087315]  r10:b774ada8 r9:80f05188 r8:00000001 r7:00000004 r6:85102000 r5:85101000
[ 9901.088147]  r4:b774adc0
[ 9901.088456] [<8030faf8>] (_vm_unmap_aliases) from [<80312b78>] (__vunmap+0x108/0x230)
[ 9901.089387]  r10:85102000 r9:b7769000 r8:00000001 r7:38e38e39 r6:85102000 r5:836d98c4
[ 9901.090237]  r4:836d9400
[ 9901.090605] [<80312a70>] (__vunmap) from [<80312d48>] (__vfree+0x50/0x90)
[ 9901.091432]  r10:b773ef05 r9:00000000 r8:b773ef00 r7:00000080 r6:b773bb40 r5:81621bb8
[ 9901.092274]  r4:bc8a8000
[ 9901.092607] [<80312cf8>] (__vfree) from [<80312dec>] (vfree+0x64/0x7c)
[ 9901.093407]  r5:81621bb8 r4:bc8a8000
[ 9901.093835] [<80312d88>] (vfree) from [<80255330>] (__bpf_prog_free+0x4c/0x50)
[ 9901.094707]  r5:81621bb8 r4:bc8a8000
[ 9901.095143] [<802552e4>] (__bpf_prog_free) from [<802592e8>] (bpf_prog_free_deferred+0xcc/0xe4)
[ 9901.095943]  r5:81621bb8 r4:81621a00
[ 9901.096355] [<8025921c>] (bpf_prog_free_deferred) from [<8013cec4>] (process_one_work+0x250/0x57c)
[ 9901.097242]  r7:00000080 r6:b773bb40 r5:85979f00 r4:81621bb8
[ 9901.097842] [<8013cc74>] (process_one_work) from [<8013d250>] (worker_thread+0x60/0x5c4)
[ 9901.098790]  r10:b773bb40 r9:80f03d00 r8:b773bb58 r7:00000008 r6:b773bb40 r5:85979f18
[ 9901.099617]  r4:85979f00
[ 9901.099947] [<8013d1f0>] (worker_thread) from [<80145580>] (kthread+0x178/0x194)
[ 9901.100826]  r10:834e8000 r9:84483e74 r8:00000000 r7:85979f00 r6:8013d1f0 r5:81733c00
[ 9901.101674]  r4:82471dc0
[ 9901.102015] [<80145408>] (kthread) from [<801000d4>] (ret_from_fork+0x14/0x20)
[ 9901.102867] Exception stack(0x834e9fb0 to 0x834e9ff8)
[ 9901.103414] 9fa0:                                     00000000 00000000 00000000 00000000
[ 9901.104296] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9901.105145] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 9901.105867]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:80145408
[ 9901.106698]  r4:81733c00
[ 9901.107711] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

QEMU start:

qemu-system-arm -M raspi2b -kernel kernel7.img -serial stdio \
    -append 'rw earlycon=pl011,0x3f201000 console=ttyAMA0 loglevel=2 root=/dev/mmcblk0p2 fsck.repair=yes net.ifnames=0 rootwait memtest=1 dwc_otg.fiq_fsm_enable=0' \
    -drive file=2022-04-04-raspios-bullseye-armhf-lite.img,format=raw,if=sd \
    -dtb bcm2709-rpi-2-b.dtb \
    -k de -no-reboot -usb -device usb-kbd -device usb-tablet -device usb-net,netdev=ulan,mac=02:ca:fe:f0:0d:01 -netdev user,id=ulan,hostfwd=tcp::2222-:22 -vnc :0

speters avatar Jun 08 '22 12:06 speters