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


Re: [Xen-devel] igb pciback and e1000e pciback not work.

To: Pasi Kärkkäinen <pasik@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] igb pciback and e1000e pciback not work.
From: 贺鹏 <xnhp0320@xxxxxxxxx>
Date: Mon, 6 Sep 2010 12:58:48 +0800
Delivery-date: Sun, 05 Sep 2010 22:00:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=kqKDbjUOsff3sfdYpwJgCBDNZC3T2/9tMXKqhbb10mw=; b=B7NgcJuW9Ux6HXLyNPfgvTU085/czwmRSu1IXF9Gdi9FyO9hjWzy1ozNjeK8bzqr3a BFEU/IlJqFoLJxwK5bIv609aLxmCxogNTB6dvbL+9Y4jNh2JeTiUNLd7BxSU0R7DXNGN C4clGvt5SGIXdxSfO14k/nyGFp69KKMTNfRCo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=SZ/oFF7Ge7YaqW+vw7E3bv6+i4EaggS5ORcdZhH8Bil5gzRT+bE5yVBPXavGTY8BAZ PQSDKyafOtJ7zZLDf70I0KXmZyH3HflOhhKaImTlISU+0/bO+KpsHSH7LcFbpsiCv4Es pETa1a4fXItxgzR5ucooFfvkKR7JBUS072zLs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100905104733.GE2804@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimAJFm1D6cupLxGo9KbTdxqGEPyDA+CTbJCpmL6@xxxxxxxxxxxxxx> <AANLkTi=vHyVWx272La92jHnAVy-OT3tyo1LJkSVaH0FS@xxxxxxxxxxxxxx> <20100905104733.GE2804@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thank you for your advise.

I update the kernel and xen to the newest version. Now both Dom0 and DomU's kernels are

still the e1000e driver in DomU complains about the "Detected Tx Unit Hang", but there is no kernel oops. 
It seems the new kernel has fixed a bug about pciback.

Maybe I should change the /etc/xen/xend-pci-permissive.sxp and /etc/xen/xend-pci-quirks.sxp file ,because I found this in Dom0 dmesg:

[  385.007473] pciback 0000:09:00.1: Driver tried to write to a read-only configuration space field at offset 0xe8, size 2. This may be harmless, but if you have problems with your device:
[  385.007475] 1) see permissive attribute in sysfs
[  385.007475] 2) report problems to the xen-devel mailing list along with details of your device obtained from lspci.

note: 09:00.0 is the pci interface I move to DomU .
But I don't know how to change this.

I remove the e1000e driver in Dom0 , still it can't fix the problem.

Anyone knows about that?


2010/9/5 Pasi Kärkkäinen <pasik@xxxxxx>
On Sun, Sep 05, 2010 at 10:55:35AM +0800, ?????? wrote:
>    I'm using Xen 4.01 and jeremy's pvops kernel, the kernel version is
>    At first I want to test the performance of pci passthrough  when it comes
>    to the network card 82571EB
>    I'm using the Jeremy's kernel as DomU kernel too.
>    And I found if the interface is not connected, I mean the network card
>    receives no packet, ( the network card doesn't connect to the switch ),
>    it's fine. when I connect it to a switch , I got a lot of "Detected Tx
>    Unit Hang" in dmesg of the DomU kernel
>    and a kernel oops saying:
>    Pid: 0, comm: swapper Not tained #4
>    warn_slowpath_fmt+0x41/0x50
>    the ooops image is in the attachment of this post.
>    I've checked the mailing list, some one said it's about the e1000e driver
>    with a wrong
>    config of the EEPROM.
>    So I switch to use the network card 82575EB with igb driver
>    It seems to work well,Â
>    until I find it can't receive any packets in DomU.
>    And I see a lot of packets dropped when I ifconfig these interfaces.
>    Anyone knows how to deal with this ?


The latest kernel version in xen/stable-2.6.32.x branch is
Dunno if it has any fixes that are relevant to you.

Anyway, did you read: http://wiki.xensource.com/xenwiki/XenPCIpassthrough

-- Pasi

Xen-devel mailing list

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>