Surfing net I''ve met posting:- http://blog.csdn.net/hotsolaris/archive/2007/07/16/1693244.aspx#713466 It says : Add this line to Solaris'' boot command: -B atapi-cd-dma-enabled=0,atapi-other-dma-enabled=0 I have experience with HVM profiles for Windows and CentOS (4.4,5) VMs under Debian Etch (x86_64) , CentOS 5 (x86_64). (http://lxer.com/module/newswire/view/91729/index.html, http://lxer.com/module/newswire/view/91029/index.html) However, I belive that instruction mentioned above is not about:- boot="d" or boot="c" It should be something about profile like:- ********************************************************************* ********************** cp /media/cdrom/boot/platform/i86xpv/kernel/unix /etc/xen/kernel/osol_xpv_b66.kernel cp /media/cdrom/boot/x86.miniroot /etc/xen/kernel/osol_xpv_b66.miniroot # cat opensol.cfg name = "solaris" memory = 512 vcpus = "1" disk = [ ''file:/home/export/images/ISO/66-0624-d.iso,6:cdrom,r'',''file:/etc/xen/vdisks/so laris.raw,hda,w''] vif = [ " " ] on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" kernel = ''/etc/xen/kernel/osol_xpv_b66.kernel'' ramdisk = "/etc/xen/kernel/osol_xpv_b66.miniroot" rootdisk = "/dev/dsk/c0d0s0" extra = ''/platform/i86xpv/kernel/amd64/unix -B install_media=cdrom'' ******************************************************* ************************************** The last one doesn''t mention lines specific for HVM VM :- ****************************************************** kernel="/usr/li b/xen/boot/hvmloader" builder="hvm" device_model="/usr/lib64/xen/bin/qemu-dm" ************* ***************************************** Solaris profile is not for HVM guest I believe. My question is:- How to create profile for Solaris 11 (b66,b67) HVM guest ? Please, advise . This message posted from opensolaris.org
Looking attentively at the first snapshot from : http://blog.csdn.net/hotsolaris/archive/2007/07/16/1693244.aspx I went to conclusion that RHEL 5 had been installed with Xen from distributive CD (as maximum 3.0.4). Author is using GUI already built in RHEL 5 desktop. So , Solaris VM profile had been generated automatically by system the very first time. Later then modified as needed and VM restarted. However , fully virtualized system has been selected for sure (RHEL 5 allows to select ISO image or DVD only in this case ). The way to go :- Perform fresh install of CentOS 5 with Xen and start testing. This message posted from opensolaris.org
On 9/2/07, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > Surfing net I''ve met posting:- > http://blog.csdn.net/hotsolaris/archive/2007/07/16/1693244.aspx#713466 > It says : > Add this line to Solaris'' boot command:-B atapi-cd-dma-enabled=0,atapi-other-dma-enabled=0>It was required for earlier versions.Now the bug has been fixed so not required anymore. To create a Solaris HVM Guest, you can look at documents on the xen community(http://opensolaris.org/os/community/xen/docs/HVMdomains.htm). regards Nirmal Agarwal DA-IICT I have experience with HVM profiles for Windows and CentOS (4.4,5) VMs under> Debian Etch (x86_64) , CentOS 5 (x86_64). > (http://lxer.com/module/newswire/view/91729/index.html, > http://lxer.com/module/newswire/view/91029/index.html) > However, I belive that instruction mentioned above is not about:- > boot="d" or boot="c" > It should be something about profile like:- > ********************************************************************* > ********************** > cp /media/cdrom/boot/platform/i86xpv/kernel/unix > /etc/xen/kernel/osol_xpv_b66.kernel > cp /media/cdrom/boot/x86.miniroot /etc/xen/kernel/osol_xpv_b66.miniroot > > # cat opensol.cfg > > name = "solaris" > memory = 512 > vcpus = "1" > disk = [ ''file:/home/export/images/ISO/66-0624-d.iso,6:cdrom,r'',''file:/etc/xen/vdisks/so > laris.raw,hda,w''] > vif = [ " " ] > on_shutdown = "destroy" > on_reboot = "restart" > on_crash = "destroy" > kernel = ''/etc/xen/kernel/osol_xpv_b66.kernel'' > ramdisk = "/etc/xen/kernel/osol_xpv_b66.miniroot" > rootdisk = "/dev/dsk/c0d0s0" > extra = ''/platform/i86xpv/kernel/amd64/unix -B install_media=cdrom'' > ******************************************************* > ************************************** > The last one doesn''t mention lines specific for HVM VM :- > ****************************************************** > kernel="/usr/li b/xen/boot/hvmloader" > builder="hvm" > device_model="/usr/lib64/xen/bin/qemu-dm" > ************* ***************************************** > Solaris profile is not for HVM guest I believe. > My question is:- > > How to create profile for Solaris 11 (b66,b67) HVM guest ? > > Please, advise . > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >-- Believe in your heart that something wonderful is about to happen. Love your life. Believe in your own powers, and your own potential, and in your own innate goodness. Nirmal Agarwal Da-iict
CentOS 5 with Xen installed . Attempt to create Solaris 11 HVM VM been made. [root@RHEL5 ~]# xm info host : RHEL5.dstu.net release : 2.6.18-8.el5xen version : #1 SMP Thu Mar 15 19:56:43 EDT 2007 machine : x86_64 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2400 hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:00000001 total_memory : 2047 free_memory : 1044 xen_major : 3 xen_minor : 0 xen_extra : .3-rc5-8.el5 xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.1 20070105 (Red Hat 4.1.1-52) cc_compile_by : mockbuild cc_compile_domain : cc_compile_date : Thu Mar 15 19:44:56 EDT 2007 xend_config_format : 2 [root@RHEL5 ~]# cd /etc/xen [root@RHEL5 ~]# cat solaris11 # Automatically generated xen config file name = "solaris11" builder = "hvm" memory = "1024" disk = [ ''phy:/dev/sda10,hda,w'', ] vif = [ ''type=ioemu, mac=00:16:3e:1a:b4:80, bridge=xenbr0'', ] uuid = "7ca883a2-c318-e0c3-1a47-99e524d6b0ab" device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vncunused=1 apic=1 acpi=1 pae=1 vcpus=1 serial = "pty" # enable serial console on_reboot = ''restart'' on_crash = ''restart'' No idea how to add suggested exression to "Solaris boot line" in profile above This message posted from opensolaris.org
Appears to be known bug:- http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6543366 This message posted from opensolaris.org
Another workaround:- http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6534878 a bit more understandable for solaris inexperienced person This message posted from opensolaris.org
SUN DOCS:- Using Parallels, boot the DVD or ISO image. The GRUB menu is displayed. GNU GRUB version 0.95 (631K lower / 2095488K upper memory) +-------------------------------------------------------------------------------+ |Solaris Express, Developer Edition | |Solaris Express | |Solaris Express Serial Console ttya | |Solaris Express Serial Console ttyb (for lx50, v60x and v65) | +-------------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, ''e'' to edit the commands before booting, or ''c'' for a command-line. To stop the booting process and use the menu editor, type e. The GRUB edit menu is displayed. kernel /boot/multiboot kernel/unix -B install_media=cdrom module /boot/x86.miniroot Use the arrow keys to select the boot entry. kernel /boot/multiboot kernel/unix -B install_media=cdrom To edit the selected command, type e. A command that is similar to the following example is displayed. kernel /boot/multiboot kernel/unix -B install_media=cdrom At the end of the command, type ,atapi-cd-dma-enabled=0 as in this example. grub edit>kernel /boot/multiboot kernel/unix \ -B install_media=cdrom, atapi-cd-dma-enabled=0,atapi-other-dma-enabled=0 To accept the edits, press Enter. Your changes are saved and the GRUB main menu is displayed. Note - Pressing the Escape key returns you to the GRUB main menu without saving your changes. To begin the installation, type b. This message posted from opensolaris.org
Sorry, still confused. Please, let know the SNV build number where editing Solaris boot command is not requirered. I intend to unpause Solaris HVM domain with vncviewer. Would be SNV build 70 OK ? Thank you. Boris This message posted from opensolaris.org
You can use any SNV build after 67.The bug is fixed after that. regards Nirmal Agarwal Da-iict On 9/3/07, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > Sorry, still confused. > Please, let know the SNV build number where editing Solaris boot command > is not requirered. I intend to unpause Solaris HVM domain with vncviewer. > Would be SNV build 70 OK ? > Thank you. > Boris > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >-- Nirmal Agarwal Da-iict ------------------------ An eye for an eye makes world blind. Mahatma Gandhi ----------------------