NetBSD-Bugs archive

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

port-xen/46105: hypervisor-dependent(?) xen crash

>Number:         46105
>Category:       port-xen
>Synopsis:       mmu_update panics with 3.1
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 27 01:25:00 +0000 2012
>Originator:     Jeff Rizzo
>Release:        NetBSD 6.0_BETA
System: 6.0_BETA i386 on amazon EC2 hypervisors
Architecture: i386
Machine: i386
        While creating NetBSD 6.0_BETA/i386 AMIs for Amazon EC2, 2 out of
        7 did not come up properly.  When I investigated more closely,
        both the ones which did not come up had a hypervisor version of
        3.1, while all the others were 3.4.

        Other details: the instances only had 1 vcpu, so MP should not
        be a factor.  The regions where the failures occurred (and
        are more likely, I guess, to have 3.1 hypervisors) were "us-west-1"
        and "ap-northeast-1".

        Here is the console log for one of the crashed instances:

Xen Minimal OS!
  start_info: 0xa01000(VA)
    nr_pages: 0x26700
  shared_inf: 0xdea91000(MA)
     pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
    mfn_list: 0x967000(VA)
   mod_start: 0x0(VA)
     mod_len: 0
       flags: 0x0
    cmd_line:  root=/dev/sda1 ro 4
  stack:      0x946780-0x966780
MM: Init
      _text: 0x0(VA)
     _etext: 0x61e65(VA)
   _erodata: 0x76000(VA)
     _edata: 0x7b6d4(VA)
stack start: 0x946780(VA)
       _end: 0x966d34(VA)
  start_pfn: a10
    max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(26700000)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf0000
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x26600000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x26610000
"main" "root=/dev/sda1" "ro" "4" 
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********

backend at /local/domain/0/backend/vbd/1279/2049
Failed to read /local/domain/0/backend/vbd/1279/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1279/2049/feature-flush-cache.
2097152 sectors of 0 bytes
vbd 2050 is hd1
******************* BLKFRONT for device/vbd/2050 **********

backend at /local/domain/0/backend/vbd/1279/2050
Failed to read /local/domain/0/backend/vbd/1279/2050/feature-barrier.
Failed to read /local/domain/0/backend/vbd/1279/2050/feature-flush-cache.
10485760 sectors of 0 bytes
[H[J  Booting 'NetBSD AMI'

root (hd0)
 Filesystem type is ext2fs, using whole disk
kernel /boot/netbsd root=xbd1

xc_dom_probe_bzimage_kernel: kernel is not a bzImage
close blk: backend at /local/domain/0/backend/vbd/1279/2049
close blk: backend at /local/domain/0/backend/vbd/1279/2050
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0_BETA (EC2) #0: Sun Feb 26 11:35:03 PST 2012
total memory = 615 MB
avail memory = 596 MB
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 3.1
vcpu0 at hypervisor0: Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz, id 
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
npx0 at hypervisor0: using exception 16
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 12:31:3f:01:50:9b
xbd0 at xenbus0 id 2049: Xen Virtual Block Device Interface
xbd1 at xenbus0 id 2050: Xen Virtual Block Device Interface
balloon0 at xenbus0 id 0: Xen Balloon driver
balloon0: current reservation: 629760 KiB
xennet0: using RX copy mode
balloon0: current reservation: 157440 pages => target: 157440 pages
boot device: xbd1
root on xbd1a dumps on xbd1b
root file system type: ffs
xpq_flush_queue: 3 entries (0 successful) on cpu0 (0)
cpu0 (0):
  0x00000000c11b5000: 0x00000000afa96001
  0x00000000c11b5008: 0x00000000afa55001
  0x00000000c11b5010: 0x00000000afa54001
panic: HYPERVISOR_mmu_update failed, ret: -22

fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c0136664 cs 9 eflags 282 cr2 36fbe000 ilevel 8
Stopped in pid 1.1 (init) at    netbsd:breakpoint+0x4:  popl    %ebp
 at netbsd:breakpoint+0x4
ea) at netbsd:vpanic+0x218
panic(c04c5e34,ffffffea,0,afa54001,0,2,d8d22adc,c03f703c,c1339d10,c150be8c) at n
xpq_flush_queue(c04ce5ea,0,d8d22b8c,c03f7cf4,c150be5c,0,0,bf7ff000,6,c11b5018) a
t netbsd:xpq_flush_queue+0x188
1b5010,0) at netbsd:xpq_queue_tlb_flush+0x19
tlbflush(c11b5010,0,afa54001,0,0,bfdfc000,0,3,0,0) at netbsd:tlbflush+0x1a
,ffffffff) at netbsd:cpu_load_pmap+0xfd
fffff) at netbsd:pmap_load+0x1b0
t netbsd:do_pmap_load+0x16
copyout(c14f7800,7c8000,c0632200,0,c010006d,0,0,0,0,0) at netbsd:copyout+0x48
ds          d8d20011
es          c04c0011    copyright+0x35bd1
fs          31
gs          d8d20011
edi         d8d22a78
esi         c04c5e34    copyright+0x3b9f4
ebp         d8d22a0c
ebx         104
edx         ffffffff
ecx         0
eax         1
eip         c0136664    breakpoint+0x4
cs          9
eflags      282
esp         d8d22a0c
ss          11
netbsd:breakpoint+0x4:  popl    %ebp


        Try to launch a PAE domU on a 3.1 hypervisor.
        None Given.


Home | Main Index | Thread Index | Old Index