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

[Xen-bugs] [Bug 1553] New: [VT-d] Intel 82557 card can not be re-assigne

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1553] New: [VT-d] Intel 82557 card can not be re-assigned after hot-add/remove
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Sat, 26 Dec 2009 23:56:41 -0800
Delivery-date: Sat, 26 Dec 2009 23:56:47 -0800
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
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1553

           Summary: [VT-d] Intel 82557 card can not be re-assigned after
                    hot-add/remove
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: jiajun.xu@xxxxxxxxx


Environment:
------------
Service Arch (ia32/ia32e/IA64): ia32/ia32e
Guest Arch (ia32/ia32e/IA64): ia32/ia32e
Guest OS Type (Linux/Windows): Linux
Change Set: 20723
Hardware: Stoakley
Other:
xen-changeset:   20723:98c4b2498415

pvops git:
commit 60e0545e9649b08dd8ef5f2b991930049c40537e
Merge: b5624ab... 444c982...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

ioemu git:
commit 9297e6402f6aa1b52e5577edc875eb2d2163baeb
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Dec 7 12:25:54 2009 +0000

Workable c/s:
xen-changeset:   20295:cac46b87a695

pvops git:
commit df8a18b83454d0c6409a4d10fe264a7fb57bb48a
Merge: 227f646... bb96afc...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

ioemu git:
commit a05958b6e32f1748ea70b1efca13394956c0698b
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Wed Oct 7 15:57:18 2009 +0100


Bug detailed description:
--------------------------
Intel 82557/8/9/0/1 can work with static assignment without hotplug. And it can
work with the first time hotplug. But it can not be re-assigned after
hot-add/remove. And the only way to make it work is to restart the system.

I did not find such issue with other NIC card till now, so mark it as a P2
issue.

Xend report:
Using config file "./config.vmxVTD_HP_05".
Error: failed to assign device 06:01.0: maybe it has already been assigned to
other domain, or maybe it doesn't exist.

xm dmesg shows:
(XEN) tmem: all pools frozen for all domains
(XEN) tmem: all pools thawed for all domains
(XEN) domctl.c:695:d0 XEN_DOMCTL_test_assign_device: 6:1.0 already assigned, or
non-existent
(XEN) tmem: all pools frozen for all domains
(XEN) tmem: all pools thawed for all domains
(XEN) domctl.c:695:d0 XEN_DOMCTL_test_assign_device: 6:1.0 already assigned, or
non-existent

And xend log shows:
(XEN) tmem: all pools frozen for all domains
(XEN) tmem: all pools thawed for all domains
(XEN) domctl.c:695:d0 XEN_DOMCTL_test_assign_device: 6:1.0 already assigned, or
non-existent
(XEN) tmem: all pools frozen for all domains
(XEN) tmem: all pools thawed for all domains
(XEN) domctl.c:695:d0 XEN_DOMCTL_test_assign_device: 6:1.0 already assigned, or
non-existent

The nic card info:
[root@vt-dp6 xen]$ lspci -s 06:01.0 -vvv
06:01.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100
(rev 08)
        Subsystem: Intel Corporation EtherExpress PRO/100+
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin A routed to IRQ 24
        Region 0: Memory at d8300000 (32-bit, non-prefetchable) [disabled]
[size=4K]
        Region 1: I/O ports at 3000 [disabled] [size=64]
        Region 2: Memory at d8200000 (32-bit, non-prefetchable) [disabled]
[size=1M]
        Expansion ROM at d8100000 [disabled] [size=1M]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=2 PME-

The pci tree structure:
[root@vt-dp6 xen]$ lspci -t
-[0000:00]-+-00.0
           +-01.0-[0000:01]--
           +-05.0-[0000:02]----00.0
           +-09.0-[0000:03-06]--+-00.0-[0000:04-05]----00.0-[0000:05]--
           |                    \-00.3-[0000:06]----01.0
....


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1553] New: [VT-d] Intel 82557 card can not be re-assigned after hot-add/remove, bugzilla-daemon <=