Skip to contentSkip to conversation

82599 passthrough problem

DISCUSSION Norton.Zhu 2 participants 4 messages Feb 2, 2016 – Feb 17, 2016

lore
Share & tools
lore

Norton.Zhu

author
#0 lore raw

Hi,all:

I met a problem when passthrough 82599 to domU(for some reasons, I use pci passthrough not SRIOV). It works well after passthrough, but the host hung after destroy domU.
Btw, no log prints even from serial port, but I found it hung afer unbind irq. anyone knows what's wrong with it? thanks.

#1 lore raw
Quoted 3 lines · Norton.Zhu

Hi,all:

I met a problem when passthrough 82599 to domU(for some reasons, I use pci passthrough not SRIOV).

Is this PV or HVM?

Quoted 3 lines

It works well after passthrough, but the host hung after destroy domU. Btw, no log prints even from serial port, but I found it hung afer unbind irq. anyone knows what's wrong with it? thanks.

Serial logs?

Quoted 6 lines

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

author
#2 lore raw

XEN HVM, after it hung, no serial log printed.
it hang in __pirq_guest_unbind. its call stack as follows:

(XEN)    [<ffff82c4801682d6>] __pirq_guest_unbind+0x36/0x350
(XEN)    [<ffff82c4801682d6>] __pirq_guest_unbind+0x36/0x350
(XEN)    [<ffff82c480186e7b>] do_invalid_op+0x30b/0x3f0
(XEN)    [<ffff82c48017e22c>] flush_area_mask+0x7c/0x130
(XEN)    [<ffff82c480217808>] handle_exception_saved+0x30/0x6e
(XEN)    [<ffff82c4801682cc>] __pirq_guest_unbind+0x2c/0x350
(XEN)    [<ffff82c4801667a4>] domain_spin_lock_irq_desc+0x64/0xa0
(XEN)    [<ffff82c4801689ed>] pirq_guest_unbind+0x5d/0x170
(XEN)    [<ffff82c480141d9e>] pci_release_devices+0x13e/0x230
(XEN)    [<ffff82c48015df28>] domain_relinquish_resources+0xa8/0x2a0
Quoted 20 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Norton.Zhu

Hi,all:

I met a problem when passthrough 82599 to domU(for some reasons, I use pci passthrough not SRIOV).

Is this PV or HVM?

Quoted 3 lines

It works well after passthrough, but the host hung after destroy domU. Btw, no log prints even from serial port, but I found it hung afer unbind irq. anyone knows what's wrong with it? thanks.

Serial logs?

Quoted 6 lines

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

#3 lore raw
Quoted 12 lines · Norton.Zhu

XEN HVM, after it hung, no serial log printed.
it hang in __pirq_guest_unbind. its call stack as follows:

(XEN)    [<ffff82c4801682d6>] __pirq_guest_unbind+0x36/0x350
(XEN)    [<ffff82c4801682d6>] __pirq_guest_unbind+0x36/0x350
(XEN)    [<ffff82c480186e7b>] do_invalid_op+0x30b/0x3f0
(XEN)    [<ffff82c48017e22c>] flush_area_mask+0x7c/0x130
(XEN)    [<ffff82c480217808>] handle_exception_saved+0x30/0x6e
(XEN)    [<ffff82c4801682cc>] __pirq_guest_unbind+0x2c/0x350
(XEN)    [<ffff82c4801667a4>] domain_spin_lock_irq_desc+0x64/0xa0
(XEN)    [<ffff82c4801689ed>] pirq_guest_unbind+0x5d/0x170
(XEN)    [<ffff82c480141d9e>] pci_release_devices+0x13e/0x230
(XEN)    [<ffff82c48015df28>] domain_relinquish_resources+0xa8/0x2a0

Any chance you can provide the xen-syms? Also what version of Xen is this?

Is the passthrough done via pci-attach or via 'pci=' guest config?

Does this happen all the time? What happens if you have 'sync_console' on the Xen command line?

What happens if you detach (pci-detach) the PCI device from the guest before shutdown? Does it work?

What version of QEMU are you using ? qemu-xen or qemu-traditional?

Thanks.

Quoted 23 lines · Konrad Rzeszutek Wilk
Quoted 20 lines · Norton.Zhu
Quoted 3 lines

Hi,all:

I met a problem when passthrough 82599 to domU(for some reasons, I use pci passthrough not SRIOV).

Is this PV or HVM?

Quoted 3 lines

It works well after passthrough, but the host hung after destroy domU. Btw, no log prints even from serial port, but I found it hung afer unbind irq. anyone knows what's wrong with it? thanks.

Serial logs?

Quoted 6 lines

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