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 6.13.0 AARCH64 Freezes Up #6624

Open
Dark-Sky opened this issue Jan 22, 2025 · 17 comments
Open

Kernel 6.13.0 AARCH64 Freezes Up #6624

Dark-Sky opened this issue Jan 22, 2025 · 17 comments

Comments

@Dark-Sky
Copy link

Dark-Sky commented Jan 22, 2025

Describe the bug

The 6.13.0 aarch64 kernel freezes up at different stages from the login screen onwards. It is most prevelent after opening up firefox or chromium trying to play a video after a few seconds. The screen will lock up and the audio goes into a short loop.

Steps to reproduce the behaviour

Follow the official RPi guide to compile and install the kernel. Kernel compiled at d53a520.

Device (s)

Raspberry Pi 4 Mod. B, Raspberry Pi 5

System

Manjaro ARM
XFCE
Linux jellyfin 6.13.0-v8-16k #1 SMP PREEMPT Wed Jan 22 01:33:02 CST 2025 aarch64 GNU/Linux

[ray@jellyfin ~]$ sudo vcgencmd version
2025/01/14 00:16:48
Copyright (c) 2012 Broadcom
version 0451f142 (release) (embedded)

Logs

dmesg log
---------

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] Linux version 6.13.0-v8-16k (ray@jellyfin) (aarch64-unknown-linux-gnu-gcc (GCC) 14.1.1 20240507, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT Wed Jan 22 01:33:02 CST 2025
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: Raspberry Pi 5 Model B Rev 1.0
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x000000000e000000, size 512 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x000000000e000000..0x000000002dffffff (524288 KiB) map reusable linux,cma
[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000007ffff (512 KiB) nomap non-reusable atf@0
[    0.000000] OF: reserved mem: 0x000000003fd164e0..0x000000003fd16517 (0 KiB) nomap non-reusable nvram@0
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] Faking node 0 at [mem 0x0000000000000000-0x000000003fffffff] (1024MB)
[    0.000000] Faking node 1 at [mem 0x0000000040000000-0x000000007fffffff] (1024MB)
[    0.000000] Faking node 2 at [mem 0x0000000080000000-0x00000000bfffffff] (1024MB)
[    0.000000] Faking node 3 at [mem 0x00000000c0000000-0x00000000ffffffff] (1024MB)
[    0.000000] Faking node 4 at [mem 0x0000000100000000-0x000000013fffffff] (1024MB)
[    0.000000] Faking node 5 at [mem 0x0000000140000000-0x000000017fffffff] (1024MB)
[    0.000000] Faking node 6 at [mem 0x0000000180000000-0x00000001bfffffff] (1024MB)
[    0.000000] Faking node 7 at [mem 0x00000001c0000000-0x00000001ffffffff] (1024MB)
[    0.000000] NUMA: Initialized distance table, cnt=8
[    0.000000] NODE_DATA(0) allocated [mem 0x3f7fd200-0x3f7fffff]
[    0.000000] NODE_DATA(1) allocated [mem 0x7fffd200-0x7fffffff]
[    0.000000] NODE_DATA(2) allocated [mem 0xbfffd200-0xbfffffff]
[    0.000000] NODE_DATA(3) allocated [mem 0xffffd200-0xffffffff]
[    0.000000] NODE_DATA(4) allocated [mem 0x13fffd200-0x13fffffff]
[    0.000000] NODE_DATA(5) allocated [mem 0x17fffd200-0x17fffffff]
[    0.000000] NODE_DATA(6) allocated [mem 0x1bfffd200-0x1bfffffff]
[    0.000000] NODE_DATA(7) allocated [mem 0x1ffb91200-0x1ffb93fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000007ffff]
[    0.000000]   node   0: [mem 0x0000000000080000-0x000000003f7fffff]
[    0.000000]   node   1: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   node   2: [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   node   3: [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   node   4: [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000]   node   5: [mem 0x0000000140000000-0x000000017fffffff]
[    0.000000]   node   6: [mem 0x0000000180000000-0x00000001bfffffff]
[    0.000000]   node   7: [mem 0x00000001c0000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003f7fffff]
[    0.000000] Initmem setup node 1 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 2 [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 3 [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000] Initmem setup node 4 [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Initmem setup node 5 [mem 0x0000000140000000-0x000000017fffffff]
[    0.000000] Initmem setup node 6 [mem 0x0000000180000000-0x00000001bfffffff]
[    0.000000] Initmem setup node 7 [mem 0x00000001c0000000-0x00000001ffffffff]
[    0.000000] On node 1, zone DMA: 512 pages in unavailable ranges
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 9 pages/cpu s94552 r8192 d44712 u147456
[    0.000000] pcpu-alloc: s94552 r8192 d44712 u147456 alloc=9*16384
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: SSBS not fully self-synchronizing
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave  numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=m.m.m.m vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  root=PARTUUID=cb41f4dc-03 rw rootwait console=ttyAMA10,115200 console=tty0 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0 cgroup_enable=memory psi=1 delayacct lsm=landlock,lockdown,yama,integrity,apparmor,bpf
[    0.000000] cgroup: Disabling memory control group subsystem
[    0.000000] mempolicy: NUMA default policy overridden to 'interleave:0-7'
[    0.000000] audit: disabled (until reboot)
[    0.000000] cgroup: Enabling memory control group subsystem
[    0.000000] Unknown kernel command line parameters "selinux=0", will be passed to user space.
[    0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes
[    0.000000] Fallback order for Node 0: 0 1 2 3 4 5 6 7 
[    0.000000] Fallback order for Node 1: 1 2 3 4 5 6 7 0 
[    0.000000] Fallback order for Node 2: 2 3 4 5 6 7 0 1 
[    0.000000] Fallback order for Node 3: 3 4 5 6 7 0 1 2 
[    0.000000] Fallback order for Node 4: 4 5 6 7 0 1 2 3 
[    0.000000] Fallback order for Node 5: 5 6 7 0 1 2 3 4 
[    0.000000] Fallback order for Node 6: 6 7 0 1 2 3 4 5 
[    0.000000] Fallback order for Node 7: 7 0 1 2 3 4 5 6 
[    0.000000] Built 8 zonelists, mobility grouping on.  Total pages: 523776
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbffc000-0x00000000ffffc000] (64MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=8
[    0.000000] ftrace: allocating 45182 entries in 45 pages
[    0.000000] ftrace: allocated 45 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000083] Console: colour dummy device 80x25
[    0.000086] printk: legacy console [tty0] enabled
[    0.000268] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[    0.000274] pid_max: default: 32768 minimum: 301
[    0.000356] LSM: initializing lsm=capability,apparmor
[    0.000455] AppArmor: AppArmor initialized
[    0.001963] Dentry cache hash table entries: 1048576 (order: 9, 8388608 bytes, vmalloc)
[    0.002694] Inode-cache hash table entries: 524288 (order: 8, 4194304 bytes, vmalloc)
[    0.002747] Mount-cache hash table entries: 16384 (order: 3, 131072 bytes, vmalloc)
[    0.002769] Mountpoint-cache hash table entries: 16384 (order: 3, 131072 bytes, vmalloc)
[    0.008073] rcu: Hierarchical SRCU implementation.
[    0.008084] rcu: 	Max phase no-delay instances is 1000.
[    0.008124] Timer migration: 1 hierarchy levels; 8 children per group; 0 crossnode level
[    0.012285] EFI services will not be available.
[    0.016017] smp: Bringing up secondary CPUs ...
[    0.024121] Detected PIPT I-cache on CPU1
[    0.024155] CPU1: Booted secondary processor 0x0000000100 [0x414fd0b1]
[    0.028081] Detected PIPT I-cache on CPU2
[    0.028111] CPU2: Booted secondary processor 0x0000000200 [0x414fd0b1]
[    0.036084] Detected PIPT I-cache on CPU3
[    0.036101] CPU3: Booted secondary processor 0x0000000300 [0x414fd0b1]
[    0.036127] smp: Brought up 8 nodes, 4 CPUs
[    0.036141] SMP: Total of 4 processors activated.
[    0.036143] CPU: All CPU(s) started at EL2
[    0.036146] CPU features: detected: 32-bit EL0 Support
[    0.036149] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.036152] CPU features: detected: Common not Private translations
[    0.036154] CPU features: detected: CRC32 instructions
[    0.036159] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.036161] CPU features: detected: LSE atomic instructions
[    0.036163] CPU features: detected: Privileged Access Never
[    0.036165] CPU features: detected: RAS Extension Support
[    0.036168] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.036193] alternatives: applying system-wide alternatives
[    0.037625] CPU features: detected: Hardware dirty bit management on CPU0-3
[    0.037773] Memory: 7694944K/8380416K available (14336K kernel code, 2258K rwdata, 4848K rodata, 5376K init, 638K bss, 132688K reserved, 524288K cma-reserved)
[    0.037939] devtmpfs: initialized
[    0.039570] Enabled cp15_barrier support
[    0.039577] Enabled setend support
[    0.039632] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.039648] futex hash table entries: 1024 (order: 2, 65536 bytes, vmalloc)
[    0.040809] 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.040820] 0 pages in range for non-PLT usage
[    0.040822] 129336 pages in range for PLT usage
[    0.040976] pinctrl core: initialized pinctrl subsystem
[    0.041132] DMI not present or invalid.
[    0.044625] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.044965] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.045004] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.045043] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.045155] thermal_sys: Registered thermal governor 'step_wise'
[    0.045162] cpuidle: using governor menu
[    0.045220] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.045242] ASID allocator initialised with 32768 entries
[    0.045441] Serial: AMBA PL011 UART driver
[    0.046084] /soc@107c000000/interrupt-controller@7fff9000: Fixed dependency cycle(s) with /soc@107c000000/interrupt-controller@7fff9000
[    0.046204] bcm2835-mbox 107c013880.mailbox: mailbox enabled
[    0.046318] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 16, base_baud = 0) is a PL011 rev3
[    0.046329] printk: legacy console [ttyAMA10] enabled
[    1.105272] raspberrypi-firmware soc@107c000000:firmware: Attached to firmware from 2025-01-14T00:16:48, variant start_cd
[    1.120288] raspberrypi-firmware soc@107c000000:firmware: Firmware hash is 0451f14200000000000000000000000000000000
[    1.143250] bcm2835-dma 1000010000.dma: DMA legacy API manager, dmachans=0x1
[    1.150561] iommu: Default domain type: Translated
[    1.155393] iommu: DMA domain TLB invalidation policy: strict mode
[    1.168271] SCSI subsystem initialized
[    1.172056] usbcore: registered new interface driver usbfs
[    1.177563] usbcore: registered new interface driver hub
[    1.182896] usbcore: registered new device driver usb
[    1.188025] pps_core: LinuxPPS API ver. 1 registered
[    1.193005] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.202175] PTP clock support registered
[    1.206334] vgaarb: loaded
[    1.209124] clocksource: Switched to clocksource arch_sys_counter
[    1.290417] VFS: Disk quotas dquot_6.6.0
[    1.294360] VFS: Dquot-cache hash table entries: 2048 (order 0, 16384 bytes)
[    1.301527] AppArmor: AppArmor Filesystem Enabled
[    1.307164] NET: Registered PF_INET protocol family
[    1.312230] IP idents hash table entries: 131072 (order: 6, 1048576 bytes, vmalloc)
[    1.321325] tcp_listen_portaddr_hash hash table entries: 4096 (order: 2, 65536 bytes, vmalloc)
[    1.330006] Table-perturb hash table entries: 65536 (order: 4, 262144 bytes, vmalloc)
[    1.337873] TCP established hash table entries: 65536 (order: 5, 524288 bytes, vmalloc)
[    1.346056] TCP bind hash table entries: 65536 (order: 7, 2097152 bytes, vmalloc)
[    1.354197] TCP: Hash tables configured (established 65536 bind 65536)
[    1.360858] MPTCP token hash table entries: 8192 (order: 3, 196608 bytes, vmalloc)
[    1.368507] UDP hash table entries: 4096 (order: 4, 262144 bytes, vmalloc)
[    1.375504] UDP-Lite hash table entries: 4096 (order: 4, 262144 bytes, vmalloc)
[    1.382983] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.388797] RPC: Registered named UNIX socket transport module.
[    1.394740] RPC: Registered udp transport module.
[    1.399457] RPC: Registered tcp transport module.
[    1.404174] RPC: Registered tcp-with-tls transport module.
[    1.409680] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.416146] PCI: CLS 0 bytes, default 64
[    1.421076] kvm [1]: nv: 557 coarse grained trap handlers
[    1.426589] kvm [1]: IPA Size Limit: 40 bits
[    1.430877] kvm [1]: GICV region size/alignment is unsafe, using trapping (reduced performance)
[    1.439627] kvm [1]: vgic interrupt IRQ9
[    1.443567] kvm [1]: VHE mode initialized successfully
[    1.449053] Initialise system trusted keyrings
[    1.453630] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    1.460334] NFS: Registering the id_resolver key type
[    1.465410] Key type id_resolver registered
[    1.469603] Key type id_legacy registered
[    1.473632] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.480357] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.487903] Key type asymmetric registered
[    1.492013] Asymmetric key parser 'x509' registered
[    1.496921] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.504377] io scheduler mq-deadline registered
[    1.508921] io scheduler kyber registered
[    1.512951] io scheduler bfq registered
[    1.516978] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/interrupt-controller@7d510600, parent irq: 27)
[    1.527063] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/interrupt-controller@7c502000, parent irq: 28)
[    1.537135] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d508380, parent irq: 29)
[    1.545808] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d508400, parent irq: 30)
[    1.554480] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d503000, parent irq: 31)
[    1.563930] ledtrig-cpu: registered to indicate activity on CPUs
[    1.570153] simple-framebuffer 3f800000.framebuffer: framebuffer at 0x3f800000, 0x3f4800 bytes
[    1.578806] simple-framebuffer 3f800000.framebuffer: format=r5g6b5, mode=1920x1080x16, linelength=3840
[    1.589041] Console: switching to colour frame buffer device 240x67
[    1.596170] simple-framebuffer 3f800000.framebuffer: fb0: simplefb registered!
[    1.633332] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    1.639875] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 33, base_baud = 6000000) is a Broadcom BCM7271 UART
[    1.650485] serial serial0: tty port ttyS0 registered
[    1.655764] iproc-rng200 107d208000.rng: hwrng registered
[    1.661211] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    1.669649] bcm2712-iommu-cache 1000005b00.iommuc: bcm2712_iommu_cache_probe
[    1.677909] brd: module loaded
[    1.681793] loop: module loaded
[    1.685026] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    1.692363] Loading iSCSI transport class v2.0-870.
[    1.697839] usbcore: registered new device driver r8152-cfgselector
[    1.704140] usbcore: registered new interface driver r8152
[    1.709654] usbcore: registered new interface driver lan78xx
[    1.715339] usbcore: registered new interface driver smsc95xx
[    1.721146] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.726928] dwc_otg: FIQ enabled
[    1.726929] dwc_otg: NAK holdoff enabled
[    1.726930] dwc_otg: FIQ split-transaction FSM enabled
[    1.726931] Module dwc_common_port init
[    1.727018] usbcore: registered new interface driver uas
[    1.732355] usbcore: registered new interface driver usb-storage
[    1.738442] mousedev: PS/2 mouse device common for all mice
[    1.751630] rpi-rtc soc@107c000000:rpi_rtc: registered as rtc0
[    1.758892] rpi-rtc soc@107c000000:rpi_rtc: setting system clock to 1970-01-01T00:00:13 UTC (13)
[    1.767980] bcm2835-wdt bcm2835-wdt: Poweroff handler already present!
[    1.774540] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.782970] sdhci: Secure Digital Host Controller Interface driver
[    1.789197] sdhci: Copyright(c) Pierre Ossman
[    1.793601] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.799342] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.805823] hid: raw HID events driver (C) Jiri Kosina
[    1.810992] usbcore: registered new interface driver usbhid
[    1.816585] usbhid: USB HID core driver
[    1.820667] hw perfevents: enabled with armv8_cortex_a76 PMU driver, 7 (0,8000003f) counters available
[    1.830219] NET: Registered PF_PACKET protocol family
[    1.835309] Key type dns_resolver registered
[    1.842572] registered taskstats version 1
[    1.846748] Loading compiled-in X.509 certificates
[    1.852841] Demotion targets for Node 0: null
[    1.857217] Demotion targets for Node 1: null
[    1.861936] Demotion targets for Node 2: null
[    1.866639] Demotion targets for Node 3: null
[    1.871492] Demotion targets for Node 4: null
[    1.876196] Demotion targets for Node 5: null
[    1.880886] Demotion targets for Node 6: null
[    1.885575] Demotion targets for Node 7: null
[    1.890518] Key type .fscrypt registered
[    1.894770] Key type fscrypt-provisioning registered
[    1.900076] AppArmor: AppArmor sha256 policy hashing enabled
[    1.906656] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[    1.914152] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@120000, using [bus 00-ff]
[    1.923567] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    1.932184] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    1.940798] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    1.949409] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    1.959670] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0000:00
[    1.966446] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.972255] pci_bus 0000:00: root bus resource [mem 0x1f00000000-0x1ffffffffb] (bus address [0x00000000-0xfffffffb])
[    1.983128] pci_bus 0000:00: root bus resource [mem 0x1c00000000-0x1effffffff pref] (bus address [0x400000000-0x6ffffffff])
[    1.994626] pci 0000:00:00.0: [14e4:2712] type 01 class 0x060400 PCIe Root Port
[    2.002278] pci 0000:00:00.0: PCI bridge to [bus 00]
[    2.007569] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f000fffff]
[    2.015043] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f000fffff 64bit pref]
[    2.023486] pci 0000:00:00.0: PME# supported from D0 D3hot
[    2.029776] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.038134] brcm-pcie 1000120000.pcie: Forcing gen 2
[    2.145128] brcm-pcie 1000120000.pcie: clkreq-mode set to default
[    2.151547] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    2.158499] pci 0000:01:00.0: [1de4:0001] type 00 class 0x020000 PCIe Endpoint
[    2.166057] pci 0000:01:00.0: BAR 0 [mem 0xffffc000-0xffffffff]
[    2.172294] pci 0000:01:00.0: BAR 1 [mem 0xffc00000-0xffffffff]
[    2.178526] pci 0000:01:00.0: BAR 2 [mem 0xffff0000-0xffffffff]
[    2.184810] pci 0000:01:00.0: supports D1
[    2.189117] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    2.201137] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.208071] pci 0000:00:00.0: bridge window [mem 0x1f00000000-0x1f005fffff]: assigned
[    2.216222] pci 0000:01:00.0: BAR 1 [mem 0x1f00000000-0x1f003fffff]: assigned
[    2.223680] pci 0000:01:00.0: BAR 2 [mem 0x1f00400000-0x1f0040ffff]: assigned
[    2.231138] pci 0000:01:00.0: BAR 0 [mem 0x1f00410000-0x1f00413fff]: assigned
[    2.238596] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.243871] pci 0000:00:00.0:   bridge window [mem 0x1f00000000-0x1f005fffff]
[    2.251326] pci_bus 0000:00: resource 4 [mem 0x1f00000000-0x1ffffffffb]
[    2.258263] pci_bus 0000:00: resource 5 [mem 0x1c00000000-0x1effffffff pref]
[    2.265635] pci_bus 0000:01: resource 1 [mem 0x1f00000000-0x1f005fffff]
[    2.272571] pci 0000:00:00.0: Max Payload Size set to  256/ 512 (was  128), Max Read Rq  512
[    2.281346] pci 0000:01:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  512
[    2.290168] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    2.296610] pcieport 0000:00:00.0: PME: Signaling with IRQ 38
[    2.302726] pcieport 0000:00:00.0: AER: enabled with IRQ 38
[    2.308678] rp1 0000:01:00.0: bar0 len 0x4000, start 0x1f00410000, end 0x1f00413fff, flags, 0x40200
[    2.318071] rp1 0000:01:00.0: bar1 len 0x400000, start 0x1f00000000, end 0x1f003fffff, flags, 0x40200
[    2.327648] rp1 0000:01:00.0: enabling device (0000 -> 0002)
[    2.334182] rp1 0000:01:00.0: chip_id 0x20001927
[    2.342991] genirq: irq_chip rp1_irq_chip did not update eff. affinity mask of irq 100
[    2.362999] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 106 (m.m.m.m)
[    2.374345] dw_axi_dmac_platform 1f00188000.dma: DesignWare AXI DMA Controller, 8 channels
[    2.383152] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.388540] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    2.396532] xhci-hcd xhci-hcd.0: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000808000000810
[    2.405862] xhci-hcd xhci-hcd.0: irq 131, io mem 0x1f00200000
[    2.412006] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    2.417395] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    2.424972] xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
[    2.431462] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.13
[    2.440096] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.447685] usb usb1: Product: xHCI Host Controller
[    2.452916] usb usb1: Manufacturer: Linux 6.13.0-v8-16k xhci-hcd
[    2.459286] usb usb1: SerialNumber: xhci-hcd.0
[    2.464164] hub 1-0:1.0: USB hub found
[    2.468272] hub 1-0:1.0: 2 ports detected
[    2.472715] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.13
[    2.481355] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.488944] usb usb2: Product: xHCI Host Controller
[    2.494194] usb usb2: Manufacturer: Linux 6.13.0-v8-16k xhci-hcd
[    2.500578] usb usb2: SerialNumber: xhci-hcd.0
[    2.505431] hub 2-0:1.0: USB hub found
[    2.509536] hub 2-0:1.0: 1 port detected
[    2.514013] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    2.519416] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    2.527425] xhci-hcd xhci-hcd.1: hcc params 0x0240fe6d hci version 0x110 quirks 0x0000808000000810
[    2.536761] xhci-hcd xhci-hcd.1: irq 136, io mem 0x1f00300000
[    2.542903] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    2.548287] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    2.555862] xhci-hcd xhci-hcd.1: Host supports USB 3.0 SuperSpeed
[    2.562342] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.13
[    2.570966] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.578538] usb usb3: Product: xHCI Host Controller
[    2.583741] usb usb3: Manufacturer: Linux 6.13.0-v8-16k xhci-hcd
[    2.590084] usb usb3: SerialNumber: xhci-hcd.1
[    2.594919] hub 3-0:1.0: USB hub found
[    2.599047] hub 3-0:1.0: 2 ports detected
[    2.603468] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.13
[    2.612094] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.619691] usb usb4: Product: xHCI Host Controller
[    2.624909] usb usb4: Manufacturer: Linux 6.13.0-v8-16k xhci-hcd
[    2.631290] usb usb4: SerialNumber: xhci-hcd.1
[    2.636140] hub 4-0:1.0: USB hub found
[    2.640223] hub 4-0:1.0: 1 port detected
[    2.645180] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.653973] bcm2712-iommu 1000005100.iommu: bcm2712_iommu_probe: Success
[    2.661469] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.670214] bcm2712-iommu 1000005200.iommu: bcm2712_iommu_probe: Success
[    2.677687] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_init: DEBUG_INFO = 0x20804774
[    2.686423] bcm2712-iommu 1000005280.iommu: bcm2712_iommu_probe: Success
[    2.693788] mmc1: CQHCI version 5.10
[    2.694404] of_cfs_init
[    2.698189] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO
[    2.698307] of_cfs_init: OK
[    2.709320] clk: Disabling unused clocks
[    2.717132] usb 1-1: new low-speed USB device number 2 using xhci-hcd
[    2.728325] PM: genpd: Disabling unused power domains
[    2.746060] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[    2.885658] mmc1: SDHCI controller on 1001100000.mmc [1001100000.mmc] using ADMA 64-bit
[    2.894088] Waiting for root device PARTUUID=cb41f4dc-03...
[    2.896541] usb 1-1: New USB device found, idVendor=1a2c, idProduct=4324, bcdDevice= 1.10
[    2.908547] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.916048] usb 1-1: Product: USB Keyboard
[    2.920480] usb 1-1: Manufacturer: SEM
[    2.949437] mmc1: new UHS-I speed DDR50 SDIO card at address 0001
[    2.959513] input: SEM USB Keyboard as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1:1.0/0003:1A2C:4324.0001/input/input0
[    2.973597] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.997349] usb 4-1: New USB device found, idVendor=0bc2, idProduct=a003, bcdDevice= 4.19
[    3.005868] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.013337] usb 4-1: Product: USB
[    3.016961] usb 4-1: Manufacturer: Seagate 
[    3.021460] usb 4-1: SerialNumber: 2HC015KJ
[    3.026872] usb-storage 4-1:1.0: USB Mass Storage device detected
[    3.033397] scsi host0: usb-storage 4-1:1.0
[    3.037945] hid-generic 0003:1A2C:4324.0001: input,hidraw0: USB HID v1.10 Keyboard [SEM USB Keyboard] on usb-xhci-hcd.0-1/input0
[    3.063475] input: SEM USB Keyboard Consumer Control as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1:1.1/0003:1A2C:4324.0002/input/input1
[    3.113127] usb 3-2: new low-speed USB device number 2 using xhci-hcd
[    3.133159] input: SEM USB Keyboard System Control as /devices/platform/axi/1000120000.pcie/1f00200000.usb/xhci-hcd.0/usb1/1-1/1-1:1.1/0003:1A2C:4324.0002/input/input2
[    3.148541] hid-generic 0003:1A2C:4324.0002: input,hidraw1: USB HID v1.10 Device [SEM USB Keyboard] on usb-xhci-hcd.0-1/input1
[    3.285437] usb 3-2: New USB device found, idVendor=093a, idProduct=2510, bcdDevice= 1.00
[    3.293987] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.301483] usb 3-2: Product: USB Optical Mouse
[    3.306357] usb 3-2: Manufacturer: PixArt
[    3.333545] input: PixArt USB Optical Mouse as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.0/0003:093A:2510.0003/input/input3
[    3.348349] hid-generic 0003:093A:2510.0003: input,hidraw2: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-xhci-hcd.1-2/input0
[    4.058550] scsi 0:0:0:0: Direct-Access     Seagate  USB              0419 PQ: 0 ANSI: 6
[    4.072201] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
[    4.080773] sd 0:0:0:0: [sda] Write Protect is off
[    4.085930] sd 0:0:0:0: [sda] Mode Sense: 2b 00 10 08
[    4.086457] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    4.117763]  sda: sda1 sda2 sda3
[    4.121445] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.290105] EXT4-fs (sda3): 7 orphan inodes deleted
[    4.295390] EXT4-fs (sda3): recovery complete
[    4.302956] EXT4-fs (sda3): mounted filesystem 35483341-de26-433e-a6f8-6cbfbab4265e r/w with ordered data mode. Quota mode: none.
[    4.315051] VFS: Mounted root (ext4 filesystem) on device 8:3.
[    4.321706] devtmpfs: mounted
[    4.327580] Freeing unused kernel memory: 5376K
[    4.332621] Run /sbin/init as init process
[    4.337116]   with arguments:
[    4.337118]     /sbin/init
[    4.337119]   with environment:
[    4.337120]     HOME=/
[    4.337121]     TERM=linux
[    4.337123]     selinux=0
[    4.505406] systemd[1]: System time advanced to timestamp on /usr/lib/clock-epoch: Wed 2025-01-22 02:24:18 CST
[    4.584720] NET: Registered PF_INET6 protocol family
[    4.590408] Segment Routing with IPv6
[    4.594480] In-situ OAM (IOAM) with IPv6
[    4.620348] systemd[1]: systemd 257-1-arch running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +IPE +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF +XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE)
[    4.655205] systemd[1]: Detected architecture arm64.
[    4.665569] systemd[1]: Hostname set to <jellyfin>.
[    4.761306] systemd[1]: bpf-restrict-fs: BPF LSM hook not enabled in the kernel, BPF LSM not supported.
[    5.336423] systemd[1]: Queued start job for default target Graphical Interface.
[    5.362648] systemd[1]: Created slice Slice /system/dirmngr.
[    5.369778] systemd[1]: Created slice Slice /system/getty.
[    5.376619] systemd[1]: Created slice Slice /system/gpg-agent.
[    5.383784] systemd[1]: Created slice Slice /system/gpg-agent-browser.
[    5.391640] systemd[1]: Created slice Slice /system/gpg-agent-extra.
[    5.399314] systemd[1]: Created slice Slice /system/gpg-agent-ssh.
[    5.406803] systemd[1]: Created slice Slice /system/keyboxd.
[    5.413777] systemd[1]: Created slice Slice /system/modprobe.
[    5.420824] systemd[1]: Created slice Slice /system/serial-getty.
[    5.428211] systemd[1]: Created slice User and Session Slice.
[    5.434965] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    5.443875] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    5.452552] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    5.462936] systemd[1]: Expecting device /dev/disk/by-partuuid/cb41f4dc-01...
[    5.471004] systemd[1]: Expecting device /dev/ttyAMA10...
[    5.477313] systemd[1]: Reached target Local Encrypted Volumes.
[    5.484151] systemd[1]: Reached target Local Integrity Protected Volumes.
[    5.491875] systemd[1]: Reached target Path Units.
[    5.497553] systemd[1]: Reached target Remote Encrypted Volumes.
[    5.504434] systemd[1]: Reached target Remote File Systems.
[    5.510862] systemd[1]: Reached target Slice Units.
[    5.516592] systemd[1]: Reached target Mounting snaps.
[    5.522579] systemd[1]: Reached target Swaps.
[    5.527750] systemd[1]: Reached target System Time Set.
[    5.533811] systemd[1]: Reached target Local Verity Protected Volumes.
[    5.541244] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    5.548699] systemd[1]: Listening on LVM2 poll daemon socket.
[    5.556436] systemd[1]: Listening on Process Core Dump Socket.
[    5.563789] systemd[1]: Listening on Credential Encryption/Decryption.
[    5.571157] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.577904] systemd[1]: Listening on Journal Sockets.
[    5.583763] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.
[    5.591993] systemd[1]: TPM PCR Measurements was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    5.603793] systemd[1]: Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    5.615552] systemd[1]: Listening on udev Control Socket.
[    5.621732] systemd[1]: Listening on udev Kernel Socket.
[    5.627835] systemd[1]: Listening on User Database Manager Socket.
[    5.634857] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    5.649265] systemd[1]: Mounting POSIX Message Queue File System...
[    5.681847] systemd[1]: Mounting Kernel Debug File System...
[    5.689385] systemd[1]: Mounting Kernel Trace File System...
[    5.696753] systemd[1]: tmp.mount: Directory /tmp to mount over is not empty, mounting anyway.
[    5.706848] systemd[1]: Mounting Temporary Directory /tmp...
[    5.737905] systemd[1]: Starting Load AppArmor profiles...
[    5.745674] systemd[1]: Starting Create List of Static Device Nodes...
[    5.755076] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    5.767655] systemd[1]: Starting Load Kernel Module configfs...
[    5.775922] systemd[1]: Starting Load Kernel Module dm_mod...
[    5.784117] systemd[1]: Starting Load Kernel Module drm...
[    5.792035] systemd[1]: Starting Load Kernel Module efi_pstore...
[    5.803653] systemd[1]: Starting Load Kernel Module fuse...
[    5.811205] systemd[1]: Starting Load Kernel Module loop...
[    5.818011] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[    5.838186] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[    5.838894] fuse: init (API version 7.41)
[    5.852981] systemd[1]: Starting Journal Service...
[    5.863794] systemd[1]: Starting Load Kernel Modules...
[    5.870302] systemd[1]: TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    5.884144] systemd[1]: Starting Remount Root and Kernel File Systems...
[    5.891981] systemd[1]: Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    5.904827] systemd[1]: Starting Load udev Rules from Credentials...
[    5.913393] systemd[1]: Starting Coldplug All udev Devices...
[    5.922065] systemd[1]: Mounted POSIX Message Queue File System.
[    5.929119] systemd[1]: Mounted Kernel Debug File System.
[    5.935666] systemd[1]: Mounted Kernel Trace File System.
[    5.942159] systemd[1]: Mounted Temporary Directory /tmp.
[    5.950624] systemd[1]: Finished Create List of Static Device Nodes.
[    5.961521] systemd[1]: [email protected]: Deactivated successfully.
[    5.969607] systemd[1]: Finished Load Kernel Module configfs.
[    5.977341] i2c_dev: i2c /dev entries driver
[    5.978070] systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[    5.984906] systemd-journald[172]: Collecting audit messages is disabled.
[    6.002085] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    6.010241] usbcore: registered new device driver usbip-host
[    6.010672] systemd[1]: Finished Load Kernel Module dm_mod.
[    6.025041] systemd[1]: [email protected]: Deactivated successfully.
[    6.037266] systemd[1]: Finished Load Kernel Module drm.
[    6.045096] systemd[1]: Started Journal Service.
[    6.138557] systemd-journald[172]: Received client request to flush runtime journal.
[    6.161089] systemd-journald[172]: File /var/log/journal/b8d2fa1eb5cd4a039285dde411ce23e6/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    6.721908] macb 1f00100000.ethernet end0: renamed from eth0
[    6.790259] rpi-gpiomem 107d508500.gpiomem: window base 0x107d508500 size 0x00000040
[    6.816632] rp1-firmware rp1_firmware: RP1 Firmware version eb39cfd516f8c90628aa9d91f52370aade5d0a55
[    6.827740] rpi-gpiomem 107d508500.gpiomem: initialised 1 regions as /dev/gpiomem1
[    6.829264] mc: Linux media interface: v0.10
[    6.850070] rpi-gpiomem 107d517c00.gpiomem: window base 0x107d517c00 size 0x00000040
[    6.851631] rp1-pio 1f00178000.pio: Created instance as pio0
[    6.877045] rpi-gpiomem 107d517c00.gpiomem: initialised 1 regions as /dev/gpiomem2
[    6.896486] rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
[    6.933440] rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
[    6.946747] videodev: Linux video capture interface: v2.00
[    6.955352] rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
[    6.971146] input: pwr_button as /devices/platform/pwr_button/input/input4
[    6.983507] v3d 1002000000.v3d: [drm] Transparent Hugepage support is recommended for optimal performance on this platform!
[    6.984205] rpi-gpiomem 107d510700.gpiomem: initialised 1 regions as /dev/gpiomem4
[    7.007265] rpi-gpiomem 1f000d0000.gpiomem: window base 0x1f000d0000 size 0x00030000
[    7.017398] rpi-gpiomem 1f000d0000.gpiomem: initialised 1 regions as /dev/gpiomem0
[    7.048969] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[    7.066025] brcmstb-i2c 107d508200.i2c:  @97500hz registered in interrupt mode
[    7.074220] pispbe 1000880000.pisp_be: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    7.085256] pispbe 1000880000.pisp_be: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    7.100141] pispbe 1000880000.pisp_be: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    7.105715] loop0: detected capacity change from 0 to 8
[    7.124809] pispbe 1000880000.pisp_be: Adding to iommu group 0
[    7.131570] pispbe 1000880000.pisp_be: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    7.145102] [drm] Initialized v3d 1.0.0 for 1002000000.v3d on minor 0
[    7.145170] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    7.158901] rpivid 1000800000.codec: bcm2712_iommu_of_xlate: MMU 1000005100.iommu
[    7.168735] rpivid 1000800000.codec: bcm2712_iommu_probe_device: MMU 1000005100.iommu
[    7.182806] rpivid 1000800000.codec: bcm2712_iommu_device_group: MMU 1000005100.iommu
[    7.184018] rpivid 1000800000.codec: Adding to iommu group 0
[    7.184085] rpivid 1000800000.codec: bcm2712_iommu_attach_dev: MMU 1000005100.iommu
[    7.184262] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.186187] brcmstb-i2c 107d508280.i2c:  @97500hz registered in interrupt mode
[    7.205488] Loaded X.509 cert '[email protected]: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    7.205666] Loaded X.509 cert '[email protected]: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    7.205832] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.205992] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    7.217626] loop1: detected capacity change from 0 to 357832
[    7.296505] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.318023] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.330171] rpivid 1000800000.codec: Device registered as /dev/video19
[    7.338443] usbcore: registered new interface driver brcmfmac
[    7.362287] loop2: detected capacity change from 0 to 354856
[    7.397888] loop3: detected capacity change from 0 to 122416
[    7.425931] pispbe 1000880000.pisp_be: Runtime PM usage count underflow!
[    7.458035] vc4_hvs 107c580000.hvs: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[    7.472760] vc4_hvs 107c580000.hvs: bcm2712_iommu_probe_device: MMU 1000005200.iommu
[    7.486227] vc4_hvs 107c580000.hvs: bcm2712_iommu_device_group: MMU 1000005200.iommu
[    7.504039] loop4: detected capacity change from 0 to 188472
[    7.510394] vc4_hvs 107c580000.hvs: Adding to iommu group 1
[    7.520584] vc4_hvs 107c580000.hvs: bcm2712_iommu_attach_dev: MMU 1000005200.iommu
[    7.522994] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    7.533530] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[    7.537775] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID 01-b677b91b
[    7.545354] loop5: detected capacity change from 0 to 140976
[    7.545379] vc4-drm axi:gpu: bcm2712_iommu_probe_device: MMU 1000005200.iommu
[    7.545402] vc4-drm axi:gpu: bcm2712_iommu_device_group: MMU 1000005200.iommu
[    7.545423] vc4-drm axi:gpu: Adding to iommu group 1
[    7.545428] vc4-drm axi:gpu: bcm2712_iommu_attach_dev: MMU 1000005200.iommu
[    7.596697] Console: switching to colour dummy device 80x25
[    7.627724] loop6: detected capacity change from 0 to 121832
[    7.636581] loop7: detected capacity change from 0 to 140976
[    7.643694] Bluetooth: Core ver 2.22
[    7.648371] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[    7.649564] NET: Registered PF_BLUETOOTH protocol family
[    7.665432] Bluetooth: HCI device and connection manager initialized
[    7.688757] loop8: detected capacity change from 0 to 125424
[    7.697751] Bluetooth: HCI socket layer initialized
[    7.712456] Bluetooth: L2CAP socket layer initialized
[    7.721462] Bluetooth: SCO socket layer initialized
[    7.739817] loop9: detected capacity change from 0 to 125408
[    7.757820] Registered IR keymap rc-cec
[    7.776076] rc rc0: vc4-hdmi-0 as /devices/platform/soc@107c000000/107c701400.hdmi/rc/rc0
[    7.779137] loop11: detected capacity change from 0 to 515792
[    7.792300] input: vc4-hdmi-0 as /devices/platform/soc@107c000000/107c701400.hdmi/rc/rc0/input5
[    7.806838] Bluetooth: HCI UART driver ver 2.3
[    7.817216] input: vc4-hdmi-0 HDMI Jack as /devices/platform/soc@107c000000/107c701400.hdmi/sound/card0/input6
[    7.825342] Bluetooth: HCI UART protocol H4 registered
[    7.846340] loop12: detected capacity change from 0 to 134968
[    7.855555] loop10: detected capacity change from 0 to 132448
[    7.898666] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.906933] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[    7.919130] loop14: detected capacity change from 0 to 515760
[    7.929232] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[    7.937324] Bluetooth: HCI UART protocol Broadcom registered
[    7.945891] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[    7.968605] Registered IR keymap rc-cec
[    7.975176] rc rc1: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1
[    7.984501] loop13: detected capacity change from 0 to 989864
[    8.014929] input: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1/input7
[    8.017401] loop15: detected capacity change from 0 to 823784
[    8.033776] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc@107c000000/107c706400.hdmi/sound/card1/input8
[    8.037024] loop16: detected capacity change from 0 to 806384
[    8.044884] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[    8.056803] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[    8.059881] loop18: detected capacity change from 0 to 187776
[    8.060008] loop17: detected capacity change from 0 to 193384
[    8.063731] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[    8.082369] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.085195] loop19: detected capacity change from 0 to 194448
[    8.090073] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.118536] loop20: detected capacity change from 0 to 178720
[    8.127510] loop21: detected capacity change from 0 to 138248
[    8.134036] loop22: detected capacity change from 0 to 189224
[    8.147258] loop23: detected capacity change from 0 to 138248
[    8.155525] [drm] Initialized vc4 0.0.0 for axi:gpu on minor 1
[    8.164146] loop24: detected capacity change from 0 to 78992
[    8.178444] loop25: detected capacity change from 0 to 79232
[    8.241407] Console: switching to colour frame buffer device 170x48
[    8.264862] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[    8.309845] Bluetooth: hci0: BCM: chip id 107
[    8.314817] Bluetooth: hci0: BCM: features 0x2f
[    8.320684] Bluetooth: hci0: BCM4345C0
[    8.324526] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[    8.335543] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.raspberrypi,5-model-b.hcd' Patch
[    8.435960] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    9.029748] Bluetooth: hci0: BCM: features 0x2f
[    9.035845] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+-0190
[    9.042252] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0382
[    9.048742] Bluetooth: hci0: BCM: Using default device address (m.m.m.m)
[   10.052084] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.061129] Bluetooth: BNEP filters: protocol multicast
[   10.066600] Bluetooth: BNEP socket layer initialized
[   10.074423] Bluetooth: MGMT ver 1.23
[   10.083707] NET: Registered PF_ALG protocol family
[   10.411372] zram: Added device: zram0
[   10.423621] zram0: detected capacity change from 0 to 24759328
[   10.442943] Adding 12379648k swap on /dev/zram0.  Priority:100 extents:1 across:12379648k SS
[   10.640722] macb 1f00100000.ethernet end0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)
[   10.653966] macb 1f00100000.ethernet end0: configuring for phy/rgmii-id link mode
[   10.665275] loop26: detected capacity change from 0 to 8
[   10.667828] pps pps0: new PPS source ptp0
[   10.681239] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.
[   10.719133] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   11.263692] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   14.588122] NET: Registered PF_VSOCK protocol family
[   14.750402] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   14.759217] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[   24.427443] systemd-journald[172]: File /var/log/journal/b8d2fa1eb5cd4a039285dde411ce23e6/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[   25.831686] Bluetooth: RFCOMM TTY layer initialized
[   25.836738] Bluetooth: RFCOMM socket layer initialized
[   25.842055] Bluetooth: RFCOMM ver 1.11

EEPROM
------

BOOTLOADER: up to date
   CURRENT: Tue Jan 14 12:16:48 AM UTC 2025 (1736813808)
    LATEST: Tue Jan 14 12:16:48 AM UTC 2025 (1736813808)
   RELEASE: stable (/lib/firmware/raspberrypi/bootloader/stable)

Additional context

It is almost impossible to get any errors reported when it freezes. journalctl -f and dmesg -w does not produce anything.

I did get his one time when opening firefox in a terminal but most of the time I see no errors:

Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Couldn't sanitize GL_RENDERER 
"V3D 7.1.7.0" (t=34.0883) [GFX1-]: Couldn't sanitize GL_RENDERER "V3D 7.1.7.0"

Another guy in our forums testing reported getting this:

Jan 21 11:02:19 bloodmoon-pc kernel: vc4-drm axi:gpu: [drm] *ERROR* Failed to get ddc i2c adapter by node
Jan 21 11:02:19 bloodmoon-pc kernel: vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
Jan 21 11:02:19 bloodmoon-pc kernel: rpi-gpiomem 107d510700.gpiomem: window base 0x107d510700 size 0x00000020
Jan 21 11:02:19 bloodmoon-pc kernel: rpi-gpiomem 107d504100.gpiomem: initialised 1 regions as /dev/gpiomem3
Jan 21 11:02:19 bloodmoon-pc kernel: rpi-gpiomem 107d504100.gpiomem: window base 0x107d504100 size 0x00000020
@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

A build of d53a520 on a fresh install of RPi OS is running happily for me with either the regular v8.

No - spoke too soon. Playing a music video in YouTube while updating to the 16k page build led to:

 [  309.731943] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000c0
[  309.740781] Mem abort info:
[  309.743578]   ESR = 0x0000000096000005
[  309.747334]   EC = 0x25: DABT (current EL), IL = 32 bits
[  309.752662]   SET = 0, FnV = 0
[  309.755719]   EA = 0, S1PTW = 0
[  309.758864]   FSC = 0x05: level 1 translation fault
[  309.763755] Data abort info:
[  309.766637]   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
[  309.772138]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[  309.777203]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[  309.782529] user pgtable: 4k pages, 39-bit VAs, pgdp=000000004a405000
[  309.788992] [00000000000000c0] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[  309.797727] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
[  309.804015] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device algif_hash algif_skcipher af_alg bnep binfmt_misc vc4 snd_soc_hdmi_codec drm_display_helper cec drm_client_lib brcmfmac_wcc spidev drm_dma_helper brcmfmac rpivid_hevc(C) hci_uart pisp_be aes_ce_blk snd_soc_core btbcm aes_ce_cipher brcmutil snd_compress v4l2_mem2mem ghash_ce bluetooth snd_pcm_dmaengine gf128mul sha2_ce videobuf2_dma_contig snd_pcm ecdh_generic cfg80211 videobuf2_memops ecc sha256_arm64 videobuf2_v4l2 snd_timer sha1_ce rfkill v3d videodev libaes snd sha1_generic gpu_sched videobuf2_common drm_shmem_helper mc raspberrypi_hwmon spi_bcm2835 i2c_brcmstb gpio_keys drm_kms_helper rp1_pio rp1 raspberrypi_gpiomem rp1_adc rp1_mailbox nvmem_rmem uio_pdrv_genirq uio drm i2c_dev drm_panel_orientation_quirks ledtrig_pattern backlight dm_mod fuse ip_tables x_tables ipv6
[  309.880285] CPU: 0 UID: 1000 PID: 2334 Comm: chromium Tainted: G         C         6.13.0-v8+ #18
[  309.889193] Tainted: [C]=CRAP
[  309.892163] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
[  309.898013] pstate: 404000c9 (nZcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  309.904999] pc : v3d_irq+0xe8/0x2e0 [v3d]
[  309.909029] lr : __handle_irq_event_percpu+0x60/0x228
[  309.914098] sp : ffffffc080003ea0
[  309.917417] x29: ffffffc080003ea0 x28: ffffff81c0caa100 x27: 0000000000000000
[  309.924579] x26: ffffffd08dd81d7b x25: ffffff81c0caa100 x24: ffffff8002b0ca00
[  309.931740] x23: 00000000000000a7 x22: 00000000000000a7 x21: 0000000000000000
[  309.938902] x20: ffffff80417a0000 x19: 0000000000000002 x18: 0000000000000000
[  309.946064] x17: ffffffafadfb0000 x16: ffffffc080000000 x15: 0000000000000000
[  309.953225] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[  309.960386] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffffd08c527eb0
[  309.967547] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
[  309.974709] x5 : ffffffd08c4100d0 x4 : ffffffafadfb0000 x3 : ffffffc080003f70
[  309.981870] x2 : ffffffc0829b8058 x1 : 0000000000000000 x0 : 0000000000000000
[  309.989031] Call trace:
[  309.991478]  v3d_irq+0xe8/0x2e0 [v3d] (P)
[  309.995503]  __handle_irq_event_percpu+0x60/0x228
[  310.000223]  handle_irq_event+0x54/0xb8
[  310.004071]  handle_fasteoi_irq+0xac/0x240
[  310.008180]  generic_handle_domain_irq+0x34/0x58
[  310.012811]  gic_handle_irq+0x48/0xd8
[  310.016483]  call_on_irq_stack+0x24/0x58
[  310.020414]  do_interrupt_handler+0x88/0x98
[  310.024608]  el0_interrupt+0x44/0xc0
[  310.028191]  __el0_irq_handler_common+0x18/0x28
[  310.032733]  el0t_64_irq_handler+0x10/0x20
[  310.036839]  el0t_64_irq+0x198/0x1a0
[  310.040423] Code: 94002934 360ffc33 f9442a80 52800001 (f9406015)
[  310.046536] ---[ end trace 0000000000000000 ]---
[  310.051166] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[  310.058064] SMP: stopping secondary CPUs
[  310.061997] Kernel Offset: 0x100c400000 from 0xffffffc080000000
[  310.067934] PHYS_OFFSET: 0x0
[  310.070817] CPU features: 0x100,00000170,00901250,0200720b
[  310.076319] Memory Limit: none
[  310.079380] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

And another, this time trying to exit full screen:

[  466.310099] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000c0
[  466.318928] Mem abort info:
[  466.321723]   ESR = 0x0000000096000005
[  466.325479]   EC = 0x25: DABT (current EL), IL = 32 bits
[  466.330807]   SET = 0, FnV = 0
[  466.333864]   EA = 0, S1PTW = 0
[  466.337010]   FSC = 0x05: level 1 translation fault
[  466.341900] Data abort info:
[  466.344783]   ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
[  466.350285]   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[  466.355350]   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[  466.360677] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000089772000
[  466.367140] [00000000000000c0] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[  466.375875] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
[  466.382163] Modules linked in: rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device algif_hash algif_skcipher af_alg bnep binfmt_misc vc4 snd_soc_hdmi_codec drm_display_helper cec brcmfmac_wcc spidev rpivid_hevc(C) drm_client_lib brcmfmac hci_uart drm_dma_helper pisp_be btbcm brcmutil snd_soc_core aes_ce_blk v4l2_mem2mem bluetooth aes_ce_cipher snd_compress videobuf2_dma_contig ghash_ce cfg80211 gf128mul snd_pcm_dmaengine videobuf2_memops ecdh_generic sha2_ce ecc videobuf2_v4l2 snd_pcm v3d sha256_arm64 rfkill videodev snd_timer sha1_ce libaes gpu_sched snd videobuf2_common sha1_generic drm_shmem_helper mc rp1_pio drm_kms_helper raspberrypi_hwmon spi_bcm2835 gpio_keys i2c_brcmstb rp1 raspberrypi_gpiomem rp1_mailbox rp1_adc nvmem_rmem uio_pdrv_genirq uio i2c_dev drm ledtrig_pattern drm_panel_orientation_quirks backlight fuse dm_mod ip_tables x_tables ipv6
[  466.458429] CPU: 0 UID: 1000 PID: 2008 Comm: chromium Tainted: G         C         6.13.0-v8+ #18
[  466.467336] Tainted: [C]=CRAP
[  466.470306] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)
[  466.476157] pstate: 404000c9 (nZcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  466.483143] pc : v3d_irq+0x118/0x2e0 [v3d]
[  466.487258] lr : __handle_irq_event_percpu+0x60/0x228
[  466.492327] sp : ffffffc080003ea0
[  466.495646] x29: ffffffc080003ea0 x28: ffffff80c0c94200 x27: 0000000000000000
[  466.502807] x26: ffffffd08dd81d7b x25: ffffff80c0c94200 x24: ffffff8003bdc200
[  466.509969] x23: 0000000000000001 x22: 00000000000000a7 x21: 0000000000000000
[  466.517130] x20: ffffff8041bb0000 x19: 0000000000000001 x18: 0000000000000000
[  466.524291] x17: ffffffafadfb0000 x16: ffffffc080000000 x15: 0000000000000000
[  466.531452] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[  466.538613] x11: 0000000000000000 x10: 0000000000000000 x9 : ffffffd08c527eb0
[  466.545777] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
[  466.552941] x5 : ffffffd08c4100d0 x4 : ffffffafadfb0000 x3 : ffffffc080003f70
[  466.560102] x2 : ffffffc0829e8058 x1 : 0000000000000001 x0 : 0000000000000000
[  466.567263] Call trace:
[  466.569711]  v3d_irq+0x118/0x2e0 [v3d] (P)
[  466.573826]  __handle_irq_event_percpu+0x60/0x228
[  466.578546]  handle_irq_event+0x54/0xb8
[  466.582391]  handle_fasteoi_irq+0xac/0x240
[  466.586498]  generic_handle_domain_irq+0x34/0x58
[  466.591128]  gic_handle_irq+0x48/0xd8
[  466.594798]  call_on_irq_stack+0x24/0x58
[  466.598730]  do_interrupt_handler+0x88/0x98
[  466.602923]  el0_interrupt+0x44/0xc0
[  466.606508]  __el0_irq_handler_common+0x18/0x28
[  466.611050]  el0t_64_irq_handler+0x10/0x20
[  466.615156]  el0t_64_irq+0x198/0x1a0
[  466.618740] Code: 52800035 3607faf3 f9442e80 52800021 (f9406018)
[  466.624853] ---[ end trace 0000000000000000 ]---
[  466.629483] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[  466.636384] SMP: stopping secondary CPUs
[  466.640320] Kernel Offset: 0x100c400000 from 0xffffffc080000000
[  466.646259] PHYS_OFFSET: 0x0
[  466.649141] CPU features: 0x100,00000170,00901250,0200720b
[  466.654644] Memory Limit: none
[  466.657706] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---

@Dark-Sky
Copy link
Author

Yep. It seems to happen at random times.

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

Any ideas, @mairacanal?

@Dark-Sky
Copy link
Author

I did revert b9acfd8 yesterday but it did not fix it.

pelwell added a commit to pelwell/linux that referenced this issue Jan 22, 2025
Trade a crash in v3d_irq for a warning. This is just a temporary
sticking plaster over the wound - proper surgery is required.

Link: raspberrypi#6624

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

The immediate cause of the crash is a NULL render_job here: https://github.com/raspberrypi/linux/blob/rpi-6.13.y/drivers/gpu/drm/v3d/v3d_irq.c#L119

#6625 adds a guard against that, logging a WARN when it happens. It also guards bin_job and csd_job, just in case.

After the warning, the GUI freezes, but serial and ssh sessions survive, which might make it easier to check the logs, or at least just sync the disc.

@mairacanal
Copy link
Contributor

@pelwell I'll start debugging this issue now, hopefully I'll bring a solution in a couple of hours

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

That's great, but this is the bleeding edge kernel, so the stakes are bit lower.

By the way, I just saw a NULL bin_job.

@mairacanal
Copy link
Contributor

mairacanal commented Jan 22, 2025

The crash is caused by e4b5ccd ("drm/v3d: Ensure job pointer is set to NULL after job completion"). Therefore, be careful as this patch is also in the stable branches (such as 6.6). I mainly tested unload/load for that patch and basic rendering applications.

The fix is already available in this branch. Could you test it and confirm that it fixes the issue for you?

I'm playing several YouTube videos for testing and it looks okay here.

If it solves the issue for you, let me know and I'll proceed to upstream the patch (your R-b will be welcomed) and send a PR to this repo. Mostly, only the commit message is missing to wrap up the fix.

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

Thanks, Maira - it's looking good so far. I've cherry-picked the fix as #6626.

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

Do you happen to know why one of the KUnit tests is failing? https://github.com/raspberrypi/linux/actions/runs/12909243870/job/35996480799#step:4:21

pelwell added a commit that referenced this issue Jan 22, 2025
Link: #6624
Fixes: e4b5ccd ("drm/v3d: Ensure job pointer is set to NULL after job completion")
Signed-off-by: Maíra Canal <[email protected]>
Co-authored-by: Maíra Canal <[email protected]>
@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

Maira's patch is now merged to rpi-6.13.y. Although the offending commit has been merged to the upstream stable branch, it doesn't yet appear to have been back-ported to any of the LTS branches, so I think we're safe for now.

@mairacanal
Copy link
Contributor

Do you happen to know why one of the KUnit tests is failing? https://github.com/raspberrypi/linux/actions/runs/12909243870/job/35996480799#step:4:21

Phil, I didn't manage to reproduce this error locally. Could you reproduce it locally? Usually, "Error: 51] [ERROR] Test: : Could not find any KTAP output. Did any KUnit tests run?" indicates some output error, not a test failure specifically.

@Dark-Sky
Copy link
Author

Seems to be working good. Thanks everyone!!

@pelwell
Copy link
Contributor

pelwell commented Jan 22, 2025

Could you reproduce it locally?

You're right - it works when I run the tests here.

Something else is different between the arm and arm64 tests. The arm log begins:

Run ./tools/testing/kunit/kunit.py run \
  ./tools/testing/kunit/kunit.py run \
      --kunitconfig=drivers/gpu/drm/vc4/tests \
      --cross_compile=arm-linux-gnueabihf- --arch=arm
  shell: /usr/bin/bash -e {0}
[13:[2](https://github.com/raspberrypi/linux/actions/runs/12909243870/job/35996480472#step:4:2)9:24] Configuring KUnit Kernel ...

Compare that to the arm64 log:

Run ./tools/testing/kunit/kunit.py run \
  ./tools/testing/kunit/kunit.py run \
      --kunitconfig=drivers/gpu/drm/vc4/tests \
      --cross_compile=aarch64-linux-gnu- --arch=arm64
  shell: /usr/bin/bash -e {0}
stty: 'standard input': Inappropriate ioctl for device
[13:[2](https://github.com/raspberrypi/linux/actions/runs/12909243870/job/35996480799#step:4:2)9:15] Configuring KUnit Kernel ...

I don't know why ARCH=arm64 would be different in this regard.

@mairacanal
Copy link
Contributor

I sent the patch to the dri-devel mailing list for review [1].

[1] https://lore.kernel.org/dri-devel/[email protected]/T/

@pelwell
Copy link
Contributor

pelwell commented Jan 23, 2025

Re the arm64 KUnit, re-running a previously successful test using the GitHub actions failed this time. Something in the environment must have changed. Whatever it is, it's not your problem Maíra.

popcornmix pushed a commit that referenced this issue Jan 24, 2025
Link: #6624
Fixes: e4b5ccd ("drm/v3d: Ensure job pointer is set to NULL after job completion")
Signed-off-by: Maíra Canal <[email protected]>
Co-authored-by: Maíra Canal <[email protected]>
popcornmix pushed a commit that referenced this issue Jan 24, 2025
Link: #6624
Fixes: e4b5ccd ("drm/v3d: Ensure job pointer is set to NULL after job completion")
Signed-off-by: Maíra Canal <[email protected]>
Co-authored-by: Maíra Canal <[email protected]>
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

3 participants