Open scottfk opened 1 week ago
I will almost certainly not have the time to dig deeply into this. If a new gcc drops before a new kernel, I will give it a try.
Until then I have rolled back to rc6.
Upgrading to binutils 2.43.1-4ubuntu1 seems to have fixed this (without even a recompile).
I will do a complete clean recompile with these new binutils and try to boot with the firmware flashed from the latest u-boot-starfive.
Seems just upgrading binutils was enough.
New kernel built with latest gcc and binutils boots just fine with the latest firmware.
Seems back in the 6.11 Release:
[ 31.225623] Unable to handle kernel NULL pointer dereference at virtual address 000000000000001c
[ 31.225625] [
I'll not upload the kernel config until I can figure out what breaks this (or it gets fixed upstream).
[ 43.405688] Unable to handle kernel NULL pointer dereference at virtual address 000000000000001c [ 43.405708] Oops [#1] [ 43.414543] softirq: huh, entered softirq 6 TASKLET 00000000ee0618ef with preempt_count 00000101, exited with 00000100? [ 43.416750] Modules linked in: qrtr binfmt_misc nls_iso8859_1 efi_pstore nfnetlink ip_tables x_tables autofs4 spidev uio_pdrv_genirq uio [ 43.439871] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.11.0-rc7-sfk #3 [ 43.448579] Tainted: [W]=WARN [ 43.451551] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2024.01+dfsg-5ubuntu1 01/01/2024 [ 43.461119] epc : dw_mci_read_data_pio+0xb8/0x1a0 [ 43.465841] ra : dw_mci_read_data_pio+0xb8/0x1a0 [ 43.470554] epc : ffffffffb7b71a02 ra : ffffffffb7b71a02 sp : ffffffc600003da0 [ 43.477782] gp : ffffffffb8ac7e18 tp : ffffffffb8810200 t0 : 0000000000000000 [ 43.485009] t1 : 0000000000000000 t2 : 0000000000000000 s0 : ffffffc600003e20 [ 43.492236] s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000 [ 43.499468] a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000 [ 43.506700] a5 : 0000000000000000 a6 : 0000000000000000 a7 : 0000000000000000 [ 43.513932] s2 : ffffffd6f6998000 s3 : 0000000000001fff s4 : 0000000000000002 [ 43.521164] s5 : ffffffd6c132fa00 s6 : 0000000000000000 s7 : 0000000000000000 [ 43.528396] s8 : fffffffffffff000 s9 : ffffffd6c132f840 s10: 0000000000000000 [ 43.535628] s11: 0000000000000088 t3 : 0000000000000000 t4 : 0000000000000000 [ 43.542860] t5 : 0000000000000000 t6 : 0000000000000000 [ 43.548180] status: 0000000200000100 badaddr: 000000000000001c cause: 000000000000000d [ 43.556108] [] dw_mci_read_data_pio+0xb8/0x1a0
[ 43.562127] [] dw_mci_interrupt+0x3ee/0x530
[ 43.567889] [] __handle_irq_event_percpu+0x44/0x1de
[ 43.574347] [] handle_irq_event+0x3c/0x8e
[ 43.579932] [] handle_fasteoi_irq+0x9c/0x1ec
[ 43.585778] [] generic_handle_domain_irq+0x1c/0x32
[ 43.592146] [] plic_handle_irq+0x6a/0xf8
[ 43.597647] [] generic_handle_domain_irq+0x1c/0x32
[ 43.604014] [] riscv_intc_irq+0x26/0x64
[ 43.609425] [] handle_riscv_irq+0x4c/0x7c
[ 43.615011] [] call_on_irq_stack+0x32/0x40
[ 43.620692] Code: 863b 41ad 85b3 01a7 8566 d563 01bb b783 1d0c 9782 (4cdc) 0c3b
[ 43.628103] ---[ end trace 0000000000000000 ]---
[ 43.632730] Kernel panic - not syncing: Fatal exception in interrupt
[ 43.639090] SMP: stopping secondary CPUs
[ 43.643040] Kernel Offset: 0x37200000 from 0xffffffff80000000
[ 43.648799] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---