Date: Thu, 26 Mar 2026 06:07:01 +0000 From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 294058] kernel panic when boot on powerpc64/powerpc64le qemu with more than 8 PCI devices Message-ID: <bug-294058-21@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294058 Bug ID: 294058 Summary: kernel panic when boot on powerpc64/powerpc64le qemu with more than 8 PCI devices Product: Base System Version: 16.0-CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Many People Priority: --- Component: powerpc Assignee: ppc@FreeBSD.org Reporter: jing@jing.rocks Hi, Trying to boot the FreeBSD 16.0-CURRENT snapshot ISO (powerpc64/powerpc64le) on qemu, when there are more than 8 PCI devices plugged on the pci.0 bus, the kernel panics: powerpc64: HHit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... cas: selected radix MMU Kernel entry at 0x1017d0 ... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<<BOOT>>--- Copyright (c) 1992-2026 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 16.0-CURRENT #0 main-n284417-8f72d933cd18: Mon Mar 9 13:09:59 UTC 2026 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/powerpc.powerpc64/sys/GENERIC64 powerpc FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. cpu0: IBM POWER9 revision 2.2, 2400.00 MHz cpu0: Features dc007182<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ISNOOP,ARCH205,ARCH206,VSX,TRUELE> cpu0: Features2 bee00000<ARCH207,DSCR,ISEL,TAR,VCRYPTO,ARCH300,IEEE128,DARN> real memory = 17134309376 (16340 MB) avail memory = 16557113344 (15790 MB) FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs random: registering fast source PowerISA DARN random number generator random: fast provider: "PowerISA DARN random number generator" arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> on nexus0 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 xicp0: <External Interrupt Presentation Controller> on ofwbus0 xicp0: Handling CPUs 0-15 vdevice0: <POWER Hypervisor Virtual Device Root> on ofwbus0 uart0: <POWER Hypervisor Virtual Serial Port> irq 16781569 on vdevice0 pcib0: <RTAS Host-PCI bridge> on ofwbus0 pci0: <POWER Hypervisor PCI bus> on pcib0 panic: ofw_bus_search_intrmap: truncated map cpuid = 0 time = 1 KDB: stack backtrace: 0xc00800000000bd20: at vpanic+0x1b0 0xc00800000000bdd0: at panic+0x44 0xc00800000000be00: at ofw_bus_search_intrmap+0x2b4 0xc00800000000bf00: at ofw_bus_lookup_imap+0x100 0xc00800000000c000: at ofw_pcib_route_interrupt+0x284 0xc00800000000c0f0: at ofw_pcibus_assign_interrupt+0x414 0xc00800000000c190: at pci_assign_interrupt+0x140 0xc00800000000c280: at pci_add_resources+0x784 0xc00800000000c370: at pci_add_child+0xcc 0xc00800000000c430: at ofw_pcibus_attach+0x378 0xc00800000000c550: at device_attach+0x568 0xc00800000000c630: at bus_attach_children+0x88 0xc00800000000c670: at ofw_pcib_attach+0x54 0xc00800000000c6a0: at rtaspci_attach+0x19c 0xc00800000000c6f0: at device_attach+0x568 0xc00800000000c7d0: at bus_generic_new_pass+0x190 0xc00800000000c820: at bus_generic_new_pass+0x104 0xc00800000000c870: at bus_generic_new_pass+0x104 0xc00800000000c8c0: at root_bus_configure+0x6c 0xc00800000000c910: at configure+0x1c 0xc00800000000c940: at mi_startup+0x298 0xc00800000000ca50: at __start+0xc4 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x70: ori r0, r0, 0x0 db> powerpc64le: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... cas: selected radix MMU Kernel entry at 0x1017d0 ... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<<BOOT>>--- Copyright (c) 1992-2026 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 16.0-CURRENT #0 main-n284417-8f72d933cd18: Mon Mar 9 13:02:04 UTC 2026 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/powerpc.powerpc64le/sys/GENERIC64LE powerpc FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. cpu0: IBM POWER9 revision 2.2, 2400.00 MHz cpu0: Features dc007182<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ISNOOP,ARCH205,ARCH206,VSX,TRUELE> cpu0: Features2 bee00000<ARCH207,DSCR,ISEL,TAR,VCRYPTO,ARCH300,IEEE128,DARN> real memory = 17134305280 (16340 MB) avail memory = 16555548672 (15788 MB) FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs random: registering fast source PowerISA DARN random number generator random: fast provider: "PowerISA DARN random number generator" arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> on nexus0 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 xicp0: <External Interrupt Presentation Controller> on ofwbus0 xicp0: Handling CPUs 0-15 vdevice0: <POWER Hypervisor Virtual Device Root> on ofwbus0 uart0: <POWER Hypervisor Virtual Serial Port> irq 16781569 on vdevice0 pcib0: <RTAS Host-PCI bridge> on ofwbus0 pci0: <POWER Hypervisor PCI bus> on pcib0 panic: ofw_bus_search_intrmap: truncated map cpuid = 0 time = 1 KDB: stack backtrace: 0xc00800000000bd10: at vpanic+0x1ac 0xc00800000000bdc0: at panic+0x40 0xc00800000000bdf0: at ofw_bus_search_intrmap+0x4a4 0xc00800000000bef0: at ofw_bus_lookup_imap+0x100 0xc00800000000bff0: at ofw_pcib_route_interrupt+0x284 0xc00800000000c0e0: at ofw_pcibus_assign_interrupt+0x414 0xc00800000000c180: at pci_assign_interrupt+0x140 0xc00800000000c270: at pci_add_resources+0x810 0xc00800000000c370: at pci_add_child+0xcc 0xc00800000000c430: at ofw_pcibus_attach+0x38c 0xc00800000000c550: at device_attach+0x568 0xc00800000000c630: at bus_attach_children+0x8c 0xc00800000000c670: at ofw_pcib_attach+0x54 0xc00800000000c6a0: at rtaspci_attach+0x19c 0xc00800000000c6f0: at device_attach+0x568 0xc00800000000c7d0: at bus_generic_new_pass+0x198 0xc00800000000c820: at bus_generic_new_pass+0x10c 0xc00800000000c870: at bus_generic_new_pass+0x10c 0xc00800000000c8c0: at root_bus_configure+0x6c 0xc00800000000c910: at configure+0x1c 0xc00800000000c940: at mi_startup+0x298 0xc00800000000ca50: at __start+0xfc KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x70: ori r0, r0, 0x0 db> -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294058-21>
