开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: RPi Kernel Panic on Bookworm


 

Following up on this issue, I've had a couple of more kernel panics since my last message. ?Unfortunately, I couldn't dedicate my monitor to troubleshooting, so I missed the first panic text output. ?However, since I had disabled beacon prior to the crash, I at least know it wasn't involved in this one.

? I strung up a serial console and ran "apt upgrade-full" to continue troubleshooting. ?The second crash happened this afternoon, from which I was able to capture the console messages below. ?It looks like Pat made the call that triggered the panic. ?I think that lets me rule out the user space AX-25 tools.

? I've updated the EEPROM firmware, but I'm not really hopeful that is going to make a difference. ?I'm trying to figure out what I should try after the next crash. ?It seems like replacing ax25-apps and ax25-utils with VE7FET versions may not be helpful, since Pat is outside of this code base and it triggered the crash. ?I thought about replacing libax25 with VE7FET's version, but I note that Pat isn't linked against libax25:

root@hammy:~# ldd /usr/bin/pat
linux-vdso.so.1 (0x0000007fa1e8e000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007fa1ca0000)
/lib/ld-linux-aarch64.so.1 (0x0000007fa1e51000)
?
?Any ideas would be appreciated.

? Thanks
? Mike




hammy login: [338459.077054] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000318
[338459.086148] Mem abort info:
[338459.089117] ? ESR = 0x0000000096000006
[338459.093057] ? EC = 0x25: DABT (current EL), IL = 32 bits
[338459.098565] ? SET = 0, FnV = 0
[338459.101771] ? EA = 0, S1PTW = 0
[338459.105065] ? FSC = 0x06: level 2 translation fault
[338459.110122] Data abort info:
[338459.113154] ? ISV = 0, ISS = 0x00000006
[338459.117154] ? CM = 0, WnR = 0
[338459.120272] user pgtable: 4k pages, 39-bit VAs, pgdp=000000010188c000
[338459.126919] [0000000000000318] pgd=0800000102a5f003, p4d=0800000102a5f003, pud=0800000102a5f003, pmd=0000000000000000 ??
[338459.137830] Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
[338459.144284] Modules linked in: mkiss ax25 cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep vc4 brcmfmac snd_usb_audio snd_soc_hdmi_codec hci_uart drm_display_helper btbcm brcmutil cec bluetooth snd_hwdep drm_dma_helper snd_usbmidi_lib cfg80211 binfmt_misc drm_kms_helper snd_rawmidi snd_seq_device rpivid_hevc(C) bcm2835_codec(C) snd_soc_core v3d bcm2835_isp(C) v4l2_mem2mem bcm2835_v4l2(C) gpu_sched bcm2835_mmal_vchiq(C) snd_compress videobuf2_vmalloc snd_bcm2835(C) videobuf2_dma_contig snd_pcm_dmaengine ecdh_generic drm_shmem_helper snd_pcm videobuf2_memops videobuf2_v4l2 ecc cdc_acm snd_timer videobuf2_common rfkill raspberrypi_hwmon libaes videodev vc_sm_cma(C) snd fb_sys_fops raspberrypi_gpiomem mc syscopyarea sysfillrect sysimgblt nvmem_rmem uio_pdrv_genirq uio i2c_dev drm fuse dm_mod drm_panel_orientation_quirks backlight ip_tables x_tables ipv6 gpio_keys i2c_bcm2835 i2c_brcmstb
[338459.225429] CPU: 0 PID: 12263 Comm: pat Tainted: G ? ? ? ? C ? ? ? ? 6.1.0-rpi7-rpi-v8 #1 ?Debian 1:6.1.63-1+rpt1
[338459.235928] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
[338459.241927] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[338459.249074] pc : ax25_addr_ax25dev+0x58/0xf0 [ax25]
[338459.254127] lr : ax25_addr_ax25dev+0x60/0xf0 [ax25]
[338459.259170] sp : ffffffc00fe4bcb0
[338459.262612] x29: ffffffc00fe4bcb0 x28: ffffff8103b98000 x27: 0000000000000000
[338459.269939] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[338459.277264] x23: 0000000000000000 x22: 0000000000000001 x21: ffffffde25b35b00
[338459.284591] x20: ffffffc00fe4bd78 x19: ffffff81048e8100 x18: 0000000000000000
[338459.291917] x17: 0000000000000000 x16: ffffffde94006014 x15: 00000040001d6000
[338459.299243] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[338459.306569] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffffde25b27660
[338459.313895] x8 : ffffffc00fe4bbd8 x7 : 0000000000000000 x6 : ffffffc00fe4bdb0
[338459.321221] x5 : ffffffde9486e000 x4 : 00000000000000ac x3 : 0000000000000006
[338459.328548] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffffc00fe4bd78
[338459.335874] Call trace:
[338459.338435] ?ax25_addr_ax25dev+0x58/0xf0 [ax25]
[338459.343125] ?ax25_bind+0x2d8/0x300 [ax25]
[338459.347286] ?__sys_bind+0xfc/0x110
[338459.350824] ?__arm64_sys_bind+0x28/0x40
[338459.354797] ?invoke_syscall+0x50/0x120
[338459.358686] ?el0_svc_common.constprop.0+0x68/0x124
[338459.363630] ?do_el0_svc+0x34/0xd0
[338459.367075] ?el0_svc+0x30/0x94
[338459.370257] ?el0t_64_sync_handler+0xf4/0x120
[338459.374672] ?el0t_64_sync+0x18c/0x190
[338459.378471] Code: f9400273 b4000213 f9400661 aa1403e0 (f9418c21)
[338459.384736] ---[ end trace 0000000000000000 ]---
[338459.389501] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[338459.396558] SMP: stopping secondary CPUs
[338459.400621] Kernel Offset: 0x1e8b400000 from 0xffffffc008000000
[338459.406708] PHYS_OFFSET: 0x0
[338459.409709] CPU features: 0x80000,2013c080,0000421b
[338459.414740] Memory Limit: none
[338459.417922] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---
?

Join [email protected] to automatically receive all group messages.