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-devel

Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't wor

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen 3.4 multi-function pass-through tree, isn't working...
From: Tom Rotenberg <tom.rotenberg@xxxxxxxxx>
Date: Wed, 22 Jul 2009 13:35:24 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 22 Jul 2009 03:35:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IhqOQLRv5jxmaC9bDV5pIEJWC9biTOdhK4iXN3Ez66I=; b=jsLp+PEIz9p0Hsgiz6qdkH5ZmPO2RZoFgcY5j3iNGGtryUoYpW/hRLP3d9mL7cg5v9 f1QozZrEDd3RV+qx8E2RlPcPI1PIDxCppUQ6uAFLnHOsSpB6guoUI8gT9jZogkDr5Fzj ivZJyXjqIcEfkCQwxlAtbIBGLxVvulr9RzRbg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=u9YmB0oCWEXZY+tFos0fKmqoUjQMnU0oT6gyuKfilqCatID8zxQ8qVDk2dxeewHQ15 OVWs+ox+hKLr81zuQI0zsPkd2wPIy4QFut0cT07IXsBnB4rUvOpl0lXGxwRa5AulJdtG 2OJN5I0aYy9HidnwqWkI/RUgKP7X4TwpFAH7Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090722061142.GA11245@xxxxxxxxxxxx>
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: <8686c3cd0907200403w2a05cf1lfaf25dc8d7eb1821@xxxxxxxxxxxxxx> <20090720120459.GA31891@xxxxxxxxxxxx> <8686c3cd0907200511h68ae5ea8ia5a833cd40b12c08@xxxxxxxxxxxxxx> <20090721032302.GA13928@xxxxxxxxxxxx> <8686c3cd0907210022p78ab0125s388b66f6f177ed8@xxxxxxxxxxxxxx> <20090721101459.GC31093@xxxxxxxxxxxx> <20090722061142.GA11245@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Simon,

My results:

1. Trying to isolate the device that causes this:  - well it looks
like whenever i try to PT more than one device it happens, here is the
log:
t500-testing:~# xm create /etc/xen/hvm pci='00:1a.0,1,2,7'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0,1,2'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0,1'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0'
Using config file "/etc/xen/xp2_ati".
Started domain hvm (id=4)
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0' pci='00:1d.0'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0'
Using config file "/etc/xen/xp2_ati".
Started domain hvm (id=6)
t500-testing:~# xm create /etc/xen/hvm_ati pci='00:1a.0,2'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'
t500-testing:~# xm create /etc/xen/xp2_ati pci='00:1a.0,1'
Using config file "/etc/xen/xp2_ati".
Error: int() argument must be a string or a number, not 'NoneType'

2. The result of the bisection of the tree, to find the problematic changest.
Well, it looks like, changeset: 19694, caused this problem. The
changeset details:
changeset:   19694:b19ed7753827
user:        Simon Horman <horms@xxxxxxxxxxxx>
date:        Mon Jul 13 18:48:05 2009 +1000
summary:     xend: hot-plug PCI devices at boot-time

Tom

On Wed, Jul 22, 2009 at 9:11 AM, Simon Horman<horms@xxxxxxxxxxxx> wrote:
> On Tue, Jul 21, 2009 at 08:15:00PM +1000, Simon Horman wrote:
>> On Tue, Jul 21, 2009 at 10:22:19AM +0300, Tom Rotenberg wrote:
>> > Simon,
>> >
>> > First of all, my workaround seems to work ok, so i think you should
>> > consider including it anyway (if there was an exception during state
>> > retrieval, then the state should be unknown, instead of throw an
>> > exception). Do u think you will add this patch to the multi-function
>> > code?
>>
>> I am certainly considering adding it if we can't determine why this
>> happens. But it would be better to know why :-)
>>
>> > I'm reproducing this, on a Lenovo T500 machine, which is different
>> > than your machine, since it also contains the 00:1a.2 device.
>> > Also, i don't specify the devices to be pass-through in the boot line,
>> > but rather, bind them to pciback after the machine boots.
>>
>> Thanks, I'll see if binding them after boot sheds any light on the problem.
>
> Hi Tom,
>
> unfortuantely binding devices to pci-back after booting dom0 didn't
> help me to reproduce the problem.
>
> I'm wondering if you could run a few tests to try and isolate the problem
>
> 1) Try passing through the PCI devices one by one to try and
>   see which devices cause the problem that you are seeing and;
>
> 2) Do a bisection on the tree - say back to v3.4.1-rc6, to see
>   which changeset is causing the problem.
>
>

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

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