[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    Re: [Xen-users] can't pass pair of PCI cards to single domU
From:       Robert Rust <robert () digitalsilk ! net>
Date:       2012-09-28 2:16:05
Message-ID: 50650865.1020608 () digitalsilk ! net
[Download RAW message or body]

On 9/23/12 9:07 PM, Robert Rust wrote:
> Folks -
>
> Any ideas on why I can't pass a pair of HVR-1600 PCI cards to a single
> DomU?  When I try, only a single one shows up.  I can pass them to
> separate DomUs (though I'm having problems getting the one in the second
> DomU to capture properly, it does show up and gets recognized by the
> driver for it).
> Distro: Ubuntu 12.04.1 LTS
> Kernel: ubuntu stock 3.2.0-31-generic #50
> xen: from ubuntu - 4.1.2-2
>
> Any additional information that would be helpful?
>
> -Robert

I did some more experimenting this evening and discovered that while I 
couldn't pass both cards to the domU at boot time via the .cfg file, I 
can hot-pass them using pci-attach.  This is a bit of a pain, since I 
have services on the DomU expecting the cards to be there that need to 
be restarted after attaching the cards.  I've verified they do both work 
after this procedure.  Any thoughts on how to troubleshoot this further? 
  Am I doing something wrong in the config?  Config is as follows (pci 
line is commented out so I can hot-pass):
kernel      = '/boot/vmlinuz-3.2.0-31-generic'
extra       = 'iommu=soft'
ramdisk     = '/boot/initrd.img-3.2.0-31-generic'
vcpus       = '2'
memory      = '2048'root        = '/dev/xvda2 ro'
disk        = [
                   'phy:/dev/rivendell/pippin-disk,xvda2,w',
                   'phy:/dev/mythtv/pippin-swap,xvda1,w',
                   'phy:/dev/mythtv/mythmedia,xvda3,w',
               ]
#pci         = [ '06:00.0','06:01.0' ]
name        = 'pippin'
dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:CD:FD:2E,bridge=xenbr0' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

-Robert



_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic