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

[Xen-devel] MSI badness in xen-unstable

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] MSI badness in xen-unstable
From: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Date: Fri, 8 Oct 2010 10:33:46 +0100
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 08 Oct 2010 02:34:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I've been trying to boot stefano's minimal dom0 kernel from
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git
2.6.36-rc1-initial-domain-v2+pat

On xen-unstable, I get the following WARN_ON()'s from Xen when bringing
up the NIC's, then the machine hangs forever when trying to login either
over serial or NIC.

(XEN) Xen WARN at msi.c:649
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    3
(XEN) RIP:    e008:[<ffff82c48015b450>] pci_enable_msi+0x466/0x945
(XEN) RFLAGS: 0000000000010206   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: 00000000da000000   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480247940
(XEN) rbp: ffff83023ff2fdc8   rsp: ffff83023ff2fd08   r8:  ffff83023fff4004
(XEN) r9:  ffff830000000000   r10: ffff82c48020d040   r11: 0000000000000217
(XEN) r12: 0000000000000149   r13: ffff83023ff7caa0   r14: ffff83023ff2fe10
(XEN) r15: 0000000000000009   cr0: 0000000080050033   cr4: 00000000000026f0
(XEN) cr3: 0000000236c1a000   cr2: 0000003e746f8050
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff83023ff2fd08:
(XEN)    800000023510b067 000000000023510b 000883023fecc000 ffff83023ff7cb38
(XEN)    ffff83020000c000 ffff83023ff2ff18 ffff83023ff2ff18 00000000000da00c
(XEN)    00000000da00c000 000000a23ff2fd68 0000000000000000 00000000da00c000
(XEN)    000000023ff2fdb8 0000000000000000 00000000000da00c 00000002000000a0
(XEN)    0000000000000000 ffff8302101b7540 ffff82c48011fe91 ffff83023fecc000
(XEN)    0000000000000113 0000000000000025 00000000ffffffed ffff83023ff81300
(XEN)    ffff83023ff2fe48 ffff82c48015cd07 0000000000000cfc 0000000000000025
(XEN)    ffff83023ff2fea8 000000000000044c 0000000000000094 ffff83023ff7caa0
(XEN)    0000000000000246 ffff83023ff2fe28 ffff82c48011fe91 ffff88002db9d568
(XEN)    0000000000000113 ffff83023fecc000 0000000000000025 ffff83023fecc190
(XEN)    ffff83023ff2fef8 ffff82c4801700a2 ffff830200000000 ffff830200000004
(XEN)    ffffffff8127d3d6 ffff83023ff2fea8 0000000000007ff0 ffffffffffffffff
(XEN)    0000000000000002 0000000000000000 00000000da000000 aaaaaaaaaaaaaaaa
(XEN)    0000000000000002 0000000000000025 00000000da000000 0000000000000000
(XEN)    ffff83023ff2fed8 ffff8300bf4c8000 0000000000000011 ffff88002efa3a00
(XEN)    0000000000000011 00000000000000a0 00007cfdc00d00c7 ffff82c4801fb8e2
(XEN)    ffffffff8100142a 0000000000000021 00000000000000a0 0000000000000011
(XEN)    ffff88002efa3a00 0000000000000011 ffff88002db9d608 00000000000007c9
(XEN)    0000000000000217 0000000000000000 ffff88002bab02a0 ffff88002e45ac00
(XEN)    0000000000000021 ffffffff8100142a 0000000000000000 ffff88002db9d568
(XEN) Xen call trace:
(XEN)    [<ffff82c48015b450>] pci_enable_msi+0x466/0x945
(XEN)    [<ffff82c48015cd07>] map_domain_pirq+0x28a/0x377
(XEN)    [<ffff82c4801700a2>] do_physdev_op+0x7f2/0x1040
(XEN)    [<ffff82c4801fb8e2>] syscall_enter+0xf2/0x14c
(XEN)    
(XEN) Xen WARN at msi.c:649
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    3
(XEN) RIP:    e008:[<ffff82c48015b4ce>] pci_enable_msi+0x4e4/0x945
(XEN) RFLAGS: 0000000000010246   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: 000000000000e000   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480247940
(XEN) rbp: ffff83023ff2fdc8   rsp: ffff83023ff2fd08   r8:  ffff83023fff4004
(XEN) r9:  ffff830000000000   r10: ffff82c48020d040   r11: 0000000000000217
(XEN) r12: 0000000000000149   r13: ffff83023ff7caa0   r14: ffff83023ff2fe10
(XEN) r15: 0000000000000009   cr0: 0000000080050033   cr4: 00000000000026f0
(XEN) cr3: 0000000236c1a000   cr2: 0000003e746f8050
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff83023ff2fd08:
(XEN)    800000023510b067 000000000023510b 000883023fecc000 ffff83023ff7cb38
(XEN)    ffff83020000c000 ffff83023ff2ff18 ffff83023ff2ff18 00000000000da00c
(XEN)    00000000da00c000 000000a23ff2fd68 0000000000000000 00000000da00c000
(XEN)    000000023ff2fdb8 0000000000000000 00000000000da00c 00000002000000a0
(XEN)    0000000000000000 ffff8302101b7540 ffff82c48011fe91 ffff83023fecc000
(XEN)    0000000000000113 0000000000000025 00000000ffffffed ffff83023ff81300
(XEN)    ffff83023ff2fe48 ffff82c48015cd07 0000000000000cfc 0000000000000025
(XEN)    ffff83023ff2fea8 000000000000044c 0000000000000094 ffff83023ff7caa0
(XEN)    0000000000000246 ffff83023ff2fe28 ffff82c48011fe91 ffff88002db9d568
(XEN)    0000000000000113 ffff83023fecc000 0000000000000025 ffff83023fecc190
(XEN)    ffff83023ff2fef8 ffff82c4801700a2 ffff830200000000 ffff830200000004
(XEN)    ffffffff8127d3d6 ffff83023ff2fea8 0000000000007ff0 ffffffffffffffff
(XEN)    0000000000000002 0000000000000000 00000000da000000 aaaaaaaaaaaaaaaa
(XEN)    0000000000000002 0000000000000025 00000000da000000 0000000000000000
(XEN)    ffff83023ff2fed8 ffff8300bf4c8000 0000000000000011 ffff88002efa3a00
(XEN)    0000000000000011 00000000000000a0 00007cfdc00d00c7 ffff82c4801fb8e2
(XEN)    ffffffff8100142a 0000000000000021 00000000000000a0 0000000000000011
(XEN)    ffff88002efa3a00 0000000000000011 ffff88002db9d608 00000000000007c9
(XEN)    0000000000000217 0000000000000000 ffff88002bab02a0 ffff88002e45ac00
(XEN)    0000000000000021 ffffffff8100142a 0000000000000000 ffff88002db9d568
(XEN) Xen call trace:
(XEN)    [<ffff82c48015b4ce>] pci_enable_msi+0x4e4/0x945
(XEN)    [<ffff82c48015cd07>] map_domain_pirq+0x28a/0x377
(XEN)    [<ffff82c4801700a2>] do_physdev_op+0x7f2/0x1040
(XEN)    [<ffff82c4801fb8e2>] syscall_enter+0xf2/0x14c
(XEN)

If I disable MSI in the kernel then these messages go away but then the
kernel hangs forever while bringing up the NIC's and therefore never
gets to the login prompt.

Everything works fine if I use xen-3.4.4-pre so it leads me to believe
it's a hypervisor bug?

And when I say "fine", what I mean is that I can login and run stuff at
almost bare-metal performance except that ssh feels as if the machine is
somewhere in new zealand and I am on a 56K modem. It's characterized by
long pauses (over serial and ssh) and then all my key-presses get
responded to at once.

Any ideas?

Thanks


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