> Help :) please
> 
> 
> I'm following these instructions:
> http://wiki.tardis.ed.ac.uk/index.php/OpenSolaris_Xen_domU
> ("Xen domU running under a Linux dom0" - based on Nevada build 66)
> 
> 
> But I can't install build 77 from dvd iso, due to this bug:
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6627899
> http://www.opensolaris.org/os/community/xen/docs/relnotes/
> ("Build 77 xVM guests fail to install due to changes in hsfs in 77" -
> the bug doesnt affect previous/later builds, like 76 or 78)
> 
> Workaround: Use netinstall, not ISO or DVD media.

IIRC, it was possible to work around this bug by setting / patching
the "do_schedio" variable in the "hsfs" filesystem module to 0
(that is, disabling the new "HSFS performance needs a boost"
feature that was added to snv77 and that is causing the problem
for snv77 domU install).

Procedure was something like:

- start the installation from the DVD image, pass
  options "-kd" to the installation kernel, e.g.
  with this "extra" setting in the config file

    extra = '/platform/i86xpv/kernel/amd64/unix -kd - nowin -B 
install_media=cdrom'

- start the domU.
  In kmdb, set a breakpoint in the hsfs module, start the kernel,
  patch "do_schedio"

  ::bp hsfs`_init
  ::cont
  do_schedio/W 0
  ::cont

_________________________________________________________________

# cat /etc/xen/solaris-install3
name        = 'solaris-install3'

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

memory      = '1024'

disk        = [ 
'file:/volumes/xen-install-images/solaris/sol-nv-b77-x86-dvd.iso,6:cdrom,r' ]

vif         = [ 'mac=ed:b7:8e:10:3b:b7' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

# xm create -c solaris-install3
Using config file "/etc/xen/solaris-install3".
Started domain solaris-install3
                               Loading kmdb...

Welcome to kmdb
Loaded modules: [ unix krtld genunix ]
[0]> ::bp hsfs`_init
[0]> ::cont
v3.1.0 chgset 'unavailable'
SunOS Release 5.11 Version snv_77 64-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Configuring /dev
Solaris Interactive Text (Console session)
Loaded modules: [ scsi_vhci crypto neti ptm xpv_psm ufs mpt zfs uhci hook ip 
logindmux usba specfs md random sctp arp ]
kmdb: stop at hsfs`_init
kmdb: target stopped at:
hsfs`_init:     pushq  %rbp
[0]> do_schedio/W0
hsfs`do_schedio:0x1             =       0x0
[0]> ::cont
Using install cd in /dev/dsk/c0d6p0
Using RPC Bootparams for network configuration information.
Attempting to configure interface xnf0...
Reading ZFS config: done.
Setting up Java. Please wait...
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...
...

_________________________________________________________________


Without disabling "do_schedio", the snv_77 installer would fail
like this:

# xm create -c solaris-install3
Using config file "/etc/xen/solaris-install3".
Started domain solaris-install3
                               Loading kmdb...

Welcome to kmdb
Loaded modules: [ unix krtld genunix ]
[0]> ::cont
v3.1.0 chgset 'unavailable'
SunOS Release 5.11 Version snv_77 64-bit
Copyright 1983-2007 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Configuring /dev
Solaris Interactive Text (Console session)
Using install cd in /dev/dsk/c0d6p0
Using RPC Bootparams for network configuration information.
Attempting to configure interface xnf0...
Skipped interface xnf0
Reading ZFS config: done.
Setting up Java. Please wait...

bzcat: Data integrity error when decompressing.
        Input file = /cdrom/Solaris_11/Tools/Boot/javaui.cpio.bz2, output file 
= (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.


bzcat: Data integrity error when decompressing.
        Input file = /cdrom/Solaris_11/Tools/Boot/lpmisc.cpio.bz2, output file 
= (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

...
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to