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

[Xen-users] RE: PCI passthrough on PV domU crashes with iommu=soft (fixe

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: PCI passthrough on PV domU crashes with iommu=soft (fixed)
From: "Frederic Abel" <Frederic.Abel@xxxxxxxxxxx>
Date: Mon, 9 May 2011 14:01:05 +0200
Delivery-date: Mon, 09 May 2011 05:06:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A90ED594EB04C34A87DBC3CCA4D0A56B1EF1DE52@xxxxxxxxxxxxxxxxxxxx>
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: <A90ED594EB04C34A87DBC3CCA4D0A56B1EF1DE52@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwLMLBwIdZJ5LKTTDKdZZe/aaWfwwDD6pgw
Thread-topic: PCI passthrough on PV domU crashes with iommu=soft (fixed)

Fixed  : Double amount of memory from 128 to 256 and iommu works it out fine.

 

RTFEM (read the fucking error message) :

[    0.872160] Kernel panic - not syncing: Out of memory and no killable processes...

 

 

________________________________________________________________________________________________________________
Frédéric Abel
| RTS France BeNeLux | Quantum Corporation


From: Frederic Abel
Sent: jeudi 5 mai 2011 16:28
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: PCI passthrough on PV domU crashes with iommu=soft

 

Hello ,

 

Following the http://wiki.xen.org/xenwiki/XenPCIpassthrough doc.

I get several issues to perform pci passthrough

 

The config file is in Addendum 0

I'm using the debian XEN 4 and kernel 2.6.32-5 for xen on squeeze dom0 and domu (see addendum 1)

I managed to pci hide the 2 ports (see addendum 2)

 

If not using the iommu=soft I get a FW issue on the 3ware driver (addendum 3)

The pci looks passing through (addendum 4) but I get no drives behind

I copied /lib/modules/2.6.32-5-xen-amd64 fom Dom0 disk to Domu disk, I do not think about driver issue.

The passed thought device is claimed by driver: 3w-9xxx in Domu with lcpci –vv.

 

If I’m using the option iommu=soft I get a kernel krash at boot (Addendum 5)

And I can observe some troublesome message

[    0.020372] PCI: System does not support PCI

[    0.020372] PCI: System does not support PCI

[    0.022547] pnp: PnP ACPI: disabled

 

The worst is the Dom0 has no problem with the 2 pci devices when no hidden.

Dom0 uses exactly same /boot/vmlinuz-2.6.32-5-xen-amd64 and /boot/initrd.img-2.6.32-5-xen-amd64

 

I'm wondering if my CPU is not too old (addendum 6)

Or If I missed some important steps in my conf.

 

Note I know all is working if I pass the disk raw from dom0 to domu with disk = [phy:/right path] but I don't feel this is "clean"; lots of I/O through Dom0 and not secure to Dom0 (risk of over writes).

 

Thank you for any hints.

Sincerely


The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] RE: PCI passthrough on PV domU crashes with iommu=soft (fixed), Frederic Abel <=