[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Is: EPT violations. Was:Re: Problems with pci/vga passthrough

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Diederik de Haas <didi.debian@xxxxxxxxx>
  • Date: Sun, 22 Jan 2017 19:30:17 +0100
  • Delivery-date: Sun, 22 Jan 2017 18:31:07 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Got a new video cart, so gave it another go. 
Still no luck and (mostly?) the same issues. 
New video card: http://xfxforce.com/en-us/products/amd-radeon-rx-400-series/

One particular thing I noticed is that I get (something that looks like) a 
kernel crash when booting the kernel with Xen, which I don't get when choosing 
the GRUB option without Xen.
See `cknowsvr01-dmesg-with-xen.txt` vs `cknowsvr01-dmesg-without-xen.txt`.

On woensdag 18 januari 2017 11:20:50 CET Konrad Rzeszutek Wilk wrote:
> Can you also kindly attach lspci -vvv output?

See `cknowsvr01-lspci-vvv.txt`

> And also repost 'xl dmesg' but make sure you have 'iommu=verbose,debug
> loglvl=all guest_loglvl=all' on your Xen command line?

See `cknowsvr01-xlinfo-xldmesg.txt`

In order to get vga-passthrough working, I've made some further configuration 
changes which I'll attach as well.

Changes in `/etc/modprobe.d/vga-passthrough.conf`, `/etc/modules`, the loaded 
kernel modules regarding amd (vga card) and xen and the kernel configuration 
wrt xen are in `cknowsvr01-kernel-config.txt`

Changes I've made wrt grub and the complete grub.cfg are in `cknowsvr01-
The item in which I didn't get a kernel crash (see above) was "Debian GNU/
Linux" and the one I do get a kernel crash is "Debian GNU/Linux, with Xen 

The configuration file of the VM in which I try to get vga passthrough working 
is `cknowsvr01-tradestation.home.cknow.org.cfg.txt`
When I enable the 3 items in "PCI devices" of that config file, the VM crashes 
and gets in the crash loop I mentioned in my first post to this list.
The logfile of that is attached as `cknowsvr01-xl-

And finally I have added the kernel 'config' of the VM itself in `tradestation-

I hope I have provided complete info with this. If not, let me know what you'd 
like to see and I'll do my best to provide it.


Attachment: cknowsvr01-dmesg-with-xen.txt
Description: Text document

Attachment: cknowsvr01-dmesg-without-xen.txt
Description: Text document

Attachment: cknowsvr01-lspci-vvv.txt
Description: Text document

Attachment: cknowsvr01-xlinfo-xldmesg.txt
Description: Text document

Attachment: cknowsvr01-kernel-config.txt
Description: Text document

Attachment: cknowsvr01-tradestation.home.cknow.org.cfg.txt
Description: Text document

Attachment: cknowsvr01-xl-tradestation.home.cknow.org.log.txt
Description: Text document

Attachment: tradestation-kernel-config.txt
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.