Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 09:43:58 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Anish <akgupt3@gmail.com>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: CFT: Reload LDTR after #VMEXIT on AMD-v in bhyve
Message-ID:  <9b364843-4e41-e927-9221-a0109d37c36c@sentex.net>
In-Reply-To: <CALnRwMR=wJD4cWCFXqw8SQps1_iaVtfAkZpmb4aSodJaEC6mzw@mail.gmail.com>
References:  <b74d13e5-1f76-1e28-3034-7ef32b983d32@FreeBSD.org> <cdb40424-82a3-5fb7-a15d-09812750f8da@sentex.net> <CALnRwMR=wJD4cWCFXqw8SQps1_iaVtfAkZpmb4aSodJaEC6mzw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/11/2018 11:21 PM, Anish wrote:
> Can you share the panic image?
>
I got serial hooked up to it now.  I am not sure if this really is vmm
related or it happens to be hitting some other bug


Loading kernel...
/boot/kernel/kernel text=0x16b5750 data=0x1cd888+0x76c930
syms=[0x8+0x17deb8+0x8+0x19aa72]
Loading configured modules...
/boot/kernel/aesni.ko size 0xc7e0 at 0x2653000
/boot/kernel/pf.ko size 0x566b8 at 0x2660000
/boot/kernel/zfs.ko size 0x3a9858 at 0x26b7000
loading required module 'opensolaris'
/boot/kernel/opensolaris.ko size 0xa4f0 at 0x2a61000
/boot/kernel/if_cxgbe.ko size 0xc5c18 at 0x2a6c000
/boot/kernel/t5fw_cfg.ko size 0xad740 at 0x2b32000
/boot/kernel/vmm.ko size 0x56f458 at 0x2be0000
/boot/kernel/ums.ko size 0x6130 at 0x3150000
/boot/kernel/amdtemp.ko size 0x3ef8 at 0x3157000
loading required module 'amdsmn'
/boot/kernel/amdsmn.ko size 0x21d0 at 0x315b000
/boot/entropy size=0x1000
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
---<<BOOT>>---
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-ALPHA9 r339328 GENERIC-NODEBUG amd64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on
LLVM 6.0.1)
VT(vga): resolution 640x480
CPU: AMD Ryzen 5 1600X Six-Core Processor            (3593.34-MHz
K8-class CPU)
  Origin="AuthenticAMD"  Id=0x800f11  Family=0x17  Model=0x1  Stepping=1
 
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=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD
Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
  Structured Extended
Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
  XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
  AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33288642560 (31746 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
FreeBSD/SMP: 1 package(s) x 2 cache groups x 3 core(s) x 2 hardware threads
random: unblocking device.
Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid
Length but zero Address: 0x0000000000000000/0x1 (20181003/tbfadt-796)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
ioapic1 <Version 2.1> irqs 24-55 on motherboard
Launching APs: 10 7 9 3 1 5 8 2 4 6 11
Timecounter "TSC-low" frequency 1796671728 Hz quality 1000
random: entropy device external interface
module_register_init: MOD_LOAD (vesa, 0xffffffff8112af50, 0) error 19
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
kbd1 at kbdmux0
netmap: loaded module
[ath_hal] loaded
nexus0
vtvga0: <VT VGA driver> on motherboard
aesni0: <AES-CBC,AES-XTS,AES-GCM,AES-ICM,SHA1,SHA256> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I > on motherboard
acpi0: Power Button (fixed)
AMD-Vi: IVRS Info VAsize = 64 PAsize = 48 GVAsize = 2 flags:0
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8
on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 350
Event timer "HPET2" frequency 14318180 Hz quality 350
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
amdsmn0: <AMD Family 17h System Management Network> on hostb0
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 1.3 on pci0
pci1: <ACPI PCI bus> on pcib1
xhci0: <AMD 300 Series USB 3.0 controller> mem 0xf6fa0000-0xf6fa7fff irq
32 at device 0.0 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
ahci0: <AMD 300 Series AHCI SATA controller> mem 0xf6f80000-0xf6f9ffff
irq 33 at device 0.1 on pci1
ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich6: <AHCI channel> at channel 6 on ahci0
ahcich7: <AHCI channel> at channel 7 on ahci0
pcib2: <ACPI PCI-PCI bridge> irq 34 at device 0.2 on pci1
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 32 at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 34 at device 2.0 on pci2
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> irq 35 at device 3.0 on pci2
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 32 at device 4.0 on pci2
pci6: <ACPI PCI bus> on pcib6
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xf6e00000-0xf6e07fff irq
32 at device 0.0 on pci6
xhci1: 32 bytes context size, 64-bit DMA
usbus1 on xhci1
usbus1: 5.0Gbps Super Speed USB v3.0
pcib7: <ACPI PCI-PCI bridge> irq 34 at device 6.0 on pci2
pci7: <ACPI PCI bus> on pcib7
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xe000-0xe01f
mem 0xf6d00000-0xf6d1ffff,0xf6d20000-0xf6d23fff irq 34 at device 0.0 on pci7
igb0: attach_pre capping queues at 2
igb0: using 1024 tx descriptors and 1024 rx descriptors
igb0: msix_init qsets capped at 2
igb0: pxm cpus: 6 queue msgs: 4 admincnt: 1
igb0: using 2 rx queues 2 tx queues
igb0: Using MSIX interrupts with 3 vectors
igb0: allocated for 2 tx_queues
igb0: allocated for 2 rx_queues
igb0: Ethernet address: 60:45:cb:a0:8a:84
igb0: netmap queues/slots: TX 2/1024, RX 2/1024
pcib8: <ACPI PCI-PCI bridge> irq 35 at device 7.0 on pci2
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 3.1 on pci0
pci9: <ACPI PCI bus> on pcib9
t5nex0: <Chelsio T520-CR> mem
0xf6300000-0xf637ffff,0xf5000000-0xf5ffffff,0xf6884000-0xf6885fff irq 54
at device 0.4 on pci9
t5nex0: Disabled No Snoop/Relaxed Ordering on pcib9
cxl0: <port 0> on t5nex0
cxl0: Ethernet address: 00:07:43:2a:88:f0
cxl0: 12 txq, 8 rxq (NIC); 8 txq (TOE), 2 rxq (TOE)
cxl1: <port 1> on t5nex0
cxl1: Ethernet address: 00:07:43:2a:88:f8
cxl1: 12 txq, 8 rxq (NIC); 8 txq (TOE), 2 rxq (TOE)
t5nex0: PCIe gen3 x8, 2 ports, 22 MSI-X interrupts, 62 eq, 21 iq
pci9: <mass storage, SCSI> at device 0.5 (no driver attached)
pci9: <serial bus, Fibre Channel> at device 0.6 (no driver attached)
pcib10: <ACPI PCI-PCI bridge> at device 3.2 on pci0
pci10: <ACPI PCI bus> on pcib10
vgapci0: <VGA-compatible display> mem
0xf3000000-0xf3ffffff,0xc0000000-0xdfffffff,0xf2000000-0xf2ffffff irq 50
at device 0.0 on pci10
vgapci0: Boot video device
pcib11: <ACPI PCI-PCI bridge> at device 7.1 on pci0
pci11: <ACPI PCI bus> on pcib11
pci11: <unknown> at device 0.0 (no driver attached)
pci11: <encrypt/decrypt> at device 0.2 (no driver attached)
xhci2: <AMD KERNCZ USB 3.0 controller> mem 0xf6a00000-0xf6afffff irq 37
at device 0.3 on pci11
xhci2: 64 bytes context size, 64-bit DMA
usbus2 on xhci2
usbus2: 5.0Gbps Super Speed USB v3.0
pcib12: <ACPI PCI-PCI bridge> at device 8.1 on pci0
pci12: <ACPI PCI bus> on pcib12
pci12: <unknown> at device 0.0 (no driver attached)
ahci1: <AMD KERNCZ AHCI SATA controller> mem 0xf7008000-0xf7008fff irq
42 at device 0.2 on pci12
ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
ahcich8: <AHCI channel> at channel 0 on ahci1
hdac0: <AMD (0x1457) HDA Controller> mem 0xf7000000-0xf7007fff irq 43 at
device 0.3 on pci12
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
uart2: <16x50 with 256 byte FIFO> iomem
0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0
uart3: <16x50 with 256 byte FIFO> iomem
0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4 on acpi0
uart4: <16x50 with 256 byte FIFO> iomem
0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3 on acpi0
uart5: <16x50 with 256 byte FIFO> iomem
0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)
ivhd0: <AMD-Vi/IOMMU ivhd with EFR> on acpi0
ivhd0: Flag:b0<IotlbSup,Coherent>
ivhd0: Features(type:0x11) MsiNumPPR = 0 PNBanks= 2 PNCounters= 0
ivhd0: Extended features[31:0]:22294ada<PPRSup,NXSup,GTSup,IASup> HATS =
0x2 GATS = 0x0 GLXSup = 0x1 SmiFSup = 0x1 SmiFRC = 0x2 GAMSup = 0x1
DualPortLogSup = 0x2 DualEventLogSup = 0x2
ivhd0: Extended features[62:32]:f77ef<USSup> Max PASID: 0x2f
DevTblSegSup = 0x3 MarcSup = 0x1
ivhd0: supported paging level:7, will use only: 4
ivhd0: device range: 0x0 - 0xffff
ivhd0: PCI cap 0x190b640f@0x40 feature:19<IOTLB,EFR,CapExt>
orm0: <ISA Option ROMs> at iomem
0xce800-0xcf7ff,0xcf800-0xd07ff,0xd0800-0xd17ff pnpid ORM0000 on isa0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hdacc0: <Realtek (0x1168) HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek (0x1168) Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek (0x1168) (Rear Analog 5.1/2.0)> at nid 20,22,21 and 24,26
on hdaa0
pcm1: <Realtek (0x1168) (Front Analog)> at nid 27 and 25 on hdaa0
pcm2: <Realtek (0x1168) (Rear Digital)> at nid 30 on hdaa0
ugen2.1: <0x1022 XHCI root HUB> at usbus2
ugen0.1: <0x1022 XHCI root HUB> at usbus0
ugen1.1: <0x1b21 XHCI root HUB> at usbus1
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WDS500G2B0A-00SM50 X61130WD> ACS-4 ATA SATA 3.x device
ada0: Serial Number 173895428875
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors)
uhub2: ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <WDC WDS500G2B0A-00SM50 X61130WD> ACS-4 ATA SATA 3.x device
ada1: Serial Number 173895420726
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada1: Command Queueing enabled
ada1: 476940MB (976773168 512 byte sectors)
<0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <WDC WD1001FALS-00J7B1 05.00K05> ATA8-ACS SATA 2.x device
ada2: Serial Number WD-WMATV6277272
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 953869MB (1953525168 512 byte sectors)
ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
ada3: <WDC WD1001FALS-00E8B0 05.00K05> ATA8-ACS SATA 2.x device
ada3: Serial Number WD-WMATV4158030
ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada3: Command Queueing enabled
ada3: 953869MB (1953525168 512 byte sectors)
Trying to mount root from zfs:zroot/ROOT/default []...
Root mount waiting for: usbus2 usbus1 usbus0
uhub2: 4 ports with 4 removable, self powered
uhub0: 8 ports with 8 removable, self powered
uhub1: 22 ports with 22 removable, self powered


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x398
fault code              = supervisor write data, page not present
instruction pointer     = 0x20:0xffffffff8273d776
stack pointer           = 0x28:0xfffffe0075d55230
frame pointer           = 0x28:0xfffffe0075d55270
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1 (kernel)
[ thread pid 1 tid 100002 ]
Stopped at      rrw_enter_read_impl+0x36:       lock cmpxchgq  
%r14,0x18(%rbx)
db> bt
Tracing pid 1 tid 100002 td 0xfffff8000567d580
rrw_enter_read_impl() at rrw_enter_read_impl+0x36/frame 0xfffffe0075d55270
zfs_mount() at zfs_mount+0x7b2/frame 0xfffffe0075d55400
vfs_domount() at vfs_domount+0x5b2/frame 0xfffffe0075d55630
vfs_donmount() at vfs_donmount+0x930/frame 0xfffffe0075d556d0
kernel_mount() at kernel_mount+0x3d/frame 0xfffffe0075d55720
parse_mount() at parse_mount+0x451/frame 0xfffffe0075d55860
vfs_mountroot() at vfs_mountroot+0x7a0/frame 0xfffffe0075d559f0
start_init() at start_init+0x27/frame 0xfffffe0075d55a70
fork_exit() at fork_exit+0x83/frame 0xfffffe0075d55ab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0075d55ab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
db>
>
>
>     well, if I let the box boot fully and then load the vmm.ko, all is
>     good.
>     But if I load it from /boot/loader.conf, I get a panic at boot up (img
>     attached)
>
>     But other than that, it works fine.
>
>
>     0{ryzenbsd12}# fetch -o p
>     https://github.com/bsdjhb/freebsd/commit/97323364e196900548f5293ac97bfb22b8a2ba72.patch
>     fetch:
>     https://github.com/bsdjhb/freebsd/commit/97323364e196900548f5293ac97bfb22b8a2ba72.patch:
>     size of remote file is not known
>     p                                                     1618  B   15
>     MBps    00s
>     0{ryzenbsd12}# patch < p
>     Hmm...  Looks like a unified diff to me...
>     The text leading up to this was:
>     --------------------------
>     |From 97323364e196900548f5293ac97bfb22b8a2ba72 Mon Sep 17 00:00:00
>     2001
>     |From: John Baldwin <jhb@FreeBSD.org>
>     |Date: Tue, 9 Oct 2018 14:49:37 -0700
>     |Subject: [PATCH] Reload the LDT selector after an AMD-v #VMEXIT.
>     |
>     |cpu_switch() always reloads the LDT, so this can only affect the
>     |hypervisor process itself.  Fix this by explicitly reloading the host
>     |LDT selector after each #VMEXIT.  The stock bhyve process on FreeBSD
>     |never uses a custom LDT, so this change is cosmetic.
>     |---
>     | sys/amd64/vmm/amd/svm.c | 13 +++++++++++++
>     | 1 file changed, 13 insertions(+)
>     |
>     |diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c
>     |index 2597bf9775706..c420db550bc7e 100644
>     |--- a/sys/amd64/vmm/amd/svm.c
>     |+++ b/sys/amd64/vmm/amd/svm.c
>     --------------------------
>     Patching file sys/amd64/vmm/amd/svm.c using Plan A...
>     Hunk #1 succeeded at 1940.
>     Hunk #2 succeeded at 2025.
>     Hunk #3 succeeded at 2064.
>     done
>     0{ryzenbsd12}#
>
>     I confirmed prior to the patch I could run stock 11.2R  i386 and amd64
>     guest images on 12.0-ALPHA9 FreeBSD 12.0-ALPHA9 r339287 as the
>     hypervisor
>
>     CPU: AMD Ryzen 5 1600X Six-Core Processor            (3593.34-MHz
>     K8-class CPU)
>       Origin="AuthenticAMD"  Id=0x800f11  Family=0x17  Model=0x1 
>     Stepping=1
>      
>     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=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
>       AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
>       AMD
>     Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
>       Structured Extended
>     Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
>       XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
>       AMD Extended Feature Extensions ID
>     EBX=0x1007<CLZERO,IRPerf,XSaveErPtr>
>       SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
>       TSC: P-state invariant, performance statistics
>
>
>
>
>     with the patched version
>
>     ivhd0: <AMD-Vi/IOMMU ivhd with EFR> on acpi0
>     ivhd0: Flag:b0<IotlbSup,Coherent>
>     ivhd0: Features(type:0x11) MsiNumPPR = 0 PNBanks= 2 PNCounters= 0
>     ivhd0: Extended features[31:0]:22294ada<PPRSup,NXSup,GTSup,IASup>
>     HATS =
>     0x2 GATS = 0x0 GLXSup = 0x1 SmiFSup = 0x1 SmiFRC = 0x2 GAMSup = 0x1
>     DualPortLogSup = 0x2 DualEventLogSup = 0x2
>     ivhd0: Extended features[62:32]:f77ef<USSup> Max PASID: 0x2f
>     DevTblSegSup = 0x3 MarcSup = 0x1
>     ivhd0: supported paging level:7, will use only: 4
>     ivhd0: device range: 0x0 - 0xffff
>     ivhd0: PCI cap 0x190b640f@0x40 feature:19<IOTLB,EFR,CapExt>
>
>
>     Tested with
>
>     ./vmrun.sh -c 4 -m 4096M -t tap0 -d FreeBSD-11.2-RELEASE-amd64.raw
>     amd64
>     and
>     ./vmrun.sh -c 4 -m 4096M -t tap1 -d FreeBSD-11.2-RELEASE-i386.raw i386
>
>
>     I sent a jpg of the crash in a separate image as it was rejected
>     from the mailing list.
>
>             ---Mike
>
>     -- 
>     -------------------
>     Mike Tancsa, tel +1 519 651 3400 x203
>     Sentex Communications, mike@sentex.net <mailto:mike@sentex.net>
>     Providing Internet services since 1994 www.sentex.net
>     <http://www.sentex.net>;
>     Cambridge, Ontario Canada   
>
>     _______________________________________________
>     freebsd-virtualization@freebsd.org
>     <mailto:freebsd-virtualization@freebsd.org> mailing list
>     https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>     To unsubscribe, send any mail to
>     "freebsd-virtualization-unsubscribe@freebsd.org
>     <mailto:freebsd-virtualization-unsubscribe@freebsd.org>"
>

-- 
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b364843-4e41-e927-9221-a0109d37c36c>