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] BUG: Assertion at x86_64 HVM Boot (cs17404)

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] BUG: Assertion at x86_64 HVM Boot (cs17404)
From: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
Date: Thu, 10 Apr 2008 17:33:58 +0900
Delivery-date: Thu, 10 Apr 2008 01:34:26 -0700
Envelope-to: www-data@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi,

I saw a system hang when booting an x86_64 win2k3 guest on x86_64 xen,
due to the assertion in p2m_gfn_to_mfn_current().
The serial console log is attached.

Regards,
-----------------------
Yosuke Iwamatsu
        NEC Corporation


[    2.658250] ACPI: Getting cpuindex for acpiid 0x5
[    2.658391] ACPI: Getting cpuindex for acpiid 0x6
[    2.658533] ACPI: Getting cpuindex for acpiid 0x7
[    2.663680] RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 
blocksize
[    2.664367] loop: loaded (max 8 devices)
[    2.664505] Intel(R) PRO/1000 Network Driver - version 7.1.9-k4
[    2.664640] Copyright (c) 1999-2006 Intel Corporation.
[    2.664855] ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 18 (level, low) -> 
IRQ 17
[    2.703224] e1000: 0000:0c:00.0: e1000_probe: (PCI Express:2.5Gb/s:Width x4) 
00:16:17:81:82:5c
[    2.755670] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[    2.756026] tun: Universal TUN/TAP device driver, 1.6
[    2.756169] tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
[    2.756441] Xen virtual console successfully installed as xvc0
[    2.756651] Event-channel device installed.
[    2.764335] Successfully initialized TPM backend driver.
[    2.764647] GSI 19 sharing vector 0xB0 and IRQ 19
[    2.764792] ACPI: PCI Interrupt 0000:0c:00.1[B] -> GSI 19 (level, low) -> 
IRQ 19
[    2.765052] ACPI: PCI interrupt for device 0000:0c:00.1 disabled
[    2.765317] GSI 20 sharing vector 0xB8 and IRQ 20
[    2.765454] ACPI: PCI Interrupt 0000:00:1d.7[B] -> GSI 23 (level, low) -> 
IRQ 20
[    2.765713] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[    2.765916] GSI 21 sharing vector 0xC0 and IRQ 21
[    2.766049] ACPI: PCI Interrupt 0000:00:1d.1[C] -> GSI 22 (level, low) -> 
IRQ 21
[    2.766308] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
[    2.766508] ACPI: PCI Interrupt 0000:00:1d.0[C] -> GSI 22 (level, low) -> 
IRQ 21
[    2.766768] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
[    2.767024] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[    2.767173] ide: Assuming 33MHz system bus speed for PIO modes; override 
with idebus=xx
[    2.767384] ESB2: IDE controller at PCI slot 0000:00:1f.1
[    2.767530] ACPI: PCI Interrupt 0000:00:1f.1[B] -> GSI 19 (level, low) -> 
IRQ 19
[    2.767787] ESB2: chipset revision 9
[    2.767915] ESB2: not 100% native mode: will probe irqs later
[    2.768057]     ide0: BM-DMA at 0x1880-0x1887, BIOS settings: hda:DMA, 
hdb:pio
[    3.550280] hda: MATSHITADVD-ROM SR-8178, ATAPI CD/DVD-ROM drive
[    3.910340] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    3.911517] hda: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
[    3.912253] Uniform CD-ROM driver Revision: 3.20
[    3.914929] megasas: 00.00.03.01 Sun May 14 22:49:52 PDT 2006
[    3.915140] megasas: 0x1000:0x0411:0x1000:0x1001: bus 4:slot 14:func 0
[    3.915419] ACPI: PCI Interrupt 0000:04:0e.0[A] -> GSI 18 (level, low) -> 
IRQ 17
[    3.970149] scsi0 : LSI Logic SAS based MegaRAID driver
[    3.971484]   Vendor: HITACHI   Model: HUS151414VLS300   Rev: A42A
[    3.974305]   Type:   Direct-Access                      ANSI SCSI revision: 
05
[    3.990787]   Vendor: LSI       Model: MegaRAID 8408E    Rev: 1.03
[    3.993646]   Type:   Direct-Access                      ANSI SCSI revision: 
05
[    4.005566] SCSI device sda: 285081600 512-byte hdwr sectors (145962 MB)
[    4.005763] sda: Write Protect is off
[    4.005974] SCSI device sda: drive cache: write back
[    4.006214] SCSI device sda: 285081600 512-byte hdwr sectors (145962 MB)
[    4.006397] sda: Write Protect is off
[    4.006604] SCSI device sda: drive cache: write back
[    4.006746]  sda: sda1 sda2 < sda5 >
[    4.015704] sd 0:2:0:0: Attached scsi disk sda
[    4.015877] Fusion MPT base driver 3.04.01
[    4.016016] Copyright (c) 1999-2005 LSI Logic Corporation
[    4.016154] Fusion MPT SAS Host driver 3.04.01
[    4.016371] GSI 22 sharing vector 0xC8 and IRQ 22
[    4.016516] ACPI: PCI Interrupt 0000:0d:05.0[A] -> GSI 28 (level, low) -> 
IRQ 22
[    4.016802] mptbase: Initiating ioc0 bringup
[    5.410023] ioc0: SAS1068: Capabilities={Initiator}
[   20.191731] scsi1 : ioc0: LSISAS1068, FwRev=010b0000h, Ports=1, MaxQ=511, 
IRQ=22
[   20.218345] usbmon: debugfs is not available
[   20.218540] USB Universal Host Controller Interface driver v3.0
[   20.218771] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 22 (level, low) -> 
IRQ 21
[   20.219045] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[   20.219238] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus 
number 1
[   20.219461] uhci_hcd 0000:00:1d.2: irq 21, io base 0x00001840
[   20.219790] usb usb1: configuration #1 chosen from 1 choice
[   20.219984] hub 1-0:1.0: USB hub found
[   20.220179] hub 1-0:1.0: 2 ports detected
[   20.330146] ACPI: PCI Interrupt 0000:00:1d.3[C] -> GSI 22 (level, low) -> 
IRQ 21
[   20.330426] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[   20.330622] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus 
number 2
[   20.330830] uhci_hcd 0000:00:1d.3: irq 21, io base 0x00001860
[   20.331125] usb usb2: configuration #1 chosen from 1 choice
[   20.331310] hub 2-0:1.0: USB hub found
[   20.331460] hub 2-0:1.0: 2 ports detected
[   20.440145] Initializing USB Mass Storage driver...
[   20.720026] usb 2-2: new full speed USB device using uhci_hcd and address 2
[   20.893131] usb 2-2: configuration #1 chosen from 1 choice
[   20.896296] usbcore: registered new driver usb-storage
[   20.896439] USB Mass Storage support registered.
[   20.896602] usbcore: registered new driver hiddev
[   20.901142] input: ServerEngines SE USB Device as /class/input/input0
[   20.901301] input: USB HID v1.11 Keyboard [ServerEngines SE USB Device] on 
usb-0000:00:1d.3-2
[   20.905094] input: ServerEngines SE USB Device as /class/input/input1
[   20.905243] input: USB HID v1.11 Mouse [ServerEngines SE USB Device] on 
usb-0000:00:1d.3-2
[   20.905602] usbcore: registered new driver usbhid
[   20.905738] 
/work/xen/xen-unstable.hg/linux-2.6.18-xen.hg/drivers/usb/input/hid-core.c: 
v2.6:USB HID core driver
[   20.906071] PNP: No PS/2 controller found. Probing ports directly.
[   20.906627] i8042.c: Warning: Keylock active.
[   20.907711] Failed to disable AUX port, but continuing anyway... Is this a 
SiS?
[   20.907880] If AUX port is really absent please use the 'i8042.noaux' option.
[   20.909091] serio: i8042 AUX port at 0x60,0x64 irq 12
[   20.909398] serio: i8042 KBD port at 0x60,0x64 irq 1
[   20.909719] mice: PS/2 mouse device common for all mice
[   20.910502] xenoprofile_init: ret 0, events 2, xenoprof_is_primary 1
[   20.910736] ip_conntrack version 2.4 (8192 buckets, 65536 max) - 280 bytes 
per conntrack
[   21.150149] ip_tables: (C) 2000-2006 Netfilter Core Team
[   21.420055] TCP bic registered
[   21.420198] Initializing IPsec netlink socket
[   21.420355] NET: Registered protocol family 1
[   21.420585] NET: Registered protocol family 10
[   21.420897] IPv6 over IPv4 tunneling driver
[   21.421139] NET: Registered protocol family 17
[   21.421283] NET: Registered protocol family 15
[   21.421438] 802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
[   21.422946] All bugs added by David S. Miller <davem@xxxxxxxxxx>
[   21.423185] Freeing unused kernel memory: 220k freed
[   22.422740] kjournald starting.  Commit interval 5 seconds
[   22.422910] EXT3-fs: mounted filesystem with ordered data mode.
[   26.555486] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.560839] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
[   26.561155] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
(XEN) mtrr: type mismatch for dd000000,400000 old: write-back new: 
write-combining
(XEN) mtrr: type mismatch for dd1a0000,8000 old: write-back new: write-combining
(XEN) mtrr: type mismatch for dd180000,20000 old: write-back new: 
write-combining
(XEN) mtrr: type mismatch for dd100000,80000 old: write-back new: 
write-combining
(XEN) mtrr: type mismatch for dd000000,100000 old: write-back new: 
write-combining
(XEN) mtrr: type mismatch for dd000000,400000 old: write-back new: 
write-combining
(XEN) mtrr.c:216:d0 Failed to init var mtrr msr[6],total available MSR:6
(XEN) mtrr.c:216:d0 Failed to init var mtrr msr[6],total available MSR:6
(XEN) HVM1: HVM Loader
(XEN) HVM1: Detected Xen v3.3-unstable
(XEN) HVM1: CPU speed is 1596 MHz
(XEN) HVM1: Writing SMBIOS tables ...
(XEN) HVM1: Loading ROMBIOS ...
(XEN) HVM1: 8396 bytes of ROMBIOS high-memory extensions:
(XEN) HVM1:   Relocating to 0x1fff8c00-0x1fffaccc ... done
(XEN) irq.c:235: Dom1 PCI link 0 changed 0 -> 5
(XEN) HVM1: PCI-ISA link 0 routed to IRQ5
(XEN) irq.c:235: Dom1 PCI link 1 changed 0 -> 10
(XEN) HVM1: PCI-ISA link 1 routed to IRQ10
(XEN) irq.c:235: Dom1 PCI link 2 changed 0 -> 11
(XEN) HVM1: PCI-ISA link 2 routed to IRQ11
(XEN) irq.c:235: Dom1 PCI link 3 changed 0 -> 5
(XEN) HVM1: PCI-ISA link 3 routed to IRQ5
(XEN) HVM1: pci dev 01:2 INTA->IRQ10
(XEN) HVM1: pci dev 01:3 INTD->IRQ5
(XEN) HVM1: pci dev 03:0 INTA->IRQ5
(XEN) HVM1: pci dev 04:0 INTA->IRQ5
(XEN) HVM1: pci dev 02:0 bar 10 size 02000000: f0000008
(XEN) HVM1: pci dev 03:0 bar 14 size 01000000: f2000008
(XEN) HVM1: pci dev 04:0 bar 10 size 00020000: f3000000
(XEN) HVM1: pci dev 02:0 bar 14 size 00001000: f3020000
(XEN) HVM1: pci dev 03:0 bar 10 size 00000100: 0000c001
(XEN) HVM1: pci dev 04:0 bar 14 size 00000040: 0000c101
(XEN) HVM1: pci dev 01:3 bar 20 size 00000020: 0000c141
(XEN) HVM1: pci dev 01:1 bar 20 size 00000010: 0000c161
(XEN) HVM1: Creating MP tables ...
(XEN) HVM1: Loading Cirrus VGABIOS ...
(XEN) HVM1: Loading ACPI ...
(XEN) HVM1: BIOS map:
(XEN) HVM1:  c0000-c7fff: VGA BIOS
(XEN) HVM1:  e9000-e9175: SMBIOS tables
(XEN) HVM1:  ea000-eb40f: ACPI tables
(XEN) HVM1:  f0000-fffff: Main BIOS
(XEN) HVM1: Invoking ROMBIOS ...
(XEN) HVM1:  rombios.c,v 1.138 2005/05/07 15:55:26 vruppert Exp $
(XEN) HVM1: VGABios $Id: vgabios.c,v 1.61 2005/05/24 16:50:50 vruppert Exp $
(XEN) HVM1: HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 
15:55:26 $
(XEN) HVM1:
(XEN) HVM1: ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
(XEN) HVM1: ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (8192 MBytes)
(XEN) HVM1: ata0  slave: Unknown device
(XEN) HVM1: ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) HVM1: ata1  slave: Unknown device
(XEN) HVM1:
(XEN) HVM1:
(XEN) HVM1:
(XEN) HVM1: Press F10 to select boot device.
(XEN) HVM1: Booting from Hard Disk...
(XEN) stdvga.c:142:d1 entering stdvga and caching modes
(XEN) HVM1: unsupported PCI BIOS function 0x0E
(XEN) HVM1: int13_harddisk: function 15, unmapped device for ELDL=81
(XEN) HVM1: *** int 15h function AX=E980, BX=007A not yet supported!
(XEN) HVM1: *** int 15h function AX=EC00, BX=0002 not yet supported!
(XEN) stdvga.c:146:d1 leaving stdvga
(XEN) vlapic.c:547:d1 Notice: Local APIC write with len = 1
(XEN) vlapic.c:669:d1 Local APIC Write to read-only register 0x30
(XEN) stdvga.c:142:d1 entering stdvga and caching modes
(XEN) hvm.c:1968:d1 AP 1 bringup succeeded.
(XEN) irq.c:235: Dom1 PCI link 0 changed 5 -> 0
(XEN) irq.c:235: Dom1 PCI link 1 changed 10 -> 0
(XEN) irq.c:235: Dom1 PCI link 2 changed 11 -> 0
(XEN) irq.c:235: Dom1 PCI link 3 changed 5 -> 0
(XEN) Assertion 'gfn < (((((((256UL) >> 8) * 0xffff000000000000UL) | (256UL << 
39))) + (1UL << 39)/2) - (((((256UL) >> 8) * 0xffff000000000000UL) | (256UL << 
39)))) / sizeof(l1_pgentry_t)' failed at p2m.c:381
(XEN) Debugging connection not set up.
(XEN) ----[ Xen-3.3-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    1
(XEN) RIP:    e008:[<ffff828c80189446>] p2m_gfn_to_mfn_current+0x43/0xf0
(XEN) RFLAGS: 0000000000010212   CONTEXT: hypervisor
(XEN) rax: 00000007ffffffff   rbx: ffffffff00000000   rcx: 000000fffff00000
(XEN) rdx: ffff8300cfdf7f28   rsi: ffff8300cfdf7d20   rdi: 000000fffff00000
(XEN) rbp: ffff8300cfdf7ca8   rsp: ffff8300cfdf7c98   r8:  0000000000000001
(XEN) r9:  0000000000000004   r10: 0000000223446040   r11: fffffadff26fc540
(XEN) r12: ffff81fcc0008400   r13: ffff8300cfdd2100   r14: 0000000000000012
(XEN) r15: 0000000000000011   cr0: 0000000080050033   cr4: 00000000000026b0
(XEN) cr3: 0000000216129000   cr2: ffff80002087fc00
(XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: e008
(XEN) Xen stack trace from rsp=ffff8300cfdf7c98:
(XEN)    0000000000000011 0000000000000010 ffff8300cfdf7e78 ffff828c8019a06b
(XEN)    ffff8300cfdf7cd0 ffff8300cfdf7d20 ffff8300cfdf7f28 fffff9800106f800
(XEN)    0000000000223362 ffff8300ceee6100 00000002cfdf7f28 ffff830007641378
(XEN)    ffff8300cfdf7f28 000000000000fffe ffff81fcc0008408 0000002000000001
(XEN)    ffffffffffffffff 0000000100000004 ffff8300cfdf7f28 0000004000000040
(XEN)    0000000000000000 4908c783492f8949 894400001000c281 38244c894c30246c
(XEN)    1f0002c02494894c fffff80001036834 029b001000000007 0000000000000000
(XEN)    0c93001800000000 00000000ffffffff 0cf3002b00000000 00000000ffffffff
(XEN)    0000000000000000 ffff8300cfdd2100 ffff8300cfdf7de8 0000000000000286
(XEN)    0000035a001330f8 ffff8300cfdd2100 ffff828405370c80 0000000000007641
(XEN)    ffffffffffffffff ffff8300ceee6101 000000000fffe063 ffff828c80194404
(XEN)    fffff9800106f800 000000001ff89863 000000001ffca863 000000001ffd3863
(XEN)    588000001f51e963 0000000000007ad3 000000000000768b 000000000000764a
(XEN)    0000000000007641 000000000000eaf5 fffffa800044d000 fffff9800106f800
(XEN)    0000000000000000 ffff8300cfdd2100 ffff8300cfdf7f28 fffffadff26fc620
(XEN)    ffff8300cfdf7f18 ffff828c80185525 ffff8300cfdf0000 ffff828c8013478d
(XEN)    ffff8300cfdd2100 ffff8300cfdfb318 ffff8300cfdf7ee8 ffff8300ceee6100
(XEN)    0000003f36597516 0000000000000001 ffff8300cfdf7f28 ffff828c8024e780
(XEN)    fffff8000118d940 fffff80000063070 ffff8300cfdf7f18 ffff8300cfdd2100
(XEN)    0000000000000001 fffffa80003c3b08 fffffadff26fc628 fffffadff26fc620
(XEN) Xen call trace:
(XEN)    [<ffff828c80189446>] p2m_gfn_to_mfn_current+0x43/0xf0
(XEN)    [<ffff828c8019a06b>] sh_page_fault__shadow_4_guest_4+0x11e0/0x1a50
(XEN)    [<ffff828c80185525>] vmx_vmexit_handler+0x4af/0x140f
(XEN)
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 1:
(XEN) Assertion 'gfn < (((((((256UL) >> 8) * 0xffff000000000000UL) | (256UL << 
39))) + (1UL << 39)/2) - (((((256UL) >> 8) * 
0xffff000****************************************
(XEN)
(XEN) Reboot in five seconds...
(XEN) Debugging connection not set up.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] BUG: Assertion at x86_64 HVM Boot (cs17404), Yosuke Iwamatsu <=