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/
Home Products Support Community News


[Xen-bugs] [Bug 1757] New: Dom0 hangs after few hours when using pci pas

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1757] New: Dom0 hangs after few hours when using pci passthrough
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 5 Apr 2011 07:19:50 -0700
Delivery-date: Tue, 05 Apr 2011 07:19:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: Dom0 hangs after few hours when using pci passthrough
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: darkbasic4@xxxxxxxxx

Hi, I'm Xen 4.0.1-2 from Debian Squeeze with 2.6.32-xen in both dom0 and domU.
I don't use VT-d for pci passthrough because of bug #1644

My grub.cfg:
multiboot       /boot/xen-4.0-amd64.gz placeholder  iommu=no
module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder
root=UUID=578ad522-e302-4ae4-b9e4-1e5628e262ba ro  quiet
xen-pciback.hide=(0000:03:04.0)(0000:06:00.0)(0000:0a:06.1) console=tty0

My domU config:
memory = 256
#routed network
vif = ['ip=public_ip, vifname=ethAST']
vcpus = 2
disk = [ 'file:/srv/xen/asterisk.img,xvda,w' ]
pci = [ '0000:03:04.0', '0000:06:00.0', '0000:0a:06.1' ]

I noticed "xm pci-list-assignable" lists only 0000:03:04.0, but I can
successfully passthrough all the three cards (two telephony cards and a network
I can see the cards in the domU with lspci but I also can see them in the dom0,
which is quite strange.

After some time the dom0 hangs and I have to hard reboot. I have no problems if
I don't use the pci passthrough.

Maybe I can reproduce it (without having to wait for hours) starting and
stopping the virtual machine with the pci passthrough lots of time, I will try
to attach a serial console and paste the output.

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list