From owner-freebsd-bugs@freebsd.org Thu Oct 8 18:19:09 2015 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 68E109D1E42 for ; Thu, 8 Oct 2015 18:19:09 +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 495E0FFE for ; Thu, 8 Oct 2015 18:19:09 +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 t98IJ9na061283 for ; Thu, 8 Oct 2015 18:19:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors Date: Thu, 08 Oct 2015 18:19:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olgeni@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 18:19:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203643 Bug ID: 203643 Summary: [bhyve] NetBSD causes bhyve to exit on AMD processors Product: Base System Version: 10.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: olgeni@FreeBSD.org Created attachment 161834 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161834&action=edit bhyve exception log NetBSD 7.0 causes bhyve to exit with an exception, but only on AMD processors. Intel works fine. uname -a: FreeBSD olgeni 10.2-STABLE FreeBSD 10.2-STABLE #5 r288925: Tue Oct 6 20:48:48 CEST 2015 root@olgeni:/usr/obj/usr/src/sys/KERNEL amd64 Processor: CPU: AMD Phenom(tm) II X4 965 Processor (3411.31-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x100f43 Family=0x10 Model=0x4 Stepping=3 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x37ff SVM: NP,NRIP,NAsids=64 TSC: P-state invariant How to repeat - download NetBSD-7.0-amd64.iso, then try this: ====================================================================== truncate -s8G netbsd.img cat > netbsd.map << EOF (hd0) netbsd.img (cd0) NetBSD-7.0-amd64.iso EOF cat > netbsd.grub << EOF knetbsd -h -r cd0a /netbsd boot EOF sudo grub-bhyve -r cd0 -m netbsd.map -M 1024 netbsd < netbsd.grub sudo bhyve -c 1 -m 1024M -H -P -A -W -w \ -l com1,stdio \ -s 0:0,hostbridge \ -s 1:0,lpc \ -s 2:0,virtio-net,tap0 \ -s 3,ahci-cd,NetBSD-7.0-amd64.iso \ -s 4,virtio-blk,netbsd.img netbsd ====================================================================== You'll get something similar to this: root on cd0a dumps on cd0b root file system type: cd9660 warning: no /dev/console vm exit[0] reason SVM rip 0xffffffff80229f5f inst_length 2 exitcode 0x7b exitinfo1 0x3f8021c exitinfo2 0xffffffff80229f61 -- You are receiving this mail because: You are the assignee for the bug.