Date: Sat, 05 Nov 2016 14:10:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214242] FreeBSD Kernel does not boot on Opteron_G4 CPU (KVM Guest) Message-ID: <bug-214242-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214242 Bug ID: 214242 Summary: FreeBSD Kernel does not boot on Opteron_G4 CPU (KVM Guest) Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: sam@sambyte.co.uk CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Created attachment 176657 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176657&action= =3Dedit Archive containing screenshots described in report I have reproduced this across a couple of guests now. One was an upgrade fr= om 10.3-RELEASE (Which works fine) the other is the bootonly installer image All hang immediately after the boot menu (Shown in bootloader.png) Attempts to enable verbose debugging do not produce any further output. Removal of: <cpu mode=3D'host-model'> <model fallback=3D'allow'/> </cpu> >From the libvirt XML allows the guest to boot with limited available instruction sets (Shown in kvmlimited.png) this would lead me to believe th= at a change in the 11 kernel has made it incompatible with a particular instruct= ion set that is present on an Opteron 6234 CPU Guest boots fine using host-model CPU of an Intel E5 2620 (SandyBridge) host (Shown in intelhost.png) FreeBSD 10.3-RELEASE loads fine using the host-model parameters of KVM on t= he Opteron_G4 host (Shown in Opteron_G4 Features.png) KVM / Qemu version of both hypervisors is 'QEMU emulator version 2.0.0 (Deb= ian 2.0.0+dfsg-2ubuntu1.28)' and both hypervisors are running Ubuntu 14.04.5 LTS with libvirt 1.2.2 Libvirt XML of non-working: <domain type=3D'kvm' id=3D'42'> <name>www</name> <uuid>fef0689e-fe23-df7c-1d11-3aa3447d6491</uuid> <description>None</description> <memory unit=3D'KiB'>524288</memory> <currentMemory unit=3D'KiB'>524288</currentMemory> <vcpu placement=3D'static'>2</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch=3D'x86_64' machine=3D'pc-i440fx-trusty'>hvm</type> <boot dev=3D'hd'/> <boot dev=3D'cdrom'/> <bootmenu enable=3D'yes'/> </os> <cpu mode=3D'host-model'> <model fallback=3D'allow'/> </cpu> <features> <acpi/> <apic/> <pae/> </features> <clock offset=3D'utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm-spice</emulator> <disk type=3D'file' device=3D'disk'> <driver name=3D'qemu' type=3D'qcow2'/> <source file=3D'/var/lib/libvirt/images/www.img'/> <target dev=3D'vda' bus=3D'virtio'/> <alias name=3D'virtio-disk0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x04' function=3D'0x0'/> </disk> <disk type=3D'file' device=3D'cdrom'> <driver name=3D'qemu' type=3D'raw'/> <source file=3D'/mnt/iso/FreeBSD-11.0-RELEASE-amd64-bootonly.iso'/> <target dev=3D'hda' bus=3D'ide'/> <readonly/> <alias name=3D'ide0-1-1'/> <address type=3D'drive' controller=3D'0' bus=3D'1' target=3D'0' unit= =3D'1'/> </disk> <controller type=3D'usb' index=3D'0'> <alias name=3D'usb0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' function=3D'0x2'/> </controller> <controller type=3D'pci' index=3D'0' model=3D'pci-root'> <alias name=3D'pci.0'/> </controller> <controller type=3D'ide' index=3D'0'> <alias name=3D'ide0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' function=3D'0x1'/> </controller> <interface type=3D'bridge'> <mac address=3D'52:54:00:21:33:01'/> <source bridge=3D'br0'/> <target dev=3D'vnet4'/> <model type=3D'virtio'/> <alias name=3D'net0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x03' function=3D'0x0'/> </interface> <serial type=3D'pty'> <source path=3D'/dev/pts/9'/> <target port=3D'0'/> <alias name=3D'serial0'/> </serial> <console type=3D'pty' tty=3D'/dev/pts/9'> <source path=3D'/dev/pts/9'/> <target type=3D'serial' port=3D'0'/> <alias name=3D'serial0'/> </console> <input type=3D'tablet' bus=3D'usb'> <alias name=3D'input0'/> </input> <input type=3D'mouse' bus=3D'ps2'/> <input type=3D'keyboard' bus=3D'ps2'/> <graphics type=3D'vnc' port=3D'5904' autoport=3D'yes' listen=3D'0.0.0.0= '> <listen type=3D'address' address=3D'0.0.0.0'/> </graphics> <video> <model type=3D'cirrus' vram=3D'9216' heads=3D'1'/> <alias name=3D'video0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x0'/> </video> <memballoon model=3D'virtio'> <alias name=3D'balloon0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x05' function=3D'0x0'/> </memballoon> </devices> <seclabel type=3D'dynamic' model=3D'apparmor' relabel=3D'yes'> <label>libvirt-fef0689e-fe23-df7c-1d11-3aa3447d6491</label> <imagelabel>libvirt-fef0689e-fe23-df7c-1d11-3aa3447d6491</imagelabel> </seclabel> </domain> --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214242-8>