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-users

RE: [Xen-users] domU crash

To: "phcolaris" <phcolaris@xxxxxxxxxxx>
Subject: RE: [Xen-users] domU crash
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 21 Mar 2007 11:36:14 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 21 Mar 2007 03:35:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1174472472.931.31.camel@localhost>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdroqWADA0K9jG5Rjqp8WfWITizUQAAEeDg
Thread-topic: [Xen-users] domU crash
 

> -----Original Message-----
> From: phcolaris [mailto:phcolaris@xxxxxxxxxxx] 
> Sent: 21 March 2007 10:21
> To: Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] domU crash
> 
> thanks Mats,
> 
> On Wed, 2007-03-21 at 10:57 +0100, Petersson, Mats wrote: 
> > What is the symptom on the guest-side? 
> 
> the guest crash in few sec, so no idea
> 
> > 
> > What does your config for the guest look like (please strip
> > comments/empty lines)?
>                                                               
>                                           
> import os, re                                                 
>                                                  
> arch = os.uname()[4]                                          
>                                                  
> if re.search('64', arch):                                     
>                                                  
>     arch_libdir = 'lib64'                                     
>                                                  
> else:                                                         
>                                                  
>     arch_libdir = 'lib'                                       
>                                                  
>                                                               
>                                                  
> kernel = "/usr/lib/xen/boot/hvmloader"                        
>                                                  
> builder='hvm'                                                 
>                                                  
> memory = 2048                                                 
>                                                  
> shadow_memory = 8                                             
>                                                  
> name = "sol101"                                               
>                                                  
> vcpus=2                                                       
>                                                  
> pae=0                                                         
>                                                  
> acpi=0                                                        
>                                                  
> apic=0                                                        
>                                                  
> vif = [ 'type=ioemu, bridge=xenbr0' ]                         
>                                                  
> disk = [ 'phy:/dev/sda5,ioemu:hda,w', 
> 'file:/home/pdjg/public_html/iso/sol-10-u3-ga-x86-dvd.iso,hdc:
> cdrom,r' ] 
> on_poweroff = 'destroy'                                       
>                                                  
> on_reboot   = 'restart'                                       
>                                                  
> on_crash    = 'restart'                                       
>                                                  
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'     
>                                                  
> boot="d"                                                      
>                                                  
> sdl=0                                                         
>                                                  
> vnc=1                                                         
>                                                  
> stdvga=0                                                      
>                                                  
> serial='pty'                                                  
>                                                  
> soundhw='sb16'                                                
>                                                  
> usb=0 
> 
> > 
> > What is in xm dmesg, xend.log?

> 
> this is dmesg, xend.log was in previous email

Sorry, meant xend-debug.log, but it doesn't matter, as there is plenty
of good info in the xm dmesg for this particular problem. 

Judging by the messages, I would say that the guest is completely and
utterly crashing itself. 

The first failuer is that the guest is either executing garbage, or
using an instruction that is not supported by Xen. I'm not 100% sure if
anyone has been able to boot Solaris 10 on HVM. This may be something
that needs fixing in the hypervisor. 

It may be worth trying the Xen unstable version, to see if it's fixed
the problem (there's been quite a few fixes for various decoding bugs
and such). 

Once it's failed to decode the instruction, it will probably not
recover, and in your case, the guest crashes out with a "shutdown",
which is essentially the consequence of a triple-fault - non-recoverable
multiple faults, basicly. 

What makes me wonder a bit is the fact that the second domain
(auto-restarted) fails in a different manner, as does the third attempt
to restart the domain - I'm not sure if this is just because of some
timing of the failure condition (depending on the exact
circumstances/timing of the startup) the guest may fail in different
places because it triggers a different part of the code at different
times. 

--
Mats
> 
> Xen version 3.0.4_13138-10 (abuild@xxxxxxx) (gcc version 
> 4.1.3 20070302) Sun Mar 18 14:40:58 UTC 2007

>  Latest ChangeSet: 13138
[snip standard boot-logs]

> (XEN) instrlen.c:250:d1 Cannot read from address 80000000 
> (eip 80000000, mode 4)
> (XEN) handle_mmio: failed to get instruction length
> (XEN) domain_crash_sync called from platform.c:929
> (XEN) Domain 1 (vcpu#0) crashed on cpu#2:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    2
> (XEN) RIP:    0000:[<0000000080000000>]
> (XEN) RFLAGS: 0000000000000046   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) svm.c:3061:d2 Guest shutdown exit
> (XEN) svm.c:3069:d2 unexpected VMEXIT: exit reason = 0x7f, 
> exitinfo1 = 0, exitinfo2 = 0
> (XEN) domain_crash called from svm.c:3070
> (XEN) Domain 2 (vcpu#0) crashed on cpu#3:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    3
> (XEN) RIP:    0000:[<0000000000d8300a>]
> (XEN) RFLAGS: 0000000000000046   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 000000000000ffff
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) mm.c:631:d0 Error getting mfn 68253 (pfn 27a00) from L1 
> entry 8000000068253125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 68252 (pfn 27a01) from L1 
> entry 8000000068252125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 68251 (pfn 27a02) from L1 
> entry 8000000068251125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 68250 (pfn 27a03) from L1 
> entry 8000000068250125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 6824f (pfn 27a04) from L1 
> entry 800000006824f125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 6824e (pfn 27a05) from L1 
> entry 800000006824e125 for dom2
> (XEN) mm.c:631:d0 Error getting mfn 6824d (pfn 27a06) from L1 
> entry 800000006824d125 for dom2
> (XEN) printk: 53241 messages suppressed.
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) mm.c:1977:d0 Unknown domain '65535'
> (XEN) printk: 32759 messages suppressed.
> (XEN) svm.c:3061:d3 Guest shutdown exit
> (XEN) svm.c:3069:d3 unexpected VMEXIT: exit reason = 0x7f, 
> exitinfo1 = 0, exitinfo2 = 0
> (XEN) domain_crash called from svm.c:3070
> (XEN) Domain 3 (vcpu#0) crashed on cpu#1:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    1
> (XEN) RIP:    0000:[<0000000000b73020>]
> (XEN) RFLAGS: 0000000000000046   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) instrlen.c:250:d4 Cannot read from address 80000000 
> (eip 80000000, mode 4)
> (XEN) handle_mmio: failed to get instruction length
> (XEN) domain_crash_sync called from platform.c:929
> (XEN) Domain 4 (vcpu#0) crashed on cpu#0:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    0
> (XEN) RIP:    0000:[<0000000080000000>]
> (XEN) RFLAGS: 0000000000000046   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) instrlen.c:250:d5 Cannot read from address 80000000 
> (eip 80000000, mode 4)
> (XEN) handle_mmio: failed to get instruction length
> (XEN) domain_crash_sync called from platform.c:929
> (XEN) Domain 5 (vcpu#0) crashed on cpu#3:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    3
> (XEN) RIP:    0000:[<0000000080000000>]
> (XEN) RFLAGS: 0000000000000046   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) svm.c:3061:d6 Guest shutdown exit
> (XEN) svm.c:3069:d6 unexpected VMEXIT: exit reason = 0x7f, 
> exitinfo1 = 0, exitinfo2 = 0
> (XEN) domain_crash called from svm.c:3070
> (XEN) Domain 6 (vcpu#0) crashed on cpu#2:
> (XEN) ----[ Xen-3.0.4_13138-10  x86_64  debug=n  Not tainted ]----
> (XEN) CPU:    2
> (XEN) RIP:    0000:[<0000000001183020>]
> (XEN) RFLAGS: 0000000000000006   CONTEXT: hvm
> (XEN) rax: 0000000000000000   rbx: 0000000000000000   rcx: 
> 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 0000000000000000   rdi: 
> 0000000000000000
> (XEN) rbp: 0000000000000000   rsp: 0000000000000000   r8:  
> 0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 
> 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 
> 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000000050033   cr4: 
> 0000000000000640
> (XEN) cr3: 0000000000000000   cr2: 0000000000000000
> (XEN) ds: 0000   es: 0000   fs: 0000   gs: 0000   ss: 0000   cs: 0000
> (XEN) mm.c:631:d0 Error getting mfn 5d753 (pfn 32500) from L1 
> entry 800000005d753125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d752 (pfn 32501) from L1 
> entry 800000005d752125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d751 (pfn 32502) from L1 
> entry 800000005d751125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d750 (pfn 32503) from L1 
> entry 800000005d750125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d74f (pfn 32504) from L1 
> entry 800000005d74f125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d74e (pfn 32505) from L1 
> entry 800000005d74e125 for dom6
> (XEN) mm.c:631:d0 Error getting mfn 5d74d (pfn 32506) from L1 
> entry 800000005d74d125 for dom6
> 
> 
> 
>               
> ___________________________________________________________ 
> The all-new Yahoo! Mail goes wherever you go - free your 
> email address from your Internet provider. 
> http://uk.docs.yahoo.com/nowyoucan.html
> 
> 
> 



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

<Prev in Thread] Current Thread [Next in Thread>