Skip to contentSkip to conversation

PCI passtrough causes driver crash in DomU (Xen 4.3, Linux kernel 3.12)

BUG Konrad Rzeszutek Wilk 2 participants 2 messages Mar 7, 2014 – Mar 16, 2014

lore
Share & tools
lore
#0 lore raw
Quoted 12 lines · Jonas Meurer

Am 07.03.2014 12:54, schrieb Jonas Meurer:

Quoted 10 lines

as already written to xen-users a few days ago, I've troubles using pci passthrough for an Intel 82574L ethernet device (kernel module e1000e). The device is passed through by xen-pciback, and can be seen by 'lspci' inside the DomU. Still, the corresponding network interface doesn't appear in /proc/net/dev and even more striking, the DomU kernel driver crashes with a traceback.

All this happens on a Debian/Jessie Dom0 with Xen 4.3 and Linux kernel 3.12. The DomU in question has a similar Debian/Jessie setup.

This was fixed in 3.14 I believe by me. Is it possible for you to use that version?

Quoted 23 lines
Quoted 4 lines

I searched the archives for similar issues and found the following thread from October 2013 that describes a similar issue starting with Linux kernel 3.8:
http://thread.gmane.org/gmane.comp.emulators.xen.user/80672

Just a quick follow-up: After some further searching I found the following thread:
http://thread.gmane.org/gmane.comp.emulators.xen.user/80176

In this thread, Ian Campbell suggests to disable MSI for the guest, and the submitter replies that it fixed the issue for him. So indeed it seems to me like MSI in DomU is the cause for trouble here. I'll give the suggested workaround a try within the next days and report back if it works for me as well.

Kind regards,
jonas

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw

Hello again,

Am 07.03.2014 13:49, schrieb Konrad Rzeszutek Wilk:

Quoted 8 lines
Quoted 8 lines

Am 07.03.2014 12:54, schrieb Jonas Meurer:

Quoted 7 lines

as already written to xen-users a few days ago, I've troubles using pci passthrough for an Intel 82574L ethernet device (kernel module e1000e). The device is passed through by xen-pciback, and can be seen by 'lspci' inside the DomU. Still, the corresponding network interface doesn't appear in /proc/net/dev and even more striking, the DomU kernel driver crashes with a traceback.

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines

All this happens on a Debian/Jessie Dom0 with Xen 4.3 and Linux kernel 3.12. The DomU in question has a similar Debian/Jessie setup.

This was fixed in 3.14 I believe by me. Is it possible for you to use that version?

today I finally managed to give linux kernel 3.14-rc5 a try. I was happy to discover that the bug in question has been fixed in that kernel release.

In other words: with kernel 3.14-rc5 in DomU, the pci passthrough feature works again even without the 'pci=nomsi' workaround.

Thanks a lot.

Kind regards,
jonas