From: Boris Derzhavets Subject: Re: Testing candidate 3.3.1-rc3 Date: Thu, 18 Dec 2008 22:22:19 -0800 (PST) Message-ID: <24501.4277.qm@web56108.mail.re3.yahoo.com> References: <34cec8c90812181807l75866fe7kf93d9fc6011e7786@mail.gmail.com> Reply-To: bderzhavets@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0248782240==" Return-path: In-Reply-To: <34cec8c90812181807l75866fe7kf93d9fc6011e7786@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0248782240== Content-Type: multipart/alternative; boundary="0-1801372248-1229667739=:4277" --0-1801372248-1229667739=:4277 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Yes, it works. **************************** 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=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 3 xen_minor=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 3 xen_extra=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : .1-rc3 xen_caps=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 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=A0=A0=A0=A0=A0=A0=A0=A0=A0 : credit xen_pagesize=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 4096 xen_changeset=A0=A0=A0=A0=A0=A0=A0=A0=A0 : Wed Dec 17 13:52:35 2008 +0000 1= 8540:f802623e6e5d [root@ServerXen ~]# xm list -l S10U6 (domain =A0=A0=A0 (domid 5) =A0=A0=A0 (on_crash restart) =A0=A0=A0 (uuid 77d0303d-b367-49b1-081f-2d651ec207c8) =A0=A0=A0 (bootloader_args ) =A0=A0=A0 (vcpus 1) =A0=A0=A0 (name S10U6) =A0=A0=A0 (on_poweroff destroy) =A0=A0=A0 (on_reboot restart) =A0=A0=A0 (bootloader ) =A0=A0=A0 (maxmem 2048) =A0=A0=A0 (memory 2048) =A0=A0=A0 (shadow_memory 17) =A0=A0=A0 (features ) =A0=A0=A0 (on_xend_start ignore) =A0=A0=A0 (on_xend_stop ignore) =A0=A0=A0 (start_time 1229666479.38) =A0=A0=A0 (cpu_time 199.967939594) =A0=A0=A0 (online_vcpus 1) =A0=A0=A0 (image =A0=A0=A0=A0=A0=A0=A0 (hvm =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (kernel ) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (hpet 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (stdvga 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (loader /usr/lib/xen/boot/hvmloader) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (serial pty) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (vncunused 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (boot c) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (rtc_timeoffset 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (pci ()) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (pae 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (hap 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (acpi 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (localtime 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (timer_mode 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (vnc 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (nographic 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (guest_os_type default) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (apic 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (monitor 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (usbdevice tablet) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (device_model /usr/lib64/xen/bin/qemu-dm) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (usb 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (xauthority /tmp/.gdmLTQZLU) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (isa 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (display :0.0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (notes (SUSPEND_CANCEL 1)) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (status 2) =A0=A0=A0 (state -b----) =A0=A0=A0 (store_mfn 524285) =A0=A0=A0 (device =A0=A0=A0=A0=A0=A0=A0 (vif =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (bridge eth0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (mac 00:16:3e:26:ca:13) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (script /etc/xen/scripts/vif-bridge) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uuid 8f703623-8d6a-6753-84b4-b74d181eabf= 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (backend 0) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (device =A0=A0=A0=A0=A0=A0=A0 (vbd =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (protocol x86_64-abi) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uuid 283d023e-5598-69be-43f7-3f4d45f2a0f= 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (dev hdc:cdrom) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uname file:/mnt/etc/xen/isos/solaris10.i= so) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (mode r) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (backend 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (bootable 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (VDI ) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (device =A0=A0=A0=A0=A0=A0=A0 (vbd =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (protocol x86_64-abi) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uuid 9132d2dd-31dc-7cee-9f05-9185028fa08= 8) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (dev hda:disk) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uname phy:/dev/sda11) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (mode w) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (backend 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (bootable 0) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (VDI ) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (device =A0=A0=A0=A0=A0=A0=A0 (vfb =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (vncunused 1) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (type vnc) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uuid 1d14dae3-21ad-47ac-8894-a5759254790= 2) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (location localhost:5900) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (device =A0=A0=A0=A0=A0=A0=A0 (console =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (protocol vt100) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (location 3) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (uuid de52052b-6685-e7e0-0359-78057b2e0b0= 3) =A0=A0=A0=A0=A0=A0=A0 ) =A0=A0=A0 ) =A0=A0=A0 (cpuid ((1 ((edx xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx))))) ) --- On Thu, 12/18/08, Paul Samon wrote: From: Paul Samon Subject: Re: [Xen-devel] Testing candidate 3.3.1-rc3 To: bderzhavets@yahoo.com Date: Thursday, December 18, 2008, 9:07 PM On Thu, Dec 18, 2008 at 8:32 AM, Boris Derzhavets wrote: > FreeBSD 7 (amd64) HVM DomU been loaded OK at Xen 3.3.1-rc3 CentOS 5.2 Dom0. > > I don't know how to force Solaris 10U6 HVM to load in 64-bit mode. > It should be some directive in hvm-profile, not grub entries change > like in Nevada. Can you try to add the following into the Solaris10U6 HVM guest's config file? cpuid=3D[ '1:edx=3Dxxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx' ] This forces the PSE36 bit to 1 in guest's CPUID emulation. I heard some kinds of Solaris guest needs this to load the 64-bit kernel, or else, the 32-bit kernel would be loaded. If this works, you can ReplyToAll to xen-devel ML to let more people know. -- Paul S. =0A=0A=0A --0-1801372248-1229667739=:4277 Content-Type: text/html; charset=us-ascii
Yes, it works.

****************************
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 -l S10U6
(domain
    (domid 5)
    (on_crash restart)
    (uuid 77d0303d-b367-49b1-081f-2d651ec207c8)
    (bootloader_args )
&n bsp;   (vcpus 1)
    (name S10U6)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 2048)
    (memory 2048)
    (shadow_memory 17)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1229666479.38)
    (cpu_time 199.967939594)
    (online_vcpus 1)
    (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)
         &n bsp;  (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/.gdmLTQZLU)
            (isa 0)
            (display :0.0)< br>            (notes (SUSPEND_CANCEL 1))
        )
    )
    (status 2)
    (state -b----)
    (store_mfn 524285)
    (device
        (vif
            (bridge eth0)
            (mac 00:16:3e:26:ca:13)
            (script /etc/xen/scripts/vif-bridge)
            (uuid 8f703623-8d6a-6753-84b4-b74d181eabf0)
            (backend 0)
        )
    )
    (device
   & nbsp;    (vbd
            (protocol x86_64-abi)
            (uuid 283d023e-5598-69be-43f7-3f4d45f2a0f1)
            (dev hdc:cdrom)
            (uname file:/mnt/etc/xen/isos/solaris10.iso)
            (mode r)
            (backend 0)
            (bootable 1)
            (VDI )
        )
    )
    (device
        (vb d
            (protocol x86_64-abi)
            (uuid 9132d2dd-31dc-7cee-9f05-9185028fa088)
            (dev hda:disk)
            (uname phy:/dev/sda11)
            (mode w)
            (backend 0)
            (bootable 0)
            (VDI )
        )
    )
    (device
        (vfb
            (vncunused 1)
  &nbs p;         (type vnc)
            (uuid 1d14dae3-21ad-47ac-8894-a57592547902)
            (location localhost:5900)
        )
    )
    (device
        (console
            (protocol vt100)
            (location 3)
            (uuid de52052b-6685-e7e0-0359-78057b2e0b03)
        )
    )
    (cpuid ((1 ((edx xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx)))))
)

--- On Thu, 12/18/08, Paul Samon <paul.samon@gmail.com > wrote:
From: Paul Samon <paul.samon@gmail.com>
Subject: Re: [Xen-devel] Testing candidate 3.3.1-rc3
To: bderzhavets@yahoo.com
Date: Thursday, December 18, 2008, 9:07 PM

On Thu, Dec 18, 2008 at 8:32 AM, Boris Derzhavets <bderzhavets@yahoo.com>
wrote:
> FreeBSD 7 (amd64) HVM DomU been loaded OK at Xen 3.3.1-rc3 CentOS 5.2
Dom0.
>
> I don't know how to force Solaris 10U6 HVM to load in 64-bit mode.
> It should be some directive in hvm-profile, not grub entries change
> like in Nevada.

Can you try to add the following into the Solaris10U6 HVM guest's config
file?
cpuid=[ '1:edx=xxxxxxxxxxxxxx1xxxxxxxxxxxxxxxxx' ]

This forces the PSE36 bit to 1 in guest's CPUID emulation.
I heard some kinds of Solaris guest needs this to load the 64-bit
kernel, or else, the 32-bit kernel would be loaded.

If this works, you can ReplyToAll to xen-devel ML to let more people know.

-- Paul S.

--0-1801372248-1229667739=:4277-- --===============0248782240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0248782240==--