[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Using debug-key 'o: Dump IOMMU p2m table, locks up machine



Wednesday, September 5, 2012, 12:14:02 PM, you wrote:

>>>> On 04.09.12 at 18:43, Sander Eikelenboom <linux@xxxxxxxxxxxxxx> wrote:
>>> Did you also update xen tools accordingly? Sometime I also saw a few 
>>> IO_PAGE_FAULTs came from nic if my tools version and HV version did not 
>>> match. But using recent 4.2 and corresponding xl, my tests went well.
>>> BTW: You could also try iommu=no-sharept to see if it helps.
>> 
>> Tried it and it doesn't help.
>> I now even got a "xl dmesg" which shows a IO_PAGE_FAULT occuring very early, 
>> before any toolstack or guest can be involved:
>> 
>> (XEN) [2012-09-04 15:51:17] AMD-Vi: Setup I/O page table: device id = 
>> 0x0a05, 
>> root table = 0x24d84b000, domain = 0, paging mode = 3
>> (XEN) [2012-09-04 15:51:17] AMD-Vi: Setup I/O page table: device id = 
>> 0x0a06, 
>> root table = 0x24d84b000, domain = 0, paging mode = 3
>> (XEN) [2012-09-04 15:51:17] AMD-Vi: Setup I/O page table: device id = 
>> 0x0a07, 
>> root table = 0x24d84b000, domain = 0, paging mode = 3
>> (XEN) [2012-09-04 15:51:17] AMD-Vi: Setup I/O page table: device id = 
>> 0x0b00, 
>> root table = 0x24d84b000, domain = 0, paging mode = 3
>> (XEN) [2012-09-04 15:51:17] Scrubbing Free RAM: 
>> ...........................<0>AMD-Vi: IO_PAGE_FAULT: domain = 0, device id = 
>> 0x0a06, fault address = 0xc2c2c2c0

> Looks like use of uninitialized memory (assuming you're using a
> debug hypervisor, that's the pattern scrub_one_page() puts
> there). But it's unclear to me what device should be doing any
> I/O at that point (and even if one does, how it would get the
> bad address loaded). What is 0a:00.6?

since 4.2-rc4 is still unstable it has debug=y for what i know, so yes.
This particular IO_PAGE_FAULT happened before the kernel loads, so the kernel 
and pciback shouldn't be causing the issue one would say.
With pciback i'm hiding 03:06.0, 04:00.*, 05:00.0, 0a:00.* and 07:00.0 at boot.

Is there any code i could add to get more info where it comes from ?


00:00.0 Host bridge: ATI Technologies Inc RD890 Northbridge only single slot 
PCI-e GFX Hydra part (rev 02)
00:00.2 Generic system peripheral [0806]: ATI Technologies Inc RD990 I/O Memory 
Management Unit (IOMMU)
00:02.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (PCI express 
gpp port B)
00:03.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (PCI express 
gpp port C)
00:05.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (PCI express 
gpp port E)
00:06.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (PCI express 
gpp port F)
00:0a.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (external gfx1 
port A)
00:0b.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (NB-SB link)
00:0c.0 PCI bridge: ATI Technologies Inc Device 5a20
00:0d.0 PCI bridge: ATI Technologies Inc RD890 PCI to PCI bridge (external gfx1 
port B)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller 
[AHCI mode] (rev 40)
00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 
Controller
00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI 
Controller
00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 
Controller
00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI 
Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller 
(rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 
Controller
00:15.0 PCI bridge: ATI Technologies Inc SB700/SB800/SB900 PCI to PCI bridge 
(PCIE port 0)
00:16.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 
Controller
00:16.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI 
Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address 
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link 
Control
03:06.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
04:00.0 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.1 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.2 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.3 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.4 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.5 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.6 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
04:00.7 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
05:00.0 Multimedia video controller: Conexant Systems, Inc. CX25850
06:00.0 VGA compatible controller: ATI Technologies Inc RV620 LE [Radeon HD 
3450]
06:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx 
Series]
07:00.0 Multimedia video controller: Conexant Systems, Inc. Device 8210
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 03)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 03)
0a:00.0 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.1 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.2 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.3 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.4 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.5 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.6 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0a:00.7 USB controller: NetMos Technology MCS9990 PCIe to 4âPort USB 2.0 Host 
Controller
0b:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] 
(rev a1)







> Jan




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.