[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.