<html><body><div style="font-family: Andale Mono; font-size: 12pt; color: #666666"><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Francis Greaves" <francis@choughs.net><br><b>To: </b>"Francis Greaves" <francis@choughs.net>, "centos-virt" <centos-virt@centos.org><br><b>Sent: </b>Sunday, 3 July, 2016 11:19:49<br><b>Subject: </b>Re: [CentOS-virt] PCI Passthrough not working<br></div><br><div data-marker="__QUOTED_TEXT__"><div style="font-family: Andale Mono; font-size: 12pt; color: #666666"><div>Further to my last post, I have removed the xen-pciback module from the Dom0 kernel, and reloaded it as<br></div><div>modprobe xen-pciback passthrough=1</div><br><div>I now have the PCI device on the DomU matching the Dom0 Device<br></div><div>usb usb1: SerialNumber: 0000:00:1a.0</div><div>instead of 0000:00:00.0<br></div><br><div>However I now have this error<br></div><br><div>ehci_hcd 0000:00:1a.0: Unlink after no-IRQ? Controller is probably using the wrong IRQ.</div><br><div>does this give a clue as to what is going on?<br></div><br><div>Many thanks<br></div><div>Francis</div></div><br></div><div data-marker="__QUOTED_TEXT__">More information:<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">In the Dom0 I get this when booting the DomU, even with irwpoll in the DomU kernel line<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">xen_pciback: xen-pciback[0000:00:1a.0] IRQ line is not shared with other domains. Turning ISR off<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: irq 18: nobody cared (try booting with the "irqpoll" option)<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.18.34-20.el7.x86_64 #1<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: Hardware name: Dell Inc. PowerEdge T430/0975F3, BIOS 1.5.4 10/05/2015<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: 0000000000000000 ffff8803bc603d88 ffffffff81653783 ffff8803b223e400<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: ffff8803b223e48c ffff8803bc603db8 ffffffff810c6776 ffff8803bc613340<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: ffff8803b223e400 0000000000000012 0000000000000000 ffff8803bc603e08<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: Call Trace:<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: <IRQ> [<ffffffff81653783>] dump_stack+0x64/0x82<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c6776>] __report_bad_irq+0x36/0xd0<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c6c86>] note_interrupt+0x226/0x270<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff813e71cc>] ? add_interrupt_randomness+0x3c/0x1f0<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c43ec>] handle_irq_event_percpu+0xcc/0x1e0<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c453b>] handle_irq_event+0x3b/0x60<br><br>Message from syslogd@antares at Jul 3 11:31:23 ...<br> kernel:Disabling IRQ #18<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c709a>] handle_fasteoi_irq+0x7a/0x130<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810c394b>] generic_handle_irq+0x2b/0x40<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff813a2102>] evtchn_fifo_handle_events+0x162/0x170<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff8139efb0>] __xen_evtchn_do_upcall+0x50/0x90<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff813a0d67>] xen_evtchn_do_upcall+0x37/0x50<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff8165c05e>] xen_do_hypervisor_callback+0x1e/0x40<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: <EOI> [<ffffffff810013aa>] ? xen_hypercall_sched_op+0xa/0x20<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810013aa>] ? xen_hypercall_sched_op+0xa/0x20<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff8100b330>] ? xen_safe_halt+0x10/0x20<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff8101ea94>] ? default_idle+0x24/0xf0<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff8101f49f>] ? arch_cpu_idle+0xf/0x20<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff810adc92>] ? cpu_startup_entry+0x312/0x3e0<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff816445c7>] ? rest_init+0x77/0x80<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff81d77130>] ? start_kernel+0x4d0/0x4dd<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff81d76a50>] ? set_init_arg+0x55/0x55<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff81d765ee>] ? x86_64_start_reservations+0x2a/0x2c<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff81d7a7cc>] ? xen_start_kernel+0x5a9/0x5b5<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: handlers:<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffff814b0f50>] usb_hcd_irq<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: [<ffffffffa050d3e0>] xen_pcibk_guest_interrupt [xen_pciback]<br>Jul 03 11:31:23 antares.fsoft.nnet kernel: Disabling IRQ #18<br></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">=========================================================================<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">does that help?<br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__">Francis<br data-mce-bogus="1"></div></div></body></html>