xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "news.gmane.org" <chris.ace@gmx.net>
To: xen-devel@lists.xensource.com
Subject: pci-passthrough problem using vt-d
Date: Tue, 27 Jul 2010 20:32:36 +0200	[thread overview]
Message-ID: <i2n8os$f63$1@dough.gmane.org> (raw)

I'm trying to pass-through a PCI ISDN card (HFC-PCI) to a HVM domU using 
VTd. It's reported by lspci, but the driver (hisax) does not load. It 
recognizes the card but then fails to initialize it.
I've seen several posts where passing this card to a PV domain using 
pcifront failed due to timing issues, but I thought I'd be on the safe 
side with VTd.

The guest is a Linux 2.4 image (where I cannot adjust the kernel 
unfortunately!), so my only option is HVM.
But I also tried with a 6.0.1 Knoppix (2.6.28 kernel) as HVM domU where 
I can reproduce the issue (see attached screenshot from Linux 2.6 HVM domU).

Xen is current 4.1-unstable, dom0 was Linux-2.6.34-xen from Gentoo 
(based on Novell's forward ported patches to Xenlinux), but using the 
latest pvops (xen/next) produces the same results.

No logs in dom0 dmesg, but xm dmesg shows (not sure if this is related, 
but 0xc110 is the actual IOMEM of the PCI card in the domU):

(XEN) vlapic.c:684:d1 Local APIC Write to read-only register 0x30
(XEN) vlapic.c:684:d1 Local APIC Write to read-only register 0x20
(XEN) vlapic.c:684:d1 Local APIC Write to read-only register 0x20
(XEN) domctl.c:1061:d0 ioport_map:remove f_gport=c110 f_mport=ec00 np=8
(XEN) domctl.c:1037:d0 ioport_map:add f_gport=c110 f_mport=ec00 np=8
(XEN) irq.c:243: Dom1 PCI link 0 changed 5 -> 0
(XEN) irq.c:243: Dom1 PCI link 1 changed 10 -> 0
(XEN) irq.c:243: Dom1 PCI link 2 changed 11 -> 0
(XEN) irq.c:243: Dom1 PCI link 3 changed 5 -> 0
(XEN) multi.c:3470:d1 write to pagetable during event injection: 
cr2=0xf6785f88, mfn=0x1b7d85
(XEN) multi.c:3470:d1 write to pagetable during event injection: 
cr2=0xf6787f88, mfn=0x1b7d87
(XEN) domctl.c:1061:d0 ioport_map:remove f_gport=c110 f_mport=ec00 np=8
(XEN) domctl.c:991:d0 memory_map:remove: gfn=f2001 mfn=febff nr_mfns=1

(the last two lines are being printed during the failed driver load)

I guess that my 2.4 image vs. Knoppix with 2.6.28 are different enough 
to exclude problems on the domU end and the same applies for 
Gentoo-2.6.34-xen vs. pvops as dom0, so I think this is Xen-specific...

Any ideas?



Best regards,
    Christian

                 reply	other threads:[~2010-07-27 18:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i2n8os$f63$1@dough.gmane.org' \
    --to=chris.ace@gmx.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).