Date: Thu, 08 Oct 2015 18:19:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors Message-ID: <bug-203643-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT> Features2=0x802009<SSE3,MON,CX16,POPCNT> AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!> AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203643-8>