Skip to contentSkip to conversation

BUG: Bad page map in process init pte:c0ab684c pmd:01182000 (on a PowerMac G4 DP)

DISCUSSION Erhard F. 4 participants 15 messages Nov 30, 2022 – Apr 30, 2025 Memory management

lore
Share & tools
lore

Erhard F.

author
#0 lore raw

Getting this at boot sometimes, but not always (PowerMac G4 DP, kernel 6.0.9):

[...]
Freeing unused kernel image (initmem) memory: 1328K Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process _swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000
addr:a7891000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7891
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 0 PID: 1 Comm: init Tainted: G                T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c02081d4] unmap_page_range+0x6a0/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G                T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
Disabling lock debugging due to kernel taint

BUG: Bad page map in process init  pte:c1182089 pmd:01182000
addr:a7892000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7892
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025800] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025820] [c0205054] print_bad_pte+0x1c8/0x254
[f1025860] [c0206ee0] vm_normal_page+0x74/0x110
[f1025870] [c0207da0] unmap_page_range+0x26c/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00

BUG: Bad page map in process init  pte:648a5747 pmd:01182000
page:(ptrval) refcount:0 mapcount:-1 mapping:00000000 index:0x1 pfn:0x648a5
flags: 0x80000002(referenced|zone=2)
raw: 80000002 00000100 00000122 00000000 00000001 00000000 fffffffe 00000000
raw: 00000000
page dumped because: bad pte
addr:a7896000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7896
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c0207fc8] unmap_page_range+0x494/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
_swap_info_get: Bad swap file entry 20c09b05

BUG: Bad page map in process init  pte:c09b0540 pmd:01182000

[...]

This could be related to https://bugzilla.kernel.org/show_bug.cgi?id=216715 but I am not sure.

This has been https://bugzilla.kernel.org/show_bug.cgi?id=216713 but I was suggested to better post issues like this here on the mailing list.

Kernel dmesg and .config attached.

Cheers,
Erhard F.

Total memory = 2048MB; using 4096kB for hash table
Activating Kernel Userspace Access Protection
Activating Kernel Userspace Execution Prevention
Linux version 6.0.9-gentoo-PMacG4 (root@T1000) (gcc (Gentoo 12.2.1_p20221008 p1) 12.2.1 20221008, GNU ld (Gentoo 2.39 p5) 2.39.0) #1 SMP Sun Nov 20 15:15:34 CET 2022 ioremap() called early from pmac_feature_init+0x144/0x1094. Use early_ioremap() instead
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24
Mapped at 0xff3bf000
ioremap() called early from probe_one_macio+0x1d4/0x3cc. Use early_ioremap() instead
Found a Keylargo mac-io controller, rev: 3, mapped at 0x(ptrval)
PowerMac motherboard: PowerMac G4 Windtunnel
ioremap() called early from btext_map+0x64/0xdc. Use early_ioremap() instead
Using PowerMac machine description
printk: bootconsole [udbg0] enabled
CPU maps initialized for 1 thread per core
-----------------------------------------------------

phys_mem_size     = 0x80000000
dcache_bsize      = 0x20
icache_bsize      = 0x20
cpu_features      = 0x000000002514600a
  possible        = 0x00000000277de00a
  always          = 0x0000000001000000
cpu_user_features = 0x9c000001 0x00000000
mmu_features      = 0x00010001
Hash_size         = 0x400000
Hash_mask         = 0xffff

-----------------------------------------------------
ioremap() called early from pmac_setup_arch+0x1ac/0x448. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x2e8/0x7f0. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x33c/0x7f0. Use early_ioremap() instead
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
ioremap() called early from pmac_nvram_init+0x1cc/0x730. Use early_ioremap() instead
nvram: Checking bank 0...
nvram: gen0=3090, gen1=3089
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Zone ranges:

  DMA      [mem 0x0000000000000000-0x000000002fffffff]
  Normal   empty
  HighMem  [mem 0x0000000030000000-0x000000007fffffff]

Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
percpu: Embedded 12 pages/cpu s20320 r8192 d20640 u49152
Built 1 zonelists, mobility grouping on. Total pages: 522560
Kernel command line: ro root=/dev/sda5 zswap.max_pool_percent=16 zswap.zpool=z3fold slub_debug=FZP page_poison=1 [email protected]/eth0,[email protected]/70:85:C2:30:EC:01 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:all(pattern), heap alloc:off, heap free:off
Kernel virtual memory layout:

  * 0xffbbf000..0xfffff000  : fixmap
  * 0xff400000..0xff800000  : highmem PTEs
  * 0xff115000..0xff400000  : early ioremap
  * 0xf1000000..0xff115000  : vmalloc & ioremap
  * 0xb0000000..0xc0000000  : modules

Memory: 2056252K/2097152K available (9856K kernel code, 504K rwdata, 1788K rodata, 1328K init, 426K bss, 40900K reserved, 0K cma-reserved, 1310720K highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 2 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
rcu: srcu_init: Setting srcu_struct sizes based on contention.
kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b9699db, max_idle_ns: 440795204297 ns
clocksource: timebase mult[18012db2] shift[24] registered
Console: colour dummy device 80x25
printk: console [tty0] enabled
printk: bootconsole [udbg0] disabled
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Yama: becoming mindful.
Stack Depot allocating hash table of 65536 entries with kvcalloc
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
PowerMac SMP probe found 2 cpus
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
channel 0 bus <multibus>
channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
channel 1 bus <multibus>
channel 2 bus <multibus>
pmf: no parser for command 17 !
Processor timebase sync using GPIO 0x73
mpic: requesting IPIs...
CPU0: L2CR is 80000000
CPU0: L3CR is 9c030000
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
rcu: Hierarchical SRCU implementation.
rcu: Max phase no-delay instances is 1000.
smp: Bringing up secondary CPUs ...
CPU1: L2CR was 0
CPU1: L2CR set to 80000000
CPU1: L3CR was 0
CPU1: L3CR set to 9c030000
smp: Brought up 1 node, 2 CPUs
devtmpfs: initialized
Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in gpio@50, renamed to "gpio5@6f#1"
Duplicate name in gpio@50, renamed to "gpio6@70#1"
Duplicate name in gpio@50, renamed to "gpio11@75#1"
Duplicate name in gpio@50, renamed to "extint-gpio15@67#1"
Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
PCI host bridge /pci@f0000000 ranges:
MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000
IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000
Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
PCI host bridge /pci@f2000000 (primary) ranges:
MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000
IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
PCI host bridge /pci@f4000000 ranges:
MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000
IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered PF_NETLINK/PF_ROUTE protocol family
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
sysfs: cannot create duplicate filename '/devices/platform/of-display'

CPU: 0 PID: 1 Comm: swapper/0 Tainted: G                T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025cb0] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025cd0] [c03297e4] sysfs_warn_dup+0x64/0x84
[f1025cf0] [c03299b4] sysfs_create_dir_ns+0x130/0x14c
[f1025d20] [c0631ea4] kobject_add_internal+0x144/0x350
[f1025d50] [c06327ec] kobject_add+0x9c/0x110
[f1025d90] [c06f25c0] device_add+0xd4/0x99c
[f1025e00] [c07a86f0] of_platform_device_create_pdata+0xb8/0x140
[f1025e30] [c0c4a350] of_platform_default_populate_init+0x280/0x308
[f1025e60] [c0007ac8] do_one_initcall+0x64/0x2cc
[f1025ed0] [c0c04508] kernel_init_freeable+0x224/0x358
[f1025f10] [c0007f44] kernel_init+0x28/0x154
[f1025f30] [c001c334] ret_from_kernel_thread+0x5c/0x64

kobject_add_internal failed for of-display with -EEXIST, don't try to register things with the same name in the same directory.
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff])
pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000
pci 0000:00:10.0: [1002:4150] type 00 class 0x030000
pci 0000:00:10.0: reg 0x10: [mem 0xa0000000-0xafffffff pref]
pci 0000:00:10.0: reg 0x14: [io 0xff780400-0xff7804ff]
pci 0000:00:10.0: reg 0x18: [mem 0x90000000-0x9000ffff]
pci 0000:00:10.0: reg 0x30: [mem 0x90020000-0x9003ffff pref]
pci 0000:00:10.0: supports D1 D2
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
PCI host bridge to bus 0001:10
pci_bus 0001:10: root bus resource [io 0x0000-0x7fffff]
pci_bus 0001:10: root bus resource [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: root bus resource [mem 0x80000000-0x8fffffff]
pci_bus 0001:10: root bus resource [bus 10-ff]
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to ff
pci 0001:10:0b.0: [106b:0035] type 00 class 0x060000
pci 0001:10:12.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.0: reg 0x10: [mem 0x8008c000-0x8008cfff]
pci 0001:10:12.0: supports D1 D2
pci 0001:10:12.0: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.1: reg 0x10: [mem 0x8008b000-0x8008bfff]
pci 0001:10:12.1: supports D1 D2
pci 0001:10:12.1: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:12.2: reg 0x10: [mem 0x80081000-0x800810ff]
pci 0001:10:12.2: supports D1 D2
pci 0001:10:12.2: PME# supported from D0 D1 D2 D3hot
pci 0001:10:13.0: [1095:3112] type 00 class 0x018000

pci 0001:10:13.0: reg 0x10: [io  0x0460-0x0467]
pci 0001:10:13.0: reg 0x14: [io  0x0450-0x0453]
pci 0001:10:13.0: reg 0x18: [io  0x0440-0x0447]
pci 0001:10:13.0: reg 0x1c: [io  0x0430-0x0433]
pci 0001:10:13.0: reg 0x20: [io  0x0420-0x042f]

pci 0001:10:13.0: reg 0x24: [mem 0x80082000-0x800821ff]
pci 0001:10:13.0: reg 0x30: [mem 0x80100000-0x8017ffff pref]
pci 0001:10:13.0: supports D1 D2
pci 0001:10:15.0: [9710:9865] type 00 class 0x070002
pci 0001:10:15.0: reg 0x10: [io 0x0410-0x0417]
pci 0001:10:15.0: reg 0x14: [mem 0x8008a000-0x8008afff]
pci 0001:10:15.0: reg 0x20: [mem 0x80089000-0x80089fff]
pci 0001:10:15.0: supports D1 D2
pci 0001:10:15.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.1: [9710:9865] type 00 class 0x070002
pci 0001:10:15.1: reg 0x10: [io 0x0400-0x0407]
pci 0001:10:15.1: reg 0x14: [mem 0x80088000-0x80088fff]
pci 0001:10:15.1: reg 0x20: [mem 0x80087000-0x80087fff]
pci 0001:10:15.1: supports D1 D2
pci 0001:10:15.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.2: [ffff:9865] type 00 class 0x070103
pci 0001:10:15.2: reg 0x10: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x14: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x18: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: reg 0x20: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: supports D1 D2
pci 0001:10:15.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:16.0: [14e4:4320] type 00 class 0x028000
pci 0001:10:16.0: reg 0x10: [mem 0x8008e000-0x8008ffff]
pci 0001:10:16.0: supports D1 D2
pci 0001:10:16.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:17.0: [106b:0022] type 00 class 0xff0000
pci 0001:10:17.0: reg 0x10: [mem 0x80000000-0x8007ffff]
pci 0001:10:18.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:18.0: reg 0x10: [mem 0x80086000-0x80086fff]
pci 0001:10:19.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:19.0: reg 0x10: [mem 0x80085000-0x80085fff]
pci 0001:10:1b.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.0: reg 0x10: [mem 0x80084000-0x80084fff]
pci 0001:10:1b.0: supports D1 D2
pci 0001:10:1b.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.1: reg 0x10: [mem 0x80083000-0x80083fff]
pci 0001:10:1b.1: supports D1 D2
pci 0001:10:1b.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:1b.2: reg 0x10: [mem 0x80080000-0x800800ff]
pci 0001:10:1b.2: supports D1 D2
pci 0001:10:1b.2: PME# supported from D0 D1 D2 D3hot D3cold
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to 10
PCI host bridge to bus 0002:20
pci_bus 0002:20: root bus resource [io 0x880000-0x107ffff] (bus address [0x0000-0x7fffff]) pci_bus 0002:20: root bus resource [mem 0xf5000000-0xf5ffffff]
pci_bus 0002:20: root bus resource [bus 20-ff]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to ff
pci 0002:20:0b.0: [106b:0036] type 00 class 0x060000
pci 0002:20:0d.0: [106b:0033] type 00 class 0xff0000
pci 0002:20:0d.0: reg 0x10: [mem 0xf5004000-0xf5007fff]
pci 0002:20:0e.0: [106b:0031] type 00 class 0x0c0010
pci 0002:20:0e.0: reg 0x10: [mem 0xf5000000-0xf5000fff]
pci 0002:20:0e.0: supports D1 D2
pci 0002:20:0e.0: PME# supported from D0 D1 D2 D3hot
pci 0002:20:0f.0: [106b:0032] type 00 class 0x020000
pci 0002:20:0f.0: reg 0x10: [mem 0xf5200000-0xf53fffff]
pci 0002:20:0f.0: reg 0x30: [mem 0xf5100000-0xf51fffff pref]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to 20
pci_bus 0000:00: resource 4 [io 0xff780000-0xfff7ffff]
pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff]
pci 0001:10:15.2: BAR 2: assigned [mem 0xf3000000-0xf3000fff]
pci 0001:10:15.2: BAR 4: assigned [mem 0xf3001000-0xf3001fff]
pci 0001:10:15.2: BAR 0: assigned [io 0x1000-0x1007]
pci 0001:10:15.2: BAR 1: assigned [io 0x1008-0x100f]
pci_bus 0001:10: resource 4 [io 0x0000-0x7fffff]
pci_bus 0001:10: resource 5 [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: resource 6 [mem 0x80000000-0x8fffffff]
pci_bus 0002:20: resource 4 [io 0x880000-0x107ffff]
pci_bus 0002:20: resource 5 [mem 0xf5000000-0xf5ffffff]
raid6: altivecx8 gen() 3389 MB/s
raid6: altivecx4 gen() 3467 MB/s
raid6: altivecx2 gen() 3463 MB/s
raid6: altivecx1 gen() 3353 MB/s
raid6: int32x8 gen() 736 MB/s
raid6: int32x4 gen() 1027 MB/s
raid6: int32x2 gen() 961 MB/s
raid6: int32x1 gen() 764 MB/s
raid6: using algorithm altivecx4 gen() 3467 MB/s
raid6: using intx1 recovery algorithm
SCSI subsystem initialized
pci 0000:00:10.0: vgaarb: setting as boot VGA device
pci 0000:00:10.0: vgaarb: bridge control possible
pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
vgaarb: loaded
clocksource: Switched to clocksource timebase
NET: Registered PF_INET protocol family
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
pci 0001:10:12.0: enabling device (0000 -> 0002)
pci 0001:10:12.1: enabling device (0000 -> 0002)
pci 0001:10:12.2: enabling device (0004 -> 0006)
Apple USB OHCI 0001:10:18.0 disabled by firmware
pci 0001:10:18.0: Can't enable PCI device, BIOS handoff failed.
Apple USB OHCI 0001:10:19.0 disabled by firmware
pci 0001:10:19.0: Can't enable PCI device, BIOS handoff failed.
pci 0001:10:1b.0: enabling device (0000 -> 0002)
pci 0001:10:1b.1: enabling device (0000 -> 0002)
pci 0001:10:1b.2: enabling device (0004 -> 0006)
pci 0002:20:0f.0: CLS mismatch (32 != 1020), using 32 bytes
Thermal assist unit not available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=19 bucket_order=5
NET: Registered PF_ALG protocol family
xor: measuring software checksum speed

   8regs           :  1322 MB/sec
   8regs_prefetch  :  1209 MB/sec
   32regs          :  1322 MB/sec
   32regs_prefetch :  1213 MB/sec
   altivec         :  4768 MB/sec

xor: using function: altivec (4768 MB/sec)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
alg: self-tests for CTR-KDF (hmac(sha256)) passed
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler kyber registered
io scheduler bfq registered
Using unsupported 1920x1080 (null) at a0008000, depth=8, pitch=2048
Console: switching to colour frame buffer device 240x67
fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_A@0 MacIO PCI driver attached to Keylargo chipset
0.00013020:ch-a: ttyPZ0 at MMIO 0x80013020 (irq = 22, base_baud = 230400) is a Z85c30 ESCC - Serial port 0.00013000:ch-b: ttyPZ1 at MMIO 0x80013000 (irq = 23, base_baud = 230400) is a Z85c30 ESCC - Serial port sata_sil 0001:10:13.0: enabling device (0004 -> 0007)
scsi host0: sata_sil
scsi host1: sata_sil
ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53
ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53
pata-pci-macio 0002:20:0d.0: enabling device (0004 -> 0006)
pata-pci-macio 0002:20:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3 scsi host2: pata_macio
ata3: PATA max UDMA/100 irq 39
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133
ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: Features: Dev-Sleep
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133
ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/100
scsi 1:0:0:0: Direct-Access ATA WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2 scsi host3: pata_macio
ata4: PATA max UDMA/66 irq 19
ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66
ata4.00: 1009008 sectors, multi 1: LBA
sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 3:0:0:0: Direct-Access ATA DeLOCK 54143 512 11E PQ: 0 ANSI: 5
sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
sd 3:0:0:0: [sdc] Attached SCSI disk
pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0 scsi host4: pata_macio
ata5: PATA max MWDMA2 irq 20
sungem.c:v1.0 David S. Miller <[email protected]>
gem 0002:20:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a rtc-generic rtc-generic: registered as rtc0
i2c_dev: i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
PowerMac i2c bus uni-n 1 registered
i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0 PowerMac i2c bus uni-n 0 registered
ledtrig-cpu: registered to indicate activity on CPUs
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
drmem: No dynamic reconfiguration memory found
ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
registered taskstats version 1
Loading compiled-in X.509 certificates
scsi 4:0:0:0: CD-ROM _NEC DVD_RW ND-3520A 1.04 PQ: 0 ANSI: 5
zswap: loaded using pool lzo/z3fold
debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
input: PMU as /devices/virtual/input/input0
netpoll: netconsole: local port 6666
netpoll: netconsole: local IPv4 address 192.168.178.8
netpoll: netconsole: interface 'eth0'
netpoll: netconsole: remote port 6666
netpoll: netconsole: remote IPv4 address 192.168.178.3
netpoll: netconsole: remote ethernet address 70:85:c2:30:ec:01
netpoll: netconsole: device eth0 not up yet, forcing it
gem 0002:20:0f.0 eth0: Found BCM5421 PHY
gem 0002:20:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
gem 0002:20:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
printk: console [netcon0] enabled
netconsole: network logging started
EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) readonly on device 8:5.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 1328K
Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process
_swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000
addr:a7891000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7891
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 0 PID: 1 Comm: init Tainted: G                T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c02081d4] unmap_page_range+0x6a0/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G                T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
Disabling lock debugging due to kernel taint

BUG: Bad page map in process init  pte:c1182089 pmd:01182000
addr:a7892000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7892
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025800] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025820] [c0205054] print_bad_pte+0x1c8/0x254
[f1025860] [c0206ee0] vm_normal_page+0x74/0x110
[f1025870] [c0207da0] unmap_page_range+0x26c/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00

BUG: Bad page map in process init  pte:648a5747 pmd:01182000
page:(ptrval) refcount:0 mapcount:-1 mapping:00000000 index:0x1 pfn:0x648a5
flags: 0x80000002(referenced|zone=2)
raw: 80000002 00000100 00000122 00000000 00000001 00000000 fffffffe 00000000
raw: 00000000
page dumped because: bad pte
addr:a7896000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7896
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c0207fc8] unmap_page_range+0x494/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
_swap_info_get: Bad swap file entry 20c09b05

BUG: Bad page map in process init  pte:c09b0540 pmd:01182000
addr:a7898000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7898
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c02081d4] unmap_page_range+0x6a0/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
_swap_info_get: Bad swap file entry 00000010

BUG: Bad page map in process init  pte:00001000 pmd:01182000
addr:a789b000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a789b
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 0 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c02081d4] unmap_page_range+0x6a0/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00

BUG: Unable to handle kernel data access on read at 0x09fcbb28
Faulting instruction address: 0xc0207fdc
Oops: Kernel access of bad area, sig: 11 [#1]
BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2 PowerMac
Modules linked in:
CPU: 0 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
NIP:  c0207fdc LR: c0207cbc CTR: c0093f38
REGS: f10257b0 TRAP: 0300   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 24488244  XER: 20000000
DAR: 09fcbb28 DSISR: 40000000 

GPR00: 00000000 f1025870 c1112d20 00000000 00000000 00000000 00000000 00000000
GPR08: 0000001c 09fcbb24 eede4000 00000000 00000000 00000000 efc07734 00001000
GPR16: a7c12000 c0dd0000 c1ca4a78 c105cd40 c105ce0c 00000000 f10258f8 c1d0a350
GPR24: a7c00000 fffffffd f1025944 a789e000 00000000 c0d8c1e0 a789f000 c1182278 NIP [c0207fdc] unmap_page_range+0x4a8/0x790
LR [c0207cbc] unmap_page_range+0x188/0x790

Call Trace:
[f1025870] [c0207f80] unmap_page_range+0x44c/0x790 (unreliable)
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
Instruction dump:
2c030000 4080ff50 7fa5eb78 7f64db78 7dc67378 7ee3bb78 4bffcec9 4bffff38 552901be 8151a2ac 1d290024 7d2a4a14 <81490004> 7d284b78 71470001 40820268

---[ end trace 0000000000000000 ]---

------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 0 PID: 1 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x3c/0x60
Modules linked in:
CPU: 0 PID: 1 Comm: init Tainted: G    B D         T  6.0.9-gentoo-PMacG4 #1
NIP:  c0995574 LR: c0995574 CTR: 00000000
REGS: f1025690 TRAP: 0700   Tainted: G    B D         T   (6.0.9-gentoo-PMacG4)
MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 24025242  XER: 00000000

GPR00: 00000000 f1025750 c1112d20 00000000 00000000 00000000 00000000 00000000
GPR08: 00000000 00000000 00000000 00000000 00000000 00000000 efc07734 00001000
GPR16: a7c12000 c0dd0000 c1ca4a78 c105cd40 c105ce0c 00000000 f10258f8 c0dd0000
GPR24: 00009032 0000000b c0a9b348 a789e000 f10257b0 c0dcf034 c0d4daa0 c1182278 NIP [c0995574] warn_bogus_irq_restore+0x3c/0x60
LR [c0995574] warn_bogus_irq_restore+0x3c/0x60

Call Trace:
[f1025750] [c0995574] warn_bogus_irq_restore+0x3c/0x60 (unreliable)
[f1025760] [c0011168] die+0x388/0x430
[f10257a0] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at unmap_page_range+0x4a8/0x790
NIP:  c0207fdc LR: c0207cbc CTR: c0093f38
REGS: f10257b0 TRAP: 0300   Tainted: G    B D         T   (6.0.9-gentoo-PMacG4)
MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 24488244  XER: 20000000
DAR: 09fcbb28 DSISR: 40000000 

GPR00: 00000000 f1025870 c1112d20 00000000 00000000 00000000 00000000 00000000
GPR08: 0000001c 09fcbb24 eede4000 00000000 00000000 00000000 efc07734 00001000
GPR16: a7c12000 c0dd0000 c1ca4a78 c105cd40 c105ce0c 00000000 f10258f8 c1d0a350
GPR24: a7c00000 fffffffd f1025944 a789e000 00000000 c0d8c1e0 a789f000 c1182278 NIP [c0207fdc] unmap_page_range+0x4a8/0x790
LR [c0207cbc] unmap_page_range+0x188/0x790
--- interrupt: 300
[f1025870] [c0207f80] unmap_page_range+0x44c/0x790 (unreliable) [f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8

NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B D         T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
Instruction dump:
38000000 38600000 39400000 4ca20020 9421fff0 3c60c0aa 7c0802a6 39400001 38631bc4 99497782 90010014 4b6b78e1 <0fe00000> 80010014 38210010 7c0803a6

---[ end trace 0000000000000000 ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Rebooting in 40 seconds..

#1 lore raw
Quoted 9 lines · Erhard F.

Getting this at boot sometimes, but not always (PowerMac G4 DP, kernel 6.0.9):

[...]
Freeing unused kernel image (initmem) memory: 1328K Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process _swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Although with that KASAN one it's strange that kernfs_node_cache was involved both times, it's strange that page tables are pointing to that same slab memory. It could be a page table page use-after -free maybe? Maybe with the page table fragment code. I'm sure other people would have hit that before though, so I don't know what to suggest.

Thanks,
Nick

Quoted 106 lines

addr:a7891000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7891 file:(null) fault:0x0 mmap:0x0 read_folio:0x0

CPU: 0 PID: 1 Comm: init Tainted: G                T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c02081d4] unmap_page_range+0x6a0/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G                T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
Disabling lock debugging due to kernel taint

BUG: Bad page map in process init  pte:c1182089 pmd:01182000
addr:a7892000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7892
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025800] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025820] [c0205054] print_bad_pte+0x1c8/0x254
[f1025860] [c0206ee0] vm_normal_page+0x74/0x110
[f1025870] [c0207da0] unmap_page_range+0x26c/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00

BUG: Bad page map in process init  pte:648a5747 pmd:01182000
page:(ptrval) refcount:0 mapcount:-1 mapping:00000000 index:0x1 pfn:0x648a5
flags: 0x80000002(referenced|zone=2)
raw: 80000002 00000100 00000122 00000000 00000001 00000000 fffffffe 00000000
raw: 00000000
page dumped because: bad pte
addr:a7896000 vm_flags:00000070 anon_vma:00000000 mapping:00000000 index:a7896
file:(null) fault:0x0 mmap:0x0 read_folio:0x0
CPU: 1 PID: 1 Comm: init Tainted: G    B           T  6.0.9-gentoo-PMacG4 #1
Call Trace:
[f1025810] [c0629064] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1025830] [c0205054] print_bad_pte+0x1c8/0x254
[f1025870] [c0207fc8] unmap_page_range+0x494/0x790
[f10258e0] [c0208794] unmap_vmas+0xf0/0x1d8
[f1025930] [c020f878] unmap_region+0xac/0x140
[f10259b0] [c02125c8] __do_munmap+0x1ec/0x540
[f10259f0] [c021425c] mmap_region+0x260/0x658
[f1025a50] [c0214924] do_mmap+0x2d0/0x530
[f1025a90] [c01ecab8] vm_mmap_pgoff+0x110/0x1a4
[f1025ae0] [c0211818] ksys_mmap_pgoff+0xa4/0x154
[f1025b10] [c0015b30] system_call_exception+0xc0/0x178
[f1025f30] [c001c1a8] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0xa7e2a9a8
NIP:  a7e2a9a8 LR: a7e10758 CTR: a7e20650
REGS: f1025f40 TRAP: 0c00   Tainted: G    B           T   (6.0.9-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24482288  XER: 00000000

GPR00: 000000c0 afea4910 00000000 a7890000 00381edc 00000005 00000812 00000003
GPR08: 00000000 afea4dc0 afea5020 a7e20650 0a574b24 00000000 00000003 00000000
GPR16: 00000000 afea4b58 afea4940 a7e55018 a7e53f08 00381edc 004e26ff a7e51760
GPR24: 00000003 afea4b20 00000000 00000000 00000002 a7e51790 a7e54fe0 afea49f0 NIP [a7e2a9a8] 0xa7e2a9a8
LR [a7e10758] 0xa7e10758
--- interrupt: c00
_swap_info_get: Bad swap file entry 20c09b05

BUG: Bad page map in process init  pte:c09b0540 pmd:01182000

[...]

This could be related to https://bugzilla.kernel.org/show_bug.cgi?id=216715 but I am not sure.

This has been https://bugzilla.kernel.org/show_bug.cgi?id=216713 but I was suggested to better post issues like this here on the mailing list.

Kernel dmesg and .config attached.

Cheers,
Erhard F.

author
#2 lore raw
Quoted 3 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

About the time 5.4 was around I did not have such issues on the G4. Building stuff for hours natively or via distcc just went fine. So I suspect there is a flaw introduced in newer kernel versions.

This memory corruption or part of it may be even here since kernel 5.10 if it's the same issue as https://bugzilla.kernel.org/show_bug.cgi?id=215389

But actually running memtest is a very good idea. Just to be sure I am not hunting ghosts.

Quoted 6 lines

Although with that KASAN one it's strange that kernfs_node_cache was involved both times, it's strange that page tables are pointing to that same slab memory. It could be a page table page use-after -free maybe? Maybe with the page table fragment code. I'm sure other people would have hit that before though, so I don't know what to suggest.

Does not necessarily need to be the case other people have experienced this issue. This G4 DP setup is a bit unusually as it runs 2 x G4 CPUs and I doubt there is much multicore testing done on ppc32. ;) A few issues I reported (and Christophe thankfully ironed out) originated from here.

Next I'll check out a known good 5.4 LTS kernel and see what memtester (https://pyropus.ca./software/memtester/) tells me.

Regards,
Erhard

author
#3 lore raw
In reply to Nicholas Piggin
Quoted 3 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Ok, so I went back to kernel 5.4.225 and ran 'memtester 1930M' for a few hours completing 5 test loops in a row. Next I ran 'stress -m2 --vm-bytes 965M' for a few hours, also without any problems. 1930M is the max. memory I can lock on this 2 GB PowerMac G4 without invoking systemds' OOM killer.

Booting kernel 6.1.0 and running 'stress -m2 --vm-bytes 965M' I almost instantly get:
[...]
pagealloc: memory corruption
830c4e52: 00 00 00 00 ....

CPU: 1 PID: 298 Comm: stress Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f302bb50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f302bb70] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f302bbb0] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f302bcb0] [c02febd0] __alloc_pages+0x1dc/0x101c
[f302be00] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f302bed0] [c002b8c8] ___do_page_fault+0x22c/0x818
[f302bf10] [c002c108] do_page_fault+0x28/0x6c
[f302bf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xac3044
NIP:  00ac3044 LR: 00ac3020 CTR: 00000000
REGS: f302bf40 TRAP: 0300   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 8b192010 DSISR: 42000000 
GPR00: 00ac3020 affad290 a7ed3740 6b97e010 3c500000 20224462 00000000 009e0264 
GPR08: 1f815000 1f814000 00000000 404a0fca 20882462 00adfff4 00000000 00000000 
GPR16: 00000000 00000002 00000000 0000005a 40802462 80002462 40002462 00ae00a0 
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b97e010 00ae7d64 00001000 

NIP [00ac3044] 0xac3044
LR [00ac3020] 0xac3020
--- interrupt: 300
page:a7a2bb6d refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

Running 'memtester 1930M' on kernel 6.1.0 I almost instantly get:
[...]
pagealloc: memory corruption
f4f9be93: 00 00 00 00 ....

CPU: 1 PID: 295 Comm: memtester Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2c7b6c0] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f2c7b6e0] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f2c7b720] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f2c7b820] [c02febd0] __alloc_pages+0x1dc/0x101c
[f2c7b970] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f2c7ba40] [c02c61a4] __get_user_pages+0x180/0x3cc
[f2c7baa0] [c02c7e24] populate_vma_page_range+0x8c/0xe4
[f2c7bad0] [c02c8088] __mm_populate+0x13c/0x238
[f2c7bb60] [c02d5658] do_mlock+0x15c/0x38c
[f2c7bc00] [c0019948] system_call_exception+0x120/0x204
[f2c7bf30] [c00221ac] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0x6e6af0
NIP:  006e6af0 LR: 007e11a4 CTR: 00000000
REGS: f2c7bf40 TRAP: 0c00   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 40002468  XER: 20000000

GPR00: 00000096 afa7bdc0 a7abb2c0 2f067000 789ff010 00000000 00000000 006d23d4
GPR08: 0000d032 00000008 78a00ff8 4047df2a 4047dbf7 007ffff4 010ef900 00c72438
GPR16: 00c73b50 00c723a0 789ff010 78a00000 00000000 a7ab42c8 00000000 007d0ea0
GPR24: 78a00000 fffff000 00000000 00001000 2f066010 00000001 00807de8 007e3870 NIP [006e6af0] 0x6e6af0
LR [007e11a4] 0x7e11a4
--- interrupt: c00
page:a05bd3e5 refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

So the hardware looks ok but there is definitely something fishy going on in the memory subsystem of newer kernel releases. At least on ppc32. Also does not matter whether KFENCE or KASAN are used, running memtester or stress always leads to this page corruption.

Full dmesg of the 2 pagealloc corruptions + kernel config attached.

Regards,
Erhard

Total memory = 2048MB; using 4096kB for hash table
Activating Kernel Userspace Access Protection
Activating Kernel Userspace Execution Prevention
Linux version 6.1.0-gentoo-PMacG4 (root@T1000) (gcc (Gentoo 12.2.1_p20221210 p4) 12.2.1 20221210, GNU ld (Gentoo 2.39 p5) 2.39.0) #2 SMP Sat Dec 17 21:46:47 CET 2022 KASAN init done
ioremap() called early from pmac_feature_init+0x194/0x106c. Use early_ioremap() instead
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24
Mapped at 0xf53bf000
ioremap() called early from probe_one_macio+0x234/0x484. Use early_ioremap() instead
Found a Keylargo mac-io controller, rev: 3, mapped at 0x(ptrval)
PowerMac motherboard: PowerMac G4 Windtunnel
ioremap() called early from btext_map+0x64/0xdc. Use early_ioremap() instead

Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
printk: bootconsole [udbg0] enabled
CPU maps initialized for 1 thread per core
-----------------------------------------------------
phys_mem_size     = 0x80000000
dcache_bsize      = 0x20
icache_bsize      = 0x20
cpu_features      = 0x000000002514600a
  possible        = 0x00000000277de00a
  always          = 0x0000000001000000
cpu_user_features = 0x9c000001 0x00000000
mmu_features      = 0x00010001
Hash_size         = 0x400000
Hash_mask         = 0xffff

-----------------------------------------------------
ioremap() called early from pmac_setup_arch+0x1d0/0x48c. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x348/0x860. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x398/0x860. Use early_ioremap() instead
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
ioremap() called early from pmac_nvram_init+0x220/0x81c. Use early_ioremap() instead
nvram: Checking bank 0...
nvram: gen0=3124, gen1=3123
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Zone ranges:

  DMA      [mem 0x0000000000000000-0x000000002fffffff]
  Normal   empty
  HighMem  [mem 0x0000000030000000-0x000000007fffffff]

Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
percpu: Embedded 13 pages/cpu s20736 r8192 d24320 u53248
Built 1 zonelists, mobility grouping on. Total pages: 522560
Kernel command line: ro root=/dev/sda5 zswap.max_pool_percent=16 zswap.zpool=z3fold slub_debug=FZP page_poison=1 [email protected]/eth0,[email protected]/70:85:C2:30:EC:01 debug_pagealloc=on Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:all(pattern), heap alloc:off, heap free:off
stackdepot hash table entries: 1048576 (order: 10, 4194304 bytes, linear)
Kernel virtual memory layout:

  * 0xf6000000..0xfec00000  : kasan shadow mem
  * 0xf5bbf000..0xf5fff000  : fixmap
  * 0xf5400000..0xf5800000  : highmem PTEs
  * 0xf5115000..0xf5400000  : early ioremap
  * 0xf1000000..0xf5110000  : vmalloc & ioremap
  * 0xb0000000..0xc0000000  : modules

Memory: 1946392K/2097152K available (13788K kernel code, 1696K rwdata, 6692K rodata, 1336K init, 389K bss, 150760K reserved, 0K cma-reserved, 1212416K highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 2 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
rcu: srcu_init: Setting srcu_struct sizes based on contention.
clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b9699db, max_idle_ns: 440795204297 ns
clocksource: timebase mult[18012db2] shift[24] registered
Console: colour dummy device 80x25
printk: console [tty0] enabled
printk: bootconsole [udbg0] disabled
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Yama: becoming mindful.
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
PowerMac SMP probe found 2 cpus
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
channel 0 bus <multibus>
channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
channel 1 bus <multibus>
channel 2 bus <multibus>
pmf: no parser for command 17 !
Processor timebase sync using GPIO 0x73
mpic: requesting IPIs...
CPU0: L2CR is 80000000
CPU0: L3CR is 9c030000
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
rcu: Hierarchical SRCU implementation.
rcu: Max phase no-delay instances is 1000.
smp: Bringing up secondary CPUs ...
CPU1: L2CR was 0
CPU1: L2CR set to 80000000
CPU1: L3CR was 0
CPU1: L3CR set to 9c030000
smp: Brought up 1 node, 2 CPUs
devtmpfs: initialized
Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in gpio@50, renamed to "gpio5@6f#1"
Duplicate name in gpio@50, renamed to "gpio6@70#1"
Duplicate name in gpio@50, renamed to "gpio11@75#1"
Duplicate name in gpio@50, renamed to "extint-gpio15@67#1"
Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
PCI host bridge /pci@f0000000 ranges:
MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000
IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000
Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
PCI host bridge /pci@f2000000 (primary) ranges:
MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000
IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
PCI host bridge /pci@f4000000 ranges:
MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000
IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered PF_NETLINK/PF_ROUTE protocol family
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
sysfs: cannot create duplicate filename '/devices/platform/of-display'

CPU: 1 PID: 1 Comm: swapper/0 Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f1033b50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1033b70] [c045bc08] sysfs_warn_dup+0x74/0x94
[f1033b90] [c045be98] sysfs_create_dir_ns+0x1e0/0x204
[f1033c20] [c0d2eda8] kobject_add_internal+0x1d0/0x43c
[f1033c60] [c0d2fa18] kobject_add+0xf8/0x190
[f1033cd0] [c095837c] device_add+0x170/0xd68
[f1033d90] [c0a578fc] of_platform_device_create_pdata+0xf0/0x180
[f1033dc0] [c1452b10] of_platform_default_populate_init+0x27c/0x304
[f1033df0] [c0007bd0] do_one_initcall+0xc0/0x34c
[f1033ec0] [c1404a28] kernel_init_freeable+0x2c0/0x400
[f1033f10] [c0008140] kernel_init+0x28/0x178
[f1033f30] [c0022338] ret_from_kernel_thread+0x5c/0x64

kobject_add_internal failed for of-display with -EEXIST, don't try to register things with the same name in the same directory.
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff])
pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000
pci 0000:00:10.0: [1002:4150] type 00 class 0x030000
pci 0000:00:10.0: reg 0x10: [mem 0xa0000000-0xafffffff pref]
pci 0000:00:10.0: reg 0x14: [io 0xff780400-0xff7804ff]
pci 0000:00:10.0: reg 0x18: [mem 0x90000000-0x9000ffff]
pci 0000:00:10.0: reg 0x30: [mem 0x90020000-0x9003ffff pref]
pci 0000:00:10.0: supports D1 D2
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
PCI host bridge to bus 0001:10
pci_bus 0001:10: root bus resource [io 0x0000-0x7fffff]
pci_bus 0001:10: root bus resource [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: root bus resource [mem 0x80000000-0x8fffffff]
pci_bus 0001:10: root bus resource [bus 10-ff]
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to ff
pci 0001:10:0b.0: [106b:0035] type 00 class 0x060000
pci 0001:10:12.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.0: reg 0x10: [mem 0x8008c000-0x8008cfff]
pci 0001:10:12.0: supports D1 D2
pci 0001:10:12.0: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.1: reg 0x10: [mem 0x8008b000-0x8008bfff]
pci 0001:10:12.1: supports D1 D2
pci 0001:10:12.1: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:12.2: reg 0x10: [mem 0x80081000-0x800810ff]
pci 0001:10:12.2: supports D1 D2
pci 0001:10:12.2: PME# supported from D0 D1 D2 D3hot
pci 0001:10:13.0: [1095:3112] type 00 class 0x018000

pci 0001:10:13.0: reg 0x10: [io  0x0460-0x0467]
pci 0001:10:13.0: reg 0x14: [io  0x0450-0x0453]
pci 0001:10:13.0: reg 0x18: [io  0x0440-0x0447]
pci 0001:10:13.0: reg 0x1c: [io  0x0430-0x0433]
pci 0001:10:13.0: reg 0x20: [io  0x0420-0x042f]

pci 0001:10:13.0: reg 0x24: [mem 0x80082000-0x800821ff]
pci 0001:10:13.0: reg 0x30: [mem 0x80100000-0x8017ffff pref]
pci 0001:10:13.0: supports D1 D2
pci 0001:10:15.0: [9710:9865] type 00 class 0x070002
pci 0001:10:15.0: reg 0x10: [io 0x0410-0x0417]
pci 0001:10:15.0: reg 0x14: [mem 0x8008a000-0x8008afff]
pci 0001:10:15.0: reg 0x20: [mem 0x80089000-0x80089fff]
pci 0001:10:15.0: supports D1 D2
pci 0001:10:15.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.1: [9710:9865] type 00 class 0x070002
pci 0001:10:15.1: reg 0x10: [io 0x0400-0x0407]
pci 0001:10:15.1: reg 0x14: [mem 0x80088000-0x80088fff]
pci 0001:10:15.1: reg 0x20: [mem 0x80087000-0x80087fff]
pci 0001:10:15.1: supports D1 D2
pci 0001:10:15.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.2: [ffff:9865] type 00 class 0x070103
pci 0001:10:15.2: reg 0x10: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x14: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x18: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: reg 0x20: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: supports D1 D2
pci 0001:10:15.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:16.0: [14e4:4320] type 00 class 0x028000
pci 0001:10:16.0: reg 0x10: [mem 0x8008e000-0x8008ffff]
pci 0001:10:16.0: supports D1 D2
pci 0001:10:16.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:17.0: [106b:0022] type 00 class 0xff0000
pci 0001:10:17.0: reg 0x10: [mem 0x80000000-0x8007ffff]
pci 0001:10:18.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:18.0: reg 0x10: [mem 0x80086000-0x80086fff]
pci 0001:10:19.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:19.0: reg 0x10: [mem 0x80085000-0x80085fff]
pci 0001:10:1b.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.0: reg 0x10: [mem 0x80084000-0x80084fff]
pci 0001:10:1b.0: supports D1 D2
pci 0001:10:1b.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.1: reg 0x10: [mem 0x80083000-0x80083fff]
pci 0001:10:1b.1: supports D1 D2
pci 0001:10:1b.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:1b.2: reg 0x10: [mem 0x80080000-0x800800ff]
pci 0001:10:1b.2: supports D1 D2
pci 0001:10:1b.2: PME# supported from D0 D1 D2 D3hot D3cold
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to 10
PCI host bridge to bus 0002:20
pci_bus 0002:20: root bus resource [io 0x880000-0x107ffff] (bus address [0x0000-0x7fffff]) pci_bus 0002:20: root bus resource [mem 0xf5000000-0xf5ffffff]
pci_bus 0002:20: root bus resource [bus 20-ff]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to ff
pci 0002:20:0b.0: [106b:0036] type 00 class 0x060000
pci 0002:20:0d.0: [106b:0033] type 00 class 0xff0000
pci 0002:20:0d.0: reg 0x10: [mem 0xf5004000-0xf5007fff]
pci 0002:20:0e.0: [106b:0031] type 00 class 0x0c0010
pci 0002:20:0e.0: reg 0x10: [mem 0xf5000000-0xf5000fff]
pci 0002:20:0e.0: supports D1 D2
pci 0002:20:0e.0: PME# supported from D0 D1 D2 D3hot
pci 0002:20:0f.0: [106b:0032] type 00 class 0x020000
pci 0002:20:0f.0: reg 0x10: [mem 0xf5200000-0xf53fffff]
pci 0002:20:0f.0: reg 0x30: [mem 0xf5100000-0xf51fffff pref]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to 20
pci_bus 0000:00: resource 4 [io 0xff780000-0xfff7ffff]
pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff]
pci 0001:10:15.2: BAR 2: assigned [mem 0xf3000000-0xf3000fff]
pci 0001:10:15.2: BAR 4: assigned [mem 0xf3001000-0xf3001fff]
pci 0001:10:15.2: BAR 0: assigned [io 0x1000-0x1007]
pci 0001:10:15.2: BAR 1: assigned [io 0x1008-0x100f]
pci_bus 0001:10: resource 4 [io 0x0000-0x7fffff]
pci_bus 0001:10: resource 5 [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: resource 6 [mem 0x80000000-0x8fffffff]
pci_bus 0002:20: resource 4 [io 0x880000-0x107ffff]
pci_bus 0002:20: resource 5 [mem 0xf5000000-0xf5ffffff]
raid6: altivecx8 gen() 551 MB/s
raid6: altivecx4 gen() 539 MB/s
raid6: altivecx2 gen() 475 MB/s
raid6: altivecx1 gen() 382 MB/s
raid6: int32x8 gen() 135 MB/s
raid6: int32x4 gen() 130 MB/s
raid6: int32x2 gen() 116 MB/s
raid6: int32x1 gen() 91 MB/s
raid6: using algorithm altivecx8 gen() 551 MB/s
raid6: using intx1 recovery algorithm
SCSI subsystem initialized
pci 0000:00:10.0: vgaarb: setting as boot VGA device
pci 0000:00:10.0: vgaarb: bridge control possible
pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
vgaarb: loaded
clocksource: Switched to clocksource timebase
NET: Registered PF_INET protocol family
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 6, 327680 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
pci 0001:10:12.0: enabling device (0000 -> 0002)
pci 0001:10:12.1: enabling device (0000 -> 0002)
pci 0001:10:12.2: enabling device (0004 -> 0006)
Apple USB OHCI 0001:10:18.0 disabled by firmware
pci 0001:10:18.0: Can't enable PCI device, BIOS handoff failed.
Apple USB OHCI 0001:10:19.0 disabled by firmware
pci 0001:10:19.0: Can't enable PCI device, BIOS handoff failed.
pci 0001:10:1b.0: enabling device (0000 -> 0002)
pci 0001:10:1b.1: enabling device (0000 -> 0002)
pci 0001:10:1b.2: enabling device (0004 -> 0006)
pci 0002:20:0f.0: CLS mismatch (32 != 1020), using 32 bytes
Thermal assist unit not available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=19 bucket_order=5
NET: Registered PF_ALG protocol family
xor: measuring software checksum speed

   8regs           :   121 MB/sec
   8regs_prefetch  :   120 MB/sec
   32regs          :   120 MB/sec
   32regs_prefetch :   119 MB/sec
   altivec         :   513 MB/sec

xor: using function: altivec (513 MB/sec)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
alg: self-tests for CTR-KDF (hmac(sha256)) passed
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler kyber registered
io scheduler bfq registered
Using unsupported 1920x1080 (null) at a0008000, depth=8, pitch=2048
Console: switching to colour frame buffer device 240x67
fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_A@0
MacIO PCI driver attached to Keylargo chipset
0.00013020:ch-a: ttyPZ0 at MMIO 0x80013020 (irq = 22, base_baud = 230400) is a Z85c30 ESCC - Serial port
0.00013000:ch-b: ttyPZ1 at MMIO 0x80013000 (irq = 23, base_baud = 230400) is a Z85c30 ESCC - Serial port
sata_sil 0001:10:13.0: enabling device (0004 -> 0007)
scsi host0: sata_sil
scsi host1: sata_sil
ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53
ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53
pata-pci-macio 0002:20:0d.0: enabling device (0004 -> 0006)
pata-pci-macio 0002:20:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
scsi host2: pata_macio
ata3: PATA max UDMA/100 irq 39
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133
ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: Features: Dev-Sleep
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133
ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/100
scsi 1:0:0:0: Direct-Access ATA WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
scsi host3: pata_macio
ata4: PATA max UDMA/66 irq 19
ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66
ata4.00: 1009008 sectors, multi 1: LBA
sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 3:0:0:0: Direct-Access ATA DeLOCK 54143 512 11E PQ: 0 ANSI: 5
sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
sd 3:0:0:0: [sdc] Attached SCSI disk
pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
scsi host4: pata_macio
ata5: PATA max MWDMA2 irq 20
sungem.c:v1.0 David S. Miller <[email protected]>
gem 0002:20:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a
rtc-generic rtc-generic: registered as rtc0
i2c_dev: i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
PowerMac i2c bus uni-n 1 registered
i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
PowerMac i2c bus uni-n 0 registered
ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
ledtrig-cpu: registered to indicate activity on CPUs
scsi 4:0:0:0: CD-ROM _NEC DVD_RW ND-3520A 1.04 PQ: 0 ANSI: 5
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
drmem: No dynamic reconfiguration memory found
registered taskstats version 1
Loading compiled-in X.509 certificates
zswap: loaded using pool lzo/z3fold
debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
input: PMU as /devices/virtual/input/input0
netpoll: netconsole: local port 6666
netpoll: netconsole: local IPv4 address 192.168.178.8
netpoll: netconsole: interface 'eth0'
netpoll: netconsole: remote port 6666
netpoll: netconsole: remote IPv4 address 192.168.178.3
netpoll: netconsole: remote ethernet address 70:85:c2:30:ec:01
netpoll: netconsole: device eth0 not up yet, forcing it
gem 0002:20:0f.0 eth0: Found BCM5421 PHY
gem 0002:20:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
gem 0002:20:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
printk: console [netcon0] enabled
netconsole: network logging started
EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) readonly on device 8:5.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 1336K
Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process
systemd[1]: systemd 251 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL +ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 +LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) systemd[1]: Detected architecture ppc.
systemd[1]: Hostname set to <T600>.
systemd[1]: Queued start job for default target Graphical Interface.
systemd[1]: Created slice Slice /system/getty.
systemd[1]: Created slice Slice /system/modprobe.
systemd[1]: Created slice Slice /system/systemd-fsck.
systemd[1]: Created slice Slice /system/vncserver.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Arbitrary Executable File Formats File System Automount Point was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
systemd[1]: Reached target Path Units.
systemd[1]: Reached target Remote File Systems.
systemd[1]: Reached target Slice Units.
systemd[1]: Listening on Process Core Dump Socket.
systemd[1]: Listening on initctl Compatibility Named Pipe.
systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
systemd[1]: Listening on Journal Socket (/dev/log).
systemd[1]: Listening on Journal Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
systemd[1]: Mounting POSIX Message Queue File System...
systemd[1]: Kernel Debug File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/debug).
systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
systemd[1]: Starting Create List of Static Device Nodes...
systemd[1]: Starting Load Kernel Module configfs...
systemd[1]: Starting Load Kernel Module drm...
systemd[1]: Starting Load Kernel Module fuse...
fuse: init (API version 7.37)
systemd[1]: Starting File System Check on Root Device...
systemd[1]: Starting Journal Service...
systemd[1]: Starting Load Kernel Modules...
systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
systemd[1]: Starting Coldplug All udev Devices...
systemd[1]: Mounted POSIX Message Queue File System.
systemd[1]: Finished Create List of Static Device Nodes.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module configfs.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module drm.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module fuse.
systemd[1]: Finished File System Check on Root Device.
systemd[1]: Finished Load Kernel Modules.
systemd[1]: Mounting FUSE Control File System...
systemd[1]: Mounting Kernel Configuration File System...
systemd[1]: Starting Remount Root and Kernel File Systems...
systemd[1]: Starting Apply Kernel Variables...
systemd[1]: Mounted FUSE Control File System.
systemd[1]: Mounted Kernel Configuration File System.
systemd[1]: Finished Apply Kernel Variables.
systemd[1]: Started Journal Service.
EXT4-fs (sda5): re-mounted. Quota mode: disabled.
systemd-journald[107]: Received client request to flush runtime journal.
random: crng init done
BTRFS: device label g4_musl devid 1 transid 52576 /dev/sda4 scanned by systemd-udevd (126)
BTRFS: device label tmp devid 1 transid 20 /dev/sda6 scanned by systemd-udevd (138)
Adding 8388604k swap on /dev/sdb6. Priority:-2 extents:1 across:8388604k FS
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci-pci 0001:10:12.2: EHCI Host Controller
ehci-pci 0001:10:12.2: new USB bus registered, assigned bus number 1
ehci-pci 0001:10:12.2: irq 52, io mem 0x80081000
ehci-pci 0001:10:12.2: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ehci_hcd
usb usb1: SerialNumber: 0001:10:12.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ehci-pci 0001:10:1b.2: EHCI Host Controller
ehci-pci 0001:10:1b.2: new USB bus registered, assigned bus number 2
ehci-pci 0001:10:1b.2: irq 63, io mem 0x80080000
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
ehci-pci 0001:10:1b.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ehci_hcd
usb usb2: SerialNumber: 0001:10:1b.2
serial 0001:10:15.0: enabling device (0004 -> 0007)
0001:10:15.0: ttyS0 at I/O 0x410 (irq = 58, base_baud = 115200) is a 16550A
b43-pci-bridge 0001:10:16.0: enabling device (0004 -> 0006)
serial 0001:10:15.1: enabling device (0004 -> 0007)
ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
0001:10:15.1: ttyS1 at I/O 0x400 (irq = 58, base_baud = 115200) is a 16550A
b43-pci-bridge 0001:10:16.0: Sonics Silicon Backplane found on PCI device 0001:10:16.0
EXT4-fs (sdc5): mounting ext2 file system using the ext4 subsystem
EXT4-fs (sdc5): mounted filesystem without journal. Quota mode: disabled.
ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[drm] radeon kernel modesetting enabled.
Console: switching to colour dummy device 80x25
radeon 0000:00:10.0: vgaarb: deactivate vga console
radeon 0000:00:10.0: enabling device (0006 -> 0007)
[drm] initializing kernel modesetting (RV350 0x1002:0x4150 0x1002:0x0002 0x00).
[drm] Forcing AGP to PCI mode
radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[drm] Generation 2 PCI interface, using max accessible memory
radeon 0000:00:10.0: VRAM: 256M 0x00000000A0000000 - 0x00000000AFFFFFFF (256M used)
radeon 0000:00:10.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] radeon: 1 quad pipes, 1 Z pipes initialized
[drm] PCI GART of 512M enabled (table at 0x0000000009300000).
radeon 0000:00:10.0: WB enabled
radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000080000000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 5 ports detected
[drm] radeon: irq initialized.
[drm] Loading R300 Microcode
Loading firmware: radeon/R300_cp.bin
ohci-pci 0001:10:12.0: OHCI PCI host controller
ohci-pci 0001:10:12.0: new USB bus registered, assigned bus number 3
ohci-pci 0001:10:12.0: irq 52, io mem 0x8008c000
[drm] radeon: ring at 0x0000000080001000
[drm] ring test succeeded in 0 usecs
[drm] ib test succeeded in 0 usecs
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI PCI host controller
usb usb3: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb3: SerialNumber: 0001:10:12.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
ohci-pci 0001:10:12.1: OHCI PCI host controller
ohci-pci 0001:10:12.1: new USB bus registered, assigned bus number 4
ohci-pci 0001:10:12.1: irq 52, io mem 0x8008b000
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: OHCI PCI host controller
usb usb4: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb4: SerialNumber: 0001:10:12.1
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
ohci-pci 0001:10:1b.0: OHCI PCI host controller
ohci-pci 0001:10:1b.0: new USB bus registered, assigned bus number 5
ohci-pci 0001:10:1b.0: irq 63, io mem 0x80084000
[drm] Radeon Display Connectors
[drm] Connector 0:

[drm]   DVI-I-1
[drm]   HPD2
[drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[drm]   Encoders:
[drm]     CRT1: INTERNAL_DAC1
[drm]     DFP2: INTERNAL_DVO1
[drm] Connector 1:
[drm]   DVI-I-2
[drm]   HPD1
[drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[drm]   Encoders:

[drm] CRT2: INTERNAL_DAC2
[drm] DFP1: INTERNAL_TMDS1
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: OHCI PCI host controller
usb usb5: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb5: SerialNumber: 0001:10:1b.0
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 3 ports detected
ohci-pci 0001:10:1b.1: OHCI PCI host controller
ohci-pci 0001:10:1b.1: new USB bus registered, assigned bus number 6
ohci-pci 0001:10:1b.1: irq 63, io mem 0x80083000
[drm] fb mappable at 0xA0040000
[drm] vram apper at 0xA0000000
[drm] size 8294400
[drm] fb depth is 24
[drm] pitch is 7680
firewire_ohci 0002:20:0e.0: enabling device (0000 -> 0002)
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: OHCI PCI host controller
usb usb6: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb6: SerialNumber: 0001:10:1b.1
hub 6-0:1.0: USB hub found
firewire_ohci 0002:20:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0
Console: switching to colour frame buffer device 240x67
hub 6-0:1.0: 2 ports detected
radeon 0000:00:10.0: [drm] fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0 on minor 0
BTRFS info (device sda6): using crc32c (crc32c-generic) checksum algorithm
BTRFS info (device sda6): use lzo compression, level 0
BTRFS info (device sda6): setting nodatasum
BTRFS info (device sda6): using free space tree
BTRFS info (device sda6): enabling ssd optimizations
firewire_core 0002:20:0e.0: created device fw0: GUID 000a95fffe9c763a, S800
sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
ADM1030 fan controller [@2c]
DS1775 digital thermometer [@49]
Temp: 53.6 C
Hyst: 70.0 C
OS: 75.0 C

snd-aoa-fabric-layout: can use this codec
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Loading firmware: regulatory.db
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
CPU-temp: 53.8 C
, Case: 31.6 C
, Fan: 0 (tuned -11)
b43legacy-phy0: Broadcom 4306 WLAN found (core revision 4)
b43legacy-phy0: Loading firmware b43legacy/ucode4.fw
Loading firmware: b43legacy/ucode4.fw
Broadcom 43xx-legacy driver loaded [ Features: PLID ]
b43legacy-phy0: Loading firmware b43legacy/pcm4.fw
Loading firmware: b43legacy/pcm4.fw
b43legacy-phy0: Loading firmware b43legacy/b0g0initvals2.fw
Loading firmware: b43legacy/b0g0initvals2.fw
pagealloc: memory corruption
830c4e52: 00 00 00 00 ....

CPU: 1 PID: 298 Comm: stress Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f302bb50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f302bb70] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f302bbb0] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f302bcb0] [c02febd0] __alloc_pages+0x1dc/0x101c
[f302be00] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f302bed0] [c002b8c8] ___do_page_fault+0x22c/0x818
[f302bf10] [c002c108] do_page_fault+0x28/0x6c
[f302bf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xac3044
NIP:  00ac3044 LR: 00ac3020 CTR: 00000000
REGS: f302bf40 TRAP: 0300   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 8b192010 DSISR: 42000000 
GPR00: 00ac3020 affad290 a7ed3740 6b97e010 3c500000 20224462 00000000 009e0264 
GPR08: 1f815000 1f814000 00000000 404a0fca 20882462 00adfff4 00000000 00000000 
GPR16: 00000000 00000002 00000000 0000005a 40802462 80002462 40002462 00ae00a0 
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b97e010 00ae7d64 00001000 

NIP [00ac3044] 0xac3044
LR [00ac3020] 0xac3020
--- interrupt: 300
page:a7a2bb6d refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

EXT4-fs (sdc5): unmounting filesystem.
systemd-shutdown[1]: Syncing filesystems and block devices. systemd-shutdown[1]: Sending SIGTERM to remaining processes... systemd-journald[107]: Received SIGTERM from PID 1 (systemd-shutdow). systemd-shutdown[1]: Sending SIGKILL to remaining processes... systemd-shutdown[1]: Unmounting file systems.
[314]: Remounting '/' read-only with options ''.
EXT4-fs (sda5): re-mounted. Quota mode: disabled.
systemd-shutdown[1]: All filesystems unmounted.
systemd-shutdown[1]: Deactivating swaps.
systemd-shutdown[1]: All swaps deactivated.
systemd-shutdown[1]: Detaching loop devices.
systemd-shutdown[1]: All loop devices detached.
systemd-shutdown[1]: Stopping MD devices.
systemd-shutdown[1]: All MD devices stopped.
systemd-shutdown[1]: Detaching DM devices.
systemd-shutdown[1]: All DM devices detached.
systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached. systemd-shutdown[1]: Syncing filesystems and block devices. systemd-shutdown[1]: Rebooting.
sd 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Synchronizing SCSI cache
reboot: Restarting system

Total memory = 2048MB; using 4096kB for hash table
Activating Kernel Userspace Access Protection
Activating Kernel Userspace Execution Prevention
Linux version 6.1.0-gentoo-PMacG4 (root@T1000) (gcc (Gentoo 12.2.1_p20221210 p4) 12.2.1 20221210, GNU ld (Gentoo 2.39 p5) 2.39.0) #2 SMP Sat Dec 17 21:46:47 CET 2022 KASAN init done
ioremap() called early from pmac_feature_init+0x194/0x106c. Use early_ioremap() instead
Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x24
Mapped at 0xf53bf000
ioremap() called early from probe_one_macio+0x234/0x484. Use early_ioremap() instead
Found a Keylargo mac-io controller, rev: 3, mapped at 0x(ptrval)
PowerMac motherboard: PowerMac G4 Windtunnel
ioremap() called early from btext_map+0x64/0xdc. Use early_ioremap() instead

Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
printk: bootconsole [udbg0] enabled
CPU maps initialized for 1 thread per core
-----------------------------------------------------
phys_mem_size     = 0x80000000
dcache_bsize      = 0x20
icache_bsize      = 0x20
cpu_features      = 0x000000002514600a
  possible        = 0x00000000277de00a
  always          = 0x0000000001000000
cpu_user_features = 0x9c000001 0x00000000
mmu_features      = 0x00010001
Hash_size         = 0x400000
Hash_mask         = 0xffff

-----------------------------------------------------
ioremap() called early from pmac_setup_arch+0x1d0/0x48c. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x348/0x860. Use early_ioremap() instead ioremap() called early from find_via_pmu+0x398/0x860. Use early_ioremap() instead
via-pmu: Server Mode is disabled
PMU driver v2 initialized for Core99, firmware: 0c
ioremap() called early from pmac_nvram_init+0x220/0x81c. Use early_ioremap() instead
nvram: Checking bank 0...
nvram: gen0=3124, gen1=3123
nvram: Active bank is: 0
nvram: OF partition at 0x410
nvram: XP partition at 0x1020
nvram: NR partition at 0x1120
Zone ranges:

  DMA      [mem 0x0000000000000000-0x000000002fffffff]
  Normal   empty
  HighMem  [mem 0x0000000030000000-0x000000007fffffff]

Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000000000000-0x000000007fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
percpu: Embedded 13 pages/cpu s20736 r8192 d24320 u53248
Built 1 zonelists, mobility grouping on. Total pages: 522560
Kernel command line: ro root=/dev/sda5 zswap.max_pool_percent=16 zswap.zpool=z3fold slub_debug=FZP page_poison=1 [email protected]/eth0,[email protected]/70:85:C2:30:EC:01 debug_pagealloc=on Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:all(pattern), heap alloc:off, heap free:off
stackdepot hash table entries: 1048576 (order: 10, 4194304 bytes, linear)
Kernel virtual memory layout:

  * 0xf6000000..0xfec00000  : kasan shadow mem
  * 0xf5bbf000..0xf5fff000  : fixmap
  * 0xf5400000..0xf5800000  : highmem PTEs
  * 0xf5115000..0xf5400000  : early ioremap
  * 0xf1000000..0xf5110000  : vmalloc & ioremap
  * 0xb0000000..0xc0000000  : modules

Memory: 1946392K/2097152K available (13788K kernel code, 1696K rwdata, 6692K rodata, 1336K init, 389K bss, 150760K reserved, 0K cma-reserved, 1212416K highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
rcu: Hierarchical RCU implementation.
Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 2 CPUs
mpic: ISU size: 64, shift: 6, mask: 3f
mpic: Initializing for 64 sources
rcu: srcu_init: Setting srcu_struct sizes based on contention.
clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b9699db, max_idle_ns: 440795204297 ns
clocksource: timebase mult[18012db2] shift[24] registered
Console: colour dummy device 80x25
printk: console [tty0] enabled
printk: bootconsole [udbg0] disabled
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Yama: becoming mindful.
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
PowerMac SMP probe found 2 cpus
KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
channel 0 bus <multibus>
channel 1 bus <multibus>
KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
channel 0 bus <multibus>
PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
channel 1 bus <multibus>
channel 2 bus <multibus>
pmf: no parser for command 17 !
Processor timebase sync using GPIO 0x73
mpic: requesting IPIs...
CPU0: L2CR is 80000000
CPU0: L3CR is 9c030000
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
rcu: Hierarchical SRCU implementation.
rcu: Max phase no-delay instances is 1000.
smp: Bringing up secondary CPUs ...
CPU1: L2CR was 0
CPU1: L2CR set to 80000000
CPU1: L3CR was 0
CPU1: L3CR set to 9c030000
smp: Brought up 1 node, 2 CPUs
devtmpfs: initialized
Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1"
Duplicate name in l2-cache#1, renamed to "l2-cache#1"
Duplicate name in gpio@50, renamed to "gpio5@6f#1"
Duplicate name in gpio@50, renamed to "gpio6@70#1"
Duplicate name in gpio@50, renamed to "gpio11@75#1"
Duplicate name in gpio@50, renamed to "extint-gpio15@67#1"
Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
PCI host bridge /pci@f0000000 ranges:
MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000
IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000
Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
PCI host bridge /pci@f2000000 (primary) ranges:
MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000
IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
PCI host bridge /pci@f4000000 ranges:
MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000
IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
futex hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered PF_NETLINK/PF_ROUTE protocol family
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'step_wise'
sysfs: cannot create duplicate filename '/devices/platform/of-display'

CPU: 1 PID: 1 Comm: swapper/0 Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f1033b50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f1033b70] [c045bc08] sysfs_warn_dup+0x74/0x94
[f1033b90] [c045be98] sysfs_create_dir_ns+0x1e0/0x204
[f1033c20] [c0d2eda8] kobject_add_internal+0x1d0/0x43c
[f1033c60] [c0d2fa18] kobject_add+0xf8/0x190
[f1033cd0] [c095837c] device_add+0x170/0xd68
[f1033d90] [c0a578fc] of_platform_device_create_pdata+0xf0/0x180
[f1033dc0] [c1452b10] of_platform_default_populate_init+0x27c/0x304
[f1033df0] [c0007bd0] do_one_initcall+0xc0/0x34c
[f1033ec0] [c1404a28] kernel_init_freeable+0x2c0/0x400
[f1033f10] [c0008140] kernel_init+0x28/0x178
[f1033f30] [c0022338] ret_from_kernel_thread+0x5c/0x64

kobject_add_internal failed for of-display with -EEXIST, don't try to register things with the same name in the same directory.
PCI: Probing PCI hardware
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff])
pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000
pci 0000:00:10.0: [1002:4150] type 00 class 0x030000
pci 0000:00:10.0: reg 0x10: [mem 0xa0000000-0xafffffff pref]
pci 0000:00:10.0: reg 0x14: [io 0xff780400-0xff7804ff]
pci 0000:00:10.0: reg 0x18: [mem 0x90000000-0x9000ffff]
pci 0000:00:10.0: reg 0x30: [mem 0x90020000-0x9003ffff pref]
pci 0000:00:10.0: supports D1 D2
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869
OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
PCI host bridge to bus 0001:10
pci_bus 0001:10: root bus resource [io 0x0000-0x7fffff]
pci_bus 0001:10: root bus resource [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: root bus resource [mem 0x80000000-0x8fffffff]
pci_bus 0001:10: root bus resource [bus 10-ff]
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to ff
pci 0001:10:0b.0: [106b:0035] type 00 class 0x060000
pci 0001:10:12.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.0: reg 0x10: [mem 0x8008c000-0x8008cfff]
pci 0001:10:12.0: supports D1 D2
pci 0001:10:12.0: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:12.1: reg 0x10: [mem 0x8008b000-0x8008bfff]
pci 0001:10:12.1: supports D1 D2
pci 0001:10:12.1: PME# supported from D0 D1 D2 D3hot
pci 0001:10:12.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:12.2: reg 0x10: [mem 0x80081000-0x800810ff]
pci 0001:10:12.2: supports D1 D2
pci 0001:10:12.2: PME# supported from D0 D1 D2 D3hot
pci 0001:10:13.0: [1095:3112] type 00 class 0x018000

pci 0001:10:13.0: reg 0x10: [io  0x0460-0x0467]
pci 0001:10:13.0: reg 0x14: [io  0x0450-0x0453]
pci 0001:10:13.0: reg 0x18: [io  0x0440-0x0447]
pci 0001:10:13.0: reg 0x1c: [io  0x0430-0x0433]
pci 0001:10:13.0: reg 0x20: [io  0x0420-0x042f]

pci 0001:10:13.0: reg 0x24: [mem 0x80082000-0x800821ff]
pci 0001:10:13.0: reg 0x30: [mem 0x80100000-0x8017ffff pref]
pci 0001:10:13.0: supports D1 D2
pci 0001:10:15.0: [9710:9865] type 00 class 0x070002
pci 0001:10:15.0: reg 0x10: [io 0x0410-0x0417]
pci 0001:10:15.0: reg 0x14: [mem 0x8008a000-0x8008afff]
pci 0001:10:15.0: reg 0x20: [mem 0x80089000-0x80089fff]
pci 0001:10:15.0: supports D1 D2
pci 0001:10:15.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.1: [9710:9865] type 00 class 0x070002
pci 0001:10:15.1: reg 0x10: [io 0x0400-0x0407]
pci 0001:10:15.1: reg 0x14: [mem 0x80088000-0x80088fff]
pci 0001:10:15.1: reg 0x20: [mem 0x80087000-0x80087fff]
pci 0001:10:15.1: supports D1 D2
pci 0001:10:15.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:15.2: [ffff:9865] type 00 class 0x070103
pci 0001:10:15.2: reg 0x10: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x14: [io 0x0000-0x0007]
pci 0001:10:15.2: reg 0x18: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: reg 0x20: [mem 0x00000000-0x00000fff]
pci 0001:10:15.2: supports D1 D2
pci 0001:10:15.2: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:16.0: [14e4:4320] type 00 class 0x028000
pci 0001:10:16.0: reg 0x10: [mem 0x8008e000-0x8008ffff]
pci 0001:10:16.0: supports D1 D2
pci 0001:10:16.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:17.0: [106b:0022] type 00 class 0xff0000
pci 0001:10:17.0: reg 0x10: [mem 0x80000000-0x8007ffff]
pci 0001:10:18.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:18.0: reg 0x10: [mem 0x80086000-0x80086fff]
pci 0001:10:19.0: [106b:0019] type 00 class 0x0c0310
pci 0001:10:19.0: reg 0x10: [mem 0x80085000-0x80085fff]
pci 0001:10:1b.0: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.0: reg 0x10: [mem 0x80084000-0x80084fff]
pci 0001:10:1b.0: supports D1 D2
pci 0001:10:1b.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.1: [1033:0035] type 00 class 0x0c0310
pci 0001:10:1b.1: reg 0x10: [mem 0x80083000-0x80083fff]
pci 0001:10:1b.1: supports D1 D2
pci 0001:10:1b.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0001:10:1b.2: [1033:00e0] type 00 class 0x0c0320
pci 0001:10:1b.2: reg 0x10: [mem 0x80080000-0x800800ff]
pci 0001:10:1b.2: supports D1 D2
pci 0001:10:1b.2: PME# supported from D0 D1 D2 D3hot D3cold
pci_bus 0001:10: busn_res: [bus 10-ff] end is updated to 10
PCI host bridge to bus 0002:20
pci_bus 0002:20: root bus resource [io 0x880000-0x107ffff] (bus address [0x0000-0x7fffff]) pci_bus 0002:20: root bus resource [mem 0xf5000000-0xf5ffffff]
pci_bus 0002:20: root bus resource [bus 20-ff]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to ff
pci 0002:20:0b.0: [106b:0036] type 00 class 0x060000
pci 0002:20:0d.0: [106b:0033] type 00 class 0xff0000
pci 0002:20:0d.0: reg 0x10: [mem 0xf5004000-0xf5007fff]
pci 0002:20:0e.0: [106b:0031] type 00 class 0x0c0010
pci 0002:20:0e.0: reg 0x10: [mem 0xf5000000-0xf5000fff]
pci 0002:20:0e.0: supports D1 D2
pci 0002:20:0e.0: PME# supported from D0 D1 D2 D3hot
pci 0002:20:0f.0: [106b:0032] type 00 class 0x020000
pci 0002:20:0f.0: reg 0x10: [mem 0xf5200000-0xf53fffff]
pci 0002:20:0f.0: reg 0x30: [mem 0xf5100000-0xf51fffff pref]
pci_bus 0002:20: busn_res: [bus 20-ff] end is updated to 20
pci_bus 0000:00: resource 4 [io 0xff780000-0xfff7ffff]
pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff]
pci 0001:10:15.2: BAR 2: assigned [mem 0xf3000000-0xf3000fff]
pci 0001:10:15.2: BAR 4: assigned [mem 0xf3001000-0xf3001fff]
pci 0001:10:15.2: BAR 0: assigned [io 0x1000-0x1007]
pci 0001:10:15.2: BAR 1: assigned [io 0x1008-0x100f]
pci_bus 0001:10: resource 4 [io 0x0000-0x7fffff]
pci_bus 0001:10: resource 5 [mem 0xf3000000-0xf3ffffff]
pci_bus 0001:10: resource 6 [mem 0x80000000-0x8fffffff]
pci_bus 0002:20: resource 4 [io 0x880000-0x107ffff]
pci_bus 0002:20: resource 5 [mem 0xf5000000-0xf5ffffff]
raid6: altivecx8 gen() 551 MB/s
raid6: altivecx4 gen() 539 MB/s
raid6: altivecx2 gen() 475 MB/s
raid6: altivecx1 gen() 382 MB/s
raid6: int32x8 gen() 135 MB/s
raid6: int32x4 gen() 130 MB/s
raid6: int32x2 gen() 116 MB/s
raid6: int32x1 gen() 91 MB/s
raid6: using algorithm altivecx8 gen() 551 MB/s
raid6: using intx1 recovery algorithm
SCSI subsystem initialized
pci 0000:00:10.0: vgaarb: setting as boot VGA device
pci 0000:00:10.0: vgaarb: bridge control possible
pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
vgaarb: loaded
clocksource: Switched to clocksource timebase
NET: Registered PF_INET protocol family
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 6, 327680 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
pci 0001:10:12.0: enabling device (0000 -> 0002)
pci 0001:10:12.1: enabling device (0000 -> 0002)
pci 0001:10:12.2: enabling device (0004 -> 0006)
Apple USB OHCI 0001:10:18.0 disabled by firmware
pci 0001:10:18.0: Can't enable PCI device, BIOS handoff failed.
Apple USB OHCI 0001:10:19.0 disabled by firmware
pci 0001:10:19.0: Can't enable PCI device, BIOS handoff failed.
pci 0001:10:1b.0: enabling device (0000 -> 0002)
pci 0001:10:1b.1: enabling device (0000 -> 0002)
pci 0001:10:1b.2: enabling device (0004 -> 0006)
pci 0002:20:0f.0: CLS mismatch (32 != 1020), using 32 bytes
Thermal assist unit not available
Initialise system trusted keyrings
workingset: timestamp_bits=14 max_order=19 bucket_order=5
NET: Registered PF_ALG protocol family
xor: measuring software checksum speed

   8regs           :   121 MB/sec
   8regs_prefetch  :   120 MB/sec
   32regs          :   120 MB/sec
   32regs_prefetch :   119 MB/sec
   altivec         :   514 MB/sec

xor: using function: altivec (514 MB/sec)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
alg: self-tests for CTR-KDF (hmac(sha256)) passed
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler kyber registered
io scheduler bfq registered
Using unsupported 1920x1080 (null) at a0008000, depth=8, pitch=2048
Console: switching to colour frame buffer device 240x67
fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_A@0
MacIO PCI driver attached to Keylargo chipset
0.00013020:ch-a: ttyPZ0 at MMIO 0x80013020 (irq = 22, base_baud = 230400) is a Z85c30 ESCC - Serial port
0.00013000:ch-b: ttyPZ1 at MMIO 0x80013000 (irq = 23, base_baud = 230400) is a Z85c30 ESCC - Serial port
sata_sil 0001:10:13.0: enabling device (0004 -> 0007)
scsi host0: sata_sil
scsi host1: sata_sil
ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53
ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53
pata-pci-macio 0002:20:0d.0: enabling device (0004 -> 0006)
pata-pci-macio 0002:20:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
scsi host2: pata_macio
ata3: PATA max UDMA/100 irq 39
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133
ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata1.00: Features: Dev-Sleep
ata1.00: configured for UDMA/100
scsi 0:0:0:0: Direct-Access ATA SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
sd 0:0:0:0: [sda] Attached SCSI disk
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133
ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/100
scsi 1:0:0:0: Direct-Access ATA WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
sd 1:0:0:0: [sdb] 4096-byte physical blocks
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
scsi host3: pata_macio
ata4: PATA max UDMA/66 irq 19
ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66
ata4.00: 1009008 sectors, multi 1: LBA
sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
sd 1:0:0:0: [sdb] Attached SCSI disk
scsi 3:0:0:0: Direct-Access ATA DeLOCK 54143 512 11E PQ: 0 ANSI: 5
sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
sd 3:0:0:0: [sdc] Attached SCSI disk
pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
scsi host4: pata_macio
ata5: PATA max MWDMA2 irq 20
sungem.c:v1.0 David S. Miller <[email protected]>
gem 0002:20:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a
rtc-generic rtc-generic: registered as rtc0
i2c_dev: i2c /dev entries driver
PowerMac i2c bus pmu 2 registered
PowerMac i2c bus pmu 1 registered
PowerMac i2c bus mac-io 0 registered
i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
PowerMac i2c bus uni-n 1 registered
i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
PowerMac i2c bus uni-n 0 registered
scsi 4:0:0:0: CD-ROM _NEC DVD_RW ND-3520A 1.04 PQ: 0 ANSI: 5
ledtrig-cpu: registered to indicate activity on CPUs
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
drmem: No dynamic reconfiguration memory found
registered taskstats version 1
Loading compiled-in X.509 certificates
zswap: loaded using pool lzo/z3fold
debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
input: PMU as /devices/virtual/input/input0
netpoll: netconsole: local port 6666
netpoll: netconsole: local IPv4 address 192.168.178.8
netpoll: netconsole: interface 'eth0'
netpoll: netconsole: remote port 6666
netpoll: netconsole: remote IPv4 address 192.168.178.3
netpoll: netconsole: remote ethernet address 70:85:c2:30:ec:01
netpoll: netconsole: device eth0 not up yet, forcing it
gem 0002:20:0f.0 eth0: Found BCM5421 PHY
gem 0002:20:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
gem 0002:20:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
printk: console [netcon0] enabled
netconsole: network logging started
EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.
VFS: Mounted root (ext4 filesystem) readonly on device 8:5.
devtmpfs: mounted
Freeing unused kernel image (initmem) memory: 1336K
Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process
systemd[1]: systemd 251 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL +ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 +LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) systemd[1]: Detected architecture ppc.
systemd[1]: Hostname set to <T600>.
systemd[1]: Queued start job for default target Graphical Interface.
systemd[1]: Created slice Slice /system/getty.
systemd[1]: Created slice Slice /system/modprobe.
systemd[1]: Created slice Slice /system/systemd-fsck.
systemd[1]: Created slice Slice /system/vncserver.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
systemd[1]: Arbitrary Executable File Formats File System Automount Point was skipped because of a failed condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
systemd[1]: Reached target Path Units.
systemd[1]: Reached target Remote File Systems.
systemd[1]: Reached target Slice Units.
systemd[1]: Listening on Process Core Dump Socket.
systemd[1]: Listening on initctl Compatibility Named Pipe.
systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
systemd[1]: Listening on Journal Socket (/dev/log).
systemd[1]: Listening on Journal Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
systemd[1]: Mounting POSIX Message Queue File System...
systemd[1]: Kernel Debug File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/debug).
systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
systemd[1]: Starting Create List of Static Device Nodes...
systemd[1]: Starting Load Kernel Module configfs...
systemd[1]: Starting Load Kernel Module drm...
systemd[1]: Starting Load Kernel Module fuse...
systemd[1]: Starting File System Check on Root Device...
fuse: init (API version 7.37)
systemd[1]: Starting Journal Service...
systemd[1]: Starting Load Kernel Modules...
systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
systemd[1]: Starting Coldplug All udev Devices...
systemd[1]: Mounted POSIX Message Queue File System.
systemd[1]: Finished Create List of Static Device Nodes.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module configfs.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module drm.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Finished Load Kernel Module fuse.
systemd[1]: Finished File System Check on Root Device.
systemd[1]: Finished Load Kernel Modules.
systemd[1]: Mounting FUSE Control File System...
systemd[1]: Mounting Kernel Configuration File System...
systemd[1]: Starting Remount Root and Kernel File Systems...
systemd[1]: Starting Apply Kernel Variables...
systemd[1]: Mounted FUSE Control File System.
systemd[1]: Mounted Kernel Configuration File System.
systemd[1]: Finished Apply Kernel Variables.
systemd[1]: Started Journal Service.
EXT4-fs (sda5): re-mounted. Quota mode: disabled.
systemd-journald[106]: Received client request to flush runtime journal.
random: crng init done
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci-pci 0001:10:12.2: EHCI Host Controller
ehci-pci 0001:10:12.2: new USB bus registered, assigned bus number 1
ehci-pci 0001:10:12.2: irq 52, io mem 0x80081000
ehci-pci 0001:10:12.2: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ehci_hcd
usb usb1: SerialNumber: 0001:10:12.2
BTRFS: device label g4_musl devid 1 transid 52576 /dev/sda4 scanned by systemd-udevd (128)
hub 1-0:1.0: USB hub found
BTRFS: device label tmp devid 1 transid 21 /dev/sda6 scanned by systemd-udevd (133)
hub 1-0:1.0: 5 ports detected
ehci-pci 0001:10:1b.2: EHCI Host Controller
ehci-pci 0001:10:1b.2: new USB bus registered, assigned bus number 2
ehci-pci 0001:10:1b.2: irq 63, io mem 0x80080000
ehci-pci 0001:10:1b.2: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ehci_hcd
usb usb2: SerialNumber: 0001:10:1b.2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 5 ports detected
ohci-pci 0001:10:12.0: OHCI PCI host controller
ohci-pci 0001:10:12.0: new USB bus registered, assigned bus number 3
ohci-pci 0001:10:12.0: irq 52, io mem 0x8008c000
Adding 8388604k swap on /dev/sdb6. Priority:-2 extents:1 across:8388604k FS
[drm] radeon kernel modesetting enabled.
Console: switching to colour dummy device 80x25
radeon 0000:00:10.0: vgaarb: deactivate vga console
radeon 0000:00:10.0: enabling device (0006 -> 0007)
[drm] initializing kernel modesetting (RV350 0x1002:0x4150 0x1002:0x0002 0x00).
[drm] Forcing AGP to PCI mode
radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[drm] Generation 2 PCI interface, using max accessible memory
radeon 0000:00:10.0: VRAM: 256M 0x00000000A0000000 - 0x00000000AFFFFFFF (256M used)
radeon 0000:00:10.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] GART: num cpu pages 131072, num gpu pages 131072
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI PCI host controller
usb usb3: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb3: SerialNumber: 0001:10:12.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
[drm] radeon: 1 quad pipes, 1 Z pipes initialized
[drm] PCI GART of 512M enabled (table at 0x0000000009280000).
radeon 0000:00:10.0: WB enabled
radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000080000000
[drm] radeon: irq initialized.
[drm] Loading R300 Microcode
Loading firmware: radeon/R300_cp.bin
ohci-pci 0001:10:12.1: OHCI PCI host controller
ohci-pci 0001:10:12.1: new USB bus registered, assigned bus number 4
ohci-pci 0001:10:12.1: irq 52, io mem 0x8008b000
[drm] radeon: ring at 0x0000000080001000
[drm] ring test succeeded in 0 usecs
[drm] ib test succeeded in 0 usecs
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: OHCI PCI host controller
usb usb4: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb4: SerialNumber: 0001:10:12.1
[drm] Radeon Display Connectors
[drm] Connector 0:

[drm]   DVI-I-1
[drm]   HPD2
[drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[drm]   Encoders:
[drm]     CRT1: INTERNAL_DAC1
[drm]     DFP2: INTERNAL_DVO1
[drm] Connector 1:
[drm]   DVI-I-2
[drm]   HPD1
[drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[drm]   Encoders:

[drm] CRT2: INTERNAL_DAC2
[drm] DFP1: INTERNAL_TMDS1
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
ohci-pci 0001:10:1b.0: OHCI PCI host controller
ohci-pci 0001:10:1b.0: new USB bus registered, assigned bus number 5
ohci-pci 0001:10:1b.0: irq 63, io mem 0x80084000
serial 0001:10:15.0: enabling device (0004 -> 0007)
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: OHCI PCI host controller
usb usb5: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb5: SerialNumber: 0001:10:1b.0
0001:10:15.0: ttyS0 at I/O 0x410 (irq = 58, base_baud = 115200) is a 16550A
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 3 ports detected
[drm] fb mappable at 0xA0040000
[drm] vram apper at 0xA0000000
[drm] size 8294400
[drm] fb depth is 24
[drm] pitch is 7680
serial 0001:10:15.1: enabling device (0004 -> 0007)
0001:10:15.1: ttyS1 at I/O 0x400 (irq = 58, base_baud = 115200) is a 16550A ohci-pci 0001:10:1b.1: OHCI PCI host controller
ohci-pci 0001:10:1b.1: new USB bus registered, assigned bus number 6
ohci-pci 0001:10:1b.1: irq 63, io mem 0x80083000
b43-pci-bridge 0001:10:16.0: enabling device (0004 -> 0006)
ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
b43-pci-bridge 0001:10:16.0: Sonics Silicon Backplane found on PCI device 0001:10:16.0 usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: OHCI PCI host controller
usb usb6: Manufacturer: Linux 6.1.0-gentoo-PMacG4 ohci_hcd
usb usb6: SerialNumber: 0001:10:1b.1
hub 6-0:1.0: USB hub found
EXT4-fs (sdc5): mounting ext2 file system using the ext4 subsystem
hub 6-0:1.0: 2 ports detected
EXT4-fs (sdc5): mounted filesystem without journal. Quota mode: disabled.
ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
Console: switching to colour frame buffer device 240x67
radeon 0000:00:10.0: [drm] fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0 on minor 0 firewire_ohci 0002:20:0e.0: enabling device (0000 -> 0002)
firewire_ohci 0002:20:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0 firewire_core 0002:20:0e.0: created device fw0: GUID 000a95fffe9c763a, S800 ADM1030 fan controller [@2c]
DS1775 digital thermometer [@49]
Temp: 53.8 C
Hyst: 70.0 C
OS: 75.0 C

BTRFS info (device sda6): using crc32c (crc32c-generic) checksum algorithm BTRFS info (device sda6): use lzo compression, level 0
BTRFS info (device sda6): setting nodatasum
BTRFS info (device sda6): using free space tree
BTRFS info (device sda6): enabling ssd optimizations
sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
cfg80211: Loading compiled-in X.509 certificates for regulatory database
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Loading firmware: regulatory.db
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
snd-aoa-fabric-layout: can use this codec
b43legacy-phy0: Broadcom 4306 WLAN found (core revision 4)
b43legacy-phy0: Loading firmware b43legacy/ucode4.fw
Broadcom 43xx-legacy driver loaded [ Features: PLID ]
Loading firmware: b43legacy/ucode4.fw
b43legacy-phy0: Loading firmware b43legacy/pcm4.fw
Loading firmware: b43legacy/pcm4.fw
b43legacy-phy0: Loading firmware b43legacy/b0g0initvals2.fw
Loading firmware: b43legacy/b0g0initvals2.fw
CPU-temp: 53.9 C
, Case: 31.7 C
, Fan: 0 (tuned -11)
CPU-temp: 55.0 C
, Case: 32.0 C
, Fan: 0 (tuned +0)
pagealloc: memory corruption
f4f9be93: 00 00 00 00 ....

CPU: 1 PID: 295 Comm: memtester Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2c7b6c0] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f2c7b6e0] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f2c7b720] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f2c7b820] [c02febd0] __alloc_pages+0x1dc/0x101c
[f2c7b970] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f2c7ba40] [c02c61a4] __get_user_pages+0x180/0x3cc
[f2c7baa0] [c02c7e24] populate_vma_page_range+0x8c/0xe4
[f2c7bad0] [c02c8088] __mm_populate+0x13c/0x238
[f2c7bb60] [c02d5658] do_mlock+0x15c/0x38c
[f2c7bc00] [c0019948] system_call_exception+0x120/0x204
[f2c7bf30] [c00221ac] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0x6e6af0
NIP:  006e6af0 LR: 007e11a4 CTR: 00000000
REGS: f2c7bf40 TRAP: 0c00   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 40002468  XER: 20000000

GPR00: 00000096 afa7bdc0 a7abb2c0 2f067000 789ff010 00000000 00000000 006d23d4
GPR08: 0000d032 00000008 78a00ff8 4047df2a 4047dbf7 007ffff4 010ef900 00c72438
GPR16: 00c73b50 00c723a0 789ff010 78a00000 00000000 a7ab42c8 00000000 007d0ea0
GPR24: 78a00000 fffff000 00000000 00001000 2f066010 00000001 00807de8 007e3870 NIP [006e6af0] 0x6e6af0
LR [007e11a4] 0x7e11a4
--- interrupt: c00
page:a05bd3e5 refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

CPU-temp: 55.3 C
, Case: 32.1 C
, Fan: 0 (tuned +0)
EXT4-fs (sdc5): unmounting filesystem.
systemd-shutdown[1]: Syncing filesystems and block devices. systemd-shutdown[1]: Sending SIGTERM to remaining processes... systemd-journald[106]: Received SIGTERM from PID 1 (systemd-shutdow). systemd-shutdown[1]: Sending SIGKILL to remaining processes... systemd-shutdown[1]: Unmounting file systems.
[315]: Remounting '/' read-only with options ''.
EXT4-fs (sda5): re-mounted. Quota mode: disabled.
systemd-shutdown[1]: All filesystems unmounted.
systemd-shutdown[1]: Deactivating swaps.
systemd-shutdown[1]: All swaps deactivated.
systemd-shutdown[1]: Detaching loop devices.
systemd-shutdown[1]: All loop devices detached.
systemd-shutdown[1]: Stopping MD devices.
systemd-shutdown[1]: All MD devices stopped.
systemd-shutdown[1]: Detaching DM devices.
systemd-shutdown[1]: All DM devices detached.
systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached. systemd-shutdown[1]: Syncing filesystems and block devices. systemd-shutdown[1]: Rebooting.
sd 1:0:0:0: [sdb] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Synchronizing SCSI cache
reboot: Restarting system

#4 lore raw

Le 17/12/2022 à 22:39, Erhard F. a écrit :

Quoted 10 lines
Quoted 3 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Ok, so I went back to kernel 5.4.225 and ran 'memtester 1930M' for a few hours completing 5 test loops in a row. Next I ran 'stress -m2 --vm-bytes 965M' for a few hours, also without any problems. 1930M is the max. memory I can lock on this 2 GB PowerMac G4 without invoking systemds' OOM killer.

Booting kernel 6.1.0 and running 'stress -m2 --vm-bytes 965M' I almost instantly get:

That 'stress' tool doesn't seem to be part of memtester. Where can I find it ?

Did you try on other targets that G4 ?

Did you try with a non SMP kernel ?

Quoted 75 lines

[...]
pagealloc: memory corruption
830c4e52: 00 00 00 00 ....

CPU: 1 PID: 298 Comm: stress Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f302bb50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f302bb70] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f302bbb0] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f302bcb0] [c02febd0] __alloc_pages+0x1dc/0x101c
[f302be00] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f302bed0] [c002b8c8] ___do_page_fault+0x22c/0x818
[f302bf10] [c002c108] do_page_fault+0x28/0x6c
[f302bf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xac3044
NIP:  00ac3044 LR: 00ac3020 CTR: 00000000
REGS: f302bf40 TRAP: 0300   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 8b192010 DSISR: 42000000
GPR00: 00ac3020 affad290 a7ed3740 6b97e010 3c500000 20224462 00000000 009e0264
GPR08: 1f815000 1f814000 00000000 404a0fca 20882462 00adfff4 00000000 00000000
GPR16: 00000000 00000002 00000000 0000005a 40802462 80002462 40002462 00ae00a0
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b97e010 00ae7d64 00001000

NIP [00ac3044] 0xac3044
LR [00ac3020] 0xac3020
--- interrupt: 300
page:a7a2bb6d refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

Running 'memtester 1930M' on kernel 6.1.0 I almost instantly get:
[...]
pagealloc: memory corruption
f4f9be93: 00 00 00 00 ....

CPU: 1 PID: 295 Comm: memtester Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2c7b6c0] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f2c7b6e0] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f2c7b720] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f2c7b820] [c02febd0] __alloc_pages+0x1dc/0x101c
[f2c7b970] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f2c7ba40] [c02c61a4] __get_user_pages+0x180/0x3cc
[f2c7baa0] [c02c7e24] populate_vma_page_range+0x8c/0xe4
[f2c7bad0] [c02c8088] __mm_populate+0x13c/0x238
[f2c7bb60] [c02d5658] do_mlock+0x15c/0x38c
[f2c7bc00] [c0019948] system_call_exception+0x120/0x204
[f2c7bf30] [c00221ac] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0x6e6af0
NIP:  006e6af0 LR: 007e11a4 CTR: 00000000
REGS: f2c7bf40 TRAP: 0c00   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 40002468  XER: 20000000

GPR00: 00000096 afa7bdc0 a7abb2c0 2f067000 789ff010 00000000 00000000 006d23d4
GPR08: 0000d032 00000008 78a00ff8 4047df2a 4047dbf7 007ffff4 010ef900 00c72438
GPR16: 00c73b50 00c723a0 789ff010 78a00000 00000000 a7ab42c8 00000000 007d0ea0
GPR24: 78a00000 fffff000 00000000 00001000 2f066010 00000001 00807de8 007e3870 NIP [006e6af0] 0x6e6af0
LR [007e11a4] 0x7e11a4
--- interrupt: c00
page:a05bd3e5 refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

So the hardware looks ok but there is definitely something fishy going on in the memory subsystem of newer kernel releases. At least on ppc32. Also does not matter whether KFENCE or KASAN are used, running memtester or stress always leads to this page corruption.

Full dmesg of the 2 pagealloc corruptions + kernel config attached.

Regards,
Erhard

author
#5 lore raw
Quoted 2 lines · On Sun, 18 Dec 2022 11:38:55 +0000 Christophe Leroy…

That 'stress' tool doesn't seem to be part of memtester. Where can I find it ?

It's in Gentoos' package repository. Source is at: https://salsa.debian.org/debian/stress

Quoted 1 line

Did you try on other targets that G4 ?

Today I tried memtester + stress on the G5 and the Talos II running 6.1.0. Both run fine and show no such memory corruption.

Quoted 1 line

Did you try with a non SMP kernel ?

Ah! When I use 6.1.0 with disabled SMP (# CONFIG_SMP is not set) memtester + stress don't provoke memory corruption on the G4!

Regards,
Erhard

author
#7 lore raw
In reply to Nicholas Piggin
Quoted 3 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Found out that 'stress -m2 --vm-bytes 965M' and 'memtester 1930M' run fine for hours as long I have VMAP_STACK disabled when using SMP=y.

So I can use either SMP=y or VMAP_STACK=y and everything is fine. But when I use both at the same time I get this kind of memory corruption.

Probably this has something to do with (or is?) the issue I originally reported as https://bugzilla.kernel.org/show_bug.cgi?id=215389 only that I now found out to provoke the issue much faster and more reliable with stress and memtester instead of a full glibc test build on the G4...

Any hints for further testing? Could do a bisect again with a more minimalistic kernel and see if I get the same result as in the old bug if that would be helpful.

Regards,
Erhard

#8 lore raw
In reply to Nicholas Piggin
Quoted 22 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:
Quoted 9 lines · Erhard F.

Getting this at boot sometimes, but not always (PowerMac G4 DP, kernel 6.0.9):

[...]
Freeing unused kernel image (initmem) memory: 1328K Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process _swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000  

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Although with that KASAN one it's strange that kernfs_node_cache was involved both times, it's strange that page tables are pointing to that same slab memory. It could be a page table page use-after -free maybe? Maybe with the page table fragment code. I'm sure other people would have hit that before though, so I don't know what to suggest.

Quoted 2 lines

Thanks,
Nick

Revisited the issue on kernel v6.8-rc6 and I can still reproduce it.

Short summary as my last post was over a year ago:
(x) I get this memory corruption only when CONFIG_VMAP_STACK=y and CONFIG_SMP=y is enabled.
(x) I don't get this memory corruption when only one of the above is enabled. ^^
(x) memtester says the 2 GiB RAM in my G4 DP are fine.
(x) I don't get this issue on my G5 11,2 or Talos II.
(x) "stress -m 2 --vm-bytes 965M" provokes the issue in < 10 secs. (https://salsa.debian.org/debian/stress)

For the test I used CONFIG_KASAN_INLINE=y for v6.8-rc6 and debug_pagealloc=on, page_owner=on and got this dmesg:

[...]
pagealloc: memory corruption
f5fcfff0: 00 00 00 00 ....

CPU: 1 PID: 1788 Comm: stress Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f3bfbac0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f3bfbae0] [c04edf9c] __kernel_unpoison_pages+0x1e0/0x1f0
[f3bfbb30] [c04a8aa0] post_alloc_hook+0xe0/0x174
[f3bfbb60] [c04a8b58] prep_new_page+0x24/0xbc
[f3bfbb80] [c04abcc4] get_page_from_freelist+0xcd0/0xf10
[f3bfbc50] [c04aecd8] __alloc_pages+0x204/0xe2c
[f3bfbda0] [c04b07a8] __folio_alloc+0x18/0x88
[f3bfbdc0] [c0461a10] vma_alloc_zeroed_movable_folio.isra.0+0x2c/0x6c
[f3bfbde0] [c046bb90] handle_mm_fault+0x91c/0x19ac
[f3bfbec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[f3bfbf10] [c0048278] do_page_fault+0x28/0x60
[f3bfbf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xbe30d8
NIP:  00be30d8 LR: 00be30b4 CTR: 00000000
REGS: f3bfbf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc6-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 88c7a010 DSISR: 42000000 
GPR00: 00be30b4 af8397d0 a78436c0 6b2ee010 3c500000 20224462 fe77f7e1 00b00264 
GPR08: 1d98d000 1d98c000 00000000 40ae256a 20882262 00bffff4 00000000 00000000 
GPR16: 00000000 00000002 00000000 0000005a 40802262 80002262 40002262 00c000a4 
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b2ee010 00c07d64 00001000 

NIP [00be30d8] 0xbe30d8
LR [00be30b4] 0xbe30b4
--- interrupt: 300
page:ef4bd92c refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310b3
flags: 0x80000000(zone=2)
page_type: 0xffffffff()

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details
page_owner info is not present (never set?)
swapper/1: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f101b9d0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f101b9f0] [c04ae948] warn_alloc+0x154/0x2e0
[f101bab0] [c04af030] __alloc_pages+0x55c/0xe2c

SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
[...]

New findings:
(x) The page corruption only shows up the 1st time I run "stress -m 2 --vm-bytes 965M". When I quit and restart stress no additional page corruption shows up.
(x) The page corruption shows up shortly after I run "stress -m 2 --vm-bytes 965M" but no additional page corruption shows up afterwards, even if left running for 30min.

For additional testing I thought it would be a good idea to try "modprobe test_vmalloc" but this remained inconclusive. Sometimes a 'BUG: Unable to handle kernel data access on read at 0xe0000000' like this shows up but not always:

[...]
vmap allocation for size 8192 failed: use vmalloc=<size> to increase size
vmalloc_test/0: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0

CPU: 1 PID: 1792 Comm: vmalloc_test/0 Tainted: G    B              6.8.0-rc6-PMacG4 #12
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f3bdbcc0] [c162a8c8] dump_stack_lvl+0x60/0x94 (unreliable)
[f3bdbce0] [c04ae928] warn_alloc+0x154/0x2e0
[f3bdbda0] [c04a02d0] __vmalloc_node_range+0x168/0x96c
[f3bdbe60] [c04a0bc0] __vmalloc_node+0xec/0x114
[f3bdbea0] [bfa3d308] kvfree_rcu_2_arg_vmalloc_test+0x50/0xb4 [test_vmalloc]
[f3bdbec0] [bfa3e254] test_func+0x490/0x568 [test_vmalloc]
[f3bdbfc0] [c00ff1fc] kthread+0x384/0x394
[f3bdbff0] [c002a304] start_kernel_thread+0x10/0x14

Mem-Info:
active_anon:13098 inactive_anon:0 isolated_anon:0
active_file:31626 inactive_file:9834 isolated_file:0
unevictable:0 dirty:1 writeback:0
slab_reclaimable:1935 slab_unreclaimable:23175
mapped:15912 shmem:148 pagetables:260
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:379850 free_pcp:188 free_cma:0
Node 0 active_anon:52392kB inactive_anon:0kB active_file:126504kB inactive_file:39336kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:63648kB dirty:4kB writeback:0kB shmem:592kB writeback_tmp:0kB kernel_stack:1984kB pagetables:1040kB sec_pagetables:0kB all_unreclaimable? no DMA free:545332kB boost:0kB min:3312kB low:4140kB high:4968kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:4kB inactive_file:20864kB unevictable:0kB writepending:0kB present:786432kB managed:687812kB mlocked:0kB bounce:0kB free_pcp:752kB local_pcp:192kB free_cma:0kB lowmem_reserve[]: 0 0 1184 1184
DMA: 3*4kB (ME) 15*8kB (UME) 5*16kB (ME) 7*32kB (UME) 2*64kB (UE) 2*128kB (ME) 1*256kB (M) 1*512kB (U) 5*1024kB (UM) 5*2048kB (UM) 129*4096kB (M) = 545332kB
41608 total pagecache pages
0 pages in swap cache
Free swap = 8388604kB
Total swap = 8388604kB
524288 pages RAM
327680 pages HighMem/MovableOnly
49231 pages reserved
vmap allocation for size 8192 failed: use vmalloc=<size> to increase size
vmap allocation for size 8192 failed: use vmalloc=<size> to increase size
vmap allocation for size 147456 failed: use vmalloc=<size> to increase size
vmap allocation for size 8192 failed: use vmalloc=<size> to increase size
vmap allocation for size 4194304 failed: use vmalloc=<size> to increase size

BUG: Unable to handle kernel data access on read at 0xe0000000
Faulting instruction address: 0xbfa3dc58
Oops: Kernel access of bad area, sig: 11 [#1]
BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2 DEBUG_PAGEALLOC PowerMac
Modules linked in: test_vmalloc(+) af_packet ipv6 b43legacy mac80211 libarc4 cfg80211 snd_aoa_codec_tas snd_aoa_fabric_layout snd_aoa rfkill therm_windtunnel firewire_ohci firewire_core crc_itu_t snd_aoa_i2sbus snd_aoa_soundbus snd_pcm snd_timer snd soundcore ssb mac_hid pcmcia pcmcia_core radeon hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci
CPU: 1 PID: 1792 Comm: vmalloc_test/0 Tainted: G    B              6.8.0-rc6-PMacG4 #12
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
NIP:  bfa3dc58 LR: bfa3dc48 CTR: 00000000
REGS: f3bdbdd0 TRAP: 0300   Tainted: G    B               (6.8.0-rc6-PMacG4)
MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 44000004  XER: 00000000
DAR: e0000000 DSISR: 40000000 

GPR00: 00000000 f3bdbe90 c3fe1820 00000000 00000000 00000000 00000000 00000000
GPR08: 00000000 e0000000 00000000 f3bdbdf0 00000000 00000000 18baab26 00000000
GPR16: c5d55930 f227d040 00000000 0000001e 00000007 f2276260 f22762b4 000000a0
GPR24: c5d55928 00000061 f2280000 00000000 00000000 00000001 c4832ea8 00000001 NIP [bfa3dc58] vm_map_ram_test+0xdc/0x194 [test_vmalloc]
LR [bfa3dc48] vm_map_ram_test+0xcc/0x194 [test_vmalloc]

Call Trace:
[f3bdbe90] [bfa3dc48] vm_map_ram_test+0xcc/0x194 [test_vmalloc] (unreliable)
[f3bdbec0] [bfa3e254] test_func+0x490/0x568 [test_vmalloc]
[f3bdbfc0] [c00ff1fc] kthread+0x384/0x394
[f3bdbff0] [c002a304] start_kernel_thread+0x10/0x14
Code: 48a7bc49 307fffff 7c63f910 4bffff7c 38a0ffff 7fa4eb78 7fc3f378 48a608c9 5469e8fe 5468077e 7c7c1b78 3d29e000 <89290000> 7d2a0774 5529cffe 7d0a4010 
---[ end trace 0000000000000000 ]---

note: vmalloc_test/0[1792] exited with irqs disabled [...]

So this may be a different issue as the memory corruption or just the test gone wrong?

Full dmesg + kernel .config attached. The KASAN hit in the dmesg earlier 'BUG: KASAN: vmalloc-out-of-bounds in memset32' Christophe already reported as https://lore.kernel.org/all/[email protected]/

Regards,
Erhard

#9 lore raw

Le 29/02/2024 à 02:09, Erhard Furtner a écrit :

Quoted 115 lines
Quoted 22 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:
Quoted 9 lines · Erhard F.

Getting this at boot sometimes, but not always (PowerMac G4 DP, kernel 6.0.9):

[...]
Freeing unused kernel image (initmem) memory: 1328K Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process _swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Although with that KASAN one it's strange that kernfs_node_cache was involved both times, it's strange that page tables are pointing to that same slab memory. It could be a page table page use-after -free maybe? Maybe with the page table fragment code. I'm sure other people would have hit that before though, so I don't know what to suggest.

Quoted 2 lines

Thanks,
Nick

Revisited the issue on kernel v6.8-rc6 and I can still reproduce it.

Short summary as my last post was over a year ago:
(x) I get this memory corruption only when CONFIG_VMAP_STACK=y and CONFIG_SMP=y is enabled.
(x) I don't get this memory corruption when only one of the above is enabled. ^^
(x) memtester says the 2 GiB RAM in my G4 DP are fine.
(x) I don't get this issue on my G5 11,2 or Talos II.
(x) "stress -m 2 --vm-bytes 965M" provokes the issue in < 10 secs. (https://salsa.debian.org/debian/stress)

For the test I used CONFIG_KASAN_INLINE=y for v6.8-rc6 and debug_pagealloc=on, page_owner=on and got this dmesg:

[...]
pagealloc: memory corruption
f5fcfff0: 00 00 00 00 ....

CPU: 1 PID: 1788 Comm: stress Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f3bfbac0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f3bfbae0] [c04edf9c] __kernel_unpoison_pages+0x1e0/0x1f0
[f3bfbb30] [c04a8aa0] post_alloc_hook+0xe0/0x174
[f3bfbb60] [c04a8b58] prep_new_page+0x24/0xbc
[f3bfbb80] [c04abcc4] get_page_from_freelist+0xcd0/0xf10
[f3bfbc50] [c04aecd8] __alloc_pages+0x204/0xe2c
[f3bfbda0] [c04b07a8] __folio_alloc+0x18/0x88
[f3bfbdc0] [c0461a10] vma_alloc_zeroed_movable_folio.isra.0+0x2c/0x6c
[f3bfbde0] [c046bb90] handle_mm_fault+0x91c/0x19ac
[f3bfbec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[f3bfbf10] [c0048278] do_page_fault+0x28/0x60
[f3bfbf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xbe30d8
NIP:  00be30d8 LR: 00be30b4 CTR: 00000000
REGS: f3bfbf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc6-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 88c7a010 DSISR: 42000000
GPR00: 00be30b4 af8397d0 a78436c0 6b2ee010 3c500000 20224462 fe77f7e1 00b00264
GPR08: 1d98d000 1d98c000 00000000 40ae256a 20882262 00bffff4 00000000 00000000
GPR16: 00000000 00000002 00000000 0000005a 40802262 80002262 40002262 00c000a4
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b2ee010 00c07d64 00001000

NIP [00be30d8] 0xbe30d8
LR [00be30b4] 0xbe30b4
--- interrupt: 300
page:ef4bd92c refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310b3
flags: 0x80000000(zone=2)
page_type: 0xffffffff()

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details
page_owner info is not present (never set?)
swapper/1: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f101b9d0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f101b9f0] [c04ae948] warn_alloc+0x154/0x2e0
[f101bab0] [c04af030] __alloc_pages+0x55c/0xe2c

SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
[...]

Quoted 7 lines

New findings:
(x) The page corruption only shows up the 1st time I run "stress -m 2 --vm-bytes 965M". When I quit and restart stress no additional page corruption shows up.
(x) The page corruption shows up shortly after I run "stress -m 2 --vm-bytes 965M" but no additional page corruption shows up afterwards, even if left running for 30min.

For additional testing I thought it would be a good idea to try "modprobe test_vmalloc" but this remained inconclusive. Sometimes a 'BUG: Unable to handle kernel data access on read at 0xe0000000' like this shows up but not always:

Interesting.

I guess 0xe0000000 is where linear RAM starts to be mapped with pages ? Can you confirm with a dump of /sys/kernel/debug/powerpc/block_address_translation ?

Do we have a problem of race with hash table ?

Would KCSAN help with that ?

Christophe

#10 lore raw
Quoted 5 lines · On Thu, 29 Feb 2024 17:11:28 +0000 Christophe Leroy…

Interesting.

I guess 0xe0000000 is where linear RAM starts to be mapped with pages ? Can you confirm with a dump of /sys/kernel/debug/powerpc/block_address_translation ?

 # cat /sys/kernel/debug/powerpc/block_address_translation
---[ Instruction Block Address Translation ]---
0: 0xc0000000-0xc0ffffff 0x00000000        16M Kernel   x     m   
1: 0xc1000000-0xc13fffff 0x01000000         4M Kernel   x     m   
2: 0xc1400000-0xc15fffff 0x01400000         2M Kernel   x     m   
3: 0xc1600000-0xc16fffff 0x01600000         1M Kernel   x     m   
4:         -
5:         -
6:         -
7:         -

---[ Data Block Address Translation ]---

0: 0xc0000000-0xc0ffffff 0x00000000        16M Kernel r       m   
1: 0xc1000000-0xc17fffff 0x01000000         8M Kernel r       m   
2: 0xc1800000-0xc1bfffff 0x01800000         4M Kernel r       m   
3: 0xf8000000-0xfbffffff 0x7c000000        64M Kernel rw      m   
4: 0xfc000000-0xfdffffff 0x7a000000        32M Kernel rw      m   
5:         -
6:         -
7:         -

block_address_translation looks different after the page corruption:

 # cat /sys/kernel/debug/powerpc/block_address_translation
---[ Instruction Block Address Translation ]---
0: 0xc0000000-0xc1ffffff 0x00000000        32M Kernel   x     m   
1:         -
2:         -
3:         -
4:         -
5:         -
6:         -
7:         -

---[ Data Block Address Translation ]---

0: 0xc0000000-0xc0ffffff 0x00000000        16M Kernel rw      m   
1: 0xc1000000-0xc17fffff 0x01000000         8M Kernel rw      m   
2: 0xc1800000-0xc1bfffff 0x01800000         4M Kernel rw      m   
3: 0xf8000000-0xfbffffff 0x7c000000        64M Kernel rw      m   
4: 0xfc000000-0xfdffffff 0x7a000000        32M Kernel rw      m   
5:         -
6:         -
7:         -
Quoted 3 lines

Do we have a problem of race with hash table ?

Would KCSAN help with that ?

KCSAN did not report any hits during "stress -m 2 --vm-bytes 965M". Options used: KCSAN_SELFTEST=y, KCSAN_REPORT_ONCE_IN_MS=12000, KCSAN_REPORT_RACE_UNKNOWN_ORIGIN=y, KCSAN_STRICT=y, KCSAN_WEAK_MEMORY=y.

Regards,
Erhard

#11 lore raw
In reply to Christophe Leroy
Quoted 7 lines · On Thu, 29 Feb 2024 17:11:28 +0000 Christophe Leroy…

Interesting.

I guess 0xe0000000 is where linear RAM starts to be mapped with pages ? Can you confirm with a dump of /sys/kernel/debug/powerpc/block_address_translation ?

Do we have a problem of race with hash table ?

What I sometimes get at boot which may be related is this "BUG: KASAN: slab-out-of-bounds in filemap_map_pages":

[...]

BUG: KASAN: slab-out-of-bounds in filemap_map_pages+0x5e8/0x98c
Read of size 4 at addr c43beb88 by task (udev-worker)/595

CPU: 0 PID: 595 Comm: (udev-worker) Not tainted 6.8.0-rc7-PMacG4 #1
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:

ohci-pci 0001:00:12.0: OHCI PCI host controller [f40abc10] [c1675c5c] dump_stack_lvl+0x60/0x80 (unreliable) [f40abc30] [c04c4fd4] print_report+0xd4/0x4fc
[f40abc80] [c04c5680] kasan_report+0xfc/0x10c
[f40abd00] [c03bd348] filemap_map_pages+0x5e8/0x98c [f40abde0] [c0447380] handle_mm_fault+0x14fc/0x1988 [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0 [f40abf10] [c004697c] do_page_fault+0x28/0x50
[f40abf30] [c000433c] DataAccess_virt+0x124/0x17c ohci-pci 0001:00:12.0: new USB bus registered, assigned bus number 3 --- interrupt: 300 at 0x8a5d50

NIP:  008a5d50 LR: 008a5cd4 CTR: 00486290
REGS: f40abf40 TRAP: 0300   Not tainted  (6.8.0-rc7-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24004280  XER: 00000000

ohci-pci 0001:00:12.0: irq 52, io mem 0x8008c000
DAR: a6ed7038 DSISR: 40000000
GPR00: 008a6a1c afe0f3a0 a7adf6e0 013d9620 013aefd0 00000000 00000000 00000000
GPR08: 00000000 a6ed7038 00000000 afe0fbf0 44004280 009afaf4 afe0fc9c afe0fcb4
GPR16: afe0fcb0 afe0fca8 afe0fcb8 00000000 afe0fcac a6ed7000 0000005b 0000003f
GPR24: 0000002a afe0f3b4 013aefd0 00000000 013d9620 013d9620 009b311c afe0f3a0 NIP [008a5d50] 0x8a5d50
LR [008a5cd4] 0x8a5cd4
--- interrupt: 300

Allocated by task 1 on cpu 1 at 4.791311s:
 kasan_save_stack+0x38/0x54
 kasan_save_track+0x20/0x3c
 __kasan_slab_alloc+0x60/0x6c
 kmem_cache_alloc+0x19c/0x264
 __kernfs_new_node+0xfc/0x54c
 kernfs_new_node+0x138/0x180
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.08
 __kernfs_create_file+0x44/0x2c8
 sysfs_add_file_mode_ns+0x284/0x304
 internal_create_group+0x7dc/0xa54
 sysfs_slab_add+0xb0/0x240
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 __kmem_cache_create+0xf0/0x2cc
 kmem_cache_create_usercopy+0x150/0x21c
usb usb3: Product: OHCI PCI host controller
 bioset_init+0x4fc/0x808
 btrfs_init_compress+0x38/0x25c
 init_btrfs_fs+0xa8/0x288
 do_one_initcall+0x144/0x434
usb usb3: Manufacturer: Linux 6.8.0-rc7-PMacG4 ohci_hcd
 kernel_init_freeable+0x7d4/0x7f4
usb usb3: SerialNumber: 0001:00:12.0
 kernel_init+0x28/0x148
 ret_from_kernel_user_thread+0x10/0x18

The buggy address belongs to the object at c43beb30
 which belongs to the cache kernfs_node_cache of size 88

The buggy address is located 0 bytes to the right of
allocated 88-byte region [c43beb30, c43beb88)

The buggy address belongs to the physical page:
page:eee706b8 refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x43be
flags: 0x800(slab|zone=0)
page_type: 0xffffffff()
raw: 00000800 c208ee20 00000100 00000122 00000000 001e003c ffffffff 00000001
raw: 00000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 4790613568, free_ts 4778274944
 prep_new_page+0x24/0x9c
 get_page_from_freelist+0xcd0/0xeec
 __alloc_pages+0x1e0/0xe08
 alloc_slab_page+0x30/0x6c
 new_slab+0xb4/0x308
 ___slab_alloc+0x400/0x5c8
 kmem_cache_alloc+0xfc/0x264
 __kernfs_new_node+0xfc/0x54c
 kernfs_new_node+0x138/0x180
 __kernfs_create_file+0x44/0x2c8
 sysfs_add_file_mode_ns+0x284/0x304
 sysfs_merge_group+0x2e0/0x310
 btrfs_init_sysfs+0x3a8/0x52c
 init_btrfs_fs+0xa8/0x288
 do_one_initcall+0x144/0x434
 kernel_init_freeable+0x7d4/0x7f4
page last free pid 1 tgid 1 stack trace:
 free_unref_page_prepare+0x2a8/0x440
 free_unref_page+0x84/0x2a8
 destroy_args+0x1b8/0x388
 debug_vm_pgtable+0xc40/0x12c0
 do_one_initcall+0x144/0x434
 kernel_init_freeable+0x7d4/0x7f4
 kernel_init+0x28/0x148
 ret_from_kernel_user_thread+0x10/0x18

Memory state around the buggy address:
 c43bea80: fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00
 c43beb00: fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00
>c43beb80: 00 fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00
              ^
 c43bec00: 00 00 fc fc fc fc fc fc 00 00 00 00 00 00 00 00
 c43bec80: 00 00 00 fc fc fc fc fc fc 00 00 00 00 00 00 00
==================================================================

Disabling lock debugging due to kernel taint
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
b43-pci-bridge 0001:00:16.0: enabling device (0004 -> 0006)

------------[ cut here ]------------
kernel BUG at include/linux/swapops.h:466!
Oops: Exception in kernel mode, sig: 5 [#1]
BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2 DEBUG_PAGEALLOC PowerMac
Modules linked in: ssb(+) pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci(+)
CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B              6.8.0-rc7-PMacG4 #1
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
REGS: f40abb90 TRAP: 0700   Tainted: G    B               (6.8.0-rc7-PMacG4)
MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000

GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008
GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240
GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40
GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c

Call Trace:
[f40abc50] [c03c1084] migration_entry_wait_on_locked+0x138/0x34c (unreliable)
[f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988

ohci-pci 0001:00:12.1: OHCI PCI host controller [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0 [f40abf10] [c004697c] do_page_fault+0x28/0x50 [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c --- interrupt: 300 at 0x6f7bd0

NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
REGS: f40abf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc7-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
DAR: a6ed6767 DSISR: 40000000 
GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 

ohci-pci 0001:00:12.1: new USB bus registered, assigned bus number 4 NIP [006f7bd0] 0x6f7bd0
LR [006f7b60] 0x6f7b60
--- interrupt: 300

Code: 5529cffe 7d485010 7d290194 5529063e 2c090000 41820010 2c080000 41a20008 481057b9 813e0000 71290001 40a20008 <0fe00000> 7fa3eb78 3fa061c8 3f40c1f7 
---[ end trace 0000000000000000 ]---

[...]

Also got a different hit "BUG: KASAN: slab-out-of-bounds in handle_mm_fault+0x9d4/0x19ac" with a slightly different .config with kernel 6.8-rc6. Kernel .config + both 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.8.0-rc7-PMacG4 (root@T1000) (gcc (Gentoo 13.2.1_p20240210 p13) 13.2.1 20240210, GNU ld (Gentoo 2.41 p4) 2.41.0) #1 SMP Tue Mar  5 01:35:43 CET 2024
[    0.000000] KASAN init done
[    0.000000] ioremap() called early from pmac_feature_init+0x2a0/0x11e4. 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+0x234/0x6dc. 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+0x1e4/0x6c0. Use early_ioremap() instead
[    0.000000] ioremap() called early from find_via_pmu+0x4cc/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=3393, gen1=3394
[    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 29 pages/cpu s24800 r8192 d85792 u118784
[    0.000000] pcpu-alloc: s24800 r8192 d85792 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Kernel command line: ro debug_pagealloc=on page_owner=on root=/dev/sda5 slub_debug=FZP page_poison=1 [email protected]/eth0,[email protected]/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: 522560
[    0.000000] allocated 35651584 bytes of page_ext
[    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]   * 0xf5115000..0xf5400000  : early ioremap
[    0.000000]   * 0xf1000000..0xf5110000  : vmalloc & ioremap
[    0.000000]   * 0xb0000000..0xc0000000  : modules
[    0.000000] Memory: 1898556K/2097152K available (23444K kernel code, 1980K rwdata, 5228K rodata, 1624K init, 408K bss, 198596K reserved, 0K cma-reserved, 1212416K highmem)
[    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] Node 0, zone      DMA: page owner found early allocated 49 pages
[    0.000000] Node 0, zone  HighMem: page owner found early allocated 0 pages
[    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] 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.000009] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b9699db, max_idle_ns: 440795204297 ns
[    0.000575] clocksource: timebase mult[18012db2] shift[24] registered
[    0.001096] clockevent: decrementer mult[aaa249b] shift[32] cpu[0]
[    0.004607] Console: colour dummy device 80x25
[    0.005105] printk: legacy console [tty0] enabled
[    0.005589] printk: legacy bootconsole [udbg0] disabled
[    0.006165] pid_max: default: 32768 minimum: 301
[    0.011033] LSM: initializing lsm=capability,yama
[    0.011250] Yama: becoming mindful.
[    0.013927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.014103] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.031947] PowerMac SMP probe found 2 cpus
[    0.033045] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
[    0.033680]  channel 0 bus <multibus>
[    0.033776]  channel 1 bus <multibus>
[    0.034076] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
[    0.034212]  channel 0 bus <multibus>
[    0.034341] PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
[    0.035023]  channel 1 bus <multibus>
[    0.035120]  channel 2 bus <multibus>
[    0.035366] pmf: no parser for command 17 !
[    0.035519] Processor timebase sync using GPIO 0x73
[    0.035554] mpic: requesting IPIs...
[    0.035989] CPU0: L2CR is 80000000
[    0.036024] CPU0: L3CR is 9c030000
[    0.043332] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.044034] MPC7450 family performance monitor hardware support registered
[    0.044905] rcu: Hierarchical SRCU implementation.
[    0.045010] rcu: 	Max phase no-delay instances is 1000.
[    0.048608] smp: Bringing up secondary CPUs ...
[84919679.535921] CPU1: L2CR was 0
[84919679.536008] CPU1: L2CR set to 80000000
[84919679.536022] CPU1: L3CR was 0
[84919679.536171] CPU1: L3CR set to 9c030000
[    0.055844] smp: Brought up 1 node, 2 CPUs
[    0.064159] devtmpfs: initialized
[    0.067648] Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1"
[    0.068248] Duplicate name in l2-cache#1, renamed to "l2-cache#1"
[    0.070286] Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1"
[    0.070773] Duplicate name in l2-cache#1, renamed to "l2-cache#1"
[    0.095681] Duplicate name in gpio@50, renamed to "gpio5@6f#1"
[    0.096168] Duplicate name in gpio@50, renamed to "gpio6@70#1"
[    0.096979] Duplicate name in gpio@50, renamed to "gpio11@75#1"
[    0.097450] Duplicate name in gpio@50, renamed to "extint-gpio15@67#1"
[    0.134662] Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
[    0.134783] PCI host bridge /pci@f0000000  ranges:
[    0.134878]  MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000 
[    0.134947]   IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
[    0.151765]  MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000 
[    0.152093] Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
[    0.152152] PCI host bridge /pci@f2000000 (primary) ranges:
[    0.152239]  MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000 
[    0.152306]   IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
[    0.169140]  MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 
[    0.169471] Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
[    0.169531] PCI host bridge /pci@f4000000  ranges:
[    0.169614]  MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000 
[    0.169670]   IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
[    0.187017] Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
[    0.189037] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.189360] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.199748] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.231691] PCI: Probing PCI hardware
[    0.234486] PCI host bridge to bus 0000:00
[    0.234583] pci_bus 0000:00: root bus resource [io  0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff])
[    0.234660] pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
[    0.234718] pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff]
[    0.234783] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.234832] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.236686] pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000 conventional PCI endpoint
[    0.239142] pci 0000:00:10.0: [1002:4150] type 00 class 0x030000 conventional PCI endpoint
[    0.239249] pci 0000:00:10.0: BAR 0 [mem 0xa0000000-0xafffffff pref]
[    0.239309] pci 0000:00:10.0: BAR 1 [io  0xff780400-0xff7804ff]
[    0.239360] pci 0000:00:10.0: BAR 2 [mem 0x90000000-0x9000ffff]
[    0.239434] pci 0000:00:10.0: ROM [mem 0x90020000-0x9003ffff pref]
[    0.239548] pci 0000:00:10.0: supports D1 D2
[    0.242355] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.245059] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
[    0.245234] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
[    0.245406] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
[    0.245554] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825
[    0.245726] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869
[    0.245892] OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092
[    0.246032] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
[    0.246161] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
[    0.246290] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
[    0.246420] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869
[    0.246584] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
[    0.246715] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
[    0.249560] pci_bus 0001:00: Fixed dependency cycle(s) with /pci@f2000000/mac-io@17/interrupt-controller@40000
[    0.249824] PCI host bridge to bus 0001:00
[    0.249880] pci_bus 0001:00: root bus resource [io  0x0000-0x7fffff]
[    0.249940] pci_bus 0001:00: root bus resource [mem 0xf3000000-0xf3ffffff]
[    0.249997] pci_bus 0001:00: root bus resource [mem 0x80000000-0x8fffffff]
[    0.250058] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.250105] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.251460] pci 0001:00:0b.0: [106b:0035] type 00 class 0x060000 conventional PCI endpoint
[    0.253405] pci 0001:00:12.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.253500] pci 0001:00:12.0: BAR 0 [mem 0x8008c000-0x8008cfff]
[    0.253643] pci 0001:00:12.0: supports D1 D2
[    0.253682] pci 0001:00:12.0: PME# supported from D0 D1 D2 D3hot
[    0.255497] pci 0001:00:12.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.255591] pci 0001:00:12.1: BAR 0 [mem 0x8008b000-0x8008bfff]
[    0.255735] pci 0001:00:12.1: supports D1 D2
[    0.255773] pci 0001:00:12.1: PME# supported from D0 D1 D2 D3hot
[    0.257530] pci 0001:00:12.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint
[    0.257622] pci 0001:00:12.2: BAR 0 [mem 0x80081000-0x800810ff]
[    0.257765] pci 0001:00:12.2: supports D1 D2
[    0.257803] pci 0001:00:12.2: PME# supported from D0 D1 D2 D3hot
[    0.259710] pci 0001:00:13.0: [1095:3112] type 00 class 0x018000 conventional PCI endpoint
[    0.259804] pci 0001:00:13.0: BAR 0 [io  0x0460-0x0467]
[    0.259856] pci 0001:00:13.0: BAR 1 [io  0x0450-0x0453]
[    0.259903] pci 0001:00:13.0: BAR 2 [io  0x0440-0x0447]
[    0.259949] pci 0001:00:13.0: BAR 3 [io  0x0430-0x0433]
[    0.259996] pci 0001:00:13.0: BAR 4 [io  0x0420-0x042f]
[    0.260045] pci 0001:00:13.0: BAR 5 [mem 0x80082000-0x800821ff]
[    0.260094] pci 0001:00:13.0: ROM [mem 0x80100000-0x8017ffff pref]
[    0.260198] pci 0001:00:13.0: supports D1 D2
[    0.261682] pci 0001:00:15.0: [9710:9865] type 00 class 0x070002 conventional PCI endpoint
[    0.261775] pci 0001:00:15.0: BAR 0 [io  0x0410-0x0417]
[    0.261828] pci 0001:00:15.0: BAR 1 [mem 0x8008a000-0x8008afff]
[    0.261891] pci 0001:00:15.0: BAR 4 [mem 0x80089000-0x80089fff]
[    0.262008] pci 0001:00:15.0: supports D1 D2
[    0.262047] pci 0001:00:15.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.263810] pci 0001:00:15.1: [9710:9865] type 00 class 0x070002 conventional PCI endpoint
[    0.263901] pci 0001:00:15.1: BAR 0 [io  0x0400-0x0407]
[    0.263954] pci 0001:00:15.1: BAR 1 [mem 0x80088000-0x80088fff]
[    0.264016] pci 0001:00:15.1: BAR 4 [mem 0x80087000-0x80087fff]
[    0.264133] pci 0001:00:15.1: supports D1 D2
[    0.264171] pci 0001:00:15.1: PME# supported from D0 D1 D2 D3hot D3cold
[    0.265658] pci 0001:00:15.2: [ffff:9865] type 00 class 0x070103 conventional PCI endpoint
[    0.265751] pci 0001:00:15.2: BAR 0 [io  0x0000-0x0007]
[    0.265802] pci 0001:00:15.2: BAR 1 [io  0x0000-0x0007]
[    0.265849] pci 0001:00:15.2: BAR 2 [mem 0x00000000-0x00000fff]
[    0.265904] pci 0001:00:15.2: BAR 4 [mem 0x00000000-0x00000fff]
[    0.266019] pci 0001:00:15.2: supports D1 D2
[    0.266056] pci 0001:00:15.2: PME# supported from D0 D1 D2 D3hot D3cold
[    0.268271] pci 0001:00:16.0: [14e4:4320] type 00 class 0x028000 conventional PCI endpoint
[    0.268368] pci 0001:00:16.0: BAR 0 [mem 0x8008e000-0x8008ffff]
[    0.268513] pci 0001:00:16.0: supports D1 D2
[    0.268551] pci 0001:00:16.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.269904] pci 0001:00:17.0: [106b:0022] type 00 class 0xff0000 conventional PCI endpoint
[    0.269995] pci 0001:00:17.0: BAR 0 [mem 0x80000000-0x8007ffff]
[    0.272091] pci 0001:00:18.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint
[    0.272186] pci 0001:00:18.0: BAR 0 [mem 0x80086000-0x80086fff]
[    0.273453] pci 0001:00:19.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint
[    0.273543] pci 0001:00:19.0: BAR 0 [mem 0x80085000-0x80085fff]
[    0.275475] pci 0001:00:1b.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.275573] pci 0001:00:1b.0: BAR 0 [mem 0x80084000-0x80084fff]
[    0.275719] pci 0001:00:1b.0: supports D1 D2
[    0.275758] pci 0001:00:1b.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.277567] pci 0001:00:1b.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.277660] pci 0001:00:1b.1: BAR 0 [mem 0x80083000-0x80083fff]
[    0.277804] pci 0001:00:1b.1: supports D1 D2
[    0.277842] pci 0001:00:1b.1: PME# supported from D0 D1 D2 D3hot D3cold
[    0.279737] pci 0001:00:1b.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint
[    0.279831] pci 0001:00:1b.2: BAR 0 [mem 0x80080000-0x800800ff]
[    0.279976] pci 0001:00:1b.2: supports D1 D2
[    0.280014] pci 0001:00:1b.2: PME# supported from D0 D1 D2 D3hot D3cold
[    0.281627] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 00
[    0.286958] PCI host bridge to bus 0002:00
[    0.287048] pci_bus 0002:00: root bus resource [io  0x880000-0x107ffff] (bus address [0x0000-0x7fffff])
[    0.287123] pci_bus 0002:00: root bus resource [mem 0xf5000000-0xf5ffffff]
[    0.287187] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.287233] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.288598] pci 0002:00:0b.0: [106b:0036] type 00 class 0x060000 conventional PCI endpoint
[    0.290026] pci 0002:00:0d.0: [106b:0033] type 00 class 0xff0000 conventional PCI endpoint
[    0.290119] pci 0002:00:0d.0: BAR 0 [mem 0xf5004000-0xf5007fff]
[    0.292520] pci 0002:00:0e.0: [106b:0031] type 00 class 0x0c0010 conventional PCI endpoint
[    0.292619] pci 0002:00:0e.0: BAR 0 [mem 0xf5000000-0xf5000fff]
[    0.292757] pci 0002:00:0e.0: supports D1 D2
[    0.292796] pci 0002:00:0e.0: PME# supported from D0 D1 D2 D3hot
[    0.294551] pci 0002:00:0f.0: [106b:0032] type 00 class 0x020000 conventional PCI endpoint
[    0.294644] pci 0002:00:0f.0: BAR 0 [mem 0xf5200000-0xf53fffff]
[    0.294736] pci 0002:00:0f.0: ROM [mem 0xf5100000-0xf51fffff pref]
[    0.298025] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 00
[    0.299522] PCI 0000:00 Cannot reserve Legacy IO [io  0xff780000-0xff780fff]
[    0.299607] PCI 0001:00 Cannot reserve Legacy IO [io  0x0000-0x0fff]
[    0.299683] pci_bus 0000:00: resource 4 [io  0xff780000-0xfff7ffff]
[    0.299729] pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
[    0.299771] pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff]
[    0.299883] pci 0001:00:15.2: BAR 2 [mem 0xf3000000-0xf3000fff]: assigned
[    0.299944] pci 0001:00:15.2: BAR 4 [mem 0xf3001000-0xf3001fff]: assigned
[    0.299999] pci 0001:00:15.2: BAR 0 [io  0x1000-0x1007]: assigned
[    0.300050] pci 0001:00:15.2: BAR 1 [io  0x1008-0x100f]: assigned
[    0.300120] pci_bus 0001:00: resource 4 [io  0x0000-0x7fffff]
[    0.300163] pci_bus 0001:00: resource 5 [mem 0xf3000000-0xf3ffffff]
[    0.300204] pci_bus 0001:00: resource 6 [mem 0x80000000-0x8fffffff]
[    0.300251] pci_bus 0002:00: resource 4 [io  0x880000-0x107ffff]
[    0.300293] pci_bus 0002:00: resource 5 [mem 0xf5000000-0xf5ffffff]
[    0.379276] raid6: altivecx8 gen()  1346 MB/s
[    0.436155] raid6: altivecx4 gen()  1448 MB/s
[    0.493019] raid6: altivecx2 gen()  1249 MB/s
[    0.549907] raid6: altivecx1 gen()   878 MB/s
[    0.606785] raid6: int32x8  gen()   169 MB/s
[    0.663663] raid6: int32x4  gen()   179 MB/s
[    0.720620] raid6: int32x2  gen()   198 MB/s
[    0.777432] raid6: int32x1  gen()   158 MB/s
[    0.777467] raid6: using algorithm altivecx4 gen() 1448 MB/s
[    0.777499] raid6: using intx1 recovery algorithm
[    0.788654] SCSI subsystem initialized
[    0.791769] libata version 3.00 loaded.
[    0.795435] usbcore: registered new interface driver usbfs
[    0.795904] usbcore: registered new interface driver hub
[    0.796847] usbcore: registered new device driver usb
[    0.814816] pci 0000:00:10.0: vgaarb: setting as boot VGA device
[    0.814906] pci 0000:00:10.0: vgaarb: bridge control possible
[    0.814945] pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
[    0.815051] vgaarb: loaded
[    0.816131] clocksource: Switched to clocksource timebase
[    0.932405] NET: Registered PF_INET protocol family
[    0.935047] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.943862] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear)
[    0.947447] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.949322] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.956947] TCP bind hash table entries: 8192 (order: 6, 327680 bytes, linear)
[    0.958265] TCP: Hash tables configured (established 8192 bind 8192)
[    0.960742] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[    0.961405] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[    0.963147] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.964406] pci 0001:00:12.0: enabling device (0000 -> 0002)
[    0.964608] pci 0001:00:12.1: enabling device (0000 -> 0002)
[    0.964728] pci 0001:00:12.2: enabling device (0004 -> 0006)
[    0.964926] Apple USB OHCI 0001:00:18.0 disabled by firmware
[    0.964965] pci 0001:00:18.0: Can't enable PCI device, BIOS handoff failed.
[    0.965020] Apple USB OHCI 0001:00:19.0 disabled by firmware
[    0.965054] pci 0001:00:19.0: Can't enable PCI device, BIOS handoff failed.
[    0.965116] pci 0001:00:1b.0: enabling device (0000 -> 0002)
[    0.965227] pci 0001:00:1b.1: enabling device (0000 -> 0002)
[    0.965332] pci 0001:00:1b.2: enabling device (0004 -> 0006)
[    0.965480] pci 0002:00:0f.0: CLS mismatch (32 != 1020), using 32 bytes
[    0.971043] Thermal assist unit not available
[    0.983073] Initialise system trusted keyrings
[    0.984242] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.008238] fuse: init (API version 7.39)
[    1.011336] 9p: Installing v9fs 9p2000 file system support
[    1.014374] NET: Registered PF_ALG protocol family
[    1.014683] xor: measuring software checksum speed
[    1.058513]    8regs           :   224 MB/sec
[    1.104960]    8regs_prefetch  :   212 MB/sec
[    1.150518]    32regs          :   216 MB/sec
[    1.198225]    32regs_prefetch :   206 MB/sec
[    1.202493]    altivec         :  2337 MB/sec
[    1.202528] xor: using function: altivec (2337 MB/sec)
[    1.202598] Key type asymmetric registered
[    1.202634] Asymmetric key parser 'x509' registered
[    1.227477] bounce: pool size: 64 pages
[    1.228604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.229268] io scheduler bfq registered
[    1.240464] atomic64_test: passed
[    1.243222] Using unsupported 1920x1080 (null) at a0008000, depth=8, pitch=2048
[    1.297856] Console: switching to colour frame buffer device 240x67
[    1.342904] fb0: Open Firmware frame buffer device on /pci@f0000000/ATY,AlteracParent@10/ATY,Alterac_A@0
[    1.347528] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.367608] serial 0001:00:15.0: enabling device (0004 -> 0007)
[    1.374817] 0001:00:15.0: ttyS0 at I/O 0x410 (irq = 58, base_baud = 115200) is a 16550A
[    1.377626] serial 0001:00:15.1: enabling device (0004 -> 0007)
[    1.383485] 0001:00:15.1: ttyS1 at I/O 0x400 (irq = 58, base_baud = 115200) is a 16550A
[    1.395334] MacIO PCI driver attached to Keylargo chipset
[    1.427857] sata_sil 0001:00:13.0: version 2.4
[    1.428763] sata_sil 0001:00:13.0: enabling device (0004 -> 0007)
[    1.440974] scsi host0: sata_sil
[    1.447949] scsi host1: sata_sil
[    1.450456] ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53 lpm-pol 0
[    1.450799] ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53 lpm-pol 0
[    1.452885] pata-pci-macio 0002:00:0d.0: enabling device (0004 -> 0006)
[    1.469549] pata-pci-macio 0002:00:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
[    1.478712] scsi host2: pata_macio
[    1.481791] ata3: PATA max UDMA/100 irq 39 lpm-pol 0
[    1.766344] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.769662] ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133
[    1.769963] ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32)
[    1.771663] ata1.00: Features: Dev-Sleep
[    1.794532] ata1.00: configured for UDMA/100
[    1.797916] scsi 0:0:0:0: Direct-Access     ATA      SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5
[    1.808495] sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB)
[    1.809088] sd 0:0:0:0: [sda] Write Protect is off
[    1.809378] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.810112] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.810982] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    1.822301]  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[    1.836490] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.292840] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.295777] ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133
[    2.296079] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.299104] ata2.00: configured for UDMA/100
[    2.301503] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5
[    2.313187] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.313565] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    2.314047] sd 1:0:0:0: [sdb] Write Protect is off
[    2.314286] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    2.315051] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.315927] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[    2.512845] pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
[    2.532559] scsi host3: pata_macio
[    2.545718] ata4: PATA max UDMA/66 irq 19 lpm-pol 0
[    2.715630] ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66
[    2.726681] ata4.00: 1009008 sectors, multi 1: LBA 
[    3.046820]  sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
[    3.071020] sd 1:0:0:0: [sdb] Attached SCSI disk
[    3.085305] scsi 3:0:0:0: Direct-Access     ATA      DeLOCK 54143 512 11E  PQ: 0 ANSI: 5
[    3.106659] sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB)
[    3.117975] sd 3:0:0:0: [sdc] Write Protect is off
[    3.128825] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    3.140099] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.151776] sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
[    3.173388]  sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
[    3.195153] sd 3:0:0:0: [sdc] Attached SCSI disk
[    3.579548] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
[    3.600026] scsi host4: pata_macio
[    3.614079] ata5: PATA max MWDMA2 irq 20 lpm-pol 0
[    3.628122] sungem.c:v1.0 David S. Miller <[email protected]>
[    3.651059] gem 0002:00:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a
[    3.669970] ehci-pci 0001:00:12.2: EHCI Host Controller
[    3.682139] ehci-pci 0001:00:12.2: new USB bus registered, assigned bus number 1
[    3.683404] rtc-generic rtc-generic: registered as rtc0
[    3.695295] ehci-pci 0001:00:12.2: irq 52, io mem 0x80081000
[    3.708935] PowerMac i2c bus pmu 2 registered
[    3.729497] ehci-pci 0001:00:12.2: USB 2.0 started, EHCI 1.00
[    3.730920] PowerMac i2c bus pmu 1 registered
[    3.743238] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    3.756935] PowerMac i2c bus mac-io 0 registered
[    3.764067] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.776996] i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
[    3.787043] usb usb1: Product: EHCI Host Controller
[    3.799953] PowerMac i2c bus uni-n 1 registered
[    3.810064] usb usb1: Manufacturer: Linux 6.8.0-rc7-PMacG4 ehci_hcd
[    3.821518] i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
[    3.833020] usb usb1: SerialNumber: 0001:00:12.2
[    3.847635] ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
[    3.868760] PowerMac i2c bus uni-n 0 registered
[    3.872827] hub 1-0:1.0: USB hub found
[    3.887243] hid: raw HID events driver (C) Jiri Kosina
[    3.892828] hub 1-0:1.0: 5 ports detected
[    3.907442] usbcore: registered new interface driver usbhid
[    3.925885] ehci-pci 0001:00:1b.2: EHCI Host Controller
[    3.927890] usbhid: USB HID core driver
[    3.941437] scsi 4:0:0:0: CD-ROM            _NEC     DVD_RW ND-3520A  1.04 PQ: 0 ANSI: 5
[    3.954811] NET: Registered PF_INET6 protocol family
[    3.963904] ehci-pci 0001:00:1b.2: new USB bus registered, assigned bus number 2
[    3.991155] ehci-pci 0001:00:1b.2: irq 63, io mem 0x80080000
[    4.008260] Segment Routing with IPv6
[    4.020716] In-situ OAM (IOAM) with IPv6
[    4.022826] ehci-pci 0001:00:1b.2: USB 2.0 started, EHCI 1.00
[    4.034388] sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[    4.045982] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    4.056199] cdrom: Uniform CD-ROM driver Revision: 3.20
[    4.068124] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.080659] 9pnet: Installing 9P2000 support
[    4.092174] usb usb2: Product: EHCI Host Controller
[    4.107994] drmem: No dynamic reconfiguration memory found
[    4.115944] usb usb2: Manufacturer: Linux 6.8.0-rc7-PMacG4 ehci_hcd
[    4.115968] usb usb2: SerialNumber: 0001:00:1b.2
[    4.157747] hub 2-0:1.0: USB hub found
[    4.169761] hub 2-0:1.0: 5 ports detected
[    4.191462] sr 4:0:0:0: Attached scsi CD-ROM sr0
[    4.272876] usb 1-3: new high-speed USB device number 2 using ehci-pci
[    4.272953] registered taskstats version 1
[    4.300130] Loading compiled-in X.509 certificates
[    4.445987] usb 1-3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[    4.457894] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.469518] usb 1-3: Product: USB2.0 Hub
[    4.485416] hub 1-3:1.0: USB hub found
[    4.497598] hub 1-3:1.0: 4 ports detected
[    4.751037] zswap: loaded using pool zstd/zsmalloc
[    4.765019] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    4.778325] page_owner is disabled
[    4.802853] usb 1-3.1: new low-speed USB device number 3 using ehci-pci
[    4.880404] Btrfs loaded, zoned=no, fsverity=no
[    4.946594] usb 1-3.1: New USB device found, idVendor=04d9, idProduct=0006, bcdDevice= 1.40
[    4.958714] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.970525] usb 1-3.1: Product: RPI Wired Keyboard 5
[    4.982190] usb 1-3.1: Manufacturer:  
[    5.019258] input:   RPI Wired Keyboard 5 as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0/0003:04D9:0006.0001/input/input0
[    5.095364] hid-generic 0003:04D9:0006.0001: input,hidraw0: USB HID v1.11 Keyboard [  RPI Wired Keyboard 5] on usb-0001:00:12.2-3.1/input0
[    5.129615] input:   RPI Wired Keyboard 5 as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:04D9:0006.0002/input/input1
[    5.199620] hid-generic 0003:04D9:0006.0002: input,hidraw1: USB HID v1.11 Device [  RPI Wired Keyboard 5] on usb-0001:00:12.2-3.1/input1
[    5.289525] usb 1-3.3: new low-speed USB device number 4 using ehci-pci
[    5.403965] usb 1-3.3: New USB device found, idVendor=275d, idProduct=0ba6, bcdDevice= 1.00
[    5.416612] usb 1-3.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.429122] usb 1-3.3: Product: USB OPTICAL MOUSE 
[    5.455597] input: USB OPTICAL MOUSE  as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.3/1-3.3:1.0/0003:275D:0BA6.0003/input/input2
[    5.471794] hid-generic 0003:275D:0BA6.0003: input,hidraw2: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-0001:00:12.2-3.3/input0
[    8.497805] input: PMU as /devices/virtual/input/input3
[    8.513051] netpoll: netconsole: local port 6666
[    8.526031] netpoll: netconsole: local IPv4 address 192.168.2.8
[    8.538918] netpoll: netconsole: interface 'eth0'
[    8.551650] netpoll: netconsole: remote port 6666
[    8.564198] netpoll: netconsole: remote IPv4 address 192.168.2.3
[    8.576672] netpoll: netconsole: remote ethernet address a8:a1:59:16:4f:ea
[    8.589112] netpoll: netconsole: device eth0 not up yet, forcing it
[    8.699876] sungem_phy: PHY ID: 2060e1, addr: 0
[    8.712570] gem 0002:00:0f.0 eth0: Found BCM5421 PHY
[   12.379815] gem 0002:00:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
[   12.392219] gem 0002:00:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
[   12.412813] printk: legacy console [netcon0] enabled
[   12.456794] netconsole: network logging started
[   12.516001] EXT4-fs (sda5): mounted filesystem fa07e66f-b4f9-404f-85d8-487d3c097aec ro with ordered data mode. Quota mode: disabled.
[   12.529694] VFS: Mounted root (ext4 filesystem) readonly on device 8:5.
[   12.550843] devtmpfs: mounted
[   12.569311] Freeing unused kernel image (initmem) memory: 1624K
[   12.616521] Checked W+X mappings: passed, no W+X pages found
[   12.629344] rodata_test: all tests were successful
[   12.642030] Run /sbin/init as init process
[   12.654532]   with arguments:
[   12.666836]     /sbin/init
[   12.678990]   with environment:
[   12.691384]     HOME=/
[   12.703556]     TERM=linux
[   17.549489] random: crng init done
[   32.498236] ==================================================================
[   32.509250] BUG: KASAN: slab-out-of-bounds in filemap_map_pages+0x5e8/0x98c
[   32.520088] Read of size 4 at addr c43beb88 by task (udev-worker)/595
[   32.530820] 
[   32.541367] CPU: 0 PID: 595 Comm: (udev-worker) Not tainted 6.8.0-rc7-PMacG4 #1
[   32.552277] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   32.563081] Call Trace:
[   32.564273] ohci-pci 0001:00:12.0: OHCI PCI host controller
[   32.573485] [f40abc10] [c1675c5c] dump_stack_lvl+0x60/0x80 (unreliable)
[   32.573549] [f40abc30] [c04c4fd4] print_report+0xd4/0x4fc
[   32.604502] [f40abc80] [c04c5680] kasan_report+0xfc/0x10c
[   32.614223] [f40abd00] [c03bd348] filemap_map_pages+0x5e8/0x98c
[   32.623876] [f40abde0] [c0447380] handle_mm_fault+0x14fc/0x1988
[   32.633477] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[   32.643019] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[   32.652445] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[   32.660352] ohci-pci 0001:00:12.0: new USB bus registered, assigned bus number 3
[   32.661480] --- interrupt: 300 at 0x8a5d50
[   32.680420] NIP:  008a5d50 LR: 008a5cd4 CTR: 00486290
[   32.689467] REGS: f40abf40 TRAP: 0300   Not tainted  (6.8.0-rc7-PMacG4)
[   32.698616] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 24004280  XER: 00000000
[   32.703805] ohci-pci 0001:00:12.0: irq 52, io mem 0x8008c000
[   32.707886] DAR: a6ed7038 DSISR: 40000000 
[   32.707886] GPR00: 008a6a1c afe0f3a0 a7adf6e0 013d9620 013aefd0 00000000 00000000 00000000 
[   32.707886] GPR08: 00000000 a6ed7038 00000000 afe0fbf0 44004280 009afaf4 afe0fc9c afe0fcb4 
[   32.707886] GPR16: afe0fcb0 afe0fca8 afe0fcb8 00000000 afe0fcac a6ed7000 0000005b 0000003f 
[   32.707886] GPR24: 0000002a afe0f3b4 013aefd0 00000000 013d9620 013d9620 009b311c afe0f3a0 
[   32.764896] NIP [008a5d50] 0x8a5d50
[   32.774372] LR [008a5cd4] 0x8a5cd4
[   32.783671] --- interrupt: 300
[   32.792911] 
[   32.802003] Allocated by task 1 on cpu 1 at 4.791311s:
[   32.810926]  kasan_save_stack+0x38/0x54
[   32.819754]  kasan_save_track+0x20/0x3c
[   32.828458]  __kasan_slab_alloc+0x60/0x6c
[   32.837106]  kmem_cache_alloc+0x19c/0x264
[   32.845714]  __kernfs_new_node+0xfc/0x54c
[   32.854278]  kernfs_new_node+0x138/0x180
[   32.858137] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.08
[   32.862780]  __kernfs_create_file+0x44/0x2c8
[   32.862809]  sysfs_add_file_mode_ns+0x284/0x304
[   32.862829]  internal_create_group+0x7dc/0xa54
[   32.862848]  sysfs_slab_add+0xb0/0x240
[   32.872028] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   32.880910]  __kmem_cache_create+0xf0/0x2cc
[   32.880937]  kmem_cache_create_usercopy+0x150/0x21c
[   32.890044] usb usb3: Product: OHCI PCI host controller
[   32.899047]  bioset_init+0x4fc/0x808
[   32.899078]  btrfs_init_compress+0x38/0x25c
[   32.899103]  init_btrfs_fs+0xa8/0x288
[   32.899120]  do_one_initcall+0x144/0x434
[   32.908277] usb usb3: Manufacturer: Linux 6.8.0-rc7-PMacG4 ohci_hcd
[   32.917500]  kernel_init_freeable+0x7d4/0x7f4
[   32.926854] usb usb3: SerialNumber: 0001:00:12.0
[   32.936069]  kernel_init+0x28/0x148
[   32.936100]  ret_from_kernel_user_thread+0x10/0x18
[   32.936117] 
[   32.936122] The buggy address belongs to the object at c43beb30
[   32.936122]  which belongs to the cache kernfs_node_cache of size 88
[   32.936137] The buggy address is located 0 bytes to the right of
[   32.936137]  allocated 88-byte region [c43beb30, c43beb88)
[   32.936153] 
[   32.936162] The buggy address belongs to the physical page:
[   32.936172] page:eee706b8 refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x43be
[   32.936187] flags: 0x800(slab|zone=0)
[   32.936205] page_type: 0xffffffff()
[   32.936227] raw: 00000800 c208ee20 00000100 00000122 00000000 001e003c ffffffff 00000001
[   33.138176] raw: 00000000
[   33.147942] page dumped because: kasan: bad access detected
[   33.157749] page_owner tracks the page as allocated
[   33.167500] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 4790613568, free_ts 4778274944
[   33.177941]  prep_new_page+0x24/0x9c
[   33.188206]  get_page_from_freelist+0xcd0/0xeec
[   33.198459]  __alloc_pages+0x1e0/0xe08
[   33.208665]  alloc_slab_page+0x30/0x6c
[   33.218920]  new_slab+0xb4/0x308
[   33.228986]  ___slab_alloc+0x400/0x5c8
[   33.239077]  kmem_cache_alloc+0xfc/0x264
[   33.249148]  __kernfs_new_node+0xfc/0x54c
[   33.259194]  kernfs_new_node+0x138/0x180
[   33.269237]  __kernfs_create_file+0x44/0x2c8
[   33.279284]  sysfs_add_file_mode_ns+0x284/0x304
[   33.289420]  sysfs_merge_group+0x2e0/0x310
[   33.299377]  btrfs_init_sysfs+0x3a8/0x52c
[   33.309239]  init_btrfs_fs+0xa8/0x288
[   33.319057]  do_one_initcall+0x144/0x434
[   33.328954]  kernel_init_freeable+0x7d4/0x7f4
[   33.338733] page last free pid 1 tgid 1 stack trace:
[   33.348358]  free_unref_page_prepare+0x2a8/0x440
[   33.358012]  free_unref_page+0x84/0x2a8
[   33.367485]  destroy_args+0x1b8/0x388
[   33.376888]  debug_vm_pgtable+0xc40/0x12c0
[   33.386239]  do_one_initcall+0x144/0x434
[   33.395542]  kernel_init_freeable+0x7d4/0x7f4
[   33.404750]  kernel_init+0x28/0x148
[   33.413937]  ret_from_kernel_user_thread+0x10/0x18
[   33.423200] 
[   33.432593] Memory state around the buggy address:
[   33.441922]  c43bea80: fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00
[   33.451324]  c43beb00: fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00 00
[   33.460705] >c43beb80: 00 fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00
[   33.470034]               ^
[   33.479296]  c43bec00: 00 00 fc fc fc fc fc fc 00 00 00 00 00 00 00 00
[   33.488703]  c43bec80: 00 00 00 fc fc fc fc fc fc 00 00 00 00 00 00 00
[   33.498044] ==================================================================
[   33.508012] Disabling lock debugging due to kernel taint
[   33.541346] hub 3-0:1.0: USB hub found
[   33.653362] hub 3-0:1.0: 3 ports detected
[   33.714951] b43-pci-bridge 0001:00:16.0: enabling device (0004 -> 0006)
[   33.725711] ------------[ cut here ]------------
[   33.735116] kernel BUG at include/linux/swapops.h:466!
[   33.744391] Oops: Exception in kernel mode, sig: 5 [#1]
[   33.753666] BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2 DEBUG_PAGEALLOC PowerMac
[   33.763045] Modules linked in: ssb(+) pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci(+)
[   33.773048] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B              6.8.0-rc7-PMacG4 #1
[   33.783050] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   33.793050] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[   33.803074] REGS: f40abb90 TRAP: 0700   Tainted: G    B               (6.8.0-rc7-PMacG4)
[   33.813362] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[   33.823558] 
[   33.823558] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[   33.823558] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[   33.823558] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[   33.823558] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[   33.874883] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[   33.885321] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[   33.895736] Call Trace:
[   33.906029] [f40abc50] [c03c1084] migration_entry_wait_on_locked+0x138/0x34c (unreliable)
[   33.916670] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[   33.927233] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[   33.937708] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[   33.940913] ohci-pci 0001:00:12.1: OHCI PCI host controller
[   33.948029] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[   33.948082] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[   33.948111] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[   33.948139] --- interrupt: 300 at 0x6f7bd0
[   33.948157] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[   33.948169] REGS: f40abf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc7-PMacG4)
[   33.948181] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[   34.029824] DAR: a6ed6767 DSISR: 40000000 
[   34.029824] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[   34.029824] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[   34.029824] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[   34.029824] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[   34.043034] ohci-pci 0001:00:12.1: new USB bus registered, assigned bus number 4
[   34.079761] NIP [006f7bd0] 0x6f7bd0
[   34.079787] LR [006f7b60] 0x6f7b60
[   34.079798] --- interrupt: 300
[   34.079807] Code: 5529cffe 7d485010 7d290194 5529063e 2c090000 41820010 2c080000 41a20008 481057b9 813e0000 71290001 40a20008 <0fe00000> 7fa3eb78 3fa061c8 3f40c1f7 
[   34.132370] ---[ end trace 0000000000000000 ]---
[   34.143190] 
[   34.153906] note: (udev-worker)[595] exited with irqs disabled
[   34.163211] ssb: Found chip with id 0x4306, rev 0x02 and package 0x00
[   34.238483] b43-pci-bridge 0001:00:16.0: Sonics Silicon Backplane found on PCI device 0001:00:16.0
[   34.448957] ohci-pci 0001:00:12.1: irq 52, io mem 0x8008b000
[   34.800851] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.08
[   34.813315] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   34.824966] usb usb4: Product: OHCI PCI host controller
[   34.836620] usb usb4: Manufacturer: Linux 6.8.0-rc7-PMacG4 ohci_hcd
[   34.848480] usb usb4: SerialNumber: 0001:00:12.1
[   36.218229] hub 4-0:1.0: USB hub found
[   36.358888] [drm] radeon kernel modesetting enabled.
[   36.423206] hub 4-0:1.0: 2 ports detected
[   36.640970] Console: switching to colour dummy device 80x25
[   36.694257] radeon 0000:00:10.0: enabling device (0006 -> 0007)
[   36.701985] Apple USB OHCI 0001:00:18.0 disabled by firmware
[   36.702328] Apple USB OHCI 0001:00:19.0 disabled by firmware
[   36.719721] ohci-pci 0001:00:1b.0: OHCI PCI host controller
[   36.720200] ohci-pci 0001:00:1b.0: new USB bus registered, assigned bus number 5
[   36.721069] ohci-pci 0001:00:1b.0: irq 63, io mem 0x80084000
[   36.725309] [drm] initializing kernel modesetting (RV350 0x1002:0x4150 0x1002:0x0002 0x00).
[   36.725484] [drm] Forcing AGP to PCI mode
[   36.757309] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[   37.014367] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.08
[   37.014669] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   37.014775] usb usb5: Product: OHCI PCI host controller
[   37.014891] usb usb5: Manufacturer: Linux 6.8.0-rc7-PMacG4 ohci_hcd
[   37.015005] usb usb5: SerialNumber: 0001:00:1b.0
[   37.107512] hub 5-0:1.0: USB hub found
[   37.108115] hub 5-0:1.0: 3 ports detected
[   37.174399] ohci-pci 0001:00:1b.1: OHCI PCI host controller
[   37.174793] ohci-pci 0001:00:1b.1: new USB bus registered, assigned bus number 6
[   37.175658] ohci-pci 0001:00:1b.1: irq 63, io mem 0x80083000
[   37.345577] [drm] Generation 2 PCI interface, using max accessible memory
[   37.345917] radeon 0000:00:10.0: VRAM: 256M 0x00000000A0000000 - 0x00000000AFFFFFFF (256M used)
[   37.346043] radeon 0000:00:10.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[   37.346452] [drm] Detected VRAM RAM=256M, BAR=256M
[   37.346553] [drm] RAM width 128bits DDR
[   37.624090] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.08
[   37.624397] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   37.624501] usb usb6: Product: OHCI PCI host controller
[   37.624618] usb usb6: Manufacturer: Linux 6.8.0-rc7-PMacG4 ohci_hcd
[   37.624733] usb usb6: SerialNumber: 0001:00:1b.1
[   37.669716] hub 6-0:1.0: USB hub found
[   37.670219] hub 6-0:1.0: 2 ports detected
[   37.769863] [drm] radeon: 256M of VRAM memory ready
[   37.770198] [drm] radeon: 512M of GTT memory ready.
[   37.771370] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   38.000188] [drm] radeon: 1 quad pipes, 1 Z pipes initialized
[   38.000400] [drm] PCI GART of 512M enabled (table at 0x0000000008D80000).
[   38.000883] radeon 0000:00:10.0: WB enabled
[   38.001051] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000080000000
[   38.024458] [drm] radeon: irq initialized.
[   38.024894] [drm] Loading R300 Microcode
[   38.208534] [drm] radeon: ring at 0x0000000080001000
[   38.208794] [drm] ring test succeeded in 1 usecs
[   38.285261] [drm] ib test succeeded in 0 usecs
[   38.441690] [drm] Radeon Display Connectors
[   38.441946] [drm] Connector 0:
[   38.442062] [drm]   DVI-I-1
[   38.442141] [drm]   HPD2
[   38.442240] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[   38.442329] [drm]   Encoders:
[   38.442400] [drm]     CRT1: INTERNAL_DAC1
[   38.443054] [drm]     DFP2: INTERNAL_DVO1
[   38.443181] [drm] Connector 1:
[   38.443256] [drm]   DVI-I-2
[   38.443325] [drm]   HPD1
[   38.443420] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[   38.443505] [drm]   Encoders:
[   38.443598] [drm]     CRT2: INTERNAL_DAC2
[   38.443699] [drm]     DFP1: INTERNAL_TMDS1
[   38.447632] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0 on minor 0
[   38.881859] [drm] fb mappable at 0xA0040000
[   38.882083] [drm] vram apper at 0xA0000000
[   38.882163] [drm] size 8294400
[   38.882323] [drm] fb depth is 24
[   38.882406] [drm]    pitch is 7680
[   39.224338] firewire_ohci 0002:00:0e.0: enabling device (0000 -> 0002)
[   39.353100] firewire_ohci 0002:00:0e.0: added OHCI v1.10 device as card 0, 8 IR + 8 IT contexts, quirks 0x0
[   39.693275] Console: switching to colour frame buffer device 240x67
[   39.776756] gem 0002:00:0f.0 enP2p0s15: renamed from eth0 (while UP)
[   39.875227] firewire_core 0002:00:0e.0: created device fw0: GUID 000a95fffe9c763a, S800
[   39.974816] radeon 0000:00:10.0: [drm] fb0: radeondrmfb frame buffer device
[   40.712892] ADM1030 fan controller [@2c]
[   40.726379] DS1775 digital thermometer [@49]
[   40.726753] Temp: 54.8 C
[   40.726772]   Hyst: 70.0 C
[   40.726966]   OS: 75.0 C
[   40.727163] 
[   45.607887] snd-aoa-fabric-layout: Using direct GPIOs
[   45.732067] snd-aoa-fabric-layout: can use this codec
[   45.812665] snd-aoa-codec-tas: tas found, addr 0x35 on /pci@f2000000/mac-io@17/i2c@18000/deq@6a
[   48.915194] CPU-temp: 55.0 C
[   48.915238] , Case: 32.5 C
[   48.915585] ,  Fan: 0 (tuned -11)
[   56.052768] watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [(udev-worker):595]
[   56.053325] Modules linked in: snd_aoa_codec_tas cfg80211(+) snd_aoa_fabric_layout snd_aoa rfkill therm_windtunnel firewire_ohci firewire_core crc_itu_t mac_hid snd_aoa_i2sbus snd_aoa_soundbus snd_pcm snd_timer radeon snd soundcore ssb pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci
[   56.055140] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B D            6.8.0-rc7-PMacG4 #1
[   56.055748] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   56.056109] NIP:  c0163f28 LR: c0163f00 CTR: 00000000
[   56.056430] REGS: f40ab5a0 TRAP: 0900   Tainted: G    B D             (6.8.0-rc7-PMacG4)
[   56.056878] MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 480a2b88  XER: 00000000
[   56.057340] 
[   56.057340] GPR00: c0163ef8 f40ab660 c34e8020 00000001 c170a9a0 f40ab6d0 f40ab790 00000000 
[   56.057340] GPR08: 00000007 00000000 00000000 f40ab660 880a2b88 009afaf4 00000000 000f4240 
[   56.057340] GPR16: 00000000 1e81572c c6d868e0 00000001 00259000 c440c000 00000000 f8ca2d10 
[   56.057340] GPR24: 18ca2d11 00000004 00000007 c651688c 18ca2d12 00000000 c6516890 c6516884 
[   56.059334] NIP [c0163f28] do_raw_spin_lock+0x1b8/0x2b4
[   56.059686] LR [c0163f00] do_raw_spin_lock+0x190/0x2b4
[   56.060013] Call Trace:
[   56.060207] [f40ab660] [c0163ef8] do_raw_spin_lock+0x188/0x2b4 (unreliable)
[   56.060626] [f40ab6a0] [c0464378] __pte_offset_map_lock+0x98/0x150
[   56.061016] [f40ab710] [c044164c] unmap_page_range+0x3dc/0xd04
[   56.061525] [f40ab810] [c0442168] unmap_vmas+0x1f4/0x238
[   56.061874] [f40ab8d0] [c0454b08] exit_mmap+0x1c0/0x4b4
[   56.062216] [f40ab9f0] [c008ed44] __mmput+0x78/0x370
[   56.062617] [f40aba20] [c00a5794] do_exit+0xa14/0x1c5c
[   56.062950] [f40abac0] [c00a6cec] sys_exit+0x0/0x68
[   56.063266] [f40abae0] [c0017e98] die+0x4b0/0x4b8
[   56.063576] [f40abb20] [c0017f24] exception_common+0x84/0x304
[   56.077973] [f40abb60] [c0018294] _exception+0x20/0x58
[   56.092107] [f40abb80] [c0004828] ProgramCheck_virt+0x108/0x158
[   56.106231] --- interrupt: 700 at migration_entry_wait_on_locked+0x184/0x34c
[   56.120603] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[   56.135106] REGS: f40abb90 TRAP: 0700   Tainted: G    B D             (6.8.0-rc7-PMacG4)
[   56.149944] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[   56.164785] 
[   56.164785] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[   56.164785] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[   56.164785] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[   56.164785] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[   56.240768] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[   56.256428] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[   56.272137] --- interrupt: 700
[   56.287937] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[   56.303931] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[   56.319869] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[   56.335722] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[   56.351532] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[   56.367345] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[   56.383216] --- interrupt: 300 at 0x6f7bd0
[   56.399155] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[   56.415406] REGS: f40abf40 TRAP: 0300   Tainted: G    B D             (6.8.0-rc7-PMacG4)
[   56.431702] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[   56.448009] DAR: a6ed6767 DSISR: 40000000 
[   56.448009] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[   56.448009] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[   56.448009] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[   56.448009] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[   56.528672] NIP [006f7bd0] 0x6f7bd0
[   56.544691] LR [006f7b60] 0x6f7b60
[   56.560636] --- interrupt: 300
[   56.576664] Code: 7fe3fb78 4bfff879 2c030000 41a20058 57f7e8fe 57fa077e 3ac00000 3ef7e000 3b5a0003 89370000 7d2a0774 5529cffe <7d0ad010> 7d29b114 5529063e 2c090000 
[   80.052763] watchdog: BUG: soft lockup - CPU#0 stuck for 45s! [(udev-worker):595]
[   80.070196] Modules linked in: snd_aoa_codec_tas cfg80211(+) snd_aoa_fabric_layout snd_aoa rfkill therm_windtunnel firewire_ohci firewire_core crc_itu_t mac_hid snd_aoa_i2sbus snd_aoa_soundbus snd_pcm snd_timer radeon snd soundcore ssb pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci
[   80.107565] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B D      L     6.8.0-rc7-PMacG4 #1
[   80.126329] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   80.144971] NIP:  c0163f54 LR: c0163f00 CTR: 00000000
[   80.163652] REGS: f40ab5a0 TRAP: 0900   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   80.182709] MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 480a2b88  XER: 00000000
[   80.201879] 
[   80.201879] GPR00: c0163ef8 f40ab660 c34e8020 00000001 c170a9a0 f40ab6d0 f40ab790 00000000 
[   80.201879] GPR08: 00000007 00000001 00000000 f40ab660 880a2b88 009afaf4 00000000 000f4240 
[   80.201879] GPR16: 00000000 1e81572c c6d868e0 00000001 00259000 c440c000 00000000 f8ca2d10 
[   80.201879] GPR24: 18ca2d11 00000004 00000007 c651688c 18ca2d12 00000000 c6516890 c6516884 
[   80.290323] NIP [c0163f54] do_raw_spin_lock+0x1e4/0x2b4
[   80.307908] LR [c0163f00] do_raw_spin_lock+0x190/0x2b4
[   80.325326] Call Trace:
[   80.342586] [f40ab660] [c0163ef8] do_raw_spin_lock+0x188/0x2b4 (unreliable)
[   80.360032] [f40ab6a0] [c0464378] __pte_offset_map_lock+0x98/0x150
[   80.377448] [f40ab710] [c044164c] unmap_page_range+0x3dc/0xd04
[   80.394845] [f40ab810] [c0442168] unmap_vmas+0x1f4/0x238
[   80.412160] [f40ab8d0] [c0454b08] exit_mmap+0x1c0/0x4b4
[   80.429225] [f40ab9f0] [c008ed44] __mmput+0x78/0x370
[   80.446244] [f40aba20] [c00a5794] do_exit+0xa14/0x1c5c
[   80.463223] [f40abac0] [c00a6cec] sys_exit+0x0/0x68
[   80.480045] [f40abae0] [c0017e98] die+0x4b0/0x4b8
[   80.496926] [f40abb20] [c0017f24] exception_common+0x84/0x304
[   80.513668] [f40abb60] [c0018294] _exception+0x20/0x58
[   80.530413] [f40abb80] [c0004828] ProgramCheck_virt+0x108/0x158
[   80.547214] --- interrupt: 700 at migration_entry_wait_on_locked+0x184/0x34c
[   80.564190] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[   80.581250] REGS: f40abb90 TRAP: 0700   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   80.598575] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[   80.616060] 
[   80.616060] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[   80.616060] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[   80.616060] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[   80.616060] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[   80.704195] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[   80.722032] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[   80.739688] --- interrupt: 700
[   80.757173] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[   80.774784] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[   80.792418] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[   80.809918] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[   80.827319] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[   80.844569] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[   80.861714] --- interrupt: 300 at 0x6f7bd0
[   80.878756] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[   80.895787] REGS: f40abf40 TRAP: 0300   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   80.913043] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[   80.930474] DAR: a6ed6767 DSISR: 40000000 
[   80.930474] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[   80.930474] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[   80.930474] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[   80.930474] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[   81.018295] NIP [006f7bd0] 0x6f7bd0
[   81.036006] LR [006f7b60] 0x6f7b60
[   81.053388] --- interrupt: 300
[   81.070670] Code: 5529cffe 7d0ad010 7d29b114 5529063e 2c090000 41820014 2c0a0000 41a2000c 7fe3fb78 48362931 813f0000 2c090000 <4182ffa4> 4bffffc4 38620004 7c5a1378 
[   81.341783] CPU-temp: 55.3 C
[   81.341829] , Case: 32.5 C
[   81.358983] ,  Fan: 0 (tuned +0)
[   91.792768] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 57s!
[   91.811159] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=-20 stuck for 54s!
[   91.829310] Showing busy workqueues and worker pools:
[   91.847318] workqueue events: flags=0x0
[   91.864843]   pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 refcnt=3
[   91.864895]     in-flight: 35:do_free_init do_free_init
[   91.864957]   pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3
[   91.864987]     pending: vmstat_shepherd, kfree_rcu_monitor
[   91.865041] workqueue mm_percpu_wq: flags=0x8
[   91.946563]   pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 refcnt=2
[   91.946614]     pending: vmstat_update
[   91.946655] workqueue kblockd: flags=0x18
[   91.993708]   pwq 1: cpus=0 node=0 flags=0x0 nice=-20 active=1/256 refcnt=2
[   91.993756]     pending: blk_mq_timeout_work
[   91.993820] pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=0s workers=4 idle: 599 636 21
[   91.993877] Showing backtraces of running workers in stalled CPU-bound worker pools:
[   94.252745] rcu: INFO: rcu_sched self-detected stall on CPU
[   94.268545] rcu: 	0-....: (17466 ticks this GP) idle=0644/1/0x40000002 softirq=2375/2375 fqs=5681
[   94.282862] rcu: 	         hardirqs   softirqs   csw/system
[   94.297109] rcu: 	 number:       30        755            0
[   94.311328] rcu: 	cputime:        0         53        28699   ==> 30011(ms)
[   94.325480] rcu: 	(t=18005 jiffies g=3169 q=5153 ncpus=2)
[   94.341161] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B D      L     6.8.0-rc7-PMacG4 #1
[   94.356681] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   94.371069] NIP:  c0163f28 LR: c0163f00 CTR: 00000000
[   94.385467] REGS: f40ab5a0 TRAP: 0900   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   94.400221] MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 480a2b88  XER: 00000000
[   94.415031] 
[   94.415031] GPR00: c0163ef8 f40ab660 c34e8020 00000001 c170a9a0 f40ab6d0 f40ab790 00000000 
[   94.415031] GPR08: 00000007 00000000 00000000 f40ab660 880a2b88 009afaf4 00000000 000f4240 
[   94.415031] GPR16: 00000000 1e81572c c6d868e0 00000001 00259000 c440c000 00000000 f8ca2d10 
[   94.415031] GPR24: 18ca2d11 00000004 00000007 c651688c 18ca2d12 00000000 c6516890 c6516884 
[   94.490278] NIP [c0163f28] do_raw_spin_lock+0x1b8/0x2b4
[   94.505462] LR [c0163f00] do_raw_spin_lock+0x190/0x2b4
[   94.520556] Call Trace:
[   94.535499] [f40ab660] [c0163ef8] do_raw_spin_lock+0x188/0x2b4 (unreliable)
[   94.550581] [f40ab6a0] [c0464378] __pte_offset_map_lock+0x98/0x150
[   94.565577] [f40ab710] [c044164c] unmap_page_range+0x3dc/0xd04
[   94.580488] [f40ab810] [c0442168] unmap_vmas+0x1f4/0x238
[   94.595229] [f40ab8d0] [c0454b08] exit_mmap+0x1c0/0x4b4
[   94.609922] [f40ab9f0] [c008ed44] __mmput+0x78/0x370
[   94.624523] [f40aba20] [c00a5794] do_exit+0xa14/0x1c5c
[   94.638979] [f40abac0] [c00a6cec] sys_exit+0x0/0x68
[   94.653451] [f40abae0] [c0017e98] die+0x4b0/0x4b8
[   94.667685] [f40abb20] [c0017f24] exception_common+0x84/0x304
[   94.681876] [f40abb60] [c0018294] _exception+0x20/0x58
[   94.696038] [f40abb80] [c0004828] ProgramCheck_virt+0x108/0x158
[   94.710224] --- interrupt: 700 at migration_entry_wait_on_locked+0x184/0x34c
[   94.724564] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[   94.738982] REGS: f40abb90 TRAP: 0700   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   94.753531] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[   94.768178] 
[   94.768178] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[   94.768178] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[   94.768178] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[   94.768178] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[   94.840825] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[   94.855414] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[   94.870016] --- interrupt: 700
[   94.884488] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[   94.899171] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[   94.913789] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[   94.928424] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[   94.942729] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[   94.956622] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[   94.970611] --- interrupt: 300 at 0x6f7bd0
[   94.984566] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[   94.998551] REGS: f40abf40 TRAP: 0300   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[   95.012729] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[   95.026933] DAR: a6ed6767 DSISR: 40000000 
[   95.026933] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[   95.026933] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[   95.026933] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[   95.026933] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[   95.097771] NIP [006f7bd0] 0x6f7bd0
[   95.111958] LR [006f7b60] 0x6f7b60
[   95.126007] --- interrupt: 300
[   95.140061] Code: 7fe3fb78 4bfff879 2c030000 41a20058 57f7e8fe 57fa077e 3ac00000 3ef7e000 3b5a0003 89370000 7d2a0774 5529cffe <7d0ad010> 7d29b114 5529063e 2c090000 
[  120.052754] watchdog: BUG: soft lockup - CPU#0 stuck for 82s! [(udev-worker):595]
[  120.069314] Modules linked in: snd_aoa_codec_tas cfg80211(+) snd_aoa_fabric_layout snd_aoa rfkill therm_windtunnel firewire_ohci firewire_core crc_itu_t mac_hid snd_aoa_i2sbus snd_aoa_soundbus snd_pcm snd_timer radeon snd soundcore ssb pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci
[  120.104774] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B D      L     6.8.0-rc7-PMacG4 #1
[  120.122559] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[  120.140219] NIP:  c0163f30 LR: c0163f00 CTR: 00000000
[  120.157883] REGS: f40ab5a0 TRAP: 0900   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  120.175399] MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 480a2b88  XER: 00000000
[  120.192970] 
[  120.192970] GPR00: c0163ef8 f40ab660 c34e8020 00000001 c170a9a0 f40ab6d0 f40ab790 00000000 
[  120.192970] GPR08: 00000007 00000001 00000000 f40ab660 880a2b88 009afaf4 00000000 000f4240 
[  120.192970] GPR16: 00000000 1e81572c c6d868e0 00000001 00259000 c440c000 00000000 f8ca2d10 
[  120.192970] GPR24: 18ca2d11 00000004 00000007 c651688c 18ca2d12 00000000 c6516890 c6516884 
[  120.280721] NIP [c0163f30] do_raw_spin_lock+0x1c0/0x2b4
[  120.298355] LR [c0163f00] do_raw_spin_lock+0x190/0x2b4
[  120.315822] Call Trace:
[  120.333188] [f40ab660] [c0163ef8] do_raw_spin_lock+0x188/0x2b4 (unreliable)
[  120.350681] [f40ab6a0] [c0464378] __pte_offset_map_lock+0x98/0x150
[  120.368087] [f40ab710] [c044164c] unmap_page_range+0x3dc/0xd04
[  120.385513] [f40ab810] [c0442168] unmap_vmas+0x1f4/0x238
[  120.402741] [f40ab8d0] [c0454b08] exit_mmap+0x1c0/0x4b4
[  120.419798] [f40ab9f0] [c008ed44] __mmput+0x78/0x370
[  120.436789] [f40aba20] [c00a5794] do_exit+0xa14/0x1c5c
[  120.453895] [f40abac0] [c00a6cec] sys_exit+0x0/0x68
[  120.470731] [f40abae0] [c0017e98] die+0x4b0/0x4b8
[  120.487398] [f40abb20] [c0017f24] exception_common+0x84/0x304
[  120.504116] [f40abb60] [c0018294] _exception+0x20/0x58
[  120.520835] [f40abb80] [c0004828] ProgramCheck_virt+0x108/0x158
[  120.537623] --- interrupt: 700 at migration_entry_wait_on_locked+0x184/0x34c
[  120.554520] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[  120.571583] REGS: f40abb90 TRAP: 0700   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  120.588864] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[  120.606288] 
[  120.606288] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[  120.606288] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[  120.606288] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[  120.606288] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[  120.694438] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[  120.712079] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[  120.729689] --- interrupt: 700
[  120.747259] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[  120.764775] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[  120.782216] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[  120.799570] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[  120.816827] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[  120.833924] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[  120.850997] --- interrupt: 300 at 0x6f7bd0
[  120.867919] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[  120.884933] REGS: f40abf40 TRAP: 0300   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  120.902076] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[  120.919400] DAR: a6ed6767 DSISR: 40000000 
[  120.919400] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[  120.919400] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[  120.919400] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[  120.919400] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[  121.006648] NIP [006f7bd0] 0x6f7bd0
[  121.024175] LR [006f7b60] 0x6f7b60
[  121.041632] --- interrupt: 300
[  121.058764] Code: 2c030000 41a20058 57f7e8fe 57fa077e 3ac00000 3ef7e000 3b5a0003 89370000 7d2a0774 5529cffe 7d0ad010 7d29b114 <5529063e> 2c090000 41820014 2c0a0000 
[  144.052750] watchdog: BUG: soft lockup - CPU#0 stuck for 105s! [(udev-worker):595]
[  144.070979] Modules linked in: snd_aoa_codec_tas cfg80211(+) snd_aoa_fabric_layout snd_aoa rfkill therm_windtunnel firewire_ohci firewire_core crc_itu_t mac_hid snd_aoa_i2sbus snd_aoa_soundbus snd_pcm snd_timer radeon snd soundcore ssb pcmcia pcmcia_core hwmon drm_suballoc_helper i2c_algo_bit drm_ttm_helper ttm drm_display_helper backlight ohci_pci
[  144.109856] CPU: 0 PID: 595 Comm: (udev-worker) Tainted: G    B D      L     6.8.0-rc7-PMacG4 #1
[  144.129383] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[  144.148954] NIP:  c0163f30 LR: c0163f00 CTR: 00000000
[  144.168525] REGS: f40ab5a0 TRAP: 0900   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  144.187942] MSR:  00009032 <EE,ME,IR,DR,RI>  CR: 480a2b88  XER: 00000000
[  144.207078] 
[  144.207078] GPR00: c0163ef8 f40ab660 c34e8020 00000001 c170a9a0 f40ab6d0 f40ab790 00000000 
[  144.207078] GPR08: 00000007 00000001 00000000 f40ab660 880a2b88 009afaf4 00000000 000f4240 
[  144.207078] GPR16: 00000000 1e81572c c6d868e0 00000001 00259000 c440c000 00000000 f8ca2d10 
[  144.207078] GPR24: 18ca2d11 00000004 00000007 c651688c 18ca2d12 00000000 c6516890 c6516884 
[  144.296309] NIP [c0163f30] do_raw_spin_lock+0x1c0/0x2b4
[  144.314131] LR [c0163f00] do_raw_spin_lock+0x190/0x2b4
[  144.331768] Call Trace:
[  144.349230] [f40ab660] [c0163ef8] do_raw_spin_lock+0x188/0x2b4 (unreliable)
[  144.366949] [f40ab6a0] [c0464378] __pte_offset_map_lock+0x98/0x150
[  144.384515] [f40ab710] [c044164c] unmap_page_range+0x3dc/0xd04
[  144.401997] [f40ab810] [c0442168] unmap_vmas+0x1f4/0x238
[  144.419330] [f40ab8d0] [c0454b08] exit_mmap+0x1c0/0x4b4
[  144.436488] [f40ab9f0] [c008ed44] __mmput+0x78/0x370
[  144.453567] [f40aba20] [c00a5794] do_exit+0xa14/0x1c5c
[  144.470631] [f40abac0] [c00a6cec] sys_exit+0x0/0x68
[  144.487537] [f40abae0] [c0017e98] die+0x4b0/0x4b8
[  144.504309] [f40abb20] [c0017f24] exception_common+0x84/0x304
[  144.521118] [f40abb60] [c0018294] _exception+0x20/0x58
[  144.537942] [f40abb80] [c0004828] ProgramCheck_virt+0x108/0x158
[  144.554935] --- interrupt: 700 at migration_entry_wait_on_locked+0x184/0x34c
[  144.572121] NIP:  c03c10d0 LR: c03c1084 CTR: 00000000
[  144.589268] REGS: f40abb90 TRAP: 0700   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  144.606632] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 22084f32  XER: 00000000
[  144.624194] 
[  144.624194] GPR00: c03c1084 f40abc50 c34e8020 ef1253e8 fefefefe 00000000 f40abcb8 00000008 
[  144.624194] GPR08: 00000000 00000000 00000003 f40abc50 22084f32 009afaf4 1e8157c6 000f4240 
[  144.624194] GPR16: 00000000 afe1873c c6d868e0 00000001 c34e8390 f40abe3c 00707908 f40abf40 
[  144.624194] GPR24: a6ed6767 70c177aa c5e8b440 00000026 c6516884 ef1253e8 ef1253e8 fe81578c 
[  144.712476] NIP [c03c10d0] migration_entry_wait_on_locked+0x184/0x34c
[  144.730281] LR [c03c1084] migration_entry_wait_on_locked+0x138/0x34c
[  144.747955] --- interrupt: 700
[  144.765471] [f40abd10] [c04caa94] migration_entry_wait+0xf0/0x110
[  144.783096] [f40abd70] [c04440b0] do_swap_page+0x208/0x16d8
[  144.800620] [f40abde0] [c0447808] handle_mm_fault+0x1984/0x1988
[  144.818138] [f40abec0] [c00462b0] ___do_page_fault+0x918/0xbf0
[  144.835565] [f40abf10] [c004697c] do_page_fault+0x28/0x50
[  144.852830] [f40abf30] [c000433c] DataAccess_virt+0x124/0x17c
[  144.870217] --- interrupt: 300 at 0x6f7bd0
[  144.887278] NIP:  006f7bd0 LR: 006f7b60 CTR: 006f3e60
[  144.904371] REGS: f40abf40 TRAP: 0300   Tainted: G    B D      L      (6.8.0-rc7-PMacG4)
[  144.921666] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 4200448c  XER: 20000000
[  144.939099] DAR: a6ed6767 DSISR: 40000000 
[  144.939099] GPR00: 006f983c afe162c0 a7adf6e0 013dfd00 20026767 afe175dc afe18614 00000007 
[  144.939099] GPR08: 839b87df 00026767 00000000 00000003 4200448c 009afaf4 00000000 000f4240 
[  144.939099] GPR16: 00000000 afe1873c 00000000 0aba9500 00000009 afe18724 00707908 afe1872c 
[  144.939099] GPR24: afe175dc 013dfd00 20000000 013d8040 afe175dc 20026767 00727c74 a6ed6767 
[  145.027130] NIP [006f7bd0] 0x6f7bd0
[  145.044737] LR [006f7b60] 0x6f7b60
[  145.062175] --- interrupt: 300
[  145.079446] Code: 2c030000 41a20058 57f7e8fe 57fa077e 3ac00000 3ef7e000 3b5a0003 89370000 7d2a0774 5529cffe 7d0ad010 7d29b114 <5529063e> 2c090000 41820014 2c0a0000 
[...]
[    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.8.0-rc6-PMacG4 (root@T1000) (gcc (Gentoo 13.2.1_p20240210 p13) 13.2.1 20240210, GNU ld (Gentoo 2.41 p4) 2.41.0) #2 SMP Mon Mar  4 23:35:34 CET 2024
[    0.000000] KASAN init done
[    0.000000] ioremap() called early from pmac_feature_init+0x2c8/0x120c. 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+0x260/0x70c. 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/0x8c. 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+0x1e4/0x6dc. Use early_ioremap() instead
[    0.000000] ioremap() called early from find_via_pmu+0x4cc/0x5d4. Use early_ioremap() instead
[    0.000000] ioremap() called early from find_via_pmu+0x1b0/0x5d4. 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/0xed0. Use early_ioremap() instead
[    0.000000] nvram: Checking bank 0...
[    0.000000] nvram: gen0=3391, gen1=3392
[    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 29 pages/cpu s24768 r8192 d85824 u118784
[    0.000000] pcpu-alloc: s24768 r8192 d85824 u118784 alloc=29*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Kernel command line: ro debug_pagealloc=on page_owner=on root=/dev/sda5 slub_debug=FZP page_poison=1 [email protected]/eth0,[email protected]/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: 522560
[    0.000000] allocated 35651584 bytes of page_ext
[    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]   * 0xf5115000..0xf5400000  : early ioremap
[    0.000000]   * 0xf1000000..0xf5110000  : vmalloc & ioremap
[    0.000000]   * 0xb0000000..0xc0000000  : modules
[    0.000000] Memory: 1898608K/2097152K available (23160K kernel code, 1940K rwdata, 5512K rodata, 1624K init, 403K bss, 198544K reserved, 0K cma-reserved, 1212416K highmem)
[    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] Node 0, zone      DMA: page owner found early allocated 47 pages
[    0.000000] Node 0, zone  HighMem: page owner found early allocated 0 pages
[    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] 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.658586 MHz
[    0.000000] time_init: processor frequency   = 1416.666661 MHz
[    0.000009] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x99b953d88, max_idle_ns: 440795203627 ns
[    0.000577] clocksource: timebase mult[18013118] shift[24] registered
[    0.001099] clockevent: decrementer mult[aaa2318] shift[32] cpu[0]
[    0.005526] Console: colour dummy device 80x25
[    0.006026] printk: legacy console [tty0] enabled
[    0.006512] printk: legacy bootconsole [udbg0] disabled
[    0.007089] pid_max: default: 32768 minimum: 301
[    0.011756] LSM: initializing lsm=capability,yama
[    0.011963] Yama: becoming mindful.
[    0.014245] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.014421] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.033322] PowerMac SMP probe found 2 cpus
[    0.035720] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
[    0.036364]  channel 0 bus <multibus>
[    0.036463]  channel 1 bus <multibus>
[    0.036782] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/mac-io@17/i2c@18000
[    0.036921]  channel 0 bus <multibus>
[    0.037052] PMU i2c /pci@f2000000/mac-io@17/via-pmu@16000/pmu-i2c
[    0.037665]  channel 1 bus <multibus>
[    0.037760]  channel 2 bus <multibus>
[    0.037837] pmf: no parser for command 17 !
[    0.037993] Processor timebase sync using GPIO 0x73
[    0.038030] mpic: requesting IPIs...
[    0.038560] CPU0: L2CR is 80000000
[    0.038600] CPU0: L3CR is 9c030000
[    0.047029] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.047733] MPC7450 family performance monitor hardware support registered
[    0.048804] rcu: Hierarchical SRCU implementation.
[    0.048864] rcu: 	Max phase no-delay instances is 1000.
[    0.052717] smp: Bringing up secondary CPUs ...
[85876329.749419] CPU1: L2CR was 0
[85876329.749509] CPU1: L2CR set to 80000000
[85876329.749522] CPU1: L3CR was 0
[85876329.749672] CPU1: L3CR set to 9c030000
[    0.060306] smp: Brought up 1 node, 2 CPUs
[    0.069276] devtmpfs: initialized
[    0.072806] Duplicate name in PowerPC,G4@0, renamed to "l2-cache#1"
[    0.073449] Duplicate name in l2-cache#1, renamed to "l2-cache#1"
[    0.075779] Duplicate name in PowerPC,G4@1, renamed to "l2-cache#1"
[    0.076399] Duplicate name in l2-cache#1, renamed to "l2-cache#1"
[    0.103219] Duplicate name in gpio@50, renamed to "gpio5@6f#1"
[    0.103728] Duplicate name in gpio@50, renamed to "gpio6@70#1"
[    0.104682] Duplicate name in gpio@50, renamed to "gpio11@75#1"
[    0.105184] Duplicate name in gpio@50, renamed to "extint-gpio15@67#1"
[    0.143873] Found UniNorth PCI host bridge at 0x00000000f0000000. Firmware bus number: 0->0
[    0.144000] PCI host bridge /pci@f0000000  ranges:
[    0.144097]  MEM 0x00000000f1000000..0x00000000f1ffffff -> 0x00000000f1000000 
[    0.144168]   IO 0x00000000f0000000..0x00000000f07fffff -> 0x0000000000000000
[    0.161263]  MEM 0x0000000090000000..0x00000000afffffff -> 0x0000000090000000 
[    0.161747] Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
[    0.161811] PCI host bridge /pci@f2000000 (primary) ranges:
[    0.161902]  MEM 0x00000000f3000000..0x00000000f3ffffff -> 0x00000000f3000000 
[    0.161971]   IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
[    0.178598]  MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 
[    0.179099] Found UniNorth PCI host bridge at 0x00000000f4000000. Firmware bus number: 0->0
[    0.179163] PCI host bridge /pci@f4000000  ranges:
[    0.179254]  MEM 0x00000000f5000000..0x00000000f5ffffff -> 0x00000000f5000000 
[    0.179312]   IO 0x00000000f4000000..0x00000000f47fffff -> 0x0000000000000000
[    0.196462] Found NEC PD720100A USB2 chip with disabled EHCI, fixing up...
[    0.198253] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.198587] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.209678] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.244542] PCI: Probing PCI hardware
[    0.246809] PCI host bridge to bus 0000:00
[    0.246906] pci_bus 0000:00: root bus resource [io  0xff780000-0xfff7ffff] (bus address [0x0000-0x7fffff])
[    0.246986] pci_bus 0000:00: root bus resource [mem 0xf1000000-0xf1ffffff]
[    0.247045] pci_bus 0000:00: root bus resource [mem 0x90000000-0xafffffff]
[    0.247229] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.247283] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[    0.249248] pci 0000:00:0b.0: [106b:0034] type 00 class 0x060000 conventional PCI endpoint
[    0.252342] pci 0000:00:10.0: [1002:4150] type 00 class 0x030000 conventional PCI endpoint
[    0.252456] pci 0000:00:10.0: BAR 0 [mem 0xa0000000-0xafffffff pref]
[    0.252519] pci 0000:00:10.0: BAR 1 [io  0xff780400-0xff7804ff]
[    0.252574] pci 0000:00:10.0: BAR 2 [mem 0x90000000-0x9000ffff]
[    0.252651] pci 0000:00:10.0: ROM [mem 0x90020000-0x9003ffff pref]
[    0.252769] pci 0000:00:10.0: supports D1 D2
[    0.255530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.258448] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
[    0.258724] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
[    0.259032] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
[    0.259190] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio16@68: could not find phandle 1936745825
[    0.259369] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio14@66: could not find phandle 1818848869
[    0.259541] OF: /pci@f2000000/mac-io@17/gpio@50/gpio12@76: could not find phandle 1835103092
[    0.259682] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
[    0.259814] OF: /pci@f2000000/mac-io@17/gpio@50/gpio5@6f: could not find phandle 1751474532
[    0.259945] OF: /pci@f2000000/mac-io@17/gpio@50/gpio6@70: could not find phandle 1634562093
[    0.260077] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio4@5c: could not find phandle 1818848869
[    0.260245] OF: /pci@f2000000/mac-io@17/gpio@50/gpio11@75: could not find phandle 1635083369
[    0.260378] OF: /pci@f2000000/mac-io@17/gpio@50/extint-gpio15@67: could not find phandle 1751474532
[    0.262969] pci_bus 0001:00: Fixed dependency cycle(s) with /pci@f2000000/mac-io@17/interrupt-controller@40000
[    0.263223] PCI host bridge to bus 0001:00
[    0.263280] pci_bus 0001:00: root bus resource [io  0x0000-0x7fffff]
[    0.263343] pci_bus 0001:00: root bus resource [mem 0xf3000000-0xf3ffffff]
[    0.263401] pci_bus 0001:00: root bus resource [mem 0x80000000-0x8fffffff]
[    0.263466] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.263514] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to ff
[    0.264844] pci 0001:00:0b.0: [106b:0035] type 00 class 0x060000 conventional PCI endpoint
[    0.266886] pci 0001:00:12.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.266990] pci 0001:00:12.0: BAR 0 [mem 0x8008c000-0x8008cfff]
[    0.267139] pci 0001:00:12.0: supports D1 D2
[    0.267181] pci 0001:00:12.0: PME# supported from D0 D1 D2 D3hot
[    0.269046] pci 0001:00:12.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.269145] pci 0001:00:12.1: BAR 0 [mem 0x8008b000-0x8008bfff]
[    0.269294] pci 0001:00:12.1: supports D1 D2
[    0.269333] pci 0001:00:12.1: PME# supported from D0 D1 D2 D3hot
[    0.271241] pci 0001:00:12.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint
[    0.271337] pci 0001:00:12.2: BAR 0 [mem 0x80081000-0x800810ff]
[    0.271485] pci 0001:00:12.2: supports D1 D2
[    0.271525] pci 0001:00:12.2: PME# supported from D0 D1 D2 D3hot
[    0.273389] pci 0001:00:13.0: [1095:3112] type 00 class 0x018000 conventional PCI endpoint
[    0.273485] pci 0001:00:13.0: BAR 0 [io  0x0460-0x0467]
[    0.273539] pci 0001:00:13.0: BAR 1 [io  0x0450-0x0453]
[    0.273588] pci 0001:00:13.0: BAR 2 [io  0x0440-0x0447]
[    0.273637] pci 0001:00:13.0: BAR 3 [io  0x0430-0x0433]
[    0.273685] pci 0001:00:13.0: BAR 4 [io  0x0420-0x042f]
[    0.273735] pci 0001:00:13.0: BAR 5 [mem 0x80082000-0x800821ff]
[    0.273786] pci 0001:00:13.0: ROM [mem 0x80100000-0x8017ffff pref]
[    0.273892] pci 0001:00:13.0: supports D1 D2
[    0.275542] pci 0001:00:15.0: [9710:9865] type 00 class 0x070002 conventional PCI endpoint
[    0.275640] pci 0001:00:15.0: BAR 0 [io  0x0410-0x0417]
[    0.275696] pci 0001:00:15.0: BAR 1 [mem 0x8008a000-0x8008afff]
[    0.275761] pci 0001:00:15.0: BAR 4 [mem 0x80089000-0x80089fff]
[    0.275883] pci 0001:00:15.0: supports D1 D2
[    0.275922] pci 0001:00:15.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.277729] pci 0001:00:15.1: [9710:9865] type 00 class 0x070002 conventional PCI endpoint
[    0.277824] pci 0001:00:15.1: BAR 0 [io  0x0400-0x0407]
[    0.277879] pci 0001:00:15.1: BAR 1 [mem 0x80088000-0x80088fff]
[    0.277944] pci 0001:00:15.1: BAR 4 [mem 0x80087000-0x80087fff]
[    0.278061] pci 0001:00:15.1: supports D1 D2
[    0.278100] pci 0001:00:15.1: PME# supported from D0 D1 D2 D3hot D3cold
[    0.279505] pci 0001:00:15.2: [ffff:9865] type 00 class 0x070103 conventional PCI endpoint
[    0.279600] pci 0001:00:15.2: BAR 0 [io  0x0000-0x0007]
[    0.279654] pci 0001:00:15.2: BAR 1 [io  0x0000-0x0007]
[    0.279704] pci 0001:00:15.2: BAR 2 [mem 0x00000000-0x00000fff]
[    0.279761] pci 0001:00:15.2: BAR 4 [mem 0x00000000-0x00000fff]
[    0.279878] pci 0001:00:15.2: supports D1 D2
[    0.279916] pci 0001:00:15.2: PME# supported from D0 D1 D2 D3hot D3cold
[    0.282288] pci 0001:00:16.0: [14e4:4320] type 00 class 0x028000 conventional PCI endpoint
[    0.282388] pci 0001:00:16.0: BAR 0 [mem 0x8008e000-0x8008ffff]
[    0.282535] pci 0001:00:16.0: supports D1 D2
[    0.282574] pci 0001:00:16.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.283907] pci 0001:00:17.0: [106b:0022] type 00 class 0xff0000 conventional PCI endpoint
[    0.284002] pci 0001:00:17.0: BAR 0 [mem 0x80000000-0x8007ffff]
[    0.286241] pci 0001:00:18.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint
[    0.286343] pci 0001:00:18.0: BAR 0 [mem 0x80086000-0x80086fff]
[    0.287672] pci 0001:00:19.0: [106b:0019] type 00 class 0x0c0310 conventional PCI endpoint
[    0.287765] pci 0001:00:19.0: BAR 0 [mem 0x80085000-0x80085fff]
[    0.289755] pci 0001:00:1b.0: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.289859] pci 0001:00:1b.0: BAR 0 [mem 0x80084000-0x80084fff]
[    0.290009] pci 0001:00:1b.0: supports D1 D2
[    0.290048] pci 0001:00:1b.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.292007] pci 0001:00:1b.1: [1033:0035] type 00 class 0x0c0310 conventional PCI endpoint
[    0.292108] pci 0001:00:1b.1: BAR 0 [mem 0x80083000-0x80083fff]
[    0.292256] pci 0001:00:1b.1: supports D1 D2
[    0.292295] pci 0001:00:1b.1: PME# supported from D0 D1 D2 D3hot D3cold
[    0.294182] pci 0001:00:1b.2: [1033:00e0] type 00 class 0x0c0320 conventional PCI endpoint
[    0.294279] pci 0001:00:1b.2: BAR 0 [mem 0x80080000-0x800800ff]
[    0.294427] pci 0001:00:1b.2: supports D1 D2
[    0.294466] pci 0001:00:1b.2: PME# supported from D0 D1 D2 D3hot D3cold
[    0.296082] pci_bus 0001:00: busn_res: [bus 00-ff] end is updated to 00
[    0.302269] PCI host bridge to bus 0002:00
[    0.302367] pci_bus 0002:00: root bus resource [io  0x880000-0x107ffff] (bus address [0x0000-0x7fffff])
[    0.302443] pci_bus 0002:00: root bus resource [mem 0xf5000000-0xf5ffffff]
[    0.302567] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.302620] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to ff
[    0.303952] pci 0002:00:0b.0: [106b:0036] type 00 class 0x060000 conventional PCI endpoint
[    0.306029] pci 0002:00:0d.0: [106b:0033] type 00 class 0xff0000 conventional PCI endpoint
[    0.306131] pci 0002:00:0d.0: BAR 0 [mem 0xf5004000-0xf5007fff]
[    0.307977] pci 0002:00:0e.0: [106b:0031] type 00 class 0x0c0010 conventional PCI endpoint
[    0.308072] pci 0002:00:0e.0: BAR 0 [mem 0xf5000000-0xf5000fff]
[    0.308211] pci 0002:00:0e.0: supports D1 D2
[    0.308250] pci 0002:00:0e.0: PME# supported from D0 D1 D2 D3hot
[    0.310275] pci 0002:00:0f.0: [106b:0032] type 00 class 0x020000 conventional PCI endpoint
[    0.310375] pci 0002:00:0f.0: BAR 0 [mem 0xf5200000-0xf53fffff]
[    0.310470] pci 0002:00:0f.0: ROM [mem 0xf5100000-0xf51fffff pref]
[    0.313866] pci_bus 0002:00: busn_res: [bus 00-ff] end is updated to 00
[    0.315993] PCI 0000:00 Cannot reserve Legacy IO [io  0xff780000-0xff780fff]
[    0.316143] PCI 0001:00 Cannot reserve Legacy IO [io  0x0000-0x0fff]
[    0.316228] pci_bus 0000:00: resource 4 [io  0xff780000-0xfff7ffff]
[    0.316277] pci_bus 0000:00: resource 5 [mem 0xf1000000-0xf1ffffff]
[    0.316320] pci_bus 0000:00: resource 6 [mem 0x90000000-0xafffffff]
[    0.316440] pci 0001:00:15.2: BAR 2 [mem 0xf3000000-0xf3000fff]: assigned
[    0.316504] pci 0001:00:15.2: BAR 4 [mem 0xf3001000-0xf3001fff]: assigned
[    0.316562] pci 0001:00:15.2: BAR 0 [io  0x1000-0x1007]: assigned
[    0.316616] pci 0001:00:15.2: BAR 1 [io  0x1008-0x100f]: assigned
[    0.316687] pci_bus 0001:00: resource 4 [io  0x0000-0x7fffff]
[    0.316731] pci_bus 0001:00: resource 5 [mem 0xf3000000-0xf3ffffff]
[    0.316774] pci_bus 0001:00: resource 6 [mem 0x80000000-0x8fffffff]
[    0.316823] pci_bus 0002:00: resource 4 [io  0x880000-0x107ffff]
[    0.316866] pci_bus 0002:00: resource 5 [mem 0xf5000000-0xf5ffffff]
[    0.396716] raid6: altivecx8 gen()  1352 MB/s
[    0.453599] raid6: altivecx4 gen()  1474 MB/s
[    0.510490] raid6: altivecx2 gen()  1255 MB/s
[    0.567385] raid6: altivecx1 gen()   881 MB/s
[    0.624380] raid6: int32x8  gen()   168 MB/s
[    0.681251] raid6: int32x4  gen()   177 MB/s
[    0.738160] raid6: int32x2  gen()   198 MB/s
[    0.794983] raid6: int32x1  gen()   158 MB/s
[    0.795018] raid6: using algorithm altivecx4 gen() 1474 MB/s
[    0.795051] raid6: using intx1 recovery algorithm
[    0.808482] SCSI subsystem initialized
[    0.811552] libata version 3.00 loaded.
[    0.814846] usbcore: registered new interface driver usbfs
[    0.815433] usbcore: registered new interface driver hub
[    0.816409] usbcore: registered new device driver usb
[    0.837216] pci 0000:00:10.0: vgaarb: setting as boot VGA device
[    0.837317] pci 0000:00:10.0: vgaarb: bridge control possible
[    0.837357] pci 0000:00:10.0: vgaarb: VGA device added: decodes=io+mem,owns=mem,locks=none
[    0.837467] vgaarb: loaded
[    0.838380] clocksource: Switched to clocksource timebase
[    0.961749] NET: Registered PF_INET protocol family
[    0.964206] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.975995] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 10240 bytes, linear)
[    0.979564] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.980793] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.988325] TCP bind hash table entries: 8192 (order: 6, 327680 bytes, linear)
[    0.989733] TCP: Hash tables configured (established 8192 bind 8192)
[    0.992227] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[    0.992905] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[    0.995321] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.996992] pci 0001:00:12.0: enabling device (0000 -> 0002)
[    0.997198] pci 0001:00:12.1: enabling device (0000 -> 0002)
[    0.997323] pci 0001:00:12.2: enabling device (0004 -> 0006)
[    0.997526] Apple USB OHCI 0001:00:18.0 disabled by firmware
[    0.997566] pci 0001:00:18.0: Can't enable PCI device, BIOS handoff failed.
[    0.997621] Apple USB OHCI 0001:00:19.0 disabled by firmware
[    0.997657] pci 0001:00:19.0: Can't enable PCI device, BIOS handoff failed.
[    0.997721] pci 0001:00:1b.0: enabling device (0000 -> 0002)
[    0.997834] pci 0001:00:1b.1: enabling device (0000 -> 0002)
[    0.997943] pci 0001:00:1b.2: enabling device (0004 -> 0006)
[    0.998095] pci 0002:00:0f.0: CLS mismatch (32 != 1020), using 32 bytes
[    1.003582] Thermal assist unit not available
[    1.017097] Initialise system trusted keyrings
[    1.019066] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    1.041601] fuse: init (API version 7.39)
[    1.045362] 9p: Installing v9fs 9p2000 file system support
[    1.048252] xor: measuring software checksum speed
[    1.092188]    8regs           :   224 MB/sec
[    1.138848]    8regs_prefetch  :   211 MB/sec
[    1.184395]    32regs          :   216 MB/sec
[    1.233925]    32regs_prefetch :   200 MB/sec
[    1.238206]    altivec         :  2330 MB/sec
[    1.238240] xor: using function: altivec (2330 MB/sec)
[    1.238309] Key type asymmetric registered
[    1.238379] Asymmetric key parser 'x509' registered
[    1.245722] alg: extra crypto tests enabled.  This is intended for developer use only.
[    1.403398] bounce: pool size: 64 pages
[    1.405090] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.405653] io scheduler bfq registered
[    1.487621] atomic64_test: passed
[    1.492654] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.513419] serial 0001:00:15.0: enabling device (0004 -> 0007)
[    1.521094] 0001:00:15.0: ttyS0 at I/O 0x410 (irq = 58, base_baud = 115200) is a 16550A
[    1.524229] serial 0001:00:15.1: enabling device (0004 -> 0007)
[    1.530338] 0001:00:15.1: ttyS1 at I/O 0x400 (irq = 58, base_baud = 115200) is a 16550A
[    1.542468] MacIO PCI driver attached to Keylargo chipset
[    1.578560] sata_sil 0001:00:13.0: version 2.4
[    1.579252] sata_sil 0001:00:13.0: enabling device (0004 -> 0007)
[    1.594384] scsi host0: sata_sil
[    1.601082] scsi host1: sata_sil
[    1.603469] ata1: SATA max UDMA/100 mmio m512@0x80082000 tf 0x80082080 irq 53 lpm-pol 0
[    1.603547] ata2: SATA max UDMA/100 mmio m512@0x80082000 tf 0x800820c0 irq 53 lpm-pol 0
[    1.606271] pata-pci-macio 0002:00:0d.0: enabling device (0004 -> 0006)
[    1.621841] pata-pci-macio 0002:00:0d.0: Activating pata-macio chipset UniNorth ATA-6, Apple bus ID 3
[    1.632515] scsi host2: pata_macio
[    1.635269] ata3: PATA max UDMA/100 irq 39 lpm-pol 0
[    1.918606] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    1.919621] ata1.00: ATA-9: SanDisk SSD PLUS 240GB, UF4500RL, max UDMA/133
[    1.919691] ata1.00: 468877312 sectors, multi 1: LBA48 NCQ (depth 0/32)
[    1.921135] ata1.00: Features: Dev-Sleep
[    1.945616] ata1.00: configured for UDMA/100
[    1.948868] scsi 0:0:0:0: Direct-Access     ATA      SanDisk SSD PLUS 00RL PQ: 0 ANSI: 5
[    1.962530] sd 0:0:0:0: [sda] 468877312 512-byte logical blocks: (240 GB/224 GiB)
[    1.962898] sd 0:0:0:0: [sda] Write Protect is off
[    1.962974] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.963579] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.964168] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    1.976888]  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[    1.990790] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.441755] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.444362] ata2.00: ATA-9: WDC WD5000LPLX-60ZNTT1, 02.01A02, max UDMA/133
[    2.444426] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.447158] ata2.00: configured for UDMA/100
[    2.450256] scsi 1:0:0:0: Direct-Access     ATA      WDC WD5000LPLX-6 1A02 PQ: 0 ANSI: 5
[    2.460037] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.460154] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    2.460532] sd 1:0:0:0: [sdb] Write Protect is off
[    2.460611] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[    2.461068] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.461729] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[    2.678563] pata-macio 0.0001f000:ata-4: Activating pata-macio chipset KeyLargo ATA-4, Apple bus ID 2
[    2.688698] scsi host3: pata_macio
[    2.691314] ata4: PATA max UDMA/66 irq 19 lpm-pol 0
[    2.847894] ata4.00: CFA: DeLOCK 54143 512MB, 100511E, max UDMA/66
[    2.847997] ata4.00: 1009008 sectors, multi 1: LBA 
[    3.185274]  sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
[    3.198797] sd 1:0:0:0: [sdb] Attached SCSI disk
[    3.202230] scsi 3:0:0:0: Direct-Access     ATA      DeLOCK 54143 512 11E  PQ: 0 ANSI: 5
[    3.212163] sd 3:0:0:0: [sdc] 1009008 512-byte logical blocks: (517 MB/493 MiB)
[    3.212528] sd 3:0:0:0: [sdc] Write Protect is off
[    3.212602] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    3.213057] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.213633] sd 3:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
[    3.225404]  sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5 sdc6
[    3.236068] sd 3:0:0:0: [sdc] Attached SCSI disk
[    3.718413] pata-macio 0.00020000:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0
[    3.727950] scsi host4: pata_macio
[    3.730608] ata5: PATA max MWDMA2 irq 20 lpm-pol 0
[    3.733649] sungem.c:v1.0 David S. Miller <[email protected]>
[    3.746277] gem 0002:00:0f.0 eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:0a:95:9c:76:3a
[    3.751397] ehci-pci 0001:00:12.2: EHCI Host Controller
[    3.751609] ehci-pci 0001:00:12.2: new USB bus registered, assigned bus number 1
[    3.752916] ehci-pci 0001:00:12.2: irq 52, io mem 0x80081000
[    3.757198] rtc-generic rtc-generic: registered as rtc0
[    3.760371] PowerMac i2c bus pmu 2 registered
[    3.762278] PowerMac i2c bus pmu 1 registered
[    3.765133] ehci-pci 0001:00:12.2: USB 2.0 started, EHCI 1.00
[    3.766981] PowerMac i2c bus mac-io 0 registered
[    3.767448] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    3.767536] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.767583] usb usb1: Product: EHCI Host Controller
[    3.767618] usb usb1: Manufacturer: Linux 6.8.0-rc6-PMacG4 ehci_hcd
[    3.767657] usb usb1: SerialNumber: 0001:00:12.2
[    3.768261] i2c i2c-2: No i2c address for /pci@f2000000/mac-io@17/i2c@18000/i2c-modem
[    3.771334] PowerMac i2c bus uni-n 1 registered
[    3.771430] i2c i2c-3: i2c-powermac: modalias failure on /uni-n@f8000000/i2c@f8001000/cereal@1c0
[    3.772491] hub 1-0:1.0: USB hub found
[    3.772816] hub 1-0:1.0: 5 ports detected
[    3.773836] PowerMac i2c bus uni-n 0 registered
[    3.779648] hid: raw HID events driver (C) Jiri Kosina
[    3.780641] ehci-pci 0001:00:1b.2: EHCI Host Controller
[    3.780946] ehci-pci 0001:00:1b.2: new USB bus registered, assigned bus number 2
[    3.781987] ehci-pci 0001:00:1b.2: irq 63, io mem 0x80080000
[    3.782705] usbcore: registered new interface driver usbhid
[    3.782774] usbhid: USB HID core driver
[    3.786613] 9pnet: Installing 9P2000 support
[    3.790019] drmem: No dynamic reconfiguration memory found
[    3.795131] ehci-pci 0001:00:1b.2: USB 2.0 started, EHCI 1.00
[    3.796604] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08
[    3.796681] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.796728] usb usb2: Product: EHCI Host Controller
[    3.796764] usb usb2: Manufacturer: Linux 6.8.0-rc6-PMacG4 ehci_hcd
[    3.796801] usb usb2: SerialNumber: 0001:00:1b.2
[    3.802387] hub 2-0:1.0: USB hub found
[    3.803481] hub 2-0:1.0: 5 ports detected
[    3.891124] ata5.00: ATAPI: _NEC DVD_RW ND-3520A, 1.04, max UDMA/33
[    3.902087] scsi 4:0:0:0: CD-ROM            _NEC     DVD_RW ND-3520A  1.04 PQ: 0 ANSI: 5
[    3.929800] registered taskstats version 1
[    3.932570] Loading compiled-in X.509 certificates
[    4.066798] sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[    4.066909] cdrom: Uniform CD-ROM driver Revision: 3.20
[    4.157651] sr 4:0:0:0: Attached scsi CD-ROM sr0
[    4.380946] zswap: loaded using pool zstd/zsmalloc
[    4.384378] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    4.385999] page_owner is disabled
[    4.476614] Btrfs loaded, zoned=no, fsverity=no
[    8.317404] input: PMU as /devices/virtual/input/input0
[    8.320142] netpoll: netconsole: local port 6666
[    8.320210] netpoll: netconsole: local IPv4 address 192.168.2.8
[    8.320254] netpoll: netconsole: interface 'eth0'
[    8.320284] netpoll: netconsole: remote port 6666
[    8.320315] netpoll: netconsole: remote IPv4 address 192.168.2.3
[    8.320350] netpoll: netconsole: remote ethernet address a8:a1:59:16:4f:ea
[    8.320399] netpoll: netconsole: device eth0 not up yet, forcing it
[    8.418795] sungem_phy: PHY ID: 2060e1, addr: 0
[    8.419130] gem 0002:00:0f.0 eth0: Found BCM5421 PHY
[   12.092064] gem 0002:00:0f.0 eth0: Link is up at 1000 Mbps, full-duplex
[   12.092263] gem 0002:00:0f.0 eth0: Pause is enabled (rxfifo: 10240 off: 7168 on: 5632)
[   12.104786] printk: legacy console [netcon0] enabled
[   12.135834] netconsole: network logging started
[   12.187267] EXT4-fs (sda5): mounted filesystem fa07e66f-b4f9-404f-85d8-487d3c097aec ro with ordered data mode. Quota mode: disabled.
[   12.187801] VFS: Mounted root (ext4 filesystem) readonly on device 8:5.
[   12.196728] devtmpfs: mounted
[   12.202308] Freeing unused kernel image (initmem) memory: 1624K
[   12.238089] Checked W+X mappings: passed, no W+X pages found
[   12.238447] rodata_test: all tests were successful
[   12.239083] Run /sbin/init as init process
[   12.239363]   with arguments:
[   12.239442]     /sbin/init
[   12.239664]   with environment:
[   12.239734]     HOME=/
[   12.239800]     TERM=linux
[   17.218402] random: crng init done
[   22.103832] ==================================================================
[   22.104062] BUG: KASAN: slab-out-of-bounds in handle_mm_fault+0x9d4/0x19ac
[   22.104197] Read of size 4 at addr c48b95c8 by task openrc-run.sh/449
[   22.104286] 
[   22.104355] CPU: 0 PID: 449 Comm: openrc-run.sh Not tainted 6.8.0-rc6-PMacG4 #2
[   22.104452] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.104534] Call Trace:
[   22.104603] [f3b7bcf0] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.104726] [f3b7bd10] [c04ef6e0] print_report+0xd4/0x520
[   22.104830] [f3b7bd60] [c04efde8] kasan_report+0x118/0x128
[   22.104926] [f3b7bde0] [c046c468] handle_mm_fault+0x9d4/0x19ac
[   22.105023] [f3b7bec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[   22.105134] [f3b7bf10] [c0048278] do_page_fault+0x28/0x60
[   22.105231] [f3b7bf30] [c000433c] DataAccess_virt+0x124/0x17c
[   22.105330] --- interrupt: 300 at 0x829c2c
[   22.105414] NIP:  00829c2c LR: 00829ba4 CTR: 00000000
[   22.105491] REGS: f3b7bf40 TRAP: 0300   Not tainted  (6.8.0-rc6-PMacG4)
[   22.105575] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 28042428  XER: 00000000
[   22.105737] DAR: afd72a70 DSISR: 0a000000 
[   22.105737] GPR00: 28048428 afd729c0 a7c61300 00000000 00829ba4 28048428 fe76f7e1 00824700 
[   22.105737] GPR08: 0000d032 406b1f18 00950f0c 406b213a 406b1e07 0099fff4 00000001 0240ea6e 
[   22.105737] GPR16: ffffff84 afd72b00 00000000 afd72b0c afd72b1c 00000000 00000000 009a049c 
[   22.105737] GPR24: 00000000 0240ea54 00000001 009a02b4 00000002 0240ea54 0094ffac 00000000 
[   22.106298] NIP [00829c2c] 0x829c2c
[   22.106378] LR [00829ba4] 0x829ba4
[   22.106454] --- interrupt: 300
[   22.106525] 
[   22.106589] Allocated by task 1 on cpu 494910 at 14000.630695s:
[   22.106671] ------------[ cut here ]------------
[   22.106743] pool index 61754 out of bounds (158) for stack id 789d4095
[   22.107015] WARNING: CPU: 0 PID: 449 at lib/stackdepot.c:488 depot_fetch_stack+0x34/0xd0
[   22.107147] Modules linked in:
[   22.107233] CPU: 0 PID: 449 Comm: openrc-run.sh Not tainted 6.8.0-rc6-PMacG4 #2
[   22.107328] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.107556] NIP:  c0d6fe94 LR: c0d6fe94 CTR: 00000000
[   22.107639] REGS: f3b7bc00 TRAP: 0700   Not tainted  (6.8.0-rc6-PMacG4)
[   22.107722] MSR:  00021032 <ME,IR,DR,RI>  CR: 24b82f34  XER: 00000000
[   22.107862] 
[   22.107862] GPR00: c0d6fe94 f3b7bcc0 c4393c20 00000000 00000000 00000000 00000000 00000000 
[   22.107862] GPR08: 00000000 00000000 00000000 f3b7bcc0 00000000 0099fff4 00000001 0240ea6e 
[   22.107862] GPR16: ffffff84 afd72b00 00000000 00000001 c4393f90 c433a7b0 00000000 f3b7bf40 
[   22.107862] GPR24: afd72a70 c1a07141 c1a054f3 c48b95c8 00000004 eee7ba04 f3b7bd68 f3b7bd0c 
[   22.108469] NIP [c0d6fe94] depot_fetch_stack+0x34/0xd0
[   22.108560] LR [c0d6fe94] depot_fetch_stack+0x34/0xd0
[   22.108647] Call Trace:
[   22.108714] [f3b7bcc0] [c0d6fe94] depot_fetch_stack+0x34/0xd0 (unreliable)
[   22.108820] [f3b7bcd0] [c0d6ff68] stack_depot_fetch+0x38/0x90
[   22.108913] [f3b7bcf0] [c0d6ffd4] stack_depot_print+0x14/0x54
[   22.109006] [f3b7bd10] [c04ef71c] print_report+0x110/0x520
[   22.109104] [f3b7bd60] [c04efde8] kasan_report+0x118/0x128
[   22.109199] [f3b7bde0] [c046c468] handle_mm_fault+0x9d4/0x19ac
[   22.109442] [f3b7bec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[   22.109550] [f3b7bf10] [c0048278] do_page_fault+0x28/0x60
[   22.109647] [f3b7bf30] [c000433c] DataAccess_virt+0x124/0x17c
[   22.109742] --- interrupt: 300 at 0x829c2c
[   22.109821] NIP:  00829c2c LR: 00829ba4 CTR: 00000000
[   22.109972] REGS: f3b7bf40 TRAP: 0300   Not tainted  (6.8.0-rc6-PMacG4)
[   22.110056] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 28042428  XER: 00000000
[   22.110212] DAR: afd72a70 DSISR: 0a000000 
[   22.110212] GPR00: 28048428 afd729c0 a7c61300 00000000 00829ba4 28048428 fe76f7e1 00824700 
[   22.110212] GPR08: 0000d032 406b1f18 00950f0c 406b213a 406b1e07 0099fff4 00000001 0240ea6e 
[   22.110212] GPR16: ffffff84 afd72b00 00000000 afd72b0c afd72b1c 00000000 00000000 009a049c 
[   22.110212] GPR24: 00000000 0240ea54 00000001 009a02b4 00000002 0240ea54 0094ffac 00000000 
[   22.110763] NIP [00829c2c] 0x829c2c
[   22.110841] LR [00829ba4] 0x829ba4
[   22.110917] --- interrupt: 300
[   22.110987] Code: 54648bfe 392944e0 80a90008 7c042800 40a10050 9421fff0 7c661b78 3c60c1a3 7c0802a6 38639cca 90010014 4b32d7f5 <0fe00000> 80010014 38600000 38210010 
[   22.111246] ---[ end trace 0000000000000000 ]---
[   22.111455] ------------[ cut here ]------------
[   22.111527] corrupt handle or use after stack_depot_put()
[   22.111635] WARNING: CPU: 0 PID: 449 at lib/stackdepot.c:747 stack_depot_fetch+0x6c/0x90
[   22.111811] Modules linked in:
[   22.111891] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G        W          6.8.0-rc6-PMacG4 #2
[   22.111988] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.112146] NIP:  c0d6ff9c LR: c0d6ff9c CTR: 00000000
[   22.112227] REGS: f3b7bc10 TRAP: 0700   Tainted: G        W           (6.8.0-rc6-PMacG4)
[   22.112317] MSR:  00021032 <ME,IR,DR,RI>  CR: 24b82f34  XER: 00000000
[   22.112455] 
[   22.112455] GPR00: c0d6ff9c f3b7bcd0 c4393c20 00000000 00000000 00000000 00000000 00000000 
[   22.112455] GPR08: 00000000 00000000 00000000 f3b7bcd0 00000000 0099fff4 00000001 0240ea6e 
[   22.112455] GPR16: ffffff84 afd72b00 00000000 00000001 c4393f90 c433a7b0 00000000 f3b7bf40 
[   22.112455] GPR24: afd72a70 c1a07141 c1a054f3 c48b95c8 00000004 eee7ba04 f3b7bd68 f3b7bd0c 
[   22.112985] NIP [c0d6ff9c] stack_depot_fetch+0x6c/0x90
[   22.113073] LR [c0d6ff9c] stack_depot_fetch+0x6c/0x90
[   22.113157] Call Trace:
[   22.113357] [f3b7bcd0] [c0d6ff9c] stack_depot_fetch+0x6c/0x90 (unreliable)
[   22.113469] [f3b7bcf0] [c0d6ffd4] stack_depot_print+0x14/0x54
[   22.113564] [f3b7bd10] [c04ef71c] print_report+0x110/0x520
[   22.113661] [f3b7bd60] [c04efde8] kasan_report+0x118/0x128
[   22.113757] [f3b7bde0] [c046c468] handle_mm_fault+0x9d4/0x19ac
[   22.113855] [f3b7bec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[   22.113957] [f3b7bf10] [c0048278] do_page_fault+0x28/0x60
[   22.114130] [f3b7bf30] [c000433c] DataAccess_virt+0x124/0x17c
[   22.114228] --- interrupt: 300 at 0x829c2c
[   22.114307] NIP:  00829c2c LR: 00829ba4 CTR: 00000000
[   22.114384] REGS: f3b7bf40 TRAP: 0300   Tainted: G        W           (6.8.0-rc6-PMacG4)
[   22.114472] MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 28042428  XER: 00000000
[   22.114756] DAR: afd72a70 DSISR: 0a000000 
[   22.114756] GPR00: 28048428 afd729c0 a7c61300 00000000 00829ba4 28048428 fe76f7e1 00824700 
[   22.114756] GPR08: 0000d032 406b1f18 00950f0c 406b213a 406b1e07 0099fff4 00000001 0240ea6e 
[   22.114756] GPR16: ffffff84 afd72b00 00000000 afd72b0c afd72b1c 00000000 00000000 009a049c 
[   22.114756] GPR24: 00000000 0240ea54 00000001 009a02b4 00000002 0240ea54 0094ffac 00000000 
[   22.115308] NIP [00829c2c] 0x829c2c
[   22.115385] LR [00829ba4] 0x829ba4
[   22.115460] --- interrupt: 300
[   22.115529] Code: 41820024 39230018 913f0000 8063000c 39610020 38000000 38800000 39200000 4b2e0534 3c60c1a3 38639d0f 4b32d6ed <0fe00000> 38600000 4bffffd8 38600000 
[   22.115784] ---[ end trace 0000000000000000 ]---
[   22.115858] 
[   22.115921] The buggy address belongs to the object at c48b9560
[   22.115921]  which belongs to the cache kernfs_node_cache of size 88
[   22.116018] The buggy address is located 16 bytes to the right of
[   22.116018]  allocated 88-byte region [c48b9560, c48b95b8)
[   22.116189] 
[   22.116253] The buggy address belongs to the physical page:
[   22.116328] page:eee7ba04 refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x48b9
[   22.116418] flags: 0x800(slab|zone=0)
[   22.116627] page_type: 0xffffffff()
[   22.116714] raw: 00000800 c20b0120 00000100 00000122 00000000 001a0034 ffffffff 00000001
[   22.116800] raw: 00000000
[   22.116863] page dumped because: kasan: bad access detected
[   22.116938] page_owner tracks the page as allocated
[   22.117008] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 4386559424, free_ts 4385950528
[   22.117150]  prep_new_page+0x24/0xbc
[   22.117236]  get_page_from_freelist+0xcd0/0xf10
[   22.117316]  __alloc_pages+0x204/0xe2c
[   22.117393]  alloc_slab_page+0x30/0x7c
[   22.117553]  new_slab+0xb4/0x320
[   22.117635]  ___slab_alloc+0x400/0x5e8
[   22.117717]  kmem_cache_alloc+0x11c/0x284
[   22.117926]  __kernfs_new_node+0xfc/0x570
[   22.118009]  kernfs_new_node+0x138/0x1a0
[   22.118087]  __kernfs_create_file+0x44/0x2e8
[   22.118167]  sysfs_add_file_mode_ns+0x2a4/0x324
[   22.118248]  internal_create_group+0x800/0xa78
[   22.118330]  btrfs_init_sysfs+0x38c/0x54c
[   22.118410]  init_btrfs_fs+0xa8/0x298
[   22.118486]  do_one_initcall+0x144/0x454
[   22.118569]  kernel_init_freeable+0x7d0/0x814
[   22.119723] page last free pid 1 tgid 1 stack trace:
[   22.119817]  free_unref_page_prepare+0x2a8/0x45c
[   22.120004]  free_unref_page+0x84/0x2cc
[   22.120214]  destroy_args+0x1b8/0x3a0
[   22.120304]  debug_vm_pgtable+0xc60/0x12e8
[   22.120386]  do_one_initcall+0x144/0x454
[   22.120466]  kernel_init_freeable+0x7d0/0x814
[   22.120548]  kernel_init+0x28/0x158
[   22.120627]  ret_from_kernel_user_thread+0x10/0x18
[   22.120708] 
[   22.120769] Memory state around the buggy address:
[   22.120845]  c48b9480: 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00
[   22.120927]  c48b9500: 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 00
[   22.121003] >c48b9580: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc 00
[   22.121076]                                       ^
[   22.121282]  c48b9600: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc
[   22.121436]  c48b9680: fc fc 00 00 00 00 00 00 00 00 00 00 00 fc fc fc
[   22.121511] ==================================================================
[   22.121969] Disabling lock debugging due to kernel taint
[   22.126424] _swap_info_get: Bad swap file entry 2c5a5a5a
[   22.126653] BUG: Bad page map in process openrc-run.sh  pte:5a5a5a5a pmd:048b9000
[   22.126756] addr:afd54000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe0
[   22.126853] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.126956] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.127055] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.127134] Call Trace:
[   22.127202] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.127463] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.127565] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.127663] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.127833] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.127934] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.128036] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.128131] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.128224] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.128321] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.128424] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.128517] --- interrupt: c00 at 0x824780
[   22.128596] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.128805] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.128897] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.129076] 
[   22.129076] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.129076] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.129076] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.129076] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.129615] NIP [00824780] 0x824780
[   22.129693] LR [00824748] 0x824748
[   22.129844] --- interrupt: c00
[   22.130216] _swap_info_get: Bad swap file entry 2c5a5a5a
[   22.130312] BUG: Bad page map in process openrc-run.sh  pte:5a5a5a5a pmd:048b9000
[   22.130399] addr:afd55000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe1
[   22.130488] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.130619] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.130713] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.130789] Call Trace:
[   22.130991] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.131107] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.131202] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.131298] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.131389] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.131487] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.131659] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.131755] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.131849] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.131944] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.132045] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.132138] --- interrupt: c00 at 0x824780
[   22.132344] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.132421] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.132507] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.132683] 
[   22.132683] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.132683] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.132683] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.132683] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.133211] NIP [00824780] 0x824780
[   22.133286] LR [00824748] 0x824748
[   22.133357] --- interrupt: c00
[   22.133702] _swap_info_get: Bad swap file entry 64cccccc
[   22.133928] BUG: Bad page map in process openrc-run.sh  pte:cccccccc pmd:048b9000
[   22.134020] addr:afd56000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe2
[   22.134110] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.134200] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.134293] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.134501] Call Trace:
[   22.134568] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.134678] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.134772] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.134866] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.134959] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.135056] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.135152] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.135245] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.135415] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.135513] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.135614] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.135835] --- interrupt: c00 at 0x824780
[   22.135912] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.135985] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.136071] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.136246] 
[   22.136246] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.136246] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.136246] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.136246] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.136775] NIP [00824780] 0x824780
[   22.136849] LR [00824748] 0x824748
[   22.136921] --- interrupt: c00
[   22.137224] _swap_info_get: Bad swap file entry 64cccccc
[   22.137316] BUG: Bad page map in process openrc-run.sh  pte:cccccccc pmd:048b9000
[   22.137402] addr:afd57000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe3
[   22.137611] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.137703] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.137929] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.138006] Call Trace:
[   22.138070] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.138179] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.138273] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.138368] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.138460] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.138557] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.138652] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.138745] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.138838] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.138934] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.139233] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.139332] --- interrupt: c00 at 0x824780
[   22.139408] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.139482] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.139567] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.139743] 
[   22.139743] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.139743] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.139743] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.139743] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.140729] NIP [00824780] 0x824780
[   22.140817] LR [00824748] 0x824748
[   22.140891] --- interrupt: c00
[   22.141248] BUG: Bad page map in process openrc-run.sh  pte:00000001 pmd:048b9000
[   22.141392] page:eedd8000 refcount:1 mapcount:-1 mapping:00000000 index:0x0 pfn:0x0
[   22.141491] flags: 0x4000(reserved|zone=0)
[   22.141577] page_type: 0xfffffffe()
[   22.141881] raw: 00004000 eedd8004 eedd8004 00000000 00000000 00000000 fffffffe 00000001
[   22.142091] raw: 00000000
[   22.142188] page dumped because: bad pte
[   22.142262] page_owner info is not present (never set?)
[   22.142334] addr:afd58000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe4
[   22.142427] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.142551] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.142650] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.142728] Call Trace:
[   22.142795] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.142909] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.143005] [f3b7ba00] [c04676c0] unmap_page_range+0xafc/0xd2c
[   22.143236] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.143333] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.143431] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.143607] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.143703] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.143796] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.143892] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.143992] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.144084] --- interrupt: c00 at 0x824780
[   22.144162] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.144240] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.144328] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.144639] 
[   22.144639] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.144639] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.144639] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.144639] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.145173] NIP [00824780] 0x824780
[   22.145251] LR [00824748] 0x824748
[   22.145325] --- interrupt: c00
[   22.145611] _swap_info_get: Bad swap file entry 2cc48b98
[   22.145783] BUG: Bad page map in process openrc-run.sh  pte:c48b9858 pmd:048b9000
[   22.145871] addr:afd5a000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe6
[   22.146000] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.146120] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.146214] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.146289] Call Trace:
[   22.146353] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.146464] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.146693] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.146793] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.146886] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.146983] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.147079] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.147173] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.147341] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.147440] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.147540] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.147632] --- interrupt: c00 at 0x824780
[   22.147707] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.147782] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.148000] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.148178] 
[   22.148178] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.148178] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.148178] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.148178] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.148704] NIP [00824780] 0x824780
[   22.148778] LR [00824748] 0x824748
[   22.148850] --- interrupt: c00
[   22.149154] _swap_info_get: Bad swap file entry 58c1a05b
[   22.149245] BUG: Bad page map in process openrc-run.sh  pte:c1a05bb0 pmd:048b9000
[   22.149331] addr:afd5b000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe7
[   22.149537] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.149628] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.149720] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.149795] Call Trace:
[   22.149859] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.150097] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.150194] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.150290] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.150382] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.150479] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.150575] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.150668] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.150761] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.150857] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.151034] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.151130] --- interrupt: c00 at 0x824780
[   22.151205] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.151407] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.151496] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.151672] 
[   22.151672] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.151672] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.151672] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.151672] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.152196] NIP [00824780] 0x824780
[   22.152271] LR [00824748] 0x824748
[   22.152342] --- interrupt: c00
[   22.152692] BUG: Bad page map in process openrc-run.sh  pte:c48b9311 pmd:048b9000
[   22.152795] addr:afd5c000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe8
[   22.152889] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.152981] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.153078] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.153240] Call Trace:
[   22.153310] [f3b7b920] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.153554] [f3b7b940] [c045f880] print_bad_pte+0x648/0x658
[   22.153654] [f3b7b9d0] [c0463b10] vm_normal_page+0x4c/0x1b4
[   22.153751] [f3b7ba00] [c0467090] unmap_page_range+0x4cc/0xd2c
[   22.153846] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.153938] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.154035] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.154131] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.154224] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.154319] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.154415] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.154515] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.154608] --- interrupt: c00 at 0x824780
[   22.154900] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.154981] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.155069] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.155249] 
[   22.155249] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.155249] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.155249] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.155249] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.155778] NIP [00824780] 0x824780
[   22.155856] LR [00824748] 0x824748
[   22.155930] --- interrupt: c00
[   22.156261] _swap_info_get: Bad swap file entry 30c48b9b
[   22.156353] BUG: Bad page map in process openrc-run.sh  pte:c48b9b60 pmd:048b9000
[   22.156439] addr:afd5d000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affe9
[   22.156527] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.156616] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.156711] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.156925] Call Trace:
[   22.157070] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.157180] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.157274] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.157369] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.157462] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.157558] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.157654] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.157747] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.157840] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.157935] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.158035] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.158259] --- interrupt: c00 at 0x824780
[   22.158337] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.158413] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.158576] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.158753] 
[   22.158753] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.158753] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.158753] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.158753] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.159280] NIP [00824780] 0x824780
[   22.159354] LR [00824748] 0x824748
[   22.159426] --- interrupt: c00
[   22.159769] _swap_info_get: Bad swap file entry 60c48b9d
[   22.159861] BUG: Bad page map in process openrc-run.sh  pte:c48b9dc0 pmd:048b9000
[   22.159947] addr:afd5e000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affea
[   22.160073] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.160163] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.160393] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.160471] Call Trace:
[   22.160536] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.160648] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.160819] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.160917] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.161010] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.161107] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.161203] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.161296] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.161389] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.161484] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.161713] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.161809] --- interrupt: c00 at 0x824780
[   22.161883] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.161957] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.162042] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.162218] 
[   22.162218] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.162218] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.162218] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.162218] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.162818] NIP [00824780] 0x824780
[   22.162893] LR [00824748] 0x824748
[   22.162965] --- interrupt: c00
[   22.163287] _swap_info_get: Bad swap file entry 681baccd
[   22.163380] BUG: Bad page map in process openrc-run.sh  pte:1baccdd4 pmd:048b9000
[   22.163464] addr:afd60000 vm_flags:00100173 anon_vma:c43a67c0 mapping:00000000 index:affec
[   22.163553] file:(null) fault:0x0 mmap:0x0 read_folio:0x0
[   22.163817] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.163914] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.163989] Call Trace:
[   22.164052] [f3b7b950] [c162b128] dump_stack_lvl+0x60/0x94 (unreliable)
[   22.164160] [f3b7b970] [c045f880] print_bad_pte+0x648/0x658
[   22.164254] [f3b7ba00] [c04677b0] unmap_page_range+0xbec/0xd2c
[   22.164350] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.164519] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.164618] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.164715] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.164809] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.164902] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.165127] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.165230] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.165323] --- interrupt: c00 at 0x824780
[   22.165398] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.165472] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.165557] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.165732] 
[   22.165732] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.165732] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.165732] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.165732] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.166259] NIP [00824780] 0x824780
[   22.166333] LR [00824748] 0x824748
[   22.166481] --- interrupt: c00
[   22.166936] ------------[ cut here ]------------
[   22.167038] kernel BUG at include/linux/swapops.h:466!
[   22.167125] Oops: Exception in kernel mode, sig: 5 [#1]
[   22.167346] BE PAGE_SIZE=4K MMU=Hash SMP NR_CPUS=2 DEBUG_PAGEALLOC PowerMac
[   22.167439] Modules linked in:
[   22.167520] CPU: 0 PID: 449 Comm: openrc-run.sh Tainted: G    B   W          6.8.0-rc6-PMacG4 #2
[   22.167617] Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[   22.167695] NIP:  c0460e10 LR: c0460dc4 CTR: 00000001
[   22.167772] REGS: f3b7b8e0 TRAP: 0700   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.167864] MSR:  00029032 <EE,ME,IR,DR,RI>  CR: 24002284  XER: 00000000
[   22.168012] 
[   22.168012] GPR00: c0460dc4 f3b7b9a0 c4393c20 ef11b428 00000000 00000000 00000000 00000000 
[   22.168012] GPR08: 00000000 00000000 00000003 f3b7b9a0 00000000 0099fff4 00000000 afd5d000 
[   22.168012] GPR16: 189172b1 1e76f78a 0000001c 70c1733a afd74000 c43f1afc afd74000 f3b7bc50 
[   22.168012] GPR24: f3b7bb30 f3b7bab0 fe76f74a c433a778 c1733ae0 ef11b428 ef11b428 fe76f736 
[   22.168542] NIP [c0460e10] pfn_swap_entry_to_page+0x118/0x144
[   22.168639] LR [c0460dc4] pfn_swap_entry_to_page+0xcc/0x144
[   22.168807] Call Trace:
[   22.168876] [f3b7b9a0] [c0460dc4] pfn_swap_entry_to_page+0xcc/0x144 (unreliable)
[   22.168992] [f3b7ba00] [c04677ec] unmap_page_range+0xc28/0xd2c
[   22.169218] [f3b7bb00] [c0467ae4] unmap_vmas+0x1f4/0x25c
[   22.169315] [f3b7bbc0] [c047b008] exit_mmap+0x1e4/0x4d8
[   22.169415] [f3b7bce0] [c0093090] __mmput+0x78/0x388
[   22.169513] [f3b7bd10] [c00aa3a4] do_exit+0xa14/0x1c5c
[   22.169607] [f3b7bdb0] [c00aba18] do_group_exit+0xb4/0x220
[   22.169701] [f3b7bde0] [c00abbec] pid_child_should_wake+0x0/0x25c
[   22.169797] [f3b7be00] [c001e7e4] system_call_exception+0x2f0/0x430
[   22.169897] [f3b7bf30] [c002a1ac] ret_from_syscall+0x0/0x2c
[   22.169991] --- interrupt: c00 at 0x824780
[   22.170071] NIP:  00824780 LR: 00824748 CTR: 00882868
[   22.170149] REGS: f3b7bf40 TRAP: 0c00   Tainted: G    B   W           (6.8.0-rc6-PMacG4)
[   22.170316] MSR:  0200f932 <VEC,EE,PR,FP,ME,IR,DR,RI>  CR: 22002282  XER: 00000000
[   22.170627] 
[   22.170627] GPR00: 000000ea afd72e50 a7c61300 0000007f 00000000 afd73020 afd73030 009a02d0 
[   22.170627] GPR08: 009a02c0 00000000 009a02b8 afd72a40 2404842c 0099fff4 00000001 006298c8 
[   22.170627] GPR16: afde9344 00000000 006293a4 008e97a8 fffffffe a7c5bff8 009635a0 a7c5d008 
[   22.170627] GPR24: 00000000 afd733c8 00000004 afd73460 a7c5a308 fffff000 0094ffac 0000007f 
[   22.171165] NIP [00824780] 0x824780
[   22.171244] LR [00824748] 0x824748
[   22.171319] --- interrupt: c00
[   22.171389] Code: 5529cffe 7d485010 7d290194 5529063e 2c090000 41820010 2c080000 41a20008 48090789 813e0000 71290001 40a20008 <0fe00000> 39200000 7fa3eb78 913f0000 
[   22.171656] ---[ end trace 0000000000000000 ]---
[   22.171729] 
[   22.171794] note: openrc-run.sh[449] exited with irqs disabled
[   22.172298] Fixing recursive fault but reboot is needed!
[  286.698377] usb 1-3: new high-speed USB device number 2 using ehci-pci
[  287.041696] usb 1-3: device descriptor read/64, error -71
[  287.297822] usb 1-3: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[  287.297974] usb 1-3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  287.298116] usb 1-3: Product: USB2.0 Hub
[  287.301507] hub 1-3:1.0: USB hub found
[  287.302341] hub 1-3:1.0: 4 ports detected
[  287.588366] usb 1-3.1: new low-speed USB device number 3 using ehci-pci
[  287.715094] usb 1-3.1: New USB device found, idVendor=04d9, idProduct=0006, bcdDevice= 1.40
[  287.715290] usb 1-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  287.715421] usb 1-3.1: Product: RPI Wired Keyboard 5
[  287.715532] usb 1-3.1: Manufacturer:  
[  287.739435] input:   RPI Wired Keyboard 5 as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0/0003:04D9:0006.0001/input/input1
[  287.801408] hid-generic 0003:04D9:0006.0001: input,hidraw0: USB HID v1.11 Keyboard [  RPI Wired Keyboard 5] on usb-0001:00:12.2-3.1/input0
[  287.822723] input:   RPI Wired Keyboard 5 as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.1/1-3.1:1.1/0003:04D9:0006.0002/input/input2
[  287.881101] hid-generic 0003:04D9:0006.0002: input,hidraw1: USB HID v1.11 Device [  RPI Wired Keyboard 5] on usb-0001:00:12.2-3.1/input1
[  287.958366] usb 1-3.3: new low-speed USB device number 4 using ehci-pci
[  288.059248] usb 1-3.3: New USB device found, idVendor=275d, idProduct=0ba6, bcdDevice= 1.00
[  288.059413] usb 1-3.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  288.059553] usb 1-3.3: Product: USB OPTICAL MOUSE 
[  288.073050] input: USB OPTICAL MOUSE  as /devices/pci0001:00/0001:00:12.2/usb1/1-3/1-3.3/1-3.3:1.0/0003:275D:0BA6.0003/input/input3
[  288.076134] hid-generic 0003:275D:0BA6.0003: input,hidraw2: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-0001:00:12.2-3.3/input0
#12 lore raw
In reply to Christophe Leroy
Quoted 97 lines · On Thu, 29 Feb 2024 17:11:28 +0000 Christophe Leroy…
Quoted 87 lines

Revisited the issue on kernel v6.8-rc6 and I can still reproduce it.

Short summary as my last post was over a year ago:
(x) I get this memory corruption only when CONFIG_VMAP_STACK=y and CONFIG_SMP=y is enabled.
(x) I don't get this memory corruption when only one of the above is enabled. ^^
(x) memtester says the 2 GiB RAM in my G4 DP are fine.
(x) I don't get this issue on my G5 11,2 or Talos II.
(x) "stress -m 2 --vm-bytes 965M" provokes the issue in < 10 secs. (https://salsa.debian.org/debian/stress)

For the test I used CONFIG_KASAN_INLINE=y for v6.8-rc6 and debug_pagealloc=on, page_owner=on and got this dmesg:

[...]
pagealloc: memory corruption
f5fcfff0: 00 00 00 00 ....

CPU: 1 PID: 1788 Comm: stress Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f3bfbac0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f3bfbae0] [c04edf9c] __kernel_unpoison_pages+0x1e0/0x1f0
[f3bfbb30] [c04a8aa0] post_alloc_hook+0xe0/0x174
[f3bfbb60] [c04a8b58] prep_new_page+0x24/0xbc
[f3bfbb80] [c04abcc4] get_page_from_freelist+0xcd0/0xf10
[f3bfbc50] [c04aecd8] __alloc_pages+0x204/0xe2c
[f3bfbda0] [c04b07a8] __folio_alloc+0x18/0x88
[f3bfbdc0] [c0461a10] vma_alloc_zeroed_movable_folio.isra.0+0x2c/0x6c
[f3bfbde0] [c046bb90] handle_mm_fault+0x91c/0x19ac
[f3bfbec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[f3bfbf10] [c0048278] do_page_fault+0x28/0x60
[f3bfbf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xbe30d8
NIP:  00be30d8 LR: 00be30b4 CTR: 00000000
REGS: f3bfbf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc6-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 88c7a010 DSISR: 42000000
GPR00: 00be30b4 af8397d0 a78436c0 6b2ee010 3c500000 20224462 fe77f7e1 00b00264
GPR08: 1d98d000 1d98c000 00000000 40ae256a 20882262 00bffff4 00000000 00000000
GPR16: 00000000 00000002 00000000 0000005a 40802262 80002262 40002262 00c000a4
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b2ee010 00c07d64 00001000

NIP [00be30d8] 0xbe30d8
LR [00be30b4] 0xbe30b4
--- interrupt: 300
page:ef4bd92c refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310b3
flags: 0x80000000(zone=2)
page_type: 0xffffffff()

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details
page_owner info is not present (never set?)
swapper/1: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f101b9d0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f101b9f0] [c04ae948] warn_alloc+0x154/0x2e0
[f101bab0] [c04af030] __alloc_pages+0x55c/0xe2c

SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
[...]

Quoted 7 lines

New findings:
(x) The page corruption only shows up the 1st time I run "stress -m 2 --vm-bytes 965M". When I quit and restart stress no additional page corruption shows up.
(x) The page corruption shows up shortly after I run "stress -m 2 --vm-bytes 965M" but no additional page corruption shows up afterwards, even if left running for 30min.

For additional testing I thought it would be a good idea to try "modprobe test_vmalloc" but this remained inconclusive. Sometimes a 'BUG: Unable to handle kernel data access on read at 0xe0000000' like this shows up but not always:

Interesting.

Quoted 7 lines

I guess 0xe0000000 is where linear RAM starts to be mapped with pages ? Can you confirm with a dump of /sys/kernel/debug/powerpc/block_address_translation ?

Do we have a problem of race with hash table ?

Would KCSAN help with that ?

Revisited the issue on kernel v6.9-rc4 and I can still reproduce it. Did some runs now with KCSAN_EARLY_ENABLE=y (+ KCSAN_SKIP_WATCH=4000 + KCSAN_STRICT=y) which made KCSAN a lot more verbose.

On v6.9-rc4 I have not seen the "SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)" I reported some time ago and no other KASAN hits at boot or afterwards so I disabled KASAN. The general memory corruption issue remains however.

At running "stress -m 2 --vm-bytes 965M" I get some "BUG: KCSAN: data-race in list_add / lru_gen_look_around" and "BUG: KCSAN: data-race in zswap_store / zswap_update_total_size" which I don't get otherwise:

[...]

BUG: KCSAN: data-race in list_add / lru_gen_look_around

read (marked) to 0xefa6fa40 of 4 bytes by task 1619 on cpu 0:

 lru_gen_look_around+0x320/0x634
 folio_referenced_one+0x32c/0x404
 rmap_walk_anon+0x1c4/0x24c
 rmap_walk+0x70/0x7c
 folio_referenced+0x194/0x1ec
 shrink_folio_list+0x6a8/0xd28
 evict_folios+0xcc0/0x1204
 try_to_shrink_lruvec+0x214/0x2f0
 shrink_one+0x104/0x1e8
 shrink_node+0x314/0xc3c
 do_try_to_free_pages+0x500/0x7e4
 try_to_free_pages+0x150/0x18c
 __alloc_pages+0x460/0x8dc
 folio_prealloc.isra.0+0x44/0xec
 handle_mm_fault+0x488/0xed0
 ___do_page_fault+0x4d8/0x630
 do_page_fault+0x28/0x40
 DataAccess_virt+0x124/0x17c

write to 0xefa6fa40 of 4 bytes by task 40 on cpu 1:

 list_add+0x58/0x94
 evict_folios+0xb04/0x1204
 try_to_shrink_lruvec+0x214/0x2f0
 shrink_one+0x104/0x1e8
 shrink_node+0x314/0xc3c
 balance_pgdat+0x498/0x914
 kswapd+0x304/0x398
 kthread+0x174/0x178
 start_kernel_thread+0x10/0x14

Reported by Kernel Concurrency Sanitizer on:

CPU: 1 PID: 40 Comm: kswapd0 Not tainted 6.9.0-rc4-PMacG4-dirty #10
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
[...]
BUG: KCSAN: data-race in zswap_update_total_size / zswap_update_total_size

write to 0xc121b328 of 8 bytes by task 1619 on cpu 0:

 zswap_update_total_size+0x58/0xe8
 zswap_entry_free+0xdc/0x1c0
 zswap_load+0x190/0x19c
 swap_read_folio+0xbc/0x450
 swap_cluster_readahead+0x2f8/0x338
 swapin_readahead+0x430/0x438
 do_swap_page+0x1e0/0x9bc
 handle_mm_fault+0xecc/0xed0
 ___do_page_fault+0x4d8/0x630
 do_page_fault+0x28/0x40
 DataAccess_virt+0x124/0x17c

write to 0xc121b328 of 8 bytes by task 40 on cpu 1:

 zswap_update_total_size+0x58/0xe8
 zswap_store+0x5a8/0xa18
 swap_writepage+0x4c/0xe8
 pageout+0x1dc/0x304
 shrink_folio_list+0xa70/0xd28
 evict_folios+0xcc0/0x1204
 try_to_shrink_lruvec+0x214/0x2f0
 shrink_one+0x104/0x1e8
 shrink_node+0x314/0xc3c
 balance_pgdat+0x498/0x914
 kswapd+0x304/0x398
 kthread+0x174/0x178
 start_kernel_thread+0x10/0x14

Reported by Kernel Concurrency Sanitizer on:

CPU: 1 PID: 40 Comm: kswapd0 Not tainted 6.9.0-rc4-PMacG4-dirty #10
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac

[...]

One time I also got another page allocation failure:

[...]
==================================================================
kworker/u9:1: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0

CPU: 1 PID: 39 Comm: kworker/u9:1 Not tainted 6.9.0-rc4-PMacG4-dirty #10
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Workqueue: events_freezable_pwr_efficient disk_events_workfn (events_freezable_pwr_ef)
Call Trace:
[f100dc50] [c0be4e84] dump_stack_lvl+0x88/0xcc (unreliable)
[f100dc70] [c0be4ee8] dump_stack+0x20/0x34
[f100dc80] [c029de40] warn_alloc+0x100/0x178
[f100dce0] [c029e234] __alloc_pages+0x37c/0x8dc
[f100dda0] [c029e884] __page_frag_alloc_align+0x74/0x194
[f100ddd0] [c09bafc0] __netdev_alloc_skb+0x108/0x234
[f100de00] [bef1a5a8] setup_rx_descbuffer+0x5c/0x258 [b43legacy]
[f100de40] [bef1c43c] b43legacy_dma_rx+0x3e4/0x488 [b43legacy]
[f100deb0] [bef0b034] b43legacy_interrupt_tasklet+0x7bc/0x7f0 [b43legacy]
[f100df50] [c006f8c8] tasklet_action_common.isra.0+0xb0/0xe8
[f100df80] [c0c1fc8c] __do_softirq+0x1dc/0x218
[f100dff0] [c00091d8] do_softirq_own_stack+0x54/0x74
[f10dd760] [c00091c8] do_softirq_own_stack+0x44/0x74
[f10dd780] [c006f114] __irq_exit_rcu+0x6c/0xbc
[f10dd790] [c006f588] irq_exit+0x10/0x20
[f10dd7a0] [c0008b58] interrupt_async_exit_prepare.isra.0+0x18/0x2c
[f10dd7b0] [c000917c] do_IRQ+0x24/0x2c
[f10dd7d0] [c00045b4] HardwareInterrupt_virt+0x108/0x10c
--- interrupt: 500 at _raw_spin_unlock_irq+0x30/0x48
NIP:  c0c1f49c LR: c0c1f490 CTR: 00000000
REGS: f10dd7e0 TRAP: 0500   Not tainted  (6.9.0-rc4-PMacG4-dirty)
MSR:  00209032 <EE,ME,IR,DR,RI>  CR: 84882802  XER: 00000000

GPR00: c0c1f490 f10dd8a0 c1c28020 c49d6828 00016828 0001682b 00000003 c12399ec
GPR08: 00000000 00009032 0000001d f10dd860 24882802 00000000 00000001 00000000
GPR16: 00000800 00000800 00000000 00000000 00000002 00000004 00000004 00000000
GPR24: c49d6850 00000004 00000000 00000007 00000001 c49d6850 f10ddbb4 c49d6828
NIP [c0c1f49c] _raw_spin_unlock_irq+0x30/0x48
LR [c0c1f490] _raw_spin_unlock_irq+0x24/0x48
--- interrupt: 500
[f10dd8c0] [c0246150] evict_folios+0xc74/0x1204
[f10dd9d0] [c02468f4] try_to_shrink_lruvec+0x214/0x2f0
[f10dda50] [c0246ad4] shrink_one+0x104/0x1e8
[f10dda90] [c0248eb8] shrink_node+0x314/0xc3c
[f10ddb20] [c024a98c] do_try_to_free_pages+0x500/0x7e4
[f10ddba0] [c024b110] try_to_free_pages+0x150/0x18c
[f10ddc20] [c029e318] __alloc_pages+0x460/0x8dc
[f10ddce0] [c06088ac] alloc_pages.constprop.0+0x30/0x50
[f10ddd00] [c0608ad4] blk_rq_map_kern+0x208/0x404
[f10ddd50] [c089c048] scsi_execute_cmd+0x350/0x534
[f10dddc0] [c08b77cc] sr_check_events+0x108/0x4bc
[f10dde40] [c08fb620] cdrom_update_events+0x54/0xb8
[f10dde60] [c08fb6b4] cdrom_check_events+0x30/0x70
[f10dde80] [c08b7c44] sr_block_check_events+0x60/0x90
[f10ddea0] [c0630444] disk_check_events+0x68/0x168
[f10ddee0] [c063056c] disk_events_workfn+0x28/0x40
[f10ddf00] [c008df0c] process_scheduled_works+0x350/0x494
[f10ddf70] [c008ee2c] worker_thread+0x2a4/0x300
[f10ddfc0] [c009b87c] kthread+0x174/0x178
[f10ddff0] [c001c304] start_kernel_thread+0x10/0x14
Mem-Info:
active_anon:292700 inactive_anon:181968 isolated_anon:0
active_file:6404 inactive_file:5560 isolated_file:0
unevictable:0 dirty:11 writeback:0
slab_reclaimable:1183 slab_unreclaimable:6185
mapped:7898 shmem:133 pagetables:675
sec_pagetables:0 bounce:0
kernel_misc_reclaimable:0
free:1193 free_pcp:778 free_cma:0
Node 0 active_anon:1170800kB inactive_anon:727872kB active_file:25616kB inactive_file:22240kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:31592kB dirty:44kB writeback:0kB shmem:532kB writeback_tmp:0kB kernel_stack:952kB pagetables:2700kB sec_pagetables:0kB all_unreclaimable? no DMA free:0kB boost:7564kB min:10928kB low:11768kB high:12608kB reserved_highatomic:0KB active_anon:568836kB inactive_anon:92340kB active_file:12kB inactive_file:1248kB unevictable:0kB writepending:40kB present:786432kB managed:709428kB mlocked:0kB bounce:0kB free_pcp:3112kB local_pcp:1844kB free_cma:0kB lowmem_reserve[]: 0 0 1280 1280
DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 0kB
39962 total pagecache pages
27865 pages in swap cache
Free swap = 8240252kB
Total swap = 8388604kB
524288 pages RAM
327680 pages HighMem/MovableOnly
19251 pages reserved
b43legacy-phy0 debug: DMA RX: setup_rx_descbuffer() failed
[...]

To fix a "refcount_t: decrement hit 0; leaking memory." issue which showed up otherwise I applied following patchset on top of v6.9-rc4: https://lore.kernel.org/all/mhng-4caed5c9-bc46-42fe-90d4-9d845376578f@palmer-ri-x1c9a/

Kernel .config attached. For more details on the KCSAN hits dmesg of 2 runs attached.

Regards,
Erhard

#13 lore raw
In reply to Christophe Leroy
Quoted 115 lines · On Thu, 29 Feb 2024 17:11:28 +0000 Christophe Leroy…

Le 29/02/2024 à 02:09, Erhard Furtner a écrit :

Quoted 114 lines
Quoted 22 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:
Quoted 9 lines · Erhard F.

Getting this at boot sometimes, but not always (PowerMac G4 DP, kernel 6.0.9):

[...]
Freeing unused kernel image (initmem) memory: 1328K Checked W+X mappings: passed, no W+X pages found
rodata_test: all tests were successful
Run /sbin/init as init process _swap_info_get: Bad swap file entry 24c0ab68

BUG: Bad page map in process init  pte:c0ab684c pmd:01182000  

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Although with that KASAN one it's strange that kernfs_node_cache was involved both times, it's strange that page tables are pointing to that same slab memory. It could be a page table page use-after -free maybe? Maybe with the page table fragment code. I'm sure other people would have hit that before though, so I don't know what to suggest.

Quoted 2 lines

Thanks,
Nick

Revisited the issue on kernel v6.8-rc6 and I can still reproduce it.

Short summary as my last post was over a year ago:
(x) I get this memory corruption only when CONFIG_VMAP_STACK=y and CONFIG_SMP=y is enabled.
(x) I don't get this memory corruption when only one of the above is enabled. ^^
(x) memtester says the 2 GiB RAM in my G4 DP are fine.
(x) I don't get this issue on my G5 11,2 or Talos II.
(x) "stress -m 2 --vm-bytes 965M" provokes the issue in < 10 secs. (https://salsa.debian.org/debian/stress)

For the test I used CONFIG_KASAN_INLINE=y for v6.8-rc6 and debug_pagealloc=on, page_owner=on and got this dmesg:

[...]
pagealloc: memory corruption
f5fcfff0: 00 00 00 00 ....

CPU: 1 PID: 1788 Comm: stress Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f3bfbac0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f3bfbae0] [c04edf9c] __kernel_unpoison_pages+0x1e0/0x1f0
[f3bfbb30] [c04a8aa0] post_alloc_hook+0xe0/0x174
[f3bfbb60] [c04a8b58] prep_new_page+0x24/0xbc
[f3bfbb80] [c04abcc4] get_page_from_freelist+0xcd0/0xf10
[f3bfbc50] [c04aecd8] __alloc_pages+0x204/0xe2c
[f3bfbda0] [c04b07a8] __folio_alloc+0x18/0x88
[f3bfbdc0] [c0461a10] vma_alloc_zeroed_movable_folio.isra.0+0x2c/0x6c
[f3bfbde0] [c046bb90] handle_mm_fault+0x91c/0x19ac
[f3bfbec0] [c0047b8c] ___do_page_fault+0x93c/0xc14
[f3bfbf10] [c0048278] do_page_fault+0x28/0x60
[f3bfbf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xbe30d8
NIP:  00be30d8 LR: 00be30b4 CTR: 00000000
REGS: f3bfbf40 TRAP: 0300   Tainted: G    B               (6.8.0-rc6-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 88c7a010 DSISR: 42000000
GPR00: 00be30b4 af8397d0 a78436c0 6b2ee010 3c500000 20224462 fe77f7e1 00b00264
GPR08: 1d98d000 1d98c000 00000000 40ae256a 20882262 00bffff4 00000000 00000000
GPR16: 00000000 00000002 00000000 0000005a 40802262 80002262 40002262 00c000a4
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b2ee010 00c07d64 00001000

NIP [00be30d8] 0xbe30d8
LR [00be30b4] 0xbe30b4
--- interrupt: 300
page:ef4bd92c refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310b3
flags: 0x80000000(zone=2)
page_type: 0xffffffff()

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details
page_owner info is not present (never set?)
swapper/1: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G    B              6.8.0-rc6-PMacG4 #15
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f101b9d0] [c162a8e8] dump_stack_lvl+0x60/0x94 (unreliable)
[f101b9f0] [c04ae948] warn_alloc+0x154/0x2e0
[f101bab0] [c04af030] __alloc_pages+0x55c/0xe2c

SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)
cache: skbuff_head_cache, object size: 176, buffer size: 288, default order: 0, min order: 0 node 0: slabs: 509, objs: 7126, free: 0
[...]

Turned out the "SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC)" I reported seems a different issue (https://lore.kernel.org/all/20240515224524.1c8befbe@yea/) not related to the page corruption issue I originally reported in this thread.

The "pagealloc: memory corruption" remains however as of kernel v6.10-rc4.

I reduced and simplified the kernel .config (disabled non-essential drivers, PREEMPT_NONE=y, disabled zswap, disabled lru_gen, etc.) to reduce contributing factors as much as possible. And finally I am getting something meaningful out of KCSAN:

[...]

BUG: KCSAN: data-race in __hrtimer_run_queues / hrtimer_active

read to 0xeefc7ad0 of 4 bytes by interrupt on cpu 1:

 hrtimer_active+0xb0/0x100
 task_tick_fair+0x7c/0x80
 sched_tick+0x7c/0xd0
 update_process_times+0xc8/0x120
 tick_nohz_handler+0x1ac/0x270
 __hrtimer_run_queues+0x174/0x1dc
 hrtimer_interrupt+0x168/0x350
 timer_interrupt+0x108/0x178
 Decrementer_virt+0x100/0x104
 0xffffffff
 kcsan_setup_watchpoint+0x2dc/0x4a8
 memchr_inv+0x100/0x188
 __kernel_unpoison_pages+0xe0/0x1a8
 post_alloc_hook+0xa4/0x10c
 prep_new_page+0x24/0x5c
 get_page_from_freelist+0x238/0x5e0
 __alloc_pages_noprof+0xec/0x7d0
 __folio_alloc_noprof+0x14/0x30
 vma_alloc_zeroed_movable_folio.isra.0+0x34/0x7c
 handle_mm_fault+0x368/0xd00
 ___do_page_fault+0x3ac/0x504
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

write to 0xeefc7ad0 of 4 bytes by interrupt on cpu 0:

 __hrtimer_run_queues+0x1d0/0x1dc
 hrtimer_interrupt+0x168/0x350
 timer_interrupt+0x108/0x178
 Decrementer_virt+0x100/0x104
 0x67e51595
 mas_start+0x64/0x1b0
 mas_state_walk+0x24/0x78
 mt_find+0xa8/0x20c
 find_vma+0x44/0x68
 lock_mm_and_find_vma+0x44/0x1a8
 ___do_page_fault+0x33c/0x504
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

Reported by Kernel Concurrency Sanitizer on:

CPU: 0 PID: 1452 Comm: stress Not tainted 6.10.0-rc4-PMacG4 #28
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
==================================================================
==================================================================
BUG: KCSAN: data-race in __hrtimer_run_queues / hrtimer_active

read to 0xeefc7ad0 of 4 bytes by interrupt on cpu 1:

 hrtimer_active+0xb0/0x100
 task_tick_fair+0x7c/0x80
 sched_tick+0x7c/0xd0
 update_process_times+0xc8/0x120
 tick_nohz_handler+0x1ac/0x270
 __hrtimer_run_queues+0x174/0x1dc
 hrtimer_interrupt+0x168/0x350
 timer_interrupt+0x108/0x178
 Decrementer_virt+0x100/0x104
 0x0
 kcsan_setup_watchpoint+0x2dc/0x4a8
 memchr_inv+0x100/0x188
 __kernel_unpoison_pages+0xe0/0x1a8
 post_alloc_hook+0xa4/0x10c
 prep_new_page+0x24/0x5c
 get_page_from_freelist+0x238/0x5e0
 __alloc_pages_noprof+0xec/0x7d0
 __folio_alloc_noprof+0x14/0x30
 vma_alloc_zeroed_movable_folio.isra.0+0x34/0x7c
 handle_mm_fault+0x368/0xd00
 ___do_page_fault+0x3ac/0x504
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

write to 0xeefc7ad0 of 4 bytes by interrupt on cpu 0:

 __hrtimer_run_queues+0x1d0/0x1dc
 hrtimer_interrupt+0x168/0x350
 timer_interrupt+0x108/0x178
 Decrementer_virt+0x100/0x104
 memchr_inv+0x100/0x188
 __kernel_unpoison_pages+0xe0/0x1a8
 post_alloc_hook+0xa4/0x10c
 prep_new_page+0x24/0x5c
 get_page_from_freelist+0x238/0x5e0
 __alloc_pages_noprof+0xec/0x7d0
 __folio_alloc_noprof+0x14/0x30
 vma_alloc_zeroed_movable_folio.isra.0+0x34/0x7c
 handle_mm_fault+0x368/0xd00
 ___do_page_fault+0x3ac/0x504
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

Reported by Kernel Concurrency Sanitizer on:

CPU: 0 PID: 1452 Comm: stress Not tainted 6.10.0-rc4-PMacG4 #28
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
==================================================================
pagealloc: memory corruption
fffcfff0: 00 00 00 00                                      ....
CPU: 1 PID: 1453 Comm: stress Not tainted 6.10.0-rc4-PMacG4 #28
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2f59c60] [c09ba37c] dump_stack_lvl+0x78/0xac (unreliable)
[f2f59c80] [c09ba3d0] dump_stack+0x20/0x34
[f2f59c90] [c02624a8] __kernel_unpoison_pages+0x198/0x1a8
[f2f59ce0] [c0247168] post_alloc_hook+0xa4/0x10c
[f2f59d00] [c02471f4] prep_new_page+0x24/0x5c
[f2f59d20] [c0247c5c] get_page_from_freelist+0x238/0x5e0
[f2f59da0] [c0249720] __alloc_pages_noprof+0xec/0x7d0
[f2f59e40] [c024a39c] __folio_alloc_noprof+0x14/0x30
[f2f59e50] [c0223104] vma_alloc_zeroed_movable_folio.isra.0+0x34/0x7c
[f2f59e70] [c02288f0] handle_mm_fault+0x368/0xd00
[f2f59ef0] [c0031488] ___do_page_fault+0x3ac/0x504
[f2f59f30] [c00317f8] do_page_fault+0x20/0x38
[f2f59f40] [c0004324] DataAccess_virt+0x11c/0x174
--- interrupt: 300 at 0x8c3008
NIP:  008c3008 LR: 008c2fe8 CTR: a78e4a68
REGS: f2f59f50 TRAP: 0300   Not tainted  (6.10.0-rc4-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 8f860010 DSISR: 42000000 
GPR00: 008c2fe8 afd8fa70 a7922780 6c2ce010 3b600000 00000000 00000003 007e01e4 
GPR08: 23593000 23592000 00000000 a78e4a68 20882462 008dff68 00000000 40882462 
GPR16: ffffffff 00000000 00000002 00000000 00000001 00000000 008e0018 00000001 
GPR24: ffffffff ffffffff 3b600000 0000005a 6c2ce010 00000000 008e7cd0 00001000 
NIP [008c3008] 0x8c3008
LR [008c2fe8] 0x8c2fe8
--- interrupt: 300
page: refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x3106d
flags: 0x80000000(zone=2)
raw: 80000000 00000100 00000122 00000000 00000000 00000000 ffffffff 00000001
page dumped because: pagealloc: corrupted page details

[...]

'stress' mentioned by KCSAN is the process I use to trigger the page corruption via "stress -m 2 --vm-bytes 950M".

I tried this several times and "BUG: KCSAN: data-race in __hrtimer_run_queues / hrtimer_active" repeatedly shows up in dmesg shortly before the page corruption, though not always. Sometimes I got instead:

[...]

BUG: KCSAN: data-race in alloc_tag_restore / alloc_tag_save

read to 0xc3282278 of 4 bytes by interrupt on cpu 0:

 alloc_tag_save+0x2c/0x64
 __alloc_skb+0x130/0x208
 __netdev_alloc_skb+0x4c/0x2a0
 gem_poll+0x12d4/0x16b8
 __napi_poll.constprop.0+0x64/0x264
 net_rx_action+0x2a4/0x4b8
 handle_softirqs+0x280/0x2fc
 do_softirq_own_stack+0x70/0x90
 do_softirq_own_stack+0x60/0x90
 __irq_exit_rcu+0x88/0x118
 irq_exit+0x10/0x20
 interrupt_async_exit_prepare.isra.0+0x18/0x2c
 do_IRQ+0x24/0x2c
 HardwareInterrupt_virt+0x100/0x104
 folios_put_refs+0xb0/0x1ec
 udelay+0x1c/0x2c
 kcsan_setup_watchpoint+0x2dc/0x4a8
 alloc_tag_restore+0x54/0x78
 folio_alloc_noprof.constprop.0+0x68/0x8c
 vma_alloc_zeroed_movable_folio.isra.0+0x4c/0xac
 handle_mm_fault+0x368/0xd1c
 ___do_page_fault+0x3ac/0x514
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

write to 0xc3282278 of 4 bytes by task 1572 on cpu 0:

 alloc_tag_restore+0x54/0x78
 folio_alloc_noprof.constprop.0+0x68/0x8c
 vma_alloc_zeroed_movable_folio.isra.0+0x4c/0xac
 handle_mm_fault+0x368/0xd1c
 ___do_page_fault+0x3ac/0x514
 do_page_fault+0x20/0x38
 DataAccess_virt+0x11c/0x174

Reported by Kernel Concurrency Sanitizer on:

CPU: 0 PID: 1572 Comm: stress Not tainted 6.10.0-rc4-PMacG4 #23
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac

[...]

Full dmesg and kernel .config attached.

Regards,
Erhard

#14 lore raw
Quoted 4 lines · Erhard Furtner
Quoted 4 lines · Erhard Furtner
Quoted 3 lines

Revisited the issue on kernel v6.8-rc6 and I can still reproduce it.

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

Short summary as my last post was over a year ago:
(x) I get this memory corruption only when CONFIG_VMAP_STACK=y and CONFIG_SMP=y is enabled.
(x) I don't get this memory corruption when only one of the above is enabled. ^^
(x) memtester says the 2 GiB RAM in my G4 DP are fine.
(x) I don't get this issue on my G5 11,2 or Talos II.
(x) "stress -m 2 --vm-bytes 965M" provokes the issue in < 10 secs. (https://salsa.debian.org/debian/stress)

The "pagealloc: memory corruption" remains however as of kernel v6.10-rc4.

I've reproduced the bug on similar hardware, also a dual-processor Power Mac G4 with 2 GiB RAM.

With the 6.6.30 kernel without extra debugging options, the system was stable and could e.g. compile GCC or the kernel without an issue. That doesn't mean there wasn't silent corruption going on, of course. :-) Running the stress program as listed above did, however, cause the system to get into an unstable state where heavier workloads, such as compiling the kernel, would randomly fail.

I updated the kernel to 6.10.3, enabled SLUB_DEBUG, PAGE_POISONING and DEBUG_PAGEALLOC and turned them on at boot-time with slub_debug=FZ page_poison=on debug_pagealloc=on.

The updated kernel exhibits the same symptoms as described by Erhard, running stress -m 2 --vm-bytes 965M almost immediately causes a memory corruption with the following messages in dmesg:

```
pagealloc: memory corruption
fffcfff0: 00 00 00 00                                      ....
CPU: 1 PID: 1845 Comm: stress Tainted: G                T  6.10.3-gentoo #1
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2d05ca0] [c08ff18c] dump_stack_lvl+0x60/0xbc (unreliable)
[f2d05cc0] [c01db7e0] __kernel_unpoison_pages+0x128/0x1f0
[f2d05d10] [c01bc6c4] get_page_from_freelist+0xeb0/0xf6c
[f2d05db0] [c01bcf7c] __alloc_pages_noprof+0x160/0xdf0
[f2d05e70] [c01be388] __folio_alloc_noprof+0x14/0x44
[f2d05e80] [c0199690] handle_mm_fault+0x99c/0xdac
[f2d05f00] [c00218c8] do_page_fault+0x264/0x73c
[f2d05f30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0x7c2db0
NIP:  007c2db0 LR: 007c2d90 CTR: 00000000
REGS: f2d05f40 TRAP: 0300   Tainted: G                T   (6.10.3-gentoo)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882004  XER: 00000000
DAR: 8fe18020 DSISR: 42000000
GPR00: 007c2d90 afb6a160 a7a00100 6b416020 ffffffa0 00000000 a7916ffc 00000000
GPR08: 24a03000 24a02000 00000000 404347fa 404344c7 00000000 00000000 0000005a
GPR16: 6b416020 00000002 00000000 00000000 ffffffff 00000000 40882002 007e0004
GPR24: 00000001 ffffffff ffffffff 3c500000 00000000 66b7cd68 007e7cf8 00001000
NIP [007c2db0] 0x7c2db0
LR [007c2d90] 0x7c2d90
--- interrupt: 300
page: refcount:1 mapcount:0 mapping:00000000 index:0x0 pfn:0x31069
flags: 0x80000000(zone=2)
raw: 80000000 00000100 00000122 00000000 00000000 00000000 ffffffff 00000001
page dumped because: pagealloc: corrupted page details
```

Other activity can also trigger it, compilation of larger programs with make -j2 does it within an hour, typically resulting in an ICE.

When booted with the maxcpus=0 kernel parameter, the corruptions do not occur.

#6 lore raw
In reply to Erhard F.
Quoted 74 lines · On Sat, 17 Dec 2022 22:39:52 +0100 "Erhard F." <[email protected]> wrote:
Quoted 3 lines · On Mon, 12 Dec 2022 14:31:35 +1000 "Nicholas Piggin" <[email protected]> wrote:

Have you run memtest on the system? Are the messages related to a kernel upgrade? This and your KASAN bugs look possibly like random corruption.

Ok, so I went back to kernel 5.4.225 and ran 'memtester 1930M' for a few hours completing 5 test loops in a row. Next I ran 'stress -m2 --vm-bytes 965M' for a few hours, also without any problems. 1930M is the max. memory I can lock on this 2 GB PowerMac G4 without invoking systemds' OOM killer.

Booting kernel 6.1.0 and running 'stress -m2 --vm-bytes 965M' I almost instantly get:
[...]
pagealloc: memory corruption
830c4e52: 00 00 00 00 ....

CPU: 1 PID: 298 Comm: stress Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f302bb50] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f302bb70] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f302bbb0] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f302bcb0] [c02febd0] __alloc_pages+0x1dc/0x101c
[f302be00] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f302bed0] [c002b8c8] ___do_page_fault+0x22c/0x818
[f302bf10] [c002c108] do_page_fault+0x28/0x6c
[f302bf30] [c000433c] DataAccess_virt+0x124/0x17c
--- interrupt: 300 at 0xac3044
NIP:  00ac3044 LR: 00ac3020 CTR: 00000000
REGS: f302bf40 TRAP: 0300   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 20882464  XER: 00000000
DAR: 8b192010 DSISR: 42000000 
GPR00: 00ac3020 affad290 a7ed3740 6b97e010 3c500000 20224462 00000000 009e0264 
GPR08: 1f815000 1f814000 00000000 404a0fca 20882462 00adfff4 00000000 00000000 
GPR16: 00000000 00000002 00000000 0000005a 40802462 80002462 40002462 00ae00a0 
GPR24: ffffffff ffffffff 3c500000 00000000 00000000 6b97e010 00ae7d64 00001000 

NIP [00ac3044] 0xac3044
LR [00ac3020] 0xac3020
--- interrupt: 300
page:a7a2bb6d refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

Running 'memtester 1930M' on kernel 6.1.0 I almost instantly get:
[...]
pagealloc: memory corruption
f4f9be93: 00 00 00 00 ....

CPU: 1 PID: 295 Comm: memtester Tainted: G                T  6.1.0-gentoo-PMacG4 #2
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f2c7b6c0] [c0d22770] dump_stack_lvl+0x60/0xa4 (unreliable)
[f2c7b6e0] [c03242bc] __kernel_unpoison_pages+0x21c/0x268
[f2c7b720] [c02fdd04] get_page_from_freelist+0xf90/0x1234
[f2c7b820] [c02febd0] __alloc_pages+0x1dc/0x101c
[f2c7b970] [c02d2fa8] handle_mm_fault+0x5b8/0x10bc
[f2c7ba40] [c02c61a4] __get_user_pages+0x180/0x3cc
[f2c7baa0] [c02c7e24] populate_vma_page_range+0x8c/0xe4
[f2c7bad0] [c02c8088] __mm_populate+0x13c/0x238
[f2c7bb60] [c02d5658] do_mlock+0x15c/0x38c
[f2c7bc00] [c0019948] system_call_exception+0x120/0x204
[f2c7bf30] [c00221ac] ret_from_syscall+0x0/0x2c
--- interrupt: c00 at 0x6e6af0
NIP:  006e6af0 LR: 007e11a4 CTR: 00000000
REGS: f2c7bf40 TRAP: 0c00   Tainted: G                T   (6.1.0-gentoo-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 40002468  XER: 20000000

GPR00: 00000096 afa7bdc0 a7abb2c0 2f067000 789ff010 00000000 00000000 006d23d4
GPR08: 0000d032 00000008 78a00ff8 4047df2a 4047dbf7 007ffff4 010ef900 00c72438
GPR16: 00c73b50 00c723a0 789ff010 78a00000 00000000 a7ab42c8 00000000 007d0ea0
GPR24: 78a00000 fffff000 00000000 00001000 2f066010 00000001 00807de8 007e3870 NIP [006e6af0] 0x6e6af0
LR [007e11a4] 0x7e11a4
--- interrupt: c00
page:a05bd3e5 refcount:1 mapcount:0 mapping:00000000 index:0x1 pfn:0x310ab
flags: 0x80000000(zone=2)

Quoted 3 lines
raw: 80000000 00000100 00000122 00000000 00000001 00000000 ffffffff 00000001
raw: 00000000
page dumped because: pagealloc: corrupted page details

On recent v6.15-rc kernel this memory corruption behaves deterministic now and I need no external tools to provoke it on my G4. It needs VMAP_STACK=y, CONFIG_HIGHMEM=y and more than one core to show up. In this case I always get it during boot after init on the root file system:

[...]
Freeing unused kernel image (initmem) memory: 1204K Kernel memory protection not selected by kernel config. Run /sbin/init as init process
with arguments:
/sbin/init
with environment:

    HOME=/
    TERM=linux
random: crng init done
pagealloc: memory corruption
fffdfff0: 00 00 00 00                                      ....
CPU: 0 UID: 0 PID: 164 Comm: lvm Not tainted 6.15.0-rc4-PMacG4 #51 NONE 
Hardware name: PowerMac3,6 7455 0x80010303 PowerMac
Call Trace:
[f21a1c30] [c0913b10] dump_stack_lvl+0x70/0xa4 (unreliable)
[f21a1c50] [c0913b64] dump_stack+0x20/0x34
[f21a1c60] [c01ad7a0] __kernel_unpoison_pages+0x178/0x18c
[f21a1ca0] [c019fbd8] post_alloc_hook+0x78/0xb8
[f21a1cc0] [c019fc3c] prep_new_page+0x24/0x5c
[f21a1ce0] [c01a06b0] get_page_from_freelist+0x224/0x6f8
[f21a1d70] [c01a2218] __alloc_frozen_pages_noprof+0x118/0x800
[f21a1e20] [c01a2910] __alloc_pages_noprof+0x10/0x30
[f21a1e30] [c01a2cc8] __folio_alloc_noprof+0x14/0x30
[f21a1e40] [c0178e60] vma_alloc_zeroed_movable_folio.isra.0+0x34/0x8c
[f21a1e60] [c017dd9c] handle_mm_fault+0x380/0x1624
[f21a1ef0] [c003000c] ___do_page_fault+0x37c/0x4dc
[f21a1f30] [c0030394] do_page_fault+0x20/0x38
[f21a1f40] [c0004324] DataAccess_virt+0x11c/0x174
--- interrupt: 300 at 0xa77de974
NIP:  a77de974 LR: 004650f4 CTR: 00002cb2
REGS: f21a1f50 TRAP: 0300   Not tainted  (6.15.0-rc4-PMacG4)
MSR:  0000d032 <EE,PR,ME,IR,DR,RI>  CR: 42004460  XER: 20000000
DAR: 007aa000 DSISR: 42000000 
GPR00: 0000448e afbebcf0 a798d2e0 006eb158 00000000 00000010 007aa040 00000020 
GPR08: ffffffc0 ffffffe0 00000013 a77de804 a77dda94 006afca4 0153b33c 00000000 
GPR16: 00000000 015340b0 00000000 00710180 0153b30c 00000001 a799cc20 0043f718 
GPR24: a799e010 00000001 006eb158 006e9e10 afbec018 afbecaa5 006af5e4 00a6fa80 
NIP [a77de974] 0xa77de974
LR [004650f4] 0x4650f4
--- interrupt: 300
page: refcount:0 mapcount:0 mapping:00000000 index:0x0 pfn:0x3106d
flags: 0x80000000(zone=2)
raw: 80000000 00000100 00000122 00000000 00000000 00000000 ffffffff 00000000
page dumped because: pagealloc: corrupted page details

[...]

So the situation is as follows:

VMAP_STACK=y and CONFIG_HIGHMEM=y               ... memory corruption
VMAP_STACK=y without HIGHMEM                    ... boots ok
CONFIG_HIGHMEM=y without VMAP_STACK             ... boots ok

VMAP_STACK=y and CONFIG_HIGHMEM=y and nr_cpus=1 ... boots ok

I stripped down kernel .config (see attached dmesg) a lot to rule out some factors and also enabled KCSAN. However the memory corruption always happens before KCSAN shows any races at some later time (see attached dmesg). KCSAN_EARLY_ENABLE=y is enabled.

So the defining factor besides VMAP_STACK=y is CONFIG_HIGHMEM=y. If I disable HIGHMEM and let the G4 boot with only 784 MiB RAM in this case, I don't get any memory corruption whatsoever. Also CONFIG_HIGHMEM=y without VMAP_STACK=y works flawless. But not both together.

Regards,
Erhard