I have some problem about setting the PCI passthrough NIC with Broadcom NetXtreme II BCM5716 Ethernet controller I strictly followed xen wiki http://wiki.xensource.com/xenwiki/XenPCIpassthrough My configuration is pvops 2.6.32.26 dom0, pvops 2.6.32.27 domU kernel, xen 4.0.1 official release, Intel core i7, 64bit no hvm, no IOMMU/VT-d, just pv guest. I could success PCI passthrough by using domU with 2GB~3GB memory. (Strangely, I could not see the assignable pci lists when *xm pci-list-assignable-devices command*, But it seems to work well even when the passthroughed domU is used as IDD) However, When I allocated to above 4GB memory to domU, domU device driver complain with below messages, and it does not work well ======Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009) bnx2 0000:00:00.1: device not available because of BAR 0 [0xdc000000-0xddffffff] collisions bnx2 0000:00:00.1: Cannot enable PCI device, aborting. bnx2: probe of 0000:00:00.1 failed with error -22 ====== Is there anyone who suffer from this?? Thanks. -- Eunbyung Park _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
This is a soliloquy..:) I found 3GB memory restriction for pv domU with PCI threads. and some bug reports http://www.gossamer-threads.com/lists/xen/devel/187533 I''m sorry for asking withoug pre-survey. this problem was already resolved ?? :) 2011/1/12 박은병 <peb1611@gmail.com>> I have some problem about setting the PCI passthrough NIC with Broadcom > NetXtreme II BCM5716 Ethernet controller > > I strictly followed xen wiki > http://wiki.xensource.com/xenwiki/XenPCIpassthrough > > My configuration is pvops 2.6.32.26 dom0, pvops 2.6.32.27 domU kernel, xen > 4.0.1 official release, Intel core i7, 64bit > > no hvm, no IOMMU/VT-d, just pv guest. > > I could success PCI passthrough by using domU with 2GB~3GB memory. > (Strangely, I could not see the assignable pci lists when *xm > pci-list-assignable-devices command*, > But it seems to work well even when the passthroughed domU is used as IDD) > > However, When I allocated to above 4GB memory to domU, > > domU device driver complain with below messages, and it does not work well > > ======> Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.0.2 (Aug 21, 2009) > bnx2 0000:00:00.1: device not available because of BAR 0 > [0xdc000000-0xddffffff] collisions > bnx2 0000:00:00.1: Cannot enable PCI device, aborting. > bnx2: probe of 0000:00:00.1 failed with error -22 > ======> > Is there anyone who suffer from this?? > > Thanks. > -- > Eunbyung Park >-- Eunbyung Park _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Wed, Jan 12, 2011 at 05:07:41PM +0900, 박은병 wrote:> This is a soliloquy..:) > > I found 3GB memory restriction for pv domU with PCI threads. > and some bug reports > > http://www.gossamer-threads.com/lists/xen/devel/187533 > > > I''m sorry for asking withoug pre-survey. > > this problem was already resolved ?? :)There is a patch for the 2.6.37 tree (and for the xl and xm tools) that can fix this, but I am in process of reworking it. If you really want it, get the patches from git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/e820-hole for the 2.6.37 Linux kernel. And for the tool stack - see attached patch. You need to define in your .xm file this attribute: pci_hole=0xc0000 (or 1 to automatically try to guess - which might fail). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel