OpenSolaris

Printable Version Enter a New Search
Bug ID 6688051
Synopsis snv_87 PV domU panics on V40z, panic[cpu1]/thread=ffffff0007c39c80: BAD TRAP: type=e
State 11-Closed:Verified (Closed)
Category:Subcategory xvm:kernel
Keywords domu | panic | xvm
Responsible Engineer Stuart Maybee
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_89
Fixed In snv_89
Release Fixed solaris_nevada(snv_89)
Related Bugs 6611846 , 6701809
Submit Date 14-April-2008
Last Update Date 16-May-2008
Description
A change in snv_87 has exposed a latent bug in the xpv_psm module.  This manifests itself as a panic when starting mp PV guests.  The following stacktrace is what you will see if you are experiencing this problem.

panic[cpu1]/thread=ffffff0007c39c80: BAD TRAP: type=e (#pf Page fault) rp=ffffff0007c39b10 addr=fff
ffffffb4b23e8

#pf Page fault
Bad kernel fault at addr=0xfffffffffb4b23e8
pid=0, pc=0xfffffffffb886db0, sp=0xffffff0007c39c08, eflags=0x10016
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 660<xmme,fxsr,mce,pae>
cr2: fffffffffb4b23e8
        rdi: fffffffffb4b23e8 rsi:        100000000 rdx:                0
        rcx:               20  r8: fffffffffb4b23e8  r9:                0
        rax:         ffef04e7 rbx:                0 rbp: ffffff0007c39c30
        r10:                0 r11:                0 r12: ffffff01cdb71080
        r13:                1 r14:                0 r15:                0
        fsb:                0 gsb: ffffff01cdb71080  ds:             e02b
         es:             e02b  fs:                0  gs:                0
        trp:                e err:                2 rip: fffffffffb886db0
         cs:             e030 rfl:            10016 rsp: ffffff0007c39c08
         ss:             e02b

ffffff0007c399f0 unix:die+ea ()
ffffff0007c39b00 unix:trap+13cf ()
ffffff0007c39b10 unix:cmntrap+12f ()
ffffff0007c39c30 unix:atomic_or_64+0 ()
ffffff0007c39c40 xpv_psm:xen_psm_post_cpu_start+34 ()
ffffff0007c39c70 unix:mp_startup+49 ()
I can confirm that the domU with 4 vcpus is working fine in snv_89.

oaf210# cat /etc/release
                   Solaris Express Community Edition snv_89 X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                              Assembled 06 May 2008
oaf210# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3904     8     r-----     95.6
oaf210-domu-1                                1  4096     4     r-----    614.5
Work Around
configure the PV domU with only a single vcpu.
Comments
N/A