Greetings! When KASAN is enabled the Overflow KUnit test fails: [...] ok 16 shift_nonsense_test # overflow_allocation_test: 11 allocation overflow tests finished ================================================================== BUG: KASAN: stack-out-of-bounds in string_nocheck+0x168/0x1c8 Read of size 1 at addr c976be40 by task kunit_try_catch/1843 CPU: 0 UID: 0 PID: 1843 Comm: kunit_try_catch Tainted: G N 6.11.0-rc2-PMacG4 #1 Tainted: [N]=TEST Hardware name: PowerMac3,6 7455 0x80010303 PowerMac Call Trace: [c992fb80] [c16651c0] dump_stack_lvl+0x80/0xac (unreliable) [c992fba0] [c04e0420] print_report+0xdc/0x504 [c992fc00] [c04e01d8] kasan_report+0xf8/0x108 [c992fc80] [c16ae4c8] string_nocheck+0x168/0x1c8 [c992fcf0] [c16b37a4] string+0xa8/0xbc [c992fd60] [c16b8134] vsnprintf+0x868/0x1750 [c992fdf0] [c0b8490c] kvasprintf+0xa4/0x13c [c992fe60] [c0b84c3c] kasprintf+0xb4/0xc8 [c992fed0] [c0f4c954] module_remove_driver+0x1f0/0x2fc [c992ff00] [c0f21628] bus_remove_driver+0x1d0/0x240 [c992ff30] [bfd0cd40] kunit_put_resource+0x128/0x134 [kunit] [c992ff50] [bfd0a120] kunit_cleanup+0x140/0x144 [kunit] [c992ff90] [bfd10d64] kunit_generic_run_threadfn_adapter+0xf8/0x148 [kunit] [c992ffc0] [c00f57e0] kthread+0x36c/0x37c [c992fff0] [c0028304] start_kernel_thread+0x10/0x14 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:00000000 index:0x0 pfn:0x976b flags: 0x0(zone=0) raw: 00000000 00000000 eef2bb10 00000000 00000000 00000000 ffffffff 00000000 raw: 00000000 page dumped because: kasan: bad access detected Memory state around the buggy address: c976bd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c976bd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >c976be00: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f2 04 f2 ^ c976be80: 00 04 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 c976bf00: 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 00 00 00 00 ================================================================== Disabling lock debugging due to kernel taint not ok 17 overflow_allocation_test # overflow_size_helpers_test: 43 overflow size helper tests finished ok 18 overflow_size_helpers_test # overflows_type_test: 378 overflows_type() tests finished ok 19 overflows_type_test # same_type_test: 0 __same_type() tests finished ok 20 same_type_test # castable_to_type_test: 75 castable_to_type() tests finished ok 21 castable_to_type_test ok 22 DEFINE_FLEX_test # overflow: pass:21 fail:1 skip:0 total:22 # Totals: pass:21 fail:1 skip:0 total:22 not ok 1 overflow This is reproducible on my machine and always happens when running the test via 'modprobe -v overflow_kunit'. Without KASAN enabled (but KFENCE) overflow_allocation_test passes. Kernel .config and full dmesg attached. Regards, Erhard
[ 0.000000] Total memory = 2048MB; using 4096kB for hash table [ 0.000000] Activating Kernel Userspace Access Protection [ 0.000000] Activating Kernel Userspace Execution Prevention [ 0.000000] Linux version 6.11.0-rc2-PMacG4 (root@T1000) (gcc (Gentoo 14.2.0 p4) 14.2.0, GNU ld (Gentoo 2.42 p3) 2.42.0) #1 SMP Fri Aug 9 14:46:18 CEST 2024 [ 0.000000] KASAN init done [ 0.000000] ioremap() called early from pmac_feature_init+0x11b4/0x1210. Use early_ioremap() instead [ 0.000000] Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24 [ 0.000000] Mapped at 0xf53bf000 [ 0.000000] ioremap() called early from probe_one_macio+0x1b0/0x6e8. Use early_ioremap() instead [ 0.000000] Found a Keylargo mac-io controller, rev: 3, mapped at 0x(ptrval) [ 0.000000] PowerMac motherboard: PowerMac G4 Windtunnel [ 0.000000] ioremap() called early from btext_map+0x5c/0x7c. Use early_ioremap() instead [ 0.000000] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac [ 0.000000] printk: legacy bootconsole [udbg0] enabled [ 0.000000] CPU maps initialized for 1 thread per core [ 0.000000] (thread shift is 0) [ 0.000000] ----------------------------------------------------- [ 0.000000] phys_mem_size = 0x80000000 [ 0.000000] dcache_bsize = 0x20 [ 0.000000] icache_bsize = 0x20 [ 0.000000] cpu_features = 0x000000002514600a [ 0.000000] possible = 0x00000000277de00a [ 0.000000] always = 0x0000000001000000 [ 0.000000] cpu_user_features = 0x9c000001 0x00000000 [ 0.000000] mmu_features = 0x00010201 [ 0.000000] Hash_size = 0x400000 [ 0.000000] Hash_mask = 0xffff [ 0.000000] ----------------------------------------------------- [ 0.000000] ioremap() called early from pmac_setup_arch+0x1e8/0x6c0. Use early_ioremap() instead [ 0.000000] ioremap() called early from find_via_pmu+0x4c8/0x5b8. Use early_ioremap() instead [ 0.000000] ioremap() called early from find_via_pmu+0x1b0/0x5b8. Use early_ioremap() instead [ 0.000000] via-pmu: Server Mode is disabled [ 0.000000] PMU driver v2 initialized for Core99, firmware: 0c [ 0.000000] ioremap() called early from pmac_nvram_init+0x48c/0xeb0. Use early_ioremap() instead [ 0.000000] nvram: Checking bank 0... [ 0.000000] nvram: gen0=3441, gen1=3442 [ 0.000000] nvram: Active bank is: 1 [ 0.000000] nvram: OF partition at 0x410 [ 0.000000] nvram: XP partition at 0x1020 [ 0.000000] nvram: NR partition at 0x1120 [ 0.000000] Top of RAM: 0x80000000, Total RAM: 0x80000000 [ 0.000000] Memory hole size: 0MB [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff] [ 0.000000] Normal empty [ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s28600 r8192 d20552 u57344 [ 0.000000] pcpu-alloc: s28600 r8192 d20552 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Kernel command line: ro root=/dev/sda5 slub_debug=FZ page_poison=1 debug_pagealloc=on netconsole=6666@192.168.2.8/eth0,6666@192.168.2.3/A8:A1:59:16:4F:EA debug [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 524288 [ 0.000000] mem auto-init: stack:all(pattern), heap alloc:off, heap free:off [ 0.000000] stackdepot: allocating hash table via alloc_large_system_hash [ 0.000000] stackdepot hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Kernel virtual memory layout: [ 0.000000] * 0xf6000000..0xfec00000 : kasan shadow mem [ 0.000000] * 0xf5bbf000..0xf5fff000 : fixmap [ 0.000000] * 0xf5400000..0xf5800000 : highmem PTEs [ 0.000000] * 0xf529b000..0xf5400000 : early ioremap [ 0.000000] * 0xf1000000..0xf5298000 : vmalloc & ioremap [ 0.000000] * 0xb0000000..0xc0000000 : modules [ 0.000000] ********************************************************** [ 0.000000] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000] ** ** [ 0.000000] ** This system shows unhashed kernel memory addresses ** [ 0.000000] ** via the console, logs, and other interfaces. This ** [ 0.000000] ** might reduce the security of your system. ** [ 0.000000] ** ** [ 0.000000] ** If you see this message and you are not debugging ** [ 0.000000] ** the kernel, report this immediately to your system ** [ 0.000000] ** administrator! ** [ 0.000000] ** ** [ 0.000000] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000] ********************************************************** [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1. [ 0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16 [ 0.000000] mpic: Resetting [ 0.000000] mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 2 CPUs [ 0.000000] mpic: ISU size: 64, shift: 6, mask: 3f [ 0.000000] mpic: Initializing for 64 sources [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] time_init: decrementer frequency = 41.658676 MHz [ 0.000000] time_init: processor frequency = 1416.666661 MHz [ 0.000010] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b9699db, max_idle_ns: 440795204297 ns [ 0.000520] clocksource: timebase mult[18012db2] shift[24] registered [ 0.000836] clockevent: decrementer mult[aaa249b] shift[32] cpu[0] [ 0.002809] Console: colour dummy device 80x25 [ 0.003097] printk: legacy console [tty0] enabled [ 0.003375] printk: legacy bootconsole [udbg0] disabled [ 0.004916] pid_max: default: 4096 minimum: 301 [ 0.010243] LSM: initializing lsm=capability,yama [ 0.010339] Yama: becoming mindful. [ 0.012122] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.012291] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.025756] PowerMac SMP probe found 2 cpus [ 0.026466] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000 [ 0.026578] channel 0 bus <multibus> [ 0.026630] channel 1 bus <multibus> [ 0.026931] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000 [ 0.027027] channel 0 bus <multibus> [ 0.027152] PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c [ 0.027237] channel 1 bus <multibus> [ 0.027285] channel 2 bus <multibus> [ 0.027349] pmf: no parser for command 17 ! [ 0.027489] Processor timebase sync using GPIO 0x73 [ 0.027525] mpic: requesting IPIs... [ 0.028189] CPU0: L2CR is 80000000 [ 0.028235] CPU0: L3CR is 9c030000 [ 0.034951] MPC7450 family performance monitor hardware support registered [ 0.035694] rcu: Hierarchical SRCU implementation. [ 0.035757] rcu: Max phase no-delay instances is 1000. [ 0.037706] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.039837] smp: Bringing up secondary CPUs ... [84919682.552480] CPU1: L2CR was 0 [84919682.552586] CPU1: L2CR set to 80000000 [84919682.552603] CPU1: L3CR was 0 [84919682.552756] CPU1: L3CR set to 9c030000 [ 0.046269] smp: Brought up 1 node, 2 CPUs [ 0.048485] Memory: 1930408K/2097152K available (23376K kernel code, 2032K rwdata, 5296K rodata, 1624K init, 408K bss, 163736K reserved, 0K cma-reserved, 1212416K highmem) [ 0.052177] devtmpfs: initialized [ 0.054833] Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1" [ 0.055295] Duplicate name in l2-cache#1, renamed to "l2-cache#1" [ 0.056802] Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1" [ 0.057347] Duplicate name in l2-cache#1, renamed to "l2-cache#1" [ 0.075516] Duplicate name in gpio@50, renamed to "gpio5@6f#1" [ 0.075862] Duplicate name in gpio@50, renamed to "gpio6@70#1" [ 0.076474] Duplicate name in gpio@50, renamed to "gpio11@75#1" [ 0.076840] Duplicate name in gpio@50, renamed to "extint-gpio15@67#1" [ 0.104607] Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0 [ 0.104734] PCI host bridge /pci@f0000000 ranges: [ 0.104833] MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000 [ 0.104907] IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000 [ 0.121122] MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000 [ 0.121485] Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0 [ 0.121549] PCI host bridge /pci@f2000000 (primary) ranges: [ 0.121640] MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000 [ 0.121712] IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000 [ 0.137553] MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 [ 0.137860] Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0 [ 0.137923] PCI host bridge /pci@f4000000 ranges: [ 0.138013] MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000 [ 0.138074] IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000 [ 0.154979] Found NEC PD720100A USB2 chip with disabled EHCI, fixing up... [ 0.156669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.156919] futex hash table entries: 16 (order: -3, 512 bytes, linear) [ 0.164948] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.187415] PCI: Probing PCI hardware [ 0.188888] PCI host bridge to bus 0000:00 [ 0.188979] pci_bus 0000:00: root bus resource [io 0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff]) [ 0.189058] pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff] [ 0.189117] pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff] [ 0.189185] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.189238] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff [ 0.191102] pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000 conventional PCI endpoint [ 0.193395] pci 0000:00:10.0: [1002:4150] type 00 class 0x030000 conventional PCI endpoint [ 0.193509] pci 0000:00:10.0: BAR 0 [mem 0xa0000000-0xafffffff pref] [ 0.193574] pci 0000:00:10.0: BAR 1 [io 0xff780400-0xff7804ff] [ 0.193631] pci 0000:00:10.0: BAR 2 [mem 0x90000000-0x9000ffff] [ 0.193710] pci 0000:00:10.0: ROM [mem 0x90020000-0x9003ffff pref] [ 0.193832] pci 0000:00:10.0: supports D1 D2 [ 0.196179] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.198731] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532 [ 0.198915] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532 [ 0.199099] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093 [ 0.199258] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825 [ 0.199441] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869 [ 0.199617] OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092 [ 0.199766] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369 [ 0.199905] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532 [ 0.200045] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093 [ 0.200184] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869 [ 0.200359] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369 [ 0.200504] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532 [ 0.203509] pci_bus 0001:00: Fixed dependency cycle(s) with /pci@f2000000/mac-io@17/interrupt-controller@40000 [ 0.203767] PCI host bridge to bus 0001:00 [ 0.203823] pci_bus 0001:00: root bus resource [io 0x0000-0x7fffff] [ 0.203885] pci_bus 0001:00: root bus resource [mem 0xf3000000-0xf3ffffff] [ 0.203943] pci_bus 0001:00: root bus resource [mem 0x80000000-0x8fffffff] [ 0.204006] pci_bus 0001:00: root bus resource [bus 00-ff] [ 0.204058] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff [ 0.205346] pci 0001:00:0b.0: [106b:0035] type 00 class 0x060000 conventional PCI endpoint [ 0.206895] pci 0001:00:12.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint [ 0.206999] pci 0001:00:12.0: BAR 0 [mem 0x8008c000-0x8008cfff] [ 0.207149] pci 0001:00:12.0: supports D1 D2 [ 0.207193] pci 0001:00:12.0: PME# supported from D0 D1 D2 D3hot [ 0.208692] pci 0001:00:12.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint [ 0.208794] pci 0001:00:12.1: BAR 0 [mem 0x8008b000-0x8008bfff] [ 0.208945] pci 0001:00:12.1: supports D1 D2 [ 0.208988] pci 0001:00:12.1: PME# supported from D0 D1 D2 D3hot [ 0.210500] pci 0001:00:12.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint [ 0.210600] pci 0001:00:12.2: BAR 0 [mem 0x80081000-0x800810ff] [ 0.210749] pci 0001:00:12.2: supports D1 D2 [ 0.210793] pci 0001:00:12.2: PME# supported from D0 D1 D2 D3hot [ 0.212209] pci 0001:00:13.0: [1095:3112] type 00 class 0x018000 conventional PCI endpoint [ 0.212309] pci 0001:00:13.0: BAR 0 [io 0x0460-0x0467] [ 0.212367] pci 0001:00:13.0: BAR 1 [io 0x0450-0x0453] [ 0.212420] pci 0001:00:13.0: BAR 2 [io 0x0440-0x0447] [ 0.212472] pci 0001:00:13.0: BAR 3 [io 0x0430-0x0433] [ 0.212525] pci 0001:00:13.0: BAR 4 [io 0x0420-0x042f] [ 0.212577] pci 0001:00:13.0: BAR 5 [mem 0x80082000-0x800821ff] [ 0.212633] pci 0001:00:13.0: ROM [mem 0x80100000-0x8017ffff pref] [ 0.212742] pci 0001:00:13.0: supports D1 D2 [ 0.213782] pci 0001:00:15.0: [9710:9865] type 00 class 0x070002 conventional PCI endpoint [ 0.213883] pci 0001:00:15.0: BAR 0 [io 0x0410-0x0417] [ 0.213941] pci 0001:00:15.0: BAR 1 [mem 0x8008a000-0x8008afff] [ 0.214009] pci 0001:00:15.0: BAR 4 [mem 0x80089000-0x80089fff] [ 0.214132] pci 0001:00:15.0: supports D1 D2 [ 0.214175] pci 0001:00:15.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.215735] pci 0001:00:15.1: [9710:9865] type 00 class 0x070002 conventional PCI endpoint [ 0.215838] pci 0001:00:15.1: BAR 0 [io 0x0400-0x0407] [ 0.215898] pci 0001:00:15.1: BAR 1 [mem 0x80088000-0x80088fff] [ 0.215967] pci 0001:00:15.1: BAR 4 [mem 0x80087000-0x80087fff] [ 0.216091] pci 0001:00:15.1: supports D1 D2 [ 0.216134] pci 0001:00:15.1: PME# supported from D0 D1 D2 D3hot D3cold [ 0.217118] pci 0001:00:15.2: [ffff:9865] type 00 class 0x070103 conventional PCI endpoint [ 0.217214] pci 0001:00:15.2: BAR 0 [io 0x0000-0x0007] [ 0.217271] pci 0001:00:15.2: BAR 1 [io 0x0000-0x0007] [ 0.217324] pci 0001:00:15.2: BAR 2 [mem 0x00000000-0x00000fff] [ 0.217384] pci 0001:00:15.2: BAR 4 [mem 0x00000000-0x00000fff] [ 0.217504] pci 0001:00:15.2: supports D1 D2 [ 0.217546] pci 0001:00:15.2: PME# supported from D0 D1 D2 D3hot D3cold [ 0.219378] pci 0001:00:16.0: [14e4:4320] type 00 class 0x028000 conventional PCI endpoint [ 0.219481] pci 0001:00:16.0: BAR 0 [mem 0x8008e000-0x8008ffff] [ 0.219633] pci 0001:00:16.0: supports D1 D2 [ 0.219676] pci 0001:00:16.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.220550] pci 0001:00:17.0: [106b:0022] type 00 class 0xff0000 conventional PCI endpoint [ 0.220645] pci 0001:00:17.0: BAR 0 [mem 0x80000000-0x8007ffff] [ 0.222355] pci 0001:00:18.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint [ 0.222460] pci 0001:00:18.0: BAR 0 [mem 0x80086000-0x80086fff] [ 0.223344] pci 0001:00:19.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint [ 0.223439] pci 0001:00:19.0: BAR 0 [mem 0x80085000-0x80085fff] [ 0.224966] pci 0001:00:1b.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint [ 0.225070] pci 0001:00:1b.0: BAR 0 [mem 0x80084000-0x80084fff] [ 0.225221] pci 0001:00:1b.0: supports D1 D2 [ 0.225264] pci 0001:00:1b.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.226902] pci 0001:00:1b.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint [ 0.227005] pci 0001:00:1b.1: BAR 0 [mem 0x80083000-0x80083fff] [ 0.227154] pci 0001:00:1b.1: supports D1 D2 [ 0.227197] pci 0001:00:1b.1: PME# supported from D0 D1 D2 D3hot D3cold [ 0.228616] pci 0001:00:1b.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint [ 0.228717] pci 0001:00:1b.2: BAR 0 [mem 0x80080000-0x800800ff] [ 0.228867] pci 0001:00:1b.2: supports D1 D2 [ 0.228910] pci 0001:00:1b.2: PME# supported from D0 D1 D2 D3hot D3cold [ 0.230109] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.235266] PCI host bridge to bus 0002:00 [ 0.235362] pci_bus 0002:00: root bus resource [io 0x880000-0x107ffff] (bus address [0x0000-0x7fffff]) [ 0.235436] pci_bus 0002:00: root bus resource [mem 0xf5000000-0xf5ffffff] [ 0.235502] pci_bus 0002:00: root bus resource [bus 00-ff] [ 0.235553] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff [ 0.236789] pci 0002:00:0b.0: [106b:0036] type 00 class 0x060000 conventional PCI endpoint [ 0.237847] pci 0002:00:0d.0: [106b:0033] type 00 class 0xff0000 conventional PCI endpoint [ 0.237947] pci 0002:00:0d.0: BAR 0 [mem 0xf5004000-0xf5007fff] [ 0.239403] pci 0002:00:0e.0: [106b:0031] type 00 class 0x0c0010 conventional PCI endpoint [ 0.239503] pci 0002:00:0e.0: BAR 0 [mem 0xf5000000-0xf5000fff] [ 0.239647] pci 0002:00:0e.0: supports D1 D2 [ 0.239690] pci 0002:00:0e.0: PME# supported from D0 D1 D2 D3hot [ 0.241028] pci 0002:00:0f.0: [106b:0032] type 00 class 0x020000 conventional PCI endpoint [ 0.241126] pci 0002:00:0f.0: BAR 0 [mem 0xf5200000-0xf53fffff] [ 0.241223] pci 0002:00:0f.0: ROM [mem 0xf5100000-0xf51fffff pref] [ 0.244098] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.245448] PCI 0000:00 Cannot reserve Legacy IO [io 0xff780000-0xff780fff] [ 0.245539] PCI 0001:00 Cannot reserve Legacy IO [io 0x0000-0x0fff] [ 0.245617] pci_bus 0000:00: resource 4 [io 0xff780000-0xfff7ffff] [ 0.245669] pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff] [ 0.245716] pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff] [ 0.245822] pci 0001:00:15.2: BAR 2 [mem 0xf3000000-0xf3000fff]: assigned [ 0.245888] pci 0001:00:15.2: BAR 4 [mem 0xf3001000-0xf3001fff]: assigned [ 0.245948] pci 0001:00:15.2: BAR 0 [io 0x1000-0x1007]: assigned [ 0.246004] pci 0001:00:15.2: BAR 1 [io 0x1008-0x100f]: assigned [ 0.246078] pci_bus 0001:00: resource 4 [io 0x0000-0x7fffff] [ 0.246126] pci_bus 0001:00: resource 5 [mem 0xf3000000-0xf3ffffff] [ 0.246172] pci_bus 0001:00: resource 6 [mem 0x80000000-0x8fffffff] [ 0.246225] pci_bus 0002:00: resource 4 [io 0x880000-0x107ffff] [ 0.246271] pci_bus 0002:00: resource 5 [mem 0xf5000000-0xf5ffffff] [ 0.332361] raid6: altivecx8 gen() 1352 MB/s [ 0.389296] raid6: altivecx4 gen() 1452 MB/s [ 0.446223] raid6: altivecx2 gen() 1252 MB/s [ 0.503140] raid6: altivecx1 gen() 879 MB/s [ 0.560088] raid6: int32x8 gen() 169 MB/s [ 0.617106] raid6: int32x4 gen() 177 MB/s [ 0.674017] raid6: int32x2 gen() 198 MB/s [ 0.730874] raid6: int32x1 gen() 158 MB/s [ 0.730914] raid6: using algorithm altivecx4 gen() 1452 MB/s [ 0.730952] raid6: using intx1 recovery algorithm [ 0.739632] SCSI subsystem initialized [ 0.741752] libata version 3.00 loaded. [ 0.743762] usbcore: registered new interface driver usbfs [ 0.744031] usbcore: registered new interface driver hub [ 0.745067] usbcore: registered new device driver usb [ 0.756307] pci 0000:00:10.0: vgaarb: setting as boot VGA device [ 0.756405] pci 0000:00:10.0: vgaarb: bridge control possible [ 0.756449] pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none [ 0.756561] vgaarb: loaded [ 0.757266] clocksource: Switched to clocksource timebase [ 0.843513] NET: Registered PF_INET protocol family [ 0.846024] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.855031] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear) [ 0.858588] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.860545] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.867924] TCP bind hash table entries: 8192 (order: 6, 327680 bytes, linear) [ 0.869234] TCP: Hash tables configured (established 8192 bind 8192) [ 0.871089] UDP hash table entries: 512 (order: 2, 24576 bytes, linear) [ 0.872188] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear) [ 0.873759] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.874725] pci 0001:00:12.0: enabling device (0000 -> 0002) [ 0.874992] pci 0001:00:12.1: enabling device (0000 -> 0002) [ 0.875114] pci 0001:00:12.2: enabling device (0004 -> 0006) [ 0.875313] Apple USB OHCI 0001:00:18.0 disabled by firmware [ 0.875356] pci 0001:00:18.0: Can't enable PCI device, BIOS handoff failed. [ 0.875416] Apple USB OHCI 0001:00:19.0 disabled by firmware [ 0.875456] pci 0001:00:19.0: Can't enable PCI device, BIOS handoff failed. [ 0.875525] pci 0001:00:1b.0: enabling device (0000 -> 0002) [ 0.875636] pci 0001:00:1b.1: enabling device (0000 -> 0002) [ 0.875804] pci 0001:00:1b.2: enabling device (0004 -> 0006) [ 0.875954] pci 0002:00:0f.0: CLS mismatch (32 != 1020), using 32 bytes [ 0.877548] Thermal assist unit not available [ 0.886591] Initialise system trusted keyrings [ 0.888286] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.911429] 9p: Installing v9fs 9p2000 file system support [ 0.914166] NET: Registered PF_ALG protocol family [ 0.914472] xor: measuring software checksum speed [ 0.958366] 8regs : 224 MB/sec [ 1.004625] 8regs_prefetch : 212 MB/sec [ 1.050195] 32regs : 216 MB/sec [ 1.097553] 32regs_prefetch : 207 MB/sec [ 1.101504] altivec : 2532 MB/sec [ 1.101542] xor: using function: altivec (2532 MB/sec) [ 1.101612] Key type asymmetric registered [ 1.101651] Asymmetric key parser 'x509' registered [ 1.124167] bounce: pool size: 64 pages [ 1.125034] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 1.125735] io scheduler bfq registered [ 1.138147] atomic64_test: passed [ 1.140716] Using unsupported 800x600 (null) at a0008000, depth=8, pitch=1024 [ 1.155951] Console: switching to colour frame buffer device 100x37 [ 1.166683] fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_A@0 [ 1.176178] MacIO PCI driver attached to Keylargo chipset [ 1.192061] 0.00013020:ch-a: ttyS0 at MMIO 0x80013020 (irq = 22, base_baud = 230400) is a Z85c30 ESCC - Serial port [ 1.198579] 0.00013000:ch-b: ttyS1 at MMIO 0x80013000 (irq = 23, base_baud = 230400) is a Z85c30 ESCC - Serial port [ 1.211903] sata_sil 0001:00:13.0: version 2.4 [ 1.212714] sata_sil 0001:00:13.0: enabling device (0004 -> 0007) [ 1.222820] scsi host0: sata_sil [ 1.227979] scsi host1: sata_sil [ 1.230045] ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53 lpm-pol 0 [ 1.235568] ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53 lpm-pol 0 [ 1.242143] pata-pci-macio 0002:00:0d.0: enabling device (0004 -> 0006) [ 1.263966] pata-pci-macio 0002:00:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3 [ 1.282572] scsi host2: pata_macio [ 1.290288] ata3: PATA max UDMA/100 irq 39 lpm-pol 0 [ 1.571673] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 1.578168] ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133 [ 1.583804] ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32) [ 1.591255] ata1.00: Features: Dev-Sleep [ 1.621624] ata1.00: configured for UDMA/100 [ 1.629034] scsi 0:0:0:0: Direct-Access ATA SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5 [ 1.644698] sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB) [ 1.651059] sd 0:0:0:0: [sda] Write Protect is off [ 1.657094] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.663417] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.675998] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes [ 1.716136] sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 [ 1.732094] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.070646] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 2.079480] ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133 [ 2.085787] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 2.094731] ata2.00: configured for UDMA/100 [ 2.103509] scsi 1:0:0:0: Direct-Access ATA WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5 [ 2.117970] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 2.124184] sd 1:0:0:0: [sdb] 4096-byte physical blocks [ 2.130679] sd 1:0:0:0: [sdb] Write Protect is off [ 2.136647] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 2.143023] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.154968] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes [ 2.327384] pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2 [ 2.345716] scsi host3: pata_macio [ 2.353478] ata4: PATA max UDMA/66 irq 19 lpm-pol 0 [ 2.520174] ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66 [ 2.526413] ata4.00: 1009008 sectors, multi 1: LBA [ 2.795186] sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8 sdb9 [ 2.812352] sd 1:0:0:0: [sdb] Attached SCSI disk [ 2.820355] scsi 3:0:0:0: Direct-Access ATA DeLOCK 54143 512 11E PQ: 0 ANSI: 5 [ 2.835232] sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB) [ 2.841736] sd 3:0:0:0: [sdc] Write Protect is off [ 2.847862] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00 [ 2.854304] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 2.866861] sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes [ 2.905866] sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6 [ 2.919062] sd 3:0:0:0: [sdc] Attached SCSI disk [ 3.394066] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0 [ 3.414487] scsi host4: pata_macio [ 3.422379] ata5: PATA max MWDMA2 irq 20 lpm-pol 0 [ 3.430395] sungem.c:v1.0 David S. Miller <davem@xxxxxxxxxx> [ 3.446546] gem 0002:00:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a [ 3.456340] ehci-pci 0001:00:12.2: EHCI Host Controller [ 3.463217] ehci-pci 0001:00:12.2: new USB bus registered, assigned bus number 1 [ 3.464134] rtc-generic rtc-generic: registered as rtc0 [ 3.470311] ehci-pci 0001:00:12.2: irq 52, io mem 0x80081000 [ 3.478088] PowerMac i2c bus pmu 2 registered [ 3.489778] PowerMac i2c bus pmu 1 registered [ 3.497302] ehci-pci 0001:00:12.2: USB 2.0 started, EHCI 1.00 [ 3.498876] PowerMac i2c bus mac-io 0 registered [ 3.504561] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.11 [ 3.509996] i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem [ 3.515703] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.523216] PowerMac i2c bus uni-n 1 registered [ 3.528396] usb usb1: Product: EHCI Host Controller [ 3.528422] usb usb1: Manufacturer: Linux 6.11.0-rc2-PMacG4 ehci_hcd [ 3.534714] i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0 [ 3.540841] usb usb1: SerialNumber: 0001:00:12.2 [ 3.548428] PowerMac i2c bus uni-n 0 registered [ 3.563192] hub 1-0:1.0: USB hub found [ 3.570492] hid: raw HID events driver (C) Jiri Kosina [ 3.572418] hub 1-0:1.0: 5 ports detected [ 3.580188] usbcore: registered new interface driver usbhid [ 3.590899] usbhid: USB HID core driver [ 3.597104] ehci-pci 0001:00:1b.2: EHCI Host Controller [ 3.605786] ehci-pci 0001:00:1b.2: new USB bus registered, assigned bus number 2 [ 3.612386] ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33 [ 3.615949] ehci-pci 0001:00:1b.2: irq 63, io mem 0x80080000 [ 3.619978] NET: Registered PF_INET6 protocol family [ 3.637462] ehci-pci 0001:00:1b.2: USB 2.0 started, EHCI 1.00 [ 3.641867] scsi 4:0:0:0: CD-ROM _NEC DVD_RW ND-3520A 1.04 PQ: 0 ANSI: 5 [ 3.645766] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.11 [ 3.656091] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.656267] Segment Routing with IPv6 [ 3.662207] usb usb2: Product: EHCI Host Controller [ 3.662230] usb usb2: Manufacturer: Linux 6.11.0-rc2-PMacG4 ehci_hcd [ 3.662247] usb usb2: SerialNumber: 0001:00:1b.2 [ 3.669271] In-situ OAM (IOAM) with IPv6 [ 3.678625] hub 2-0:1.0: USB hub found [ 3.688632] 9pnet: Installing 9P2000 support [ 3.692716] hub 2-0:1.0: 5 ports detected [ 3.717702] sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray [ 3.723718] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 3.803181] registered taskstats version 1 [ 3.812204] Loading compiled-in X.509 certificates [ 3.817969] sr 4:0:0:0: Attached scsi CD-ROM sr0 [ 3.928947] zswap: loaded using pool lzo/zsmalloc [ 3.935906] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers [ 3.948622] page_owner is disabled [ 4.037916] Btrfs loaded, zoned=no, fsverity=no [ 7.532433] input: PMU as /devices/virtual/input/input0 [ 7.540547] netpoll: netconsole: local port 6666 [ 7.546233] netpoll: netconsole: local IPv4 address 192.168.2.8 [ 7.551673] netpoll: netconsole: interface 'eth0' [ 7.557027] netpoll: netconsole: remote port 6666 [ 7.562331] netpoll: netconsole: remote IPv4 address 192.168.2.3 [ 7.567643] netpoll: netconsole: remote ethernet address a8:a1:59:16:4f:ea [ 7.573020] netpoll: netconsole: device eth0 not up yet, forcing it [ 7.667723] sungem_phy: PHY ID: 2060e1, addr: 0 [ 7.673384] gem 0002:00:0f.0 eth0: Found BCM5421 PHY [ 11.340991] gem 0002:00:0f.0 eth0: Link is up at 1000 Mbps, full-duplex [ 11.346511] gem 0002:00:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632) [ 11.357657] printk: legacy console [netcon0] enabled [ 11.386006] netconsole: network logging started [ 11.426443] EXT4-fs (sda5): mounted filesystem fa07e66f-b4f9-404f-85d8-487d3c097aec ro with ordered data mode. Quota mode: disabled. [ 11.437794] VFS: Mounted root (ext4 filesystem) readonly on device 8:5. [ 11.451308] devtmpfs: mounted [ 11.461927] Freeing unused kernel image (initmem) memory: 1624K [ 11.501602] Checked W+X mappings: passed, no W+X pages found [ 11.507288] rodata_test: all tests were successful [ 11.512748] Run /sbin/init as init process [ 11.518199] with arguments: [ 11.523658] /sbin/init [ 11.528956] with environment: [ 11.534292] HOME=/ [ 11.539490] TERM=linux [ 21.044420] ohci-pci 0001:00:12.0: OHCI PCI host controller [ 21.064863] ohci-pci 0001:00:12.0: new USB bus registered, assigned bus number 3 [ 21.079739] ohci-pci 0001:00:12.0: irq 52, io mem 0x8008c000 [ 21.208842] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.11 [ 21.213631] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 21.218056] usb usb3: Product: OHCI PCI host controller [ 21.222407] usb usb3: Manufacturer: Linux 6.11.0-rc2-PMacG4 ohci_hcd [ 21.226761] usb usb3: SerialNumber: 0001:00:12.0 [ 21.261202] hub 3-0:1.0: USB hub found [ 21.270049] hub 3-0:1.0: 3 ports detected [ 21.325322] ohci-pci 0001:00:12.1: OHCI PCI host controller [ 21.339659] ohci-pci 0001:00:12.1: new USB bus registered, assigned bus number 4 [ 21.345256] ohci-pci 0001:00:12.1: irq 52, io mem 0x8008b000 [ 21.512066] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.11 [ 21.517109] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 21.522117] usb usb4: Product: OHCI PCI host controller [ 21.527160] usb usb4: Manufacturer: Linux 6.11.0-rc2-PMacG4 ohci_hcd [ 21.532062] usb usb4: SerialNumber: 0001:00:12.1 [ 21.649123] hub 4-0:1.0: USB hub found [ 21.698222] hub 4-0:1.0: 2 ports detected [ 21.765915] Apple USB OHCI 0001:00:18.0 disabled by firmware [ 21.780977] Apple USB OHCI 0001:00:19.0 disabled by firmware [ 21.788651] ohci-pci 0001:00:1b.0: OHCI PCI host controller [ 21.794262] ohci-pci 0001:00:1b.0: new USB bus registered, assigned bus number 5 [ 21.800076] ohci-pci 0001:00:1b.0: irq 63, io mem 0x80084000 [ 21.953188] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.11 [ 21.958667] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 21.964286] usb usb5: Product: OHCI PCI host controller [ 21.969602] usb usb5: Manufacturer: Linux 6.11.0-rc2-PMacG4 ohci_hcd [ 21.974945] usb usb5: SerialNumber: 0001:00:1b.0 [ 22.084102] hub 5-0:1.0: USB hub found [ 22.137048] hub 5-0:1.0: 3 ports detected [ 22.216537] ohci-pci 0001:00:1b.1: OHCI PCI host controller [ 22.294175] ohci-pci 0001:00:1b.1: new USB bus registered, assigned bus number 6 [ 22.318754] ohci-pci 0001:00:1b.1: irq 63, io mem 0x80083000 [ 22.401075] [drm] radeon kernel modesetting enabled. [ 22.452724] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.11 [ 22.458636] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 22.464179] usb usb6: Product: OHCI PCI host controller [ 22.469627] usb usb6: Manufacturer: Linux 6.11.0-rc2-PMacG4 ohci_hcd [ 22.475040] usb usb6: SerialNumber: 0001:00:1b.1 [ 22.505628] Console: switching to colour dummy device 80x25 [ 22.561114] radeon 0000:00:10.0: enabling device (0006 -> 0007) [ 22.595859] hub 6-0:1.0: USB hub found [ 22.606398] [drm] initializing kernel modesetting (RV350 0x1002:0x4150 0x1002:0x0002 0x00). [ 22.606633] [drm] Forcing AGP to PCI mode [ 22.611669] hub 6-0:1.0: 2 ports detected [ 22.628205] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000 [ 22.752329] [drm] Generation 2 PCI interface, using max accessible memory [ 22.752799] radeon 0000:00:10.0: VRAM: 256M 0x00000000A0000000 - 0x00000000AFFFFFFF (256M used) [ 22.752922] radeon 0000:00:10.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF [ 22.753347] [drm] Detected VRAM RAM=256M, BAR=256M [ 22.753486] [drm] RAM width 128bits DDR [ 22.821797] [drm] radeon: 256M of VRAM memory ready [ 22.822126] [drm] radeon: 512M of GTT memory ready. [ 22.823013] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 23.044482] [drm] radeon: 1 quad pipes, 1 Z pipes initialized [ 23.044810] [drm] PCI GART of 512M enabled (table at 0x0000000008B00000). [ 23.045237] radeon 0000:00:10.0: WB enabled [ 23.045353] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000080000000 [ 23.067895] [drm] radeon: irq initialized. [ 23.068250] [drm] Loading R300 Microcode [ 23.393193] [drm] radeon: ring at 0x0000000080001000 [ 23.393563] [drm] ring test succeeded in 0 usecs [ 23.461857] [drm] ib test succeeded in 0 usecs [ 23.528770] [drm] Radeon Display Connectors [ 23.529045] [drm] Connector 0: [ 23.529124] [drm] DVI-I-1 [ 23.529193] [drm] HPD2 [ 23.529301] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 [ 23.529421] [drm] Encoders: [ 23.529520] [drm] CRT1: INTERNAL_DAC1 [ 23.529592] [drm] DFP2: INTERNAL_DVO1 [ 23.529696] [drm] Connector 1: [ 23.529760] [drm] DVI-I-2 [ 23.529885] [drm] HPD1 [ 23.529977] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 [ 23.530057] [drm] Encoders: [ 23.530117] [drm] CRT2: INTERNAL_DAC2 [ 23.530221] [drm] DFP1: INTERNAL_TMDS1 [ 23.543701] [drm] Initialized radeon 2.50.0 for 0000:00:10.0 on minor 0 [ 23.623873] radeon 0000:00:10.0: [drm] Cannot find any crtc or sizes [ 23.660739] radeon 0000:00:10.0: [drm] Cannot find any crtc or sizes [ 23.686635] radeon 0000:00:10.0: [drm] Cannot find any crtc or sizes [ 24.255984] random: crng init done [ 25.143250] ADM1030 fan controller [@2c] [ 25.158019] firewire_ohci 0002:00:0e.0: enabling device (0000 -> 0002) [ 25.278150] firewire_ohci 0002:00:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0 [ 25.359306] gem 0002:00:0f.0 enP2p0s15: renamed from eth0 (while UP) [ 25.806809] firewire_core 0002:00:0e.0: created device fw0: GUID 000a95fffe9c763a, S800 [ 26.574608] snd-aoa-fabric-layout: can use this codec [ 27.376149] EXT4-fs (sda5): re-mounted fa07e66f-b4f9-404f-85d8-487d3c097aec r/w. Quota mode: disabled. [ 27.504237] EXT4-fs (sda5): re-mounted fa07e66f-b4f9-404f-85d8-487d3c097aec r/w. Quota mode: disabled. [ 28.581317] Adding 8388604k swap on /dev/sdb6. Priority:-2 extents:1 across:8388604k [ 29.061583] EXT4-fs (sdc5): mounting ext2 file system using the ext4 subsystem [ 29.075856] EXT4-fs (sdc5): mounted filesystem e4e8af9e-0f0d-44f9-b983-71bf61d782de r/w without journal. Quota mode: disabled. [ 29.076244] ext2 filesystem being mounted at /boot supports timestamps until 2038-01-19 (0x7fffffff) [ 29.079573] BTRFS: device label tmp devid 1 transid 5197 /dev/sda6 (8:6) scanned by mount (880) [ 29.084432] BTRFS info (device sda6): first mount of filesystem 65162d91-887e-4e48-a356-fbf7093eefb5 [ 29.084699] BTRFS info (device sda6): using xxhash64 (xxhash64-generic) checksum algorithm [ 29.084896] BTRFS info (device sda6): using free-space-tree [ 136.274148] KTAP version 1 [ 136.274438] 1..1 [ 136.275323] KTAP version 1 [ 136.275450] # Subtest: overflow [ 136.275553] # module: overflow_kunit [ 136.275604] 1..22 [ 136.276595] # u8_u8__u8_overflow_test: 18 u8_u8__u8 arithmetic tests finished [ 136.277546] ok 1 u8_u8__u8_overflow_test [ 136.281318] # s8_s8__s8_overflow_test: 19 s8_s8__s8 arithmetic tests finished [ 136.284396] ok 2 s8_s8__s8_overflow_test [ 136.289984] # u16_u16__u16_overflow_test: 17 u16_u16__u16 arithmetic tests finished [ 136.291288] ok 3 u16_u16__u16_overflow_test [ 136.294701] # s16_s16__s16_overflow_test: 17 s16_s16__s16 arithmetic tests finished [ 136.300397] ok 4 s16_s16__s16_overflow_test [ 136.301973] # u32_u32__u32_overflow_test: 17 u32_u32__u32 arithmetic tests finished [ 136.303183] ok 5 u32_u32__u32_overflow_test [ 136.303865] # s32_s32__s32_overflow_test: 17 s32_s32__s32 arithmetic tests finished [ 136.307074] ok 6 s32_s32__s32_overflow_test [ 136.308155] # u64_u64__u64_overflow_test: 17 u64_u64__u64 arithmetic tests finished [ 136.309097] ok 7 u64_u64__u64_overflow_test [ 136.309717] # s64_s64__s64_overflow_test: 21 s64_s64__s64 arithmetic tests finished [ 136.310574] ok 8 s64_s64__s64_overflow_test [ 136.312786] # u32_u32__int_overflow_test: 2 u32_u32__int arithmetic tests finished [ 136.313705] ok 9 u32_u32__int_overflow_test [ 136.314767] # u32_u32__u8_overflow_test: 3 u32_u32__u8 arithmetic tests finished [ 136.316477] ok 10 u32_u32__u8_overflow_test [ 136.318442] # u8_u8__int_overflow_test: 3 u8_u8__int arithmetic tests finished [ 136.319735] ok 11 u8_u8__int_overflow_test [ 136.320329] # int_int__u8_overflow_test: 3 int_int__u8 arithmetic tests finished [ 136.321338] ok 12 int_int__u8_overflow_test [ 136.322042] # shift_sane_test: 36 sane shift tests finished [ 136.324512] ok 13 shift_sane_test [ 136.325397] # shift_overflow_test: 25 overflow shift tests finished [ 136.326264] ok 14 shift_overflow_test [ 136.326945] # shift_truncate_test: 27 truncate shift tests finished [ 136.329960] ok 15 shift_truncate_test [ 136.330566] # shift_nonsense_test: 25 nonsense shift tests finished [ 136.331710] ok 16 shift_nonsense_test [ 136.342161] # overflow_allocation_test: 11 allocation overflow tests finished [ 136.345878] ================================================================== [ 136.346021] BUG: KASAN: stack-out-of-bounds in string_nocheck+0x168/0x1c8 [ 136.346126] Read of size 1 at addr c976be40 by task kunit_try_catch/1843 [ 136.346190] [ 136.346252] CPU: 0 UID: 0 PID: 1843 Comm: kunit_try_catch Tainted: G N 6.11.0-rc2-PMacG4 #1 [ 136.346424] Tainted: [N]=TEST [ 136.346477] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac [ 136.346537] Call Trace: [ 136.346588] [c992fb80] [c16651c0] dump_stack_lvl+0x80/0xac (unreliable) [ 136.346696] [c992fba0] [c04e0420] print_report+0xdc/0x504 [ 136.346890] [c992fc00] [c04e01d8] kasan_report+0xf8/0x108 [ 136.346965] [c992fc80] [c16ae4c8] string_nocheck+0x168/0x1c8 [ 136.347042] [c992fcf0] [c16b37a4] string+0xa8/0xbc [ 136.347116] [c992fd60] [c16b8134] vsnprintf+0x868/0x1750 [ 136.347192] [c992fdf0] [c0b8490c] kvasprintf+0xa4/0x13c [ 136.347267] [c992fe60] [c0b84c3c] kasprintf+0xb4/0xc8 [ 136.347338] [c992fed0] [c0f4c954] module_remove_driver+0x1f0/0x2fc [ 136.347418] [c992ff00] [c0f21628] bus_remove_driver+0x1d0/0x240 [ 136.347494] [c992ff30] [bfd0cd40] kunit_put_resource+0x128/0x134 [kunit] [ 136.347734] [c992ff50] [bfd0a120] kunit_cleanup+0x140/0x144 [kunit] [ 136.347859] [c992ff90] [bfd10d64] kunit_generic_run_threadfn_adapter+0xf8/0x148 [kunit] [ 136.347982] [c992ffc0] [c00f57e0] kthread+0x36c/0x37c [ 136.348172] [c992fff0] [c0028304] start_kernel_thread+0x10/0x14 [ 136.348253] [ 136.348307] The buggy address belongs to the physical page: [ 136.348364] page: refcount:0 mapcount:0 mapping:00000000 index:0x0 pfn:0x976b [ 136.348489] flags: 0x0(zone=0) [ 136.348567] raw: 00000000 00000000 eef2bb10 00000000 00000000 00000000 ffffffff 00000000 [ 136.348628] raw: 00000000 [ 136.348677] page dumped because: kasan: bad access detected [ 136.348930] [ 136.348981] Memory state around the buggy address: [ 136.349038] c976bd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 136.349098] c976bd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 136.349154] >c976be00: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 04 f2 04 f2 [ 136.349205] ^ [ 136.349261] c976be80: 00 04 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 [ 136.349315] c976bf00: 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 00 00 00 00 [ 136.349366] ================================================================== [ 136.349960] Disabling lock debugging due to kernel taint [ 136.354669] not ok 17 overflow_allocation_test [ 136.355410] # overflow_size_helpers_test: 43 overflow size helper tests finished [ 136.356326] ok 18 overflow_size_helpers_test [ 136.356965] # overflows_type_test: 378 overflows_type() tests finished [ 136.358061] ok 19 overflows_type_test [ 136.358716] # same_type_test: 0 __same_type() tests finished [ 136.362252] ok 20 same_type_test [ 136.362876] # castable_to_type_test: 75 castable_to_type() tests finished [ 136.364025] ok 21 castable_to_type_test [ 136.365834] ok 22 DEFINE_FLEX_test [ 136.366045] # overflow: pass:21 fail:1 skip:0 total:22 [ 136.366175] # Totals: pass:21 fail:1 skip:0 total:22 [ 136.366264] not ok 1 overflow [ 8844.776326] BTRFS info (device sda6): last unmount of filesystem 65162d91-887e-4e48-a356-fbf7093eefb5 [ 8844.846671] EXT4-fs (sdc5): unmounting filesystem e4e8af9e-0f0d-44f9-b983-71bf61d782de. [ 8850.910958] elogind-daemon[1514]: Received signal 15 [TERM] [ 8852.038563] EXT4-fs (sda5): re-mounted fa07e66f-b4f9-404f-85d8-487d3c097aec ro. Quota mode: disabled. [ 8853.713228] sd 3:0:0:0: [sdc] Stopping disk [ 8853.713879] sd 1:0:0:0: [sdb] Synchronizing SCSI cache [ 8853.715152] sd 1:0:0:0: [sdb] Stopping disk [ 8853.715723] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 8853.716413] sd 0:0:0:0: [sda] Stopping disk [ 8853.725469] reboot: Power down
Attachment:
config_611-rc2_g4
Description: Binary data