Running 64-bit Solaris 10U6 HVM DomU (2 vcpus) at Xen 3.3.1-RC3 CentOS 5.2 Dom0

Xen 3.3.1-RC3 contains fix for bug SMP 64bit Solaris10u5 cause Xen crash

Bug detailed description:
--------------------------
With Xen unstable, booting SMP 64bit Solaris10u5 will cause Xen crash. Booting
UP 64 bit Solaris10u5 or SMP 32 bit Solaris10u5 has no such issue.
BTW, to boot up 64 bit Solaris10u5 on unstable xen, we should set PSE36=1 by
cpuid=[ '1:edx=xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx' ] in hvm guest config file.

RC3 & RC4 handle running mentioned 64-bit HVM with 2 vcpus (C2D box) , what causes openSUSE 11.1 Xen Host to reboot .OpenSUSE 11.1 Xen host may run 64-bit S10U6 HVM with vcpus=1 only. Current Solaris Nevada build 104 has the same limitation. Solaris 10U6 (64 bit) HVM runtime profile for Xen 3.3.1-RC3 Linux Dom0 :-

[root@ServerXen vm]# cat solaris.hvm
name = "S10U6"
builder = "hvm"
memory = "2048"
disk = ['phy:/dev/sda11,hda,w']
vif = [ 'bridge=eth0' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
cpuid=[ '1:edx=xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx' ]
vnc=1
boot="c"
usb=1
usbdevice="tablet"
vcpus=2
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'

Runtime reports:-

****************************
Solaris 10U6 HVM Console
****************************
bash-3.00# uname -a
SunOS dhcppc7 5.10 Generic_137138-09 i86pc i386 i86pc
bash-3.00# /usr/bin/isainfo -kv
64-bit amd64 kernel modules
***************************************
SSH to Xen 3.3.1-rc3 CentOS 5.2 Dom0
***************************************
bash-3.00# ssh root@192.168.1.33
root@192.168.1.33's password:
Last login: Fri Dec 19 00:47:10 2008 from 192.168.1.39
[root@ServerXen ~]# uname -a
Linux ServerXen 2.6.18.8-xen #1 SMP Thu Dec 18 08:01:37 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@ServerXen ~]# xm info|grep xen_
xen_major : 3
xen_minor : 3
xen_extra : .1-rc3
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
xen_changeset : Wed Dec 17 13:52:35 2008 +0000 18540:f802623e6e5d
[root@ServerXen ~]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 3897 2 r----- 51.6
S10U6 1 4096 2 -b---- 106.3
[root@ServerXen ~]# xm list -l S10U6
(domain
(domid 1)
(on_crash restart)
(uuid 24a31321-7e3e-dfae-498f-cfac71c66ab8)
(bootloader_args )
(vcpus 2)
(name S10U6)
(on_poweroff destroy)
(on_reboot restart)
(bootloader )
(maxmem 4096)
(memory 4096)
(shadow_memory 34)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1229685596.76)
(cpu_time 107.551384624)
(online_vcpus 2)
(image
(hvm
(kernel )
(hpet 0)
(stdvga 0)
(loader /usr/lib/xen/boot/hvmloader)
(serial pty)
(vncunused 1)
(boot c)
(rtc_timeoffset 0)
(pci ())
(pae 1)
(hap 1)
(acpi 1)
(localtime 0)
(timer_mode 0)
(vnc 1)
(nographic 0)
(guest_os_type default)
(apic 1)
(monitor 0)
(usbdevice tablet)
(device_model /usr/lib64/xen/bin/qemu-dm)
(usb 1)
(xauthority /tmp/.gdm4XFKMU)
(isa 0)
(display :0.0)
(notes (SUSPEND_CANCEL 1))
)
)
(status 2)
(state -b----)
(store_mfn 983037)
(device
(vif
(bridge eth0)
(mac 00:16:3e:00:2a:49)
(script /etc/xen/scripts/vif-bridge)
(uuid 55fdc200-264b-071f-6f9a-3f310a9eef09)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 6b42a822-3dab-6e9c-ac86-661be9d8f8e5)
(dev hda:disk)
(uname phy:/dev/sda11)
(mode w)
(backend 0)
(bootable 1)
(VDI )
)
)
(device
(vfb
(vncunused 1)
(type vnc)
(uuid 2366bafb-242b-4f5d-a685-d81a4b2794a3)
(location localhost:5900)
)
)
(device
(console
(protocol vt100)
(location 4)
(uuid 1a1fa007-0687-f4e6-0a7a-f2dada4dc85e)
)
)
(cpuid ((1 ((edx xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx)))))
)
[root@ServerXen ~]# xm list -l S10U6
(domain
(domid 1)
(on_crash restart)
(uuid 24a31321-7e3e-dfae-498f-cfac71c66ab8)
(bootloader_args )
(vcpus 2)
(name S10U6)
(on_poweroff destroy)
(on_reboot restart)
(bootloader )
(maxmem 4096)
(memory 4096)
(shadow_memory 34)
(features )
(on_xend_start ignore)
(on_xend_stop ignore)
(start_time 1229685596.76)
(cpu_time 159.908389507)
(online_vcpus 2)
(image
(hvm
(kernel )
(hpet 0)
(stdvga 0)
(loader /usr/lib/xen/boot/hvmloader)
(serial pty)
(vncunused 1)
(boot c)
(rtc_timeoffset 0)
(pci ())
(pae 1)
(hap 1)
(acpi 1)
(localtime 0)
(timer_mode 0)
(vnc 1)
(nographic 0)
(guest_os_type default)
(apic 1)
(monitor 0)
(usbdevice tablet)
(device_model /usr/lib64/xen/bin/qemu-dm)
(usb 1)
(xauthority /tmp/.gdm4XFKMU)
(isa 0)
(display :0.0)
(notes (SUSPEND_CANCEL 1))
)
)
(status 2)
(state -b----)
(store_mfn 983037)
(device
(vif
(bridge eth0)
(mac 00:16:3e:00:2a:49)
(script /etc/xen/scripts/vif-bridge)
(uuid 55fdc200-264b-071f-6f9a-3f310a9eef09)
(backend 0)
)
)
(device
(vbd
(protocol x86_64-abi)
(uuid 6b42a822-3dab-6e9c-ac86-661be9d8f8e5)
(dev hda:disk)
(uname phy:/dev/sda11)
(mode w)
(backend 0)
(bootable 1)
(VDI )
)
)
(device
(vfb
(vncunused 1)
(type vnc)
(uuid 2366bafb-242b-4f5d-a685-d81a4b2794a3)
(location localhost:5900)
)
)
(device
(console
(protocol vt100)
(location 4)
(uuid 1a1fa007-0687-f4e6-0a7a-f2dada4dc85e)
)
)
(cpuid ((1 ((edx xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx)))))
)





About these ads

3 Responses to Running 64-bit Solaris 10U6 HVM DomU (2 vcpus) at Xen 3.3.1-RC3 CentOS 5.2 Dom0

  1. michal says:

    hey,
    should not it be possible now to run sol-10U6 PV?
    take a look at sun’s FAQ about that release, and also information on wikipedia:
    quote
    “Solaris 10 10/08 added boot from ZFS and can use ZFS as its root file system. Solaris 10 10/08 also includes virtualization enhancements including the ability for a Solaris Container to automatically update its environment when moved from one system to another, Logical Domains support for dynamically reconfigurable disk and network I/O, and paravirtualization support when Solaris 10 is used as a guest OS in Xen-based environments such as Sun xVM Server.”

    the question is, maybe they did it in a special way so it only works under sun’s xen?

  2. dbaxps says:

    Solaris 10U6 does have PV drivers and demonstrates very high performance as HVM DomU at Xen 3.3.1 Linux Dom0,
    actually pretty close to PV DomU performance. It doesn’t have xen-ified kernel and hence cannot be installed as PV Guest at Xen Dom0 either on Linux or on Solaris Nevada xVM (3.1.4).
    I would be very careful regarding any Sun’s advertising regarding xVM Server or LDoms, unless you are Sun’s customer. OpenSolaris 2008/11 (based on 101b Nevada kernel) demonstrates unacceptable xVM performance for HVM DomUs and S10U6 HVM in particular even having images on ZVOLs.

  3. michal says:

    thank you for your answer – it’s very interesting, what are you writting. do you have some more information about usiing those PV drivers? i’m already succesfull with GPLPV for win, and also for linux in some special cases – didn’t knew that solaris is shipped with PV drivers now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: