OpenSolaris

Printable Version Enter a New Search
Bug ID 6667939
Synopsis guest domain panics on boot after installing T127127-08
State 10-Fix Delivered (Fix available in build)
Category:Subcategory solaris-development:io
Keywords ldoms
Responsible Engineer Alexandre Chartre
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_85
Fixed In snv_85
Release Fixed solaris_nevada(snv_85) , solaris_10u5(s10u5_10) (Bug ID:2159525)
Related Bugs 6732802
Submit Date 26-February-2008
Last Update Date 13-March-2008
Description
After installing T127127-08 on a guest domain installing with s10u4,
the guest domain panics on boot:

{0} ok boot
Boot device: disk  File and args: 
SunOS Release 5.10 Version Generic_127127-08 64-bit
Copyright 1983-2008  xxxxx , Inc.  All rights reserved.
Use is subject to license terms.
Cannot mount root on /virtual-devices@100/channel-devices@200/disk@0:a fstype ufs

panic[cpu0]/thread=180e000: vfs_mountroot: cannot mount root

000000000180b950 genunix:vfs_mountroot+32c (800, 200, 0, 18a5400, 18cf000, 18f8000)
  %l0-3: 0000000001893800 00000000010a5c00 0000000001893400 0000000001800000
  %l4-7: 0000000001861000 00000000018fa400 0000000000000600 0000000000000200
000000000180ba10 genunix:main+98 (182b538, 1019c00, 18594e0, 18f4800, 0, 182b400)
  %l0-3: 0000000001893800 00000000010a5c00 0000000001893400 0000000001800000
  %l4-7: 0000000001861000 0000000001893800 000000000122b9f0 0000000000000000

skipping system dump - no dump device configured
rebooting...
WARNING: Unable to update LDOM Variable
Work Around
To workaround this problem, cut the following script and save it as "fsane".
Then run the script on the file having the problem:

# /var/tmp/fsane vdisk 
Backing up original label in label.vdisk.080226_100327
                Updating sanity
0xbc:           0               =       0x600ddeee
                Updating checksum
0x1fe:          0xa0be  =       0x1e5d
                Label sanity has been corrected

If the sanity of the disk is already correct, then the script will 
not make any change: 

# /var/tmp/fsane vdisk 
Backing up original label in label.vdisk.080226_100521
                Label sanity is okay


----- CUT HERE -----
#!/bin/ksh

file=$1

if [ -z "$file" ]; then
        echo "usage: fsane <file>"
        echo
        exit 1
fi

if [ ! -f "$file" ]; then
        echo "usage: fsane <file>"
        echo
        echo "<file> should be a regular file"
        echo
        exit 1
fi

backup=label.$file.`date  +%y%m%d_%H%M%S`
echo "Backing up original label in $backup"
dd if=$file of=$backup count=1 2>/dev/null

(
cat <<EOM
*/s/0x1fe>c
#(*/i/0xbc)>t
<c^0xbee3>c
.,<t="Updating sanity"
0xbc,<t/W 0x600ddeee
.,<t="Updating checksum"
0x1fe,<t/w <c
.,<t="Label sanity has been corrected"
.,#<t="Label sanity is okay"
EOM
) | mdb -w $file

----- CUT HERE -----
Comments
N/A