NetBSD Problem Report #46396
From www@NetBSD.org Wed May 2 01:13:59 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id EAF7863C785
for <gnats-bugs@gnats.NetBSD.org>; Wed, 2 May 2012 01:13:58 +0000 (UTC)
Message-Id: <20120502011358.4102263BA4F@www.NetBSD.org>
Date: Wed, 2 May 2012 01:13:58 +0000 (UTC)
From: gabberstudio@mail.ru
Reply-To: gabberstudio@mail.ru
To: gnats-bugs@NetBSD.org
Subject: failure started pci passthrough
X-Send-Pr-Version: www-1.0
>Number: 46396
>Category: port-xen
>Synopsis: failure started pci passthrough
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-xen-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 02 01:15:00 +0000 2012
>Last-Modified: Wed May 02 09:00:05 +0000 2012
>Originator: Sergey
>Release: 5.1
>Organization:
>Environment:
NetBSD QWERTY1 5.1.2_PATCH NetBSD 5.1.2_PATCH (XEN3PAE_DOM0)
>Description:
pci = ['0000:03:01.0'] and so pci = ['03:01.0']
in both cases, an error occurs
Error: pci: failed to locate device and parse its resources - unsupported operand type(s) for +: 'NoneType' and 'str'
the contents of the xend.log
Traceback (most recent call last):
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 473, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2644, in _constructDomain
"parse its resources - "+str(e))
VmError: pci: failed to locate device and parse its resources - unsupported operand type(s) for +: 'NoneType' and 'str'
[2012-05-02 05:01:27 298] DEBUG (XendDomainInfo:3071) XendDomainInfo.destroy: domid=23
[2012-05-02 05:01:27 298] DEBUG (XendDomainInfo:2406) No device model
[2012-05-02 05:01:27 298] DEBUG (XendDomainInfo:2408) Releasing devices
[2012-05-02 05:01:27 298] ERROR (XendDomainInfo:108) Domain construction failed
Traceback (most recent call last):
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 106, in create
vm.start()
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 473, in start
XendTask.log_progress(0, 30, self._constructDomain)
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress
retval = func(*args, **kwds)
File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2644, in _constructDomain
"parse its resources - "+str(e))
VmError: pci: failed to locate device and parse its resources - unsupported operand type(s) for +: 'NoneType' and 'str'
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: port-xen/46396: failure started pci passthrough
Date: Wed, 2 May 2012 10:56:39 +0200
On Wed, May 02, 2012 at 01:15:01AM +0000, gabberstudio@mail.ru wrote:
> >Environment:
> NetBSD QWERTY1 5.1.2_PATCH NetBSD 5.1.2_PATCH (XEN3PAE_DOM0)
> >Description:
> pci = ['0000:03:01.0'] and so pci = ['03:01.0']
> in both cases, an error occurs
what Xen version are you using ?
PCI pass-through is only supported on Xen 3.1 with a NetBSD dom0
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.