From owner-freebsd-bugs@freebsd.org Tue Oct 10 18:08:17 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5037CE38F9F for ; Tue, 10 Oct 2017 18:08:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E0F966667 for ; Tue, 10 Oct 2017 18:08:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9AI8FMh005818 for ; Tue, 10 Oct 2017 18:08:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 213155] possible kernel regression when running 11.x-RELEASE on KVM on AMD Opterons Date: Tue, 10 Oct 2017 18:08:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tingox+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 18:08:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213155 Torfinn Ingolfsen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tingox+freebsd@gmail.com --- Comment #19 from Torfinn Ingolfsen --- (In reply to Martin Waschb=C3=BCsch from comment #18) I can confirm that FreeBSD 10.4-release (and FreeBSD 10.4-stable) is also affected. For reference, a FreeBSD 10.3-release guest boots fine with virt-install --connect qemu:///system --name kvm1 --memory 512 --cpu host --vcpus 1 --cdrom /home/tingo/dl/bsd/fbsd/10.3/FreeBSD-10.3-RELEASE-amd64-disc1.iso --os-variant=3Dfreebsd10.3 --disk size=3D6 --virt-type=3Dkvm --network=3Dde= fault=20 --console pty,target_type=3Dvirtio for a FreeBSD 10.4 guest, I need --cpu kvm64 or --cpu Opteron_G3 to get it = to boot. If I use --cpu host, --cpu Opteron_G5 or --cpu Opteron_G4 it just han= gs after loading the kernel, just as the screenshot shows. The host machine is running Debian 9.1: tingo@kg-vm4:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.1 (stretch) Release: 9.1 Codename: stretch tingo@kg-vm4:~$ uname -a Linux kg-vm4 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux the host cpu is a A10-6700T tingo@kg-vm4:~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 21 Model: 19 Model name: AMD A10-6700T APU with Radeon(tm) HD Graphics Stepping: 1 CPU MHz: 1400.000 CPU max MHz: 2500.0000 CPU min MHz: 1400.0000 BogoMIPS: 4990.55 Virtualization: AMD-V L1d cache: 16K L1i cache: 64K L2 cache: 2048K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge= mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe= 1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold FWIW, setting hw.use_xsave=3D0 in the guest before booting doesn't help, it= still hangs. Also, If I install a FreeBSD 10.3-release guest and upgrade it to FreeBSD 10.4-stable (source, make world procedure) it hangs too (unsurprising, but still). --=20 You are receiving this mail because: You are the assignee for the bug.=