> I'm trying to install a Xen guest domain on a Sun
> Ultra40 M2 AMD64 box. I had to manually add a Xen
> xVM entry to /boot/grub/menu.lst
After standard install SNV75A,76,78,81 the option "Solaris xVM"
automatically appeared in Solaris Grub Menu.
No manual intervention was needed.
Selecting this option brings to Xen enabled environment without any problems.
>so uname -i would
> show "i86xpv" and I had to ignore the syntax errors
> in virt-install(1M)--the equal signs (=) on the
> command line are rejected (e.g., --location=). And
> the install source can't be a directory--it has to be
> a ISO image.
>
> My current problem is I can't access the console
> during the install.
> QUESTION: Any ideas on how to grab the console and
> complete the install?
> - Dan
> e's the session:
>
> # virt-install --nographics --name=amboy-1 --hvm
> --file=/dev/rdsk/c1t0d0s6 --mac=00:dd:ee:aa:00:01
> --location=/export/nv79b.iso --ram=768
> What would you like to use for the virtual CD image?
> /export/nv79b.iso
> Starting install...
> Creating domain...
> 0 B
> 00:18
> Domain installation still in progress. You can
> reconnect
> to the console to complete the installation process.
>
> # virsh console amboy-1
> No console available for domain
> # xm console amboy-1
> /usr/lib/xen/bin/xenconsole: Could not read tty from
> store: No such file or directory
> # virsh list
> Id Name State
> ---------------------------------
> 0 Domain-0 running
> 7 amboy-1 no state
> # mount /dev/dsk/c1t0d0s6 /mnt
> # ls /mnt
> lost+found
> # svcs |grep xvm
> online 15:31:31
> svc:/system/xvm/store:default
> online 15:31:36 svc:/system/xvm/xend:default
> online 15:31:36
> svc:/system/xvm/console:default
> online 15:31:37
> svc:/system/xvm/domains:default
> # uname -a
> SunOS amboy 5.11 snv_79a i86pc i386 i86xpv
> # head -1 /etc/release
> Solaris Express Developer Edition
> 1/08 snv_79b X86
>
> And the tail of some Xen logs:
>
> ----- /var/log/xen/qemu-dm.1596.log
> domid: 7
> qemu: the number of cpus is 1
> net_tap_init: nic = vnic900, setphysaddr = 0
> qemu_map_cache_init nr_buckets = 300
> shared page at pfn:2ffff
> buffered io page at pfn:2fffd
> xs_read(): vncpasswd get error.
> /vm/6f5ca60e-163e-6f45-049e-e94def73e9b6/vncpasswd.
> Could not initialize SDL - exiting
> ----- /var/log/xen/xend-debug.log
> . . .
> VmError: Disk image does not exist:
> /dev/rdsk/c1t0d0s6
> ----- /var/log/xen/xend.log
> . . .
> [2008-02-26 16:32:37 xend 296] INFO (XendDomain:1062)
> Domain amboy-1 (7) unpaused.
> [2008-02-26 16:32:39 xend.XendConfig 296] WARNING
> (XendConfig:612) Unconverted key: cpus
> [2008-02-26 16:32:39 xend.XendDomainInfo 296] DEBUG
> (XendDomainInfo:226)
> XendDomainInfo.createDormant({'PV_args': '',
> 'PV_bootloader': '', 'image': {'type': 'hvm', 'hvm':
> {'device_model': '/usr/lib/xen/bin/qemu-dm', 'pae':
> 1, 'devices': {'vcpus': 1, 'boot': 'c'}}}, 'cpus':
> [], 'devices':
> {'ee1b21db-c4e5-a21a-effa-be97826be53c': ('vif',
> {'bridge': '', 'mac': '00:dd:ee:aa:00:01', 'type':
> 'ioemu', 'uuid':
> 'ee1b21db-c4e5-a21a-effa-be97826be53c'}),
> 'fc48fa6b-d037-4b95-4d18-9f5c2964afa7': ('vbd',
> {'uname': 'phy:/dev/dsk/c1t0d0s6', 'driver':
> 'paravirtualised', 'mode': 'w', 'dev': 'hda:disk',
> 'uuid': 'fc48fa6b-d037-4b95-4d18-9f5c2964afa7'})},
> 'vcpu_avail': 1, 'features': '',
> 'actions_after_crash': 'restart', 'platform_std_vga':
> False, 'uuid':
> '6f5ca60e-163e-6f45-049e-e94def73e9b6', 'PV_ramdisk':
> '', 'name_label': 'amboy-1', 'cpu_weight': 256,
> 'console_refs': [], 'online_vcpus': 1, 'cpu_cap': 0,
> 'on_xend_stop': 'shutdown', 'memory_static_min': 768,
> 'memory_actual': 0, 'memory_static_max': 768,
> 'actions_after_shutdown': 'destroy', 'on_xend_start':
> 'ignore', 'memory_dynamic_max': 768, 'vcpus_number':
> 1, 'actions_after_suspend': '', 'memory_dynamic_min':
> 768, 'vbd_refs':
> ['fc48fa6b-d037-4b95-4d18-9f5c2964afa7'],
> 'PV_kernel': '/usr/lib/xen/boot/hvmloader',
> 'shadow_memory': 0, 'HVM_boot': '',
> 'PV_bootloader_args': '', 'actions_after_reboot':
> 'restart', 'platform_serial': '',
> 'platform_localtime': False, 'vif_refs':
> ['ee1b21db-c4e5-a21a-effa-be97826be53c'],
> 'platform_enable_audio': False, 'vtpm_refs': [],
> 'security': None, 'max_vcpu_id': 0})
> [2008-02-26 16:32:39 xend 296] DEBUG (XendDomain:926)
> Creating new managed domain: amboy-1
> ----- /var/log/xen/xpvd-event.log
> . . .
> + xenstore-read backend/vif/7/0/mac
> mac=00:dd:ee:aa:00:01
> + [ -z 00:dd:ee:aa:00:01 ]
> + /usr/lib/vna nge0 00:dd:ee:aa:00:01
> vid=900
> + [ 0 != 0 ]
> + xenstore-write
> backend/vif/7/0/SUNW-need-promiscuous 1
> + xenstore-write backend/vif/7/0/nic vnic900
> + xenstore-write backend/vif/7/0/hotplug-status
> connected
> + exit 0
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]