Date: Fri, 03 Apr 2026 11:17:27 +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-OvIsUf4t4E@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-294058-21@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294058 --- Comment #2 from Luke Yasuda <jing@jing.rocks> --- (In reply to Adrian Chadd from comment #1) Hi, sorry that I forgot to paste my qemu config, then also forgot to reply ;D I'm editing the title because I found it inaccurate. After lots of trials, the issue occurs when a PCI bridge is attached to PCI bus 0 with an address greater than 0x8. Here is the simplified qemu cmdline I used to reproduce the issue: /usr/bin/qemu-system-ppc64le \ -name 'random' \ -bios /usr/share/qemu/slof.bin \ -smp '4' \ -nographic -cpu host -m 4096 \ -device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.0,addr=0x3' \ -drive 'if=none,file=FreeBSD-16.0-CURRENT-powerpc-powerpc64le-20260330-e6eba5076929-284768-bootonly.iso,id=drive-scsi0,media=cdrom,aio=io_uring' \ -device 'scsi-cd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0' \ -machine 'type=pseries' \ -accel kvm \ -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x9' \ -vga none Then the kernel crashes, both powerpc64 and powerpc64le. The kernel does not crash and boots normally when I change the pci-bridge addr to 0x8 or smaller. The host is Debian unstable, but this issue can be reproduced on trixie or bookworm. -- 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-OvIsUf4t4E>
