> >>I have a workaround on the go. Talking of which, can I get reviews:
> 
> Is the work around in compiled format (a new package or binary) 
> available for testing?

If should be possible to update the snv_85 domU using a BFU archive
that contains the fix for 6650717.  

    http://dlc.sun.com/osol/on/downloads/

I think the "current" BFU (from 20080331) already contains the fix.
And "b87" will have it, too.  But "b87" is not yet available.


But the BFU update won't help much with installing a fresh snv85 
domU from the optical installation media.  You would have to update /
BFU the kernel bits that are booted from the optical media.

If you're impatient, you can use the kernel debugger to apply the
fix for 6650717 to the live snv_85 kernel that gets booted from
DVD:

# cat /tmp/solaris-exp
name            = "solaris-exp"
memory          = 512
vcpus           = 1

kernel          = '/boot/platform/i86xpv/kernel/unix'
ramdisk         = '/boot/x86.miniroot'
bootloader      = 'pygrub'
extra           = '/platform/i86xpv/kernel/unix -kd - nowin -B 
install_media=cdrom'

disk            = [ 'file:/tmp/sol-nv-b85-x86-dvd.iso,6:cdrom,r' ]

vif             = [ 'mac=2:35:a0:5e:c5:7a' ]

on_shutdown     = 'destroy'
on_reboot       = 'destroy'
on_crash        = 'destroy'



On a 3.2 xen hypervisor (32-bit), it crashes.  This is bug 6650717:


# xm create /tmp/solaris-exp -c
Using config file "/tmp/solaris-exp".
Started domain solaris-exp
                          Loading kmdb...

Welcome to kmdb
Loaded modules: [ unix krtld genunix ]
[0]> :c
v3.2.0 chgset 'unavailable'
SunOS Release 5.11 Version snv_85 32-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.

panic[cpu0]/thread=f5028f20: BAD TRAP: type=e (#pf Page fault) rp=f5053614 
addr=d4000900

#pf Page fault
Bad kernel fault at addr=0xd4000900
pid=0, pc=0xf4c70866, sp=0x0, eflags=0x10002
cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 2660<vmxe,xmme,fxsr,mce,pae>
cr2: d4000900
         gs: f4c101b1  fs: c4e50000  es: 80000161  ds: d4000161
        edi:   b52673 esi: d4000900 ebp: f50536c0 esp: f505364c
        ebx:   b52673 edx:        0 ecx: 80000000 eax:        0
        trp:        e err:        3 eip: f4c70866  cs:      159
        efl:    10002 usp:        0  ss:        0

f505356c unix:die+ed (e, f5053614, d40009)
f5053600 unix:trap+12b9 (f5053614, d4000900,)
f5053614 unix:_cmntrap+aa (f4c101b1, c4e50000,)
f50536c0 unix:atomic_cas_64+16 (d3e52ea0, 120, b526)
f505371c unix:hati_pte_map+143 (d3e52ea0, 120, 0, b)
f5053760 unix:hati_load_common+12f (d3c61f68, d4b20000,)
f50537c4 unix:hat_devload+10b (d3c61f68, d4b20000,)
f5053818 unix:gnttab_init+bb (f4c4fe1e, 3, f50538)
f5053828 unix:startup_modules+fb (f5053840, f4d3d64a,)
f5053830 unix:startup+35 (f4c00010, f504f648,)
f5053840 genunix:main+1e ()

panic: entering debugger (no dump device, continue to reboot)
Loaded modules: [ specfs ]
kmdb: target stopped at:
kmdb_enter+0xa: pushl  %eax




And the workaround would be:

# xm create /tmp/solaris-exp -c
Using config file "/tmp/solaris-exp".
Loading kmdb...
Started domain solaris-exp

Welcome to kmdb
Loaded modules: [ unix krtld genunix ]
[0]> gnttab_init+0xa2:b <esp/W 403
[0]> ,5000:c
v3.2.0 chgset 'unavailable'
SunOS Release 5.11 Version snv_85 32-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Loaded modules: [ specfs ]
t0stack+0x1f1c: 0x3             =       0x403
kmdb: stop at gnttab_init+0xa2
kmdb: target stopped at:
gnttab_init+0xa2:       pushl  %eax
t0stack+0x1f1c: 0x3             =       0x403
kmdb: stop at gnttab_init+0xa2
kmdb: target stopped at:
gnttab_init+0xa2:       pushl  %eax

...


Configuring /dev


    1.     Solaris Interactive Text (Console session) (default)
    2.     Apply driver updates
    3.     Single user shell

Enter the number of your choice.
Timeout cancelled. Please make a selection (1 - 3).
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to