[OpenIndiana-discuss] Got this working snv_134 dom0 with oi-151a7 domu

Karl Rossing karl.rossing at barobinson.com
Fri Nov 1 16:01:18 UTC 2013


I'm able to install oi domu on snv_134 dom0 using
  pfexec zfs create -V 60G vpool/host/oi-dev-151a7
  pfexec virt-install  --name "oi-dev-151a7"  --ram 8192 --nographics  
--paravirt --vcpus=1 --os-type=solaris --os-variant=opensolaris -l  
/tmp/oi-dev-151a7-text-x86.iso --disk 
path=/dev/zvol/dsk/vpool/host/oi-dev-151a7 --debug

After the install, I reboot the server and get:

reboot: Not all drivers have implemented quiesce(9E)
         Please see /var/adm/messages for drivers that haven't
         implemented quiesce(9E).
Nov  1 15:40:46 openindiana genunix: WARNING: xnf has no quiesce()
Nov  1 15:40:46 openindiana genunix: WARNING: xdf has no quiesce()
Nov  1 15:40:46 openindiana last message repeated 1 time
Nov  1 15:40:46 openindiana reboot: initiated by root on /dev/console
bootadm: failed to open file: //platform/i86pc/kernel/unix: No such file 
or directory
WARNING: Fast reboot is not supported on xVM
syncing file systems... done
rebooting...
libvir: error : Unknown failure

Connection to domain 17 closed.

Fri, 01 Nov 2013 09:41:59 DEBUG    Removing /var/tmp/virtinst-unix.bZp7tG
Fri, 01 Nov 2013 09:41:59 DEBUG    Removing 
/var/tmp/virtinst-boot_archive.xM4AIe
Guest installation complete... restarting guest.
Fri, 01 Nov 2013 09:42:28 DEBUG    Restarted guest, looking to see if it 
is running
Fri, 01 Nov 2013 09:42:34 ERROR    Domain has not run yet.  You should 
be able to find more information in the logs
Fri, 01 Nov 2013 09:42:34 DEBUG    Traceback (most recent call last):
   File "/usr/bin/virt-install", line 780, in main
     guest.connect_console(conscb)
   File 
"/export/builds/xvm_134///proto/install/usr/lib/python2.4/site-packages/virtinst/Guest.py", 
line 715, in connect_console
RuntimeError: Domain has not run yet.  You should be able to find more 
information in the logs

I found a work arround to get domu working. I completed the following 
steps in dom0
  pfexec lofiadm -a /tmp/oi-dev-151a7-text-x86.iso
  mkdir /tmp/oi-dev-151a7
  pfexec mount -F hsfs /dev/lofi/1 /tmp/oi-dev-151a7
  pfexec mkdir -p /export/xen/oi-dev-151a7/
  pfexec cp /tmp/oi-dev-151a7/platform/i86xpv/kernel/amd64/unix 
/export/xen/oi-dev-151a7/
  pfexec cp /tmp/oi-dev-151a7/platform/i86pc/amd64/boot_archive 
/export/xen/oi-dev-151a7/
  pfexec virsh edit oi-dev-151a7
  change
    <bootloader>/usr/lib/xen/bin/pygrub</bootloader>
  to
    <bootloader></bootloader>
  change
    <os>
     <type>linux</type>
   </os>
  to
    <os>
     <type>linux</type>
     <kernel>/export/xen/oi-dev-151a7/unix</kernel>
<initrd>/export/xen/oi-dev-151a7/boot_archive</initrd>
     <cmdline>/platform/i86xpv/kernel/amd64/unix -B 
zfs-bootfs=rpool/ROOT/openindiana,bootpath=/xpvd/xdf at 51712:a</cmdline>
   </os>

At this point, oi seems to boot fine. I'm wondering why I have to copy 
the kernel and boot archive into dom0?


Karl





CONFIDENTIALITY NOTICE:  This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law.  All rights to privilege are expressly
claimed and reserved and are not waived.  Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited.  If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.



More information about the OpenIndiana-discuss mailing list