dev/shm/qemu-9.0.0/build/qemu-system-ppc -m 512 -M mac99 -smp 2 -nographic -cdrom ~/finnix-ppc-110.iso -boot d -bios /dev/shm/openbios-qemu.elf -d unimp -kernel /mnt/tmp/boot/vmlinux -append "console=ttyPZ0"
Booting Linux via __start() @ 0x01000000 ...
Hello World !
[ 0.000000] Total memory = 512MB; using 1024kB for hash table
[ 0.000000] Activating Kernel Userspace Execution Prevention
[ 0.000000] Activating Kernel Userspace Access Protection
[ 0.000000] Linux version 5.13.12_1 (voidlinux@voidlinux) (gcc (GCC) 10.2.1 20201203, GNU ld (GNU Binutils) 2.35.1) #1 SMP Thu Aug 19 14:12:26 UTC 2021
[ 0.000000] ioremap() called early from pmac_feature_init+0xd4/0xad4. Use early_ioremap() instead
[ 0.000000] Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x07
[ 0.000000] Mapped at 0xf73c0000
[ 0.000000] ioremap() called early from probe_one_macio+0x17c/0x2b4. Use early_ioremap() instead
[ 0.000000] Found a Keylargo mac-io controller, rev: 0, mapped at 0x(ptrval)
[ 0.000000] PowerMac motherboard: PowerMac G4 AGP Graphics
[ 0.000000] ioremap() called early from udbg_scc_init+0x1e4/0x3f8. Use early_ioremap() instead
[ 0.000000] boot stdout isn't a display !
[ 0.000000] ioremap() called early from find_via_cuda+0xb4/0x404. Use early_ioremap() instead
[ 0.000000] Using PowerMac machine description
[ 0.000000] printk: bootconsole [udbg0] enabled
[ 0.000000] CPU maps initialized for 1 thread per core
[ 0.000000] -----------------------------------------------------
[ 0.000000] phys_mem_size = 0x20000000
[ 0.000000] dcache_bsize = 0x20
[ 0.000000] icache_bsize = 0x20
[ 0.000000] cpu_features = 0x000000000501a00a
[ 0.000000] possible = 0x00000000277de14a
[ 0.000000] always = 0x0000000001000000
[ 0.000000] cpu_user_features = 0x9c000001 0x00000000
[ 0.000000] mmu_features = 0x00000001
[ 0.000000] Hash_size = 0x100000
[ 0.000000] Hash_mask = 0x3fff
[ 0.000000] -----------------------------------------------------
[ 0.000000] ioremap() called early from pmac_setup_arch+0x118/0x290. Use early_ioremap() instead
[ 0.000000] ioremap() called early from pmac_nvram_init+0x150/0x53c. Use early_ioremap() instead
[ 0.000000] nvram: Checking bank 0...
[ 0.000000] Invalid signature
[ 0.000000] Invalid checksum
[ 0.000000] nvram: gen0=0, gen1=0
[ 0.000000] nvram: Active bank is: 0
[ 0.000000] nvram: OF partition at 0xffffffff
[ 0.000000] nvram: XP partition at 0xffffffff
[ 0.000000] nvram: NR partition at 0xffffffff
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] percpu: Embedded 22 pages/cpu s59884 r8192 d22036 u90112
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyPZ0
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Kernel virtual memory layout:
[ 0.000000] * 0xf7bdf000..0xfffff000 : fixmap
[ 0.000000] * 0xf7400000..0xf7800000 : highmem PTEs
[ 0.000000] * 0xf7338000..0xf7400000 : early ioremap
[ 0.000000] * 0xe1000000..0xf7338000 : vmalloc & ioremap
[ 0.000000] Memory: 501280K/524288K available (10912K kernel code, 1444K rwdata, 2512K rodata, 1420K init, 516K bss, 23008K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x38/0x57c with crng_init=0
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 29527 entries in 87 pages
[ 0.000000] ftrace: allocated 87 pages with 5 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=1.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[ 0.000000] mpic: Setting up MPIC " MPIC 1 " version 1.2 at 80040000, max 1 CPUs
[ 0.000000] mpic: ISU size: 64, shift: 6, mask: 3f
[ 0.000000] mpic: Initializing for 64 sources
[ 0.000000] GMT Delta read from XPRAM: 0 minutes, DST: on
[ 0.001142] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.002703] clocksource: timebase mult[28000000] shift[24] registered
[ 0.087334] Console: colour dummy device 80x25
[ 0.887654] printk: console [ttyPZ0] enabled
[ 0.887654] printk: console [ttyPZ0] enabled
[ 0.889156] printk: bootconsole [udbg0] disabled
[ 0.889156] printk: bootconsole [udbg0] disabled
[ 0.891667] pid_max: default: 32768 minimum: 301
[ 0.894128] LSM: Security Framework initializing
[ 0.896773] Yama: becoming mindful.
[ 1.087499] AppArmor: AppArmor initialized
[ 1.088925] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.089604] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
smp_core99_probe
[ 2.288974] PowerMac SMP probe found 1 cpus
[ 2.387573] rcu: Hierarchical SRCU implementation.
[ 2.694594] smp: Bringing up secondary CPUs ...
[ 2.695248] smp: Brought up 1 node, 1 CPU
[ 3.094991] devtmpfs: initialized
[ 3.396089] Found UniNorth PCI host bridge at 0x00000000f2000000. Firmware bus number: 0->0
[ 3.397126] PCI host bridge /pci@f2000000 (primary) ranges:
[ 3.399319] IO 0x00000000f2000000..0x00000000f27fffff -> 0x0000000000000000
[ 3.400588] MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000
[ 3.403945] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 3.405210] futex hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 4.090418] NET: Registered protocol family 16
[ 4.290803] audit: initializing netlink subsys (disabled)
[ 4.391853] audit: type=2000 audit(1715958483.256:1): state=initialized audit_enabled=0 res=1
[ 4.596123] thermal_sys: Registered thermal governor 'fair_share'
[ 4.596321] thermal_sys: Registered thermal governor 'step_wise'
[ 4.699829] PCI: Probing PCI hardware
[ 4.889781] PCI host bridge to bus 0000:00
[ 4.890933] pci_bus 0000:00: root bus resource [io 0x0000-0x7fffff]
[ 4.892352] pci_bus 0000:00: root bus resource [mem 0x80000000-0x8fffffff]
[ 4.989981] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 4.991700] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to ff
[ 5.092773] pci 0000:00:0b.0: [106b:001f] type 00 class 0x060000
[ 5.389766] pci 0000:00:0c.0: [106b:0022] type 00 class 0xff0000
[ 5.590067] pci 0000:00:0c.0: reg 0x10: [mem 0x80000000-0x8007ffff]
[ 6.792298] pci 0000:00:0d.0: [106b:003f] type 00 class 0x0c0310
[ 6.990728] pci 0000:00:0d.0: reg 0x10: [mem 0x80080000-0x800800ff]
[ 8.192938] pci 0000:00:0e.0: [1234:1111] type 00 class 0x030000
[ 8.391783] pci 0000:00:0e.0: reg 0x10: [mem 0x81000000-0x81ffffff pref]
[ 8.792231] pci 0000:00:0e.0: reg 0x18: [mem 0x82000000-0x82000fff]
[ 9.592735] pci 0000:00:0e.0: reg 0x30: [mem 0x82010000-0x8201ffff pref]
[ 9.594473] pci 0000:00:0f.0: [106b:0021] type 00 class 0x020000
[ 9.792869] pci 0000:00:0f.0: reg 0x10: [mem 0x82200000-0x823fffff]
[ 10.995250] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 11.195287] pci_bus 0000:00: resource 4 [io 0x0000-0x7fffff]
[ 11.195950] pci_bus 0000:00: resource 5 [mem 0x80000000-0x8fffffff]
[ 11.596200] Kprobes globally optimized
[ 101.045963] watchdog: BUG: soft lockup - CPU#0 stuck for 92s! [cryptomgr_test:28]
[ 101.046771] Modules linked in:
[ 101.047492] CPU: 0 PID: 28 Comm: cryptomgr_test Not tainted 5.13.12_1 #1
[ 101.048510] NIP: c05db078 LR: c05e4e78 CTR: 00000002
[ 101.049022] REGS: e1891960 TRAP: 0900 Not tainted (5.13.12_1)
[ 101.049671] MSR: 00009032 <EE,ME,IR,DR,RI> CR: 44448804 XER: 20000000
[ 101.050587]
[ 101.050587] GPR00: c05e4e78 e1891a20 c15c6500 1f9b902c c15bac94 00000008 54e1363f c15baa20
[ 101.050587] GPR08: 1f9b902c 239bbcb8 c15baa94 00001032 24444804 00000000 00000080 00000200
[ 101.050587] GPR16: 00000080 e1891c28 00000000 00000060 c15baa60 00000008 00000000 c15cb880
[ 101.050587] GPR24: c15bac80 00000040 c15bac80 00000008 00000020 c15cb880 c15baa00 c15baa80
[ 101.054363] NIP [c05db078] mpihelp_mul_1+0x20/0x4c
[ 101.054931] LR [c05e4e78] mul_n_basecase.isra.0+0x110/0x180
[ 101.055699] Call Trace:
[ 101.056114] [e1891a20] [00009032] 0x9032 (unreliable)
[ 101.057173] [e1891a30] [c05e4e78] mul_n_basecase.isra.0+0x110/0x180
[ 101.057769] [e1891a60] [c05e515c] mul_n+0x274/0x554
[ 101.058258] [e1891ab0] [c05e52ec] mul_n+0x404/0x554
[ 101.058727] [e1891b00] [c05e5020] mul_n+0x138/0x554
[ 101.059195] [e1891b50] [c05e52ec] mul_n+0x404/0x554
[ 101.059684] [e1891ba0] [c05e5f80] mpihelp_mul_karatsuba_case+0xb8/0x520
[ 101.060325] [e1891be0] [c05e6b34] mpi_powm+0x74c/0xe50
[ 101.060830] [e1891c90] [c04e17e8] rsa_dec+0xb8/0x160
[ 101.061327] [e1891cd0] [c04eaaac] test_akcipher_one+0x634/0x780
[ 101.061901] [e1891dc0] [c04eacb0] alg_test_akcipher+0xb8/0x12c
[ 101.062465] [e1891df0] [c04e65dc] alg_test.part.0+0x4ac/0x578
[ 101.063021] [e1891ed0] [c04e4418] cryptomgr_test+0x3c/0x5c
[ 101.063556] [e1891ef0] [c00c0074] kthread+0x150/0x154
[ 101.064053] [e1891f30] [c00220fc] ret_from_kernel_thread+0x14/0x1c
[ 101.064816] Instruction dump:
[ 101.065296] 7d4a3030 7d4c292e 38210010 4e800020 7c0802a6 90010004 60000000 9421fff0
[ 101.066156] 3943fffc 3884fffc 7ca903a6 38600000 <85240004> 7d093016 7d2931d6 7d234a14
[ 125.473532] iommu: Default domain type: Translated
[ 125.661514] pci 0000:00:0e.0: vgaarb: setting as boot VGA device
[ 125.662445] pci 0000:00:0e.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 125.663503] pci 0000:00:0e.0: vgaarb: bridge control possible
[ 125.664112] vgaarb: loaded
[ 125.759371] SCSI subsystem initialized
[ 126.268896] clocksource: Switched to clocksource timebase
[ 128.665867] VFS: Disk quotas dquot_6.6.0
[ 128.666589] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 128.863374] AppArmor: AppArmor Filesystem Enabled
[ 129.260836] watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [ksoftirqd/0:12]
[ 129.261513] Modules linked in:
[ 129.261958] CPU: 0 PID: 12 Comm: ksoftirqd/0 Tainted: G L 5.13.12_1 #1
[ 129.262706] NIP: c0aa6c58 LR: c0aa6a64 CTR: c0710070
[ 129.263189] REGS: e1045d90 TRAP: 0900 Tainted: G L (5.13.12_1)
[ 129.263884] MSR: 00009032 <EE,ME,IR,DR,RI> CR: 22000204 XER: 20000000
[ 129.264613]
[ 129.264613] GPR00: c0aa6a64 e1045e50 c1566500 c0fc5568 00009032 12ef9880 00000001 00000000
[ 129.264613] GPR08: c0fc556c c1566500 1ece9000 00001032 22000204 00000000 c0c30000 04208040
[ 129.264613] GPR16: c0fc0000 fffee2f1 c0e7d960 c0e7d960 c0e71268 0000000a c0f7c6a4 c0fd013c
[ 129.264613] GPR24: c0fc5040 c0e712f0 c0fd0fa8 00000100 00000000 c0fc505c 00000006 00000000
[ 129.268188] NIP [c0aa6c58] __do_softirq+0x368/0x3e8
[ 129.268678] LR [c0aa6a64] __do_softirq+0x174/0x3e8
[ 129.269143] Call Trace:
[ 129.269391] [e1045e50] [c0aa6a64] __do_softirq+0x174/0x3e8 (unreliable)
[ 129.270049] [e1045eb0] [c009826c] run_ksoftirqd+0x60/0x7c
[ 129.270584] [e1045ec0] [c00c59f4] smpboot_thread_fn+0x190/0x1d8
[ 129.271170] [e1045ef0] [c00c0074] kthread+0x150/0x154
[ 129.271671] [e1045f30] [c00220fc] ret_from_kernel_thread+0x14/0x1c
[ 129.272279] Instruction dump:
[ 129.272583] 81d60068 2c0e0000 41820024 812e0000 7fc4f378 806e0004 7d2903a6 4e800421
[ 129.273397] 854e000c 2c0a0000 4082ffe4 4bfffe00 <4b695fad> 4bfffe54 4b62ee09 81420000
[ 129.362553] NET: Registered protocol family 2
[ 129.462586] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 129.862547] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 129.863586] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 129.864901] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 129.865879] TCP: Hash tables configured (established 4096 bind 4096)
[ 130.063088] MPTCP token hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 130.162249] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 130.163352] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 130.261917] NET: Registered protocol family 1
[ 130.263104] NET: Registered protocol family 44
[ 130.562057] pci 0000:00:0d.0: quirk_usb_early_handoff+0x0/0xa28 took 195421 usecs
[ 130.562948] PCI: CLS 0 bytes, default 32
[ 130.762403] Thermal assist unit using workqueue, shrink_timer: 2000 ms
[ 130.869107] Initialise system trusted keyrings
[ 131.063283] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 131.463356] zbud: loaded
[ 131.762382] Key type asymmetric registered
[ 131.763082] Asymmetric key parser 'x509' registered
[ 131.862790] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 131.864761] io scheduler mq-deadline registered
[ 131.865413] io scheduler kyber registered
[ 131.866259] io scheduler bfq registered
[ 131.877467] Using unsupported 800x600 (null) at 81000000, depth=32, pitch=3200
[ 134.864381] Console: switching to colour frame buffer device 100x37
[ 135.066957] fb0: Open Firmware frame buffer device on /pci@f2000000/QEMU,VGA@e
[ 135.166450] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 135.370115] pmac_zilog: 0.6 (Benjamin Herrenschmidt <
benh@kernel.crashing.org>)
[ 135.371108] Serial: MPC52xx PSC UART driver
[ 135.465166] Non-volatile memory driver v1.3
[ 135.465670] Linux agpgart interface v0.103
[ 135.664842] MacIO PCI driver attached to Keylargo chipset
[ 135.673219] 0.00013020:ch-a: ttyPZ0 at MMIO 0x80013020 (irq = 37, base_baud = 230400) is a Z85c30 ESCC - Serial port
[ 135.765972] 0.00013000:ch-b: ttyPZ1 at MMIO 0x80013000 (irq = 36, base_baud = 230400) is a Z85c30 ESCC - Serial port
[ 135.774200] Macintosh Cuda and Egret driver.
[ 135.964879] mousedev: PS/2 mouse device common for all mice
[ 136.067574] rtc-generic rtc-generic: registered as rtc0
[ 136.070166] rtc-generic rtc-generic: setting system clock to 2024-05-17T15:10:18 UTC (1715958618)
[ 136.166651] ledtrig-cpu: registered to indicate activity on CPUs
[ 136.168573] drop_monitor: Initializing network drop monitor service
[ 136.172298] NET: Registered protocol family 10
[ 138.581554] Segment Routing with IPv6
[ 138.582062] RPL Segment Routing with IPv6
[ 138.583357] mip6: Mobile IPv6
[ 138.669223] NET: Registered protocol family 17
[ 138.670553] mpls_gso: MPLS GSO support
[ 138.671082] drmem: No dynamic reconfiguration memory found
[ 138.771720] registered taskstats version 1
[ 138.772631] Loading compiled-in X.509 certificates
[ 138.775574] zswap: loaded using pool lzo/zbud
[ 138.969585] Key type ._fscrypt registered
[ 138.970035] Key type .fscrypt registered
[ 138.970444] Key type fscrypt-provisioning registered
[ 139.170377] AppArmor: AppArmor sha1 policy hashing enabled
[ 139.770002] List of all partitions:
[ 139.770692] No filesystem could mount root, tried:
[ 139.770735]
[ 139.771608] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[ 139.772701] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G L 5.13.12_1 #1
[ 139.773479] Call Trace:
[ 139.773730] [e1019db0] [c05ee5dc] dump_stack+0x9c/0xd0 (unreliable)
[ 139.774376] [e1019dd0] [c008e354] panic+0x154/0x364
[ 139.774859] [e1019e30] [c0d20958] mount_block_root+0x330/0x384
[ 139.775431] [e1019eb0] [c0d20ba8] prepare_namespace+0x170/0x1b4
[ 139.776004] [e1019ed0] [c0d20344] kernel_init_freeable+0x238/0x26c
[ 139.776611] [e1019f10] [c0007c28] kernel_init+0x20/0x120
[ 139.777135] [e1019f30] [c00220fc] ret_from_kernel_thread+0x14/0x1c
[ 139.779809] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1) ]---
so, this one more explicitly SMP aware, good ...