WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] PCI-passthru Infiniband card panics the domU at startup

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] PCI-passthru Infiniband card panics the domU at startup
From: Vivien Bernet-Rollande <vivien.bernet-rollande@xxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jun 2011 15:38:40 +0200
Delivery-date: Tue, 28 Jun 2011 06:40:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTik_Z3xtsczyG40STWTVyFvkFXkbB=6CppNsjwcZRn16CA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTik_Z3xtsczyG40STWTVyFvkFXkbB=6CppNsjwcZRn16CA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10
On 28/06/2011 13:12, Yan Zhai wrote:
Dear sir,

we are setting up a Xen-based computing environment, but one problem frustrated us: we can not use our Qlogic Infiniband network adapter in HVM mode, the domU kernel panic at the point of starting udev. I don't know what is wrong but actually I even have not installed the infiniband drivers when it panic, should a passthru device cause this?
The Linux kernel comes with Infiniband drivers. Just because you haven't installed OFED doesn't mean you don't have drivers talking to the card. You could try blacklisting/mv'ing them to make sure they aren't loaded at all. Make sure they're not in the initrd either.

Also, compile your kernel with debug options. Maybe a serial link debugger. See what happens. "I have a kernel panic" is pretty useless if you're looking for help. What Xen version do you run ? Which HCA model do you have ? What PCI chipset ? Have you tried in PV mode ?
Xen hypervisor we used is the package along with Debian 6.0, with kernel version 2.6.32 patched with Xen source, and I started with 'iommu=1' argument. DomU OS is RHEL6, which boots and works all right without Infiniband card assigned. The logs, pci information and dom0 dmesg are contained in attachment (So long to paste them here).

I had problems with Mellanox Infiniband cards last year. Basically, the drivers did not map PCI memory the way it should be mapped in Xen.
So can you give us some suggestions on how to activate the Infiniband card? Or do you know whether this kind of devices can be supported in domU?
Ask Qlogic. They'll tell you if they support Xen. If they don't, you'll need to get into kernel debugging or find someone who can do it for you.


--
Vivien Bernet-Rollande
Systems&  Networking Engineer
Alter Way Hosting


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>