[Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 8 22:04:45 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203643

HrstBW <kjift14 at posteo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kjift14 at posteo.at

--- Comment #3 from HrstBW <kjift14 at posteo.at> ---
I can confirm this with identical symptoms, on different AMD hardware, with
more recent versions:

uname -a
FreeBSD bhyvehost 11.0-RELEASE-p8 FreeBSD 11.0-RELEASE-p8 #0: Wed Feb 22
06:12:04 UTC 2017    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64


dmesg
[...]
CPU: AMD E-350 Processor (1596.63-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x500f10  Family=0x14  Model=0x1  Stepping=0
 
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=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=0x35ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WDT>
[...]


Linux installations and live CDs are working fine.

Steps:

zfs create -s -V 5G bhyveguests/netbsd

==> install.map <==
(hd0) /dev/zvol/bhyveguests/netbsd
(cd0) /scratch/NetBSD-7.1/amd64/boot-com.iso

==> install.sh <==
grub-bhyve -m install.map -r cd0 -M 512 netbsdvm << EOF
knetbsd -h -r cd0a (cd0)/netbsd
boot
EOF
bhyve -c 1 -m 512M -H -P -A \
    -l com1,stdio \
    -s 0:0,hostbridge \
    -s 1:0,lpc -s 2:0,virtio-net,tap0 \
    -s 3,ahci-cd,/scratch/NetBSD-7.1/amd64/boot-com.iso \
    -s 4,virtio-blk,/dev/zvol/bhyveguests/netbsd \
    netbsdvm

./install.sh dies with:


[...]
cd0 at atapibus0 drive 0: <BHYVE SATA DVD ROM, BHYVE-5932-F7DC-D40, 001> cdrom
removable
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: cd0
cd0(ahcisata0:0:0):  Check Condition on CDB: 0x46 00 00 00 00 00 00 00 08 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Invalid Command Operation Code

root on cd0a dumps on cd0b
root file system type: cd9660
warning: no /dev/console
vm exit[0]
                reason          SVM
                                        rip             0xffffffff8022a72f
                                                                               
inst_length     2
                                                                               
                        exitcode        0x7b
                                                                               
                                                exitinfo1       0x3f8021c  
        exitinfo2       0xffffffff8022a731

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list