So i wanted to update the kernel to check if the SFP ports are working already. Because on 6.15 they were not. Bad luck. This is kernel 6.19.0-rc1 from @frank-w’s repo. Not sure how i will fix this. Because there is no rescue system. Or maybe i’ll boot from sd card?
[ OK ] Started systemd-udevd.serv…nager for Device Events and Files.
[ 5.788301] mtdblock: MTD device 'bl2' is NAND, please consider using UBI block devices instead.
[ OK ] Found device dev-mmcblk0p5.device - /dev/mmcblk0p5.
[ OK ] Found device dev-ttyS0.device - /dev/ttyS0.
[ 6.328229] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 6.358672] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 6.364864] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 6.572057] mt7921e 0001:01:00.0: vgaarb: pci_notify
[ 6.577056] mt7921e 0001:01:00.0: assign IRQ: got 124
[ 6.582169] mt7921e 0001:01:00.0: enabling device (0000 -> 0002)
[ 6.589860] mt7921e 0001:01:00.0: enabling bus mastering
[ 6.595266] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[ 6.613425] mt7921e 0001:01:00.0: ASIC revision: 79220010
[ OK ] Listening on systemd-rfkil…l Switch Status /dev/rfkill Watch.
Mounting boot.mount - /boot...
[ 6.704685] mt7921e 0001:01:00.0: vgaarb: pci_notify
[ 6.710820] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 6.712606] ------------[ cut here ]------------
[ 6.725382] strnlen: detected buffer overflow: 17 byte read of buffer size 16
[ 6.732539] WARNING: lib/string_helpers.c:1035 at __fortify_report+0x54/0x64, CPU#0: kworker/0:1/11
[ 6.741591] Modules linked in: mt7921e mt7921_common mt792x_lib mt76_connac_lib mt76 mac80211 cfg80211 libarc4 fuse ip_tables x_tables
[ 6.753686] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 6.19.0-rc1-bpi-r4 #2 NONE
[ 6.761941] Hardware name: Banana Pi BPI-R4 (2x SFP+) (DT)
[ 6.767416] Workqueue: events mt7921_init_work [mt7921_common]
[ 6.773250] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 6.780201] pc : __fortify_report+0x54/0x64
[ 6.784376] lr : __fortify_report+0x54/0x64
[ 6.788551] sp : ffffffc081c43bb0
[ 6.791855] x29: ffffffc081c43bb0 x28: 0000000000000000 x27: 0000000000000000
[ 6.798983] x26: ffffff80c00f5580 x25: ffffff80c9201ee8 x24: ffffff80c920fae8
[ 6.806109] x23: 0000000000000002 x22: ffffffc0827b5000 x21: 0000000000001000
[ 6.813236] x20: 0000000000000000 x19: ffffff80c9202060 x18: 00000000ffffffff
[ 6.820362] x17: 3120657a69732072 x16: 656666756220666f x15: 2064616572206574
[ 6.827487] x14: 00000000ffffffea x13: ffffffc081c43978 x12: ffffffc0818e9bc0
[ 6.834613] x11: 0000000000000001 x10: 0000000000000001 x9 : 0000000000017fe8
[ 6.841739] x8 : c0000000ffffefff x7 : ffffffc081891b48 x6 : 0000000000000001
[ 6.848865] x5 : ffffff80ff74c688 x4 : 0000000000000000 x3 : 0000000000000001
[ 6.855990] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff80c0179c80
[ 6.863117] Call trace:
[ 6.865554] __fortify_report+0x54/0x64 (P)
[ 6.869730] __fortify_panic+0x10/0x14
[ 6.873471] mt76_connac_mcu_wtbl_generic_tlv+0x0/0x19c [mt76_connac_lib]
[ 6.880251] mt792x_load_firmware+0x48/0x18c [mt792x_lib]
[ 6.885645] mt7921_run_firmware+0x28/0x548 [mt7921_common]
[ OK 6.891211] mt7921e_mcu_init+0x54/0x84 [mt7921e]
[ 6.897287] mt7921_init_work+0x80/0x250 [mt7921_common]
[ 6.902590] process_one_work+0x164/0x39c
[ 6.906597] worker_thread+0x278/0x464
[ 6.910337] kthread+0x114/0x1c8
[ 6.913557] ret_from_fork+0x10/0x20
[ 6.917127] ---[ end trace 0000000000000000 ]---
0m] Mounted 6.921805] ------------[ cut here ]------------
[ 6.927756] kernel BUG at lib/string_helpers.c:1043!
[ 6.932713] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
[ 6.938882] Modules linked in: mt7921e mt7921_common mt792x_lib mt76_connac_lib mt76 mac80211 cfg80211 libarc4 fuse ip_tables x_tables
[ 6.950974] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Tainted: G W 6.19.0-rc1-bpi-r4 #2 NONE
[ 6.960789] Tainted: [W]=WARN
[ 6.963746] Hardware name: Banana Pi BPI-R4 (2x SFP+) (DT)
[ 6.969220] Workqueue: events mt7921_init_work [mt7921_common]
[ 6.975052] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 6.982002] pc : __fortify_panic+0x10/0x14
[ 6.986093] lr : __fortify_panic+0x10/0x14
[ 6.990179] sp : ffffffc081c43bc0
[ 6.993483] x29: ffffffc081c43bc0 x28: 0000000000000000 x27: 0000000000000000
[ 7.000610] x26: ffffff80c00f5580 x25: ffffff80c9201ee8 x24: ffffff80c920fae8
[ 7.007736] x23: 0000000000000002 x22: ffffffc0827b5000 x21: 0000000000001000
[ 7.014862] x20: 0000000000000000 x19: ffffff80c9202060 x18: 00000000ffffffff
[ 7.021989] x17: 3120657a69732072 x16: 656666756220666f x15: 2064616572206574
[ 7.029115] x14: 00000000ffffffea x13: ffffffc081c43978 x12: ffffffc0818e9bc0
[ 7.036242] x11: 0000000000000001 x10: 0000000000000001 x9 : 0000000000017fe8
[ 7.043367] x8 : c0000000ffffefff x7 : ffffffc081891b48 x6 : 0000000000000001
[ 7.050493] x5 : ffffff80ff74c688 x4 : 0000000000000000 x3 : 0000000000000001
[ 7.057619] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff80c0179c80
[ 7.064746] Call trace:
[ 7.067183] __fortify_panic+0x10/0x14 (P)
[ 7.071271] mt76_connac_mcu_wtbl_generic_tlv+0x0/0x19c [mt76_connac_lib]
[ 7.078053] mt792x_load_firmware+0x48/0x18c [mt792x_lib]
[ 7.083445] mt7921_run_firmware+0x28/0x548 [mt7921_common]
[ 7.089009] mt7921e_mcu_init+0x54/0x84 [mt7921e]
[ 7.093704] mt7921_init_work+0x80/0x250 [mt7921_common]
[ 7.099008] process_one_work+0x164/0x39c
[ 7.103011] worker_thread+0x278/0x464
[ 7.106751] kthread+0x114/0x1c8
[ 7.109972] ret_from_fork+0x10/0x20
[ 7.113544] Code: d503233f a9bf7bfd 910003fd 97ffffe4 (d4210000)
[ 7.119626] ---[ end trace 0000000000000000 ]---
[ 7.125766] pstore: backend (ramoops) writing error (-28)
[ 7.131154] Kernel panic - not syncing: Oops - BUG: Fatal exception
[ 7.137408] SMP: stopping secondary CPUs
1;39mboot.mount 7.141325] Kernel Offset: disabled
[ 7.146179] CPU features: 0x000000,00810001,00008001,0400420b
[ 7.151915] Memory Limit: none
[ 7.156497] Rebooting in 10 seconds..