All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Michael A. Collins" <mike@ark-net.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: Intel S3420GPLX VT-d VF question
Date: Wed, 22 Dec 2010 15:10:12 -0500	[thread overview]
Message-ID: <20101222201012.GA13743@dumpdata.com> (raw)
In-Reply-To: <147b6a03225de348c3a95ed3d2e979b2@mail.ark-net.org>

On Mon, Dec 20, 2010 at 09:24:17PM -0500, Michael A. Collins wrote:
> On Thu, 09 Dec 2010 22:18:45 -0500, "Michael A. Collins"
> <mike@ark-net.org> wrote:
> >On Wed, 8 Dec 2010 12:50:35 -0500, Konrad Rzeszutek Wilk
> ><konrad.wilk@oracle.com> wrote:
> >>Take your time.
> >
> >Seems as the igb module was loaded in the initramfs and was not
> >reloaded using the options specified in my igb.conf file under
> >/etc/modprobe.d.  I rmmod igb and did a modprobe igb max_vfs=7 and
> >suddenly all the Virtual Functions showed up.  So that was the
> >problem
> >all along.  Until I figure out how to edit the initramfs to load igb
> >with max_vfs option, I'm putting the rmmod and modprobe in the
> >rc.local file, that seems to work well and it gets executed before
> >xend.  I am build xen-4.0-testing to replace the rpms I used.  Once
> >all that is done and I test passing through one of the Virtual
> >Functions to a vm, I'll report back.
> >Mike
> 
> 
> Ok, so I can pass one of the virtual functions through to a HVM.  I
> think I'm still not out of the water though.  It's acting very
> strangely and I have not successfully been able to very layer-2

And if you tried to use the device from dom0, or even baremetal, you
had not trouble with the VIFs, right?

> connectivity with it.  I am seeing the following in my HVM's qemu
> log:
> register_real_device: Assigning real physical device 04:10.4 ...
> pt_dev_is_virtfn: 0000:04:10.4 is a SR-IOV Virtual Function
> pt_iomul_init: Error: pt_iomul_init can't open file
> /dev/xen/pci_iomul: No such file or directory: 0x4:0x10.0x4
> pt_register_regions: IO region registered (size=0x00004000
> base_addr=0xb2448004)
> pt_register_regions: IO region registered (size=0x00004000
> base_addr=0xb2468004)
> pt_msix_init: get MSI-X table bar base b2468000
> pt_msix_init: table_off = 0, total_entries = 3
> pt_msix_init: errno = 2
                ^^^^^^^
That does not sound good, but it might be just b/c it could
not find /dev/xen/pci_iomul.

> pt_msix_init: mapping physical MSI-X table to 7fe3c4359000
> register_real_device: Real physical device 04:10.4 registered
> successfuly!
> IRQ type = INTx
> generate a sci for PHP.
> deassert due to disable GPE bit.
> pt_pci_write_config: Warning: Guest attempt to set address to unused
> Base Address Register. [00:06.0][Offset:30h][Length:4]
> pt_iomem_map: e_phys=20000000 maddr=b2448000 type=0 len=16384
> index=0 first_map=1
> pt_iomem_map: e_phys=20004000 maddr=b2468000 type=0 len=16384
> index=3 first_map=1
> 
> 
> Now, I never see a pt_msi_setup: msi mapped with pirq XX line, which
> leads me to believe that the pass through isn't actually working.  I
> am still using the mayoung built xen-4.0.1-6 rpms from koji, since I
> have not been able to successfully compile xen stubdom.  I guess gcc
> 4.5 is just too new and untested for me to troubleshoot and get
> through.  Hopefully, someone on here can point me in the right
> direction.

Hmm. I am bit out of ideas.. Do you know which line in the QEMU code
would trigger that? You could instrument QEMU a bit?

  reply	other threads:[~2010-12-22 20:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08  4:52 Intel S3420GPLX VT-d VF question Michael A. Collins
2010-12-08 16:32 ` Konrad Rzeszutek Wilk
2010-12-08 17:12   ` Michael A. Collins
2010-12-08 17:50     ` Konrad Rzeszutek Wilk
2010-12-09 13:26       ` Michael A. Collins
2010-12-10  3:18       ` Michael A. Collins
2010-12-21  2:24         ` Michael A. Collins
2010-12-22 20:10           ` Konrad Rzeszutek Wilk [this message]
2010-12-23  0:47             ` Michael A. Collins
2010-12-24  5:38           ` Zhuo Song
2010-12-27  0:49             ` Michael A. Collins
2010-12-30  3:19               ` Zhuo Song
2010-12-18  4:42       ` Michael A. Collins

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=20101222201012.GA13743@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=mike@ark-net.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.