Trying to Install a 9.0 or 9.1 FreeBSD Guest on a Linux KVM Host ends in the following error message directly after the Boot Menu: kernel trap 12 with interrupts disabled Enabling Verbose does not show more Information. Tried to set hw.mca.enabled=0 and disabled acpi, without effect. Tested FreeBSD 8.3, which works when setting hw.mca.enabled=0. It seems like this Bug is initially triggered by the Qemu -cpu Parameter, when "-cpu Opteron_G4" is set, this Bug happens. How-To-Repeat: Try to Install a FreeBSD 9.x Guest on a Linux KVM Host with qemu Parameter "-cpu Opteron_G4" /usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Opteron_G4 -enable-kvm -m 4096 -smp 8,sockets=2,cores=4,threads= ....
-HEAD shows the same Problem. So far only 8.x seems to be fine. -- InterNetX GmbH Maximilianstr. 6 93047 Regensburg Germany Tel. +49 941 59559-480 Fax +49 941 59559-245 www.internetx.com www.facebook.com/InterNetX www.twitter.com/InterNetX Geschaftsführer/CEO: Thomas Mörz Amtsgericht Regensburg, HRB 7142
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
this still stay with FreeBSD-12.0-CURRENT-amd64-20180315-r331001-disc1.iso under Ubuntu 18.04 X86_64(Linux lxn550jk 4.15.0-10-generic #11-Ubuntu SMP Tue Feb 13 18:23:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux). Ubuntu package info: qemu-system-x86 1:2.11+dfsg-1ubuntu4 amd64 QEMU full system emulation binaries (x86) I have try some tips from https://forums.freebsd.org/threads/freebsd-10-does-not-boot-kvm-kernel-trap-12.47409/ but it still not works. kernel trap 12 with interrupts disabled --- FreeBSD-12.0-CURRENT-amd64-20180315-r331001-disc1.iso boot normally --- FreeBSD-11.1-RELEASE-amd64-disc1.iso boot normally --- FreeBSD-10.4-RELEASE-amd64-uefi-disc1.iso test with follow command: sudo /usr/bin/qemu-system-x86_64 -enable-kvm \ -machine pc-i440fx-bionic \ -cpu Haswell-noTSX \ -drive file=/usr/share/OVMF/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \ -drive file=/var/lib/libvirt/qemu/nvram/freebsd11.1_VARS.fd,if=pflash,format=raw,unit=1 \ -m 8192 -smp 4,sockets=4,cores=1,threads=1 \ -no-user-config -nodefaults \ -device ide-cd,drive=drive-sata0-0-1,id=sata0-0-1,bootindex=1 \ -drive file=/ds/data/iso/FreeBSD-11.1-RELEASE-amd64-disc1.iso,format=raw,if=none,id=drive-sata0-0-1,media=cdrom,readonly=on \ -vga std \ -display sdl
FYI: only effect UEFI boot.
Fixed in: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1.iso
I guess I'll take this one, then. =) It'd be nice to know exactly what change we made to unbreak this, but I don't know that I care enough to ask you to bissecting it.