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] MSI badness in xen-unstable

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] MSI badness in xen-unstable
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Mon, 18 Oct 2010 09:32:52 -0700
Cc: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>, Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 18 Oct 2010 09:34:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=udIEzNmhwkaMJPAICTIBTU32n+pZBj0V0XE/X3Olxas=; b=EyUaXdyO8sIMG5MmUTRoGn2Cj5LiFgXuEM+mFJ5ceXe5zhgVI+C4geNJa1aT3aEmUW gRlxa9wRigZ1jVTBvrjU8gF57fo0u8fO37ARURK9nOktDNX2zYCYpVqAXoOtyJUkZije eP8CeokvujnjH5q5h4JTyXPCI7ZXbikU0d+H0=
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; b=Uk3B6ku0MqtlkIf45+npCHmYJm1NOyO8xz4TvtZVHM+XKh8Ng44TZFtODkxCiZ+jR6 J0kloiNoJicUnfCt97qhgCB0et1l/4tBcJZ9BxnzyuPo7miYFEizlmPzacWilg80lOeJ Oo8AUn+x4wlYO8Y7mqMw4yj0FYWaGbJyloeO8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CBC2051020000780001DA58@xxxxxxxxxxxxxxxxxx>
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: <1286530426.12843.199.camel@xxxxxxxxxxxxxxxxxxxxxx> <1286817142.12843.515.camel@xxxxxxxxxxxxxxxxxxxxxx> <AANLkTi=O=uqeUfL4kOhaHFM7V-9dOdMZvM47kVNpUpz9@xxxxxxxxxxxxxx> <AANLkTimq7J3S0UB=HFQ=8Veh5974Yo3RYemQaAhRWVyF@xxxxxxxxxxxxxx> <1766682273.20101016182926@xxxxxxxxxxxxxx> <AANLkTimLya+s=OMz-8zfkprjnrLj99y49T252T+r2Buy@xxxxxxxxxxxxxx> <1868325440.20101016192611@xxxxxxxxxxxxxx> <AANLkTinnOoGyV2iUEns8K0AjDoXE0eDp0nJfKwSU+sjh@xxxxxxxxxxxxxx> <AANLkTimNNHPgZT-MZ3OOH=TgycoOPL7T50-0ZXmh0BJY@xxxxxxxxxxxxxx> <4CBC2051020000780001DA58@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Oct 18, 2010 at 1:24 AM, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:
>>>> On 18.10.10 at 00:33, Bruce Edge <bruce.edge@xxxxxxxxx> wrote:
>> diff -r 3a5755249361 xen/arch/x86/msi.c
>> --- a/xen/arch/x86/msi.c        Thu Oct 14 12:46:29 2010 +0100
>> +++ b/xen/arch/x86/msi.c        Sun Oct 17 15:32:05 2010 -0700
>> @@ -549,14 +549,14 @@
>>          return 0;
>>      if ( (addr & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == 
>> PCI_BASE_ADDRESS_MEM_TYPE_64 )
>>      {
>> -        addr &= ~PCI_BASE_ADDRESS_MEM_MASK;
>> +        addr &= PCI_BASE_ADDRESS_MEM_MASK;
>>          if ( ++bir >= limit )
>>              return 0;
>>          return addr |
>>                 ((u64)pci_conf_read32(bus, slot, func,
>>                                       PCI_BASE_ADDRESS_0 + bir * 4) << 32);
>>      }
>> -    return addr & ~PCI_BASE_ADDRESS_MEM_MASK;
>> +    return addr & PCI_BASE_ADDRESS_MEM_MASK;
>>  }
>>
>>  /**
>> @@ -634,6 +634,14 @@
>>
>>          ASSERT(!dev->msix_used_entries);
>>          WARN_ON(msi->table_base != read_pci_mem_bar(bus, slot, func, bir));
>> +        if(msi->table_base == read_pci_mem_bar(bus, slot, func, bir)) { // 
>> XXX
>
> Did you perhaps mean != here? The log you provided shows the two
> values to be identical when these printk()s get executed (which raises
> the question how the warning could get triggered, the more on line
> 635 when it sits on line 636 according to the patch).
>
>> +                       printk( 
>> "==================================================\n");
>> +                       printk( "msi->table_base != read_pci_mem_bar(bus, 
>> slot, func, bir)\n");
>> +                       printk( "msi->table_base = %0lx\n", msi->table_base 
>> );
>> +                       printk( "read_pci_mem_bar = %0lx\n", 
>> read_pci_mem_bar(bus, slot, func, bir) );
>> +                       printk( "bus=%0x, slot=%0x, func=%0x, bir=%0x\n", 
>> bus, slot, func, bir);
>> +                       printk( 
>> "==================================================\n\n");
>> +               }
>>
>>          dev->msix_nr_entries = nr_entries;
>>          dev->msix_table.first = PFN_DOWN(table_paddr);
>> @@ -647,6 +655,11 @@
>>          bir = (u8)(pba_offset & PCI_MSIX_BIRMASK);
>>          pba_paddr = read_pci_mem_bar(bus, slot, func, bir);
>>          WARN_ON(!pba_paddr);
>
> Similar here: the warning sits on line 657, but the log shows warnings
> only on lines 635, 639, and 660. Something's out of sync here.
>
>> +        if (!pba_paddr) { // XXX
>> +                       printk( 
>> "==================================================\n");
>> +                       printk( "No pba_addr: bus=%0x, slot=%0x, func=%0x, 
>> bir=%0x\n", bus, slot, func, bir);
>> +                       printk( 
>> "==================================================\n\n");
>> +               }
>>          pba_paddr += pba_offset & ~PCI_MSIX_BIRMASK;
>>
>>          dev->msix_pba.first = PFN_DOWN(pba_paddr);
>> @@ -654,6 +667,14 @@
>>                                        BITS_TO_LONGS(nr_entries) - 1);
>>          WARN_ON(rangeset_overlaps_range(mmio_ro_ranges, dev->msix_pba.first,
>>                                          dev->msix_pba.last));
>> +        if ( rangeset_overlaps_range(mmio_ro_ranges, dev->msix_pba.first,
>> +                                        dev->msix_pba.last)) { // XXX
>> +                       printk( 
>> "==================================================\n");
>> +                       printk( "rangeset_overlaps_range\n" );
>> +                       printk( "mmio_ro_ranges = %p, dev->msix_pba.first = 
>> %0lx, dev->msix_pba.last = %0lx\n",
>> +                                       mmio_ro_ranges, dev->msix_pba.first, 
>> dev->msix_pba.last);
>> +                       printk( 
>> "==================================================\n\n");
>> +               }
>>
>>          if ( rangeset_add_range(mmio_ro_ranges, dev->msix_table.first,
>>                                  dev->msix_table.last) )
>
> Jan
>
>

Jan,
You're right, wrong again. I was thrown by the fact last "Xen WARN at
msi.c:636" prints no debug data, so I thought I had the sense wrong. I
don't know what happened to the last WARN's printks.

Anyway, here's output again, this time with msi.c as well so you can
correlate the line numbers without patching.

kjournald starting.  Commit interval 5 seconds
init: ureadahead main process (424) terminated with status 5
(XEN) Xen WARN at msi.c:636
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015b9d5>] pci_enable_msi+0x476/0xacf
(XEN) RFLAGS: 0000000000010206   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: ffff82c480287ea8   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480249940
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff83011fff4004
(XEN) r9:  ffff830000000000   r10: ffff82c48020e7e0   r11: 0000000000000217
(XEN) r12: 0000000000000000   r13: ffff83011ff7fed0   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 0000000080050033   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007f9bbe730000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    ffff82c480287d18 ffff83011feca000 000082c480287e28 ffff83011ff7ff68
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0fe 00000000fa0fe000
(XEN)    0000008200000246 00000000fa0fe000 0000000080120257 0000000000000016
(XEN)    00000000fa0fc000 00000000000fa0fe 0000000000000080 000000001fee1228
(XEN)    0000000000000016 ffff83011a625700 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000109 0000000000000027 00000000ffffffed ffff83011ff81400
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000027
(XEN)    ffff82c480287ea8 0000000000000424 000000000000009c ffff83011ff7fed0
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000109 ffff83011feca000 0000000000000027 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff82c400000004
(XEN)    ffffffff813c05b4 ffff82c480287ea8 0000000000007ff0 ffffffffffffffff
(XEN)    000000b000000000 0000000000000000 00000000fa0fc000 aaaaaaaaaaaaaaaa
(XEN)    000000b000000000 0000000000000027 00000000fa0fc000 0000000000000000
(XEN)    ffff82c480287ed8 ffff8300df4ce000 00000000000001e7 0000000000000011
(XEN)    ffff88003d4ebec0 0000000000000080 00007d3b7fd780c7 ffff82c4801fd012
(XEN)    ffffffff8100942a 0000000000000021 0000000000000080 ffff88003d4ebec0
(XEN)    0000000000000011 00000000000001e7 ffff88003cba3aa8 0000000000007ff0
(XEN)    0000000000000217 ffffffff819c4760 000000000000000a ffff88000312c9e0
(XEN)    0000000000000021 ffffffff8100942a ffff88003c8d846c ffff88003cba3a08
(XEN) Xen call trace:
(XEN)    [<ffff82c48015b9d5>] pci_enable_msi+0x476/0xacf
(XEN)    [<ffff82c48015d417>] map_domain_pirq+0x28e/0x37b
(XEN)    [<ffff82c48017089b>] do_physdev_op+0x7fb/0x1050
(XEN)    [<ffff82c4801fd012>] syscall_enter+0xf2/0x14c
(XEN)
(XEN) ==================================================
(XEN) msi->table_base != read_pci_mem_bar(bus, slot, func, bir)
(XEN) msi->table_base = fa0fc000
(XEN) read_pci_mem_bar = 0
(XEN) bus=0, slot=16, func=0, bir=0
(XEN) ==================================================
(XEN)
(XEN) Xen WARN at msi.c:657
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015bb06>] pci_enable_msi+0x5a7/0xacf
(XEN) RFLAGS: 0000000000010246   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480249940
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff82c4802bf390
(XEN) r9:  0000000000000000   r10: 00000000fffffffe   r11: ffff82c480209260
(XEN) r12: 0000000000003000   r13: ffff83011ff7fed0   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 0000000080050033   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007f9bbe730000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    ffff82c480287d18 ffff83011feca000 000082c480287e28 ffff83011ff7ff68
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0fe 00000000fa0fe000
(XEN)    0000008200000246 00000000fa0fe000 0000000080120257 0000000000000016
(XEN)    00000000fa0fc000 00000000000fa0fe 0000000000000000 000000001fee1228
(XEN)    0000000000000016 ffff83011a625700 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000109 0000000000000027 00000000ffffffed ffff83011ff81400
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000027
(XEN)    ffff82c480287ea8 0000000000000424 000000000000009c ffff83011ff7fed0
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000109 ffff83011feca000 0000000000000027 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff82c400000004
(XEN)    ffffffff813c05b4 ffff82c480287ea8 0000000000007ff0 ffffffffffffffff
(XEN)    000000b000000000 0000000000000000 00000000fa0fc000 aaaaaaaaaaaaaaaa
(XEN)    000000b000000000 0000000000000027 00000000fa0fc000 0000000000000000
(XEN)    ffff82c480287ed8 ffff8300df4ce000 00000000000001e7 0000000000000011
(XEN)    ffff88003d4ebec0 0000000000000080 00007d3b7fd780c7 ffff82c4801fd012
(XEN)    ffffffff8100942a 0000000000000021 0000000000000080 ffff88003d4ebec0
(XEN)    0000000000000011 00000000000001e7 ffff88003cba3aa8 0000000000007ff0
(XEN)    0000000000000217 ffffffff819c4760 000000000000000a ffff88000312c9e0
(XEN)    0000000000000021 ffffffff8100942a ffff88003c8d846c ffff88003cba3a08
(XEN) Xen call trace:
(XEN)    [<ffff82c48015bb06>] pci_enable_msi+0x5a7/0xacf
(XEN)    [<ffff82c48015d417>] map_domain_pirq+0x28e/0x37b
(XEN)    [<ffff82c48017089b>] do_physdev_op+0x7fb/0x1050
(XEN)    [<ffff82c4801fd012>] syscall_enter+0xf2/0x14c
(XEN)
(XEN) ==================================================
(XEN) No pba_addr: bus=0, slot=16, func=0, bir=0
(XEN) bus=0, slot=16, func=0, bir=0
(XEN) ==================================================
(XEN)
(XEN) Xen WARN at msi.c:636
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015b9d5>] pci_enable_msi+0x476/0xacf
(XEN) RFLAGS: 0000000000010206   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: ffff82c480287ea8   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480249940
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff83011fff4004
(XEN) r9:  ffff830000000000   r10: ffff82c48020e7e0   r11: 0000000000000217
(XEN) r12: 0000000000000000   r13: ffff83011ff7e010   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 000000008005003b   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007f9bbe730000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    0000000000000082 ffff82c480287d28 000082c480120257 ffff83011ff7e0a8
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0fa 00000000fa0fa000
(XEN)    0000008200000246 00000000fa0fa000 0000000080120257 0000000100000016
(XEN)    00000000fa0f8000 00000000000fa0fa 0000000000000080 000000001fee1228
(XEN)    0000000100000016 ffff83011a625840 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000108 0000000000000028 00000000ffffffed ffff83011ff81480
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000028
(XEN)    ffff82c480287ea8 0000000000000420 00000000000000a0 ffff83011ff7e010
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000108 ffff83011feca000 0000000000000028 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff82c400000004
(XEN)    ffffffff813c05b4 ffff82c480287ea8 0000000000007ff0 ffffffffffffffff
(XEN)    000000b100000000 0000000000000000 00000000fa0f8000 aaaaaaaaaaaaaaaa
(XEN)    000000b100000000 0000000000000028 00000000fa0f8000 0000000000000000
(XEN)    0000000000000cfc ffff8300df4ce000 00000000000001e6 0000000000000011
(XEN)    ffff8800023df900 0000000000000080 00007d3b7fd780c7 ffff82c4801fd012
(XEN)    ffffffff8100942a 0000000000000021 0000000000000080 ffff8800023df900
(XEN)    0000000000000011 00000000000001e6 ffff88003cba3aa8 0000000000007ff0
(XEN)    0000000000000217 ffffffff819c4760 000000000000000a ffff88000312c9e0
(XEN)    0000000000000021 ffffffff8100942a ffff88003c61486c ffff88003cba3a08
(XEN) Xen call trace:
(XEN)    [<ffff82c48015b9d5>] pci_enable_msi+0x476/0xacf
(XEN)    [<ffff82c48015d417>] map_domain_pirq+0x28e/0x37b
(XEN)    [<ffff82c48017089b>] do_physdev_op+0x7fb/0x1050
(XEN)    [<ffff82c4801fd012>] syscall_enter+0xf2/0x14c
(XEN)
(XEN) ==================================================
(XEN) msi->table_base != read_pci_mem_bar(bus, slot, func, bir)
(XEN) msi->table_base = fa0f8000
(XEN) read_pci_mem_bar = 0
(XEN) bus=0, slot=16, func=1, bir=0
(XEN) ==================================================
(XEN)
(XEN) Xen WARN at msi.c:657
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015bb06>] pci_enable_msi+0x5a7/0xacf
(XEN) RFLAGS: 0000000000010246   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480249940
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff82c4802bf390
(XEN) r9:  0000000000000000   r10: 00000000fffffffe   r11: ffff82c480209260
(XEN) r12: 0000000000003000   r13: ffff83011ff7e010   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 000000008005003b   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007f9bbe730000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    0000000000000082 ffff82c480287d28 000082c480120257 ffff83011ff7e0a8
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0fa 00000000fa0fa000
(XEN)    0000008200000246 00000000fa0fa000 0000000080120257 0000000100000016
(XEN)    00000000fa0f8000 00000000000fa0fa 0000000000000000 000000001fee1228
(XEN)    0000000100000016 ffff83011a625840 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000108 0000000000000028 00000000ffffffed ffff83011ff81480
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000028
(XEN)    ffff82c480287ea8 0000000000000420 00000000000000a0 ffff83011ff7e010
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000108 ffff83011feca000 0000000000000028 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff82c400000004
(XEN)    ffffffff813c05b4 ffff82c480287ea8 0000000000007ff0 ffffffffffffffff
(XEN)    000000b100000000 0000000000000000 00000000fa0f8000 aaaaaaaaaaaaaaaa
(XEN)    000000b100000000 0000000000000028 00000000fa0f8000 0000000000000000
(XEN)    0000000000000cfc ffff8300df4ce000 00000000000001e6 0000000000000011
(XEN)    ffff8800023df900 0000000000000080 00007d3b7fd780c7 ffff82c4801fd012
(XEN)    ffffffff8100942a 0000000000000021 0000000000000080 ffff8800023df900
(XEN)    0000000000000011 00000000000001e6 ffff88003cba3aa8 0000000000007ff0
(XEN)    0000000000000217 ffffffff819c4760 000000000000000a ffff88000312c9e0
(XEN)    0000000000000021 ffffffff8100942a ffff88003c61486c ffff88003cba3a08
(XEN) Xen call trace:
(XEN)    [<ffff82c48015bb06>] pci_enable_msi+0x5a7/0xacf
(XEN)    [<ffff82c48015d417>] map_domain_pirq+0x28e/0x37b
(XEN)    [<ffff82c48017089b>] do_physdev_op+0x7fb/0x1050
(XEN)    [<ffff82c4801fd012>] syscall_enter+0xf2/0x14c
(XEN)
(XEN) ==================================================
(XEN) No pba_addr: bus=0, slot=16, func=1, bir=0
(XEN) bus=0, slot=16, func=1, bir=0
(XEN) ==================================================
(XEN)
(XEN) Xen WARN at msi.c:670
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015bba2>] pci_enable_msi+0x643/0xacf
(XEN) RFLAGS: 0000000000010202   CONTEXT: hypervisor
(XEN) rax: 0000000000000001   rbx: 0000000000000000   rcx: ffff83011fee1148
(XEN) rdx: ffff83011a625750   rsi: 0000000000000003   rdi: ffff83011fee1148
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff82c4802bf390
(XEN) r9:  0000000000000000   r10: 00000000fffffffe   r11: ffff82c480209260
(XEN) r12: 0000000000003000   r13: ffff83011ff7e010   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 000000008005003b   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007f9bbe730000
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    0000000000000082 ffff82c480287d28 000082c480120257 ffff83011ff7e0a8
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0fa 00000000fa0fa000
(XEN)    0000008200000246 00000000fa0fa000 0000000080120257 0000000100000016
(XEN)    00000000fa0f8000 00000000000fa0fa 0000000000000000 000000001fee1228
(XEN)    0000000100000016 ffff83011a625840 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000108 0000000000000028 00000000ffffffed ffff83011ff81480
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000028
(XEN)    ffff82c480287ea8 0000000000000420 00000000000000a0 ffff83011ff7e010
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000108 ffff83011feca000 0000000000000028 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff82c400000004
(XEN)    ffffffff813c05b4 ffff82c480287ea8 0000000000007ff0 ffffffffffffffff
(XEN)    000000b100000000 0000000000000000 00000000fa0f8000 aaaaaaaaaaaaaaaa
(XEN)    000000b100000000 0000000000000028 00000000fa0f8000 0000000000000000
(XEN)    0000000000000cfc ffff8300df4ce000 00000000000001e6 0000000000000011
(XEN)    ffff8800023df900 0000000000000080 00007d3b7fd780c7 ffff82c4801fd012
(XEN)    ffffffff8100942a 0000000000000021 0000000000000080 ffff8800023df900
(XEN)    0000000000000011 00000000000001e6 ffff88003cba3aa8 0000000000007ff0
(XEN)    0000000000000217 ffffffff819c4760 000000000000000a ffff88000312c9e0
(XEN)    0000000000000021 ffffffff8100942a ffff88003c61486c ffff88003cba3a08
(XEN) Xen call trace:
(XEN)    [<ffff82c48015bba2>] pci_enable_msi+0x643/0xacf
(XEN)    [<ffff82c48015d417>] map_domain_pirq+0x28e/0x37b
(XEN)    [<ffff82c48017089b>] do_physdev_op+0x7fb/0x1050
(XEN)    [<ffff82c4801fd012>] syscall_enter+0xf2/0x14c
(XEN)
(XEN) ==================================================
(XEN) rangeset_overlaps_range
(XEN) mmio_ro_ranges = ffff83011fee1120, dev->msix_pba.first = 3,
dev->msix_pba.last = 3
(XEN) ==================================================
(XEN)
(XEN) Xen WARN at msi.c:636
(XEN) ----[ Xen-4.1-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) RIP:    e008:[<ffff82c48015b9d5>] pci_enable_msi+0x476/0xacf
(XEN) RFLAGS: 0000000000010206   CONTEXT: hypervisor
(XEN) rax: 0000000000000000   rbx: ffff82c480287ea8   rcx: 000000000000000c
(XEN) rdx: 0000000000000cfe   rsi: 0000000000000286   rdi: ffff82c480249940
(XEN) rbp: ffff82c480287dc8   rsp: ffff82c480287d08   r8:  ffff83011fff4004
(XEN) r9:  ffff830000000000   r10: ffff82c48020e7e0   r11: 0000000000000213
(XEN) r12: 0000000000000000   r13: ffff83011ff7e0e0   r14: ffff82c480287e10
(XEN) r15: 0000000000000001   cr0: 0000000080050033   cr4: 00000000000026f0
(XEN) cr3: 0000000116b2b000   cr2: 00007ff12c5471c0
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: e010   cs: e008
(XEN) Xen stack trace from rsp=ffff82c480287d08:
(XEN)    ffff82c480287d18 ffff83011feca000 000082c480287e28 ffff83011ff7e178
(XEN)    ffff82c400002000 ffff82c480287f18 00000000000fa0f6 00000000fa0f6000
(XEN)    0000008200000246 00000000fa0f6000 0000000080120257 0000000200000016
(XEN)    00000000fa0f4000 00000000000fa0f6 0000000000000080 000000001fee1228
(XEN)    0000000200000016 ffff83011a625950 ffff82c48011ffb1 ffff83011feca000
(XEN)    0000000000000107 0000000000000029 00000000ffffffed ffff83011ff81500
(XEN)    ffff82c480287e48 ffff82c48015d417 ffff82c480287f18 0000000000000029
(XEN)    ffff82c480287ea8 000000000000041c 00000000000000a4 ffff83011ff7e0e0
(XEN)    0000000000000246 ffff82c480287e28 ffff82c48011ffb1 ffff88003cba3a08
(XEN)    0000000000000107 ffff83011feca000 0000000000000029 ffff83011feca190
(XEN)    ffff82c480287ef8 ffff82c48017089b ffff82c400000000 ffff8sd
7:0:0:0: [sdbfsck from util-linux-ng 2.17.2
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
e2fsck 1.41.11 (14-Mar-2010)

Looks like this is the device it's complaining about now:

00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 12)

Here's the detail on it and it's adjacent companion for comparison.


00:16.0 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 12)
        Subsystem: Super Micro Computer Inc Device f580
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fa0fc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [80] MSI-X: Enable+ Mask- TabSize=1
                Vector table: BAR=0 offset=00002000
                PBA: BAR=0 offset=00003000
        Capabilities: [90] Express (v2) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
AuxPwr- TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM
unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train-
SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [e0] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: ioatdma
        Kernel modules: ioatdma

00:16.1 System peripheral: Intel Corporation 5520/5500/X58 Chipset
QuickData Technology Device (rev 12)
        Subsystem: Super Micro Computer Inc Device f580
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 256 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at fa0f8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [80] MSI-X: Enable+ Mask- TabSize=1
                Vector table: BAR=0 offset=00002000
                PBA: BAR=0 offset=00003000
        Capabilities: [90] Express (v2) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
                        ExtTag- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
AuxPwr- TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM
unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train-
SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [e0] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: ioatdma
        Kernel modules: ioatdma


-Bruce

Attachment: msi.c
Description: Text Data

Attachment: patched-xen-boot-warn.log
Description: Text Data

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