OK. Copy kernel and boot_archive to Xen 3.4.3-rc1 Dom0 (Ubuntu 9.10 Server)

mount -o loop,ro osol-dev-131-x86.iso /mnt
cp  /mnt/platform/i86pc/amd64/boot_archive    /home/boris/solaris
cp /mnt/platform/i86xpv/kernel/amd64/unix /home/boris/solaris

Create xm startup profile:-

r...@serverkoala:/home/boris/solaris# cat osol.install
name = "sol131"
vcpus = 1
memory = "1024"
kernel = "/home/boris/solaris/unix"
ramdisk = "/home/boris/solaris/boot_archive"
extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom"
disk = ['phy:/dev/loop1,xvdc:cdrom,r','phy:/dev/sdb8,xvda,w']
vif = ['bridge=eth0']
on_shutdown = "destroy"
on_reboot = "destroy"
on_crash = "destroy"

Now start :-

r...@serverkoala:/home/boris/solaris# xm create -c osol.install
Using config file "./osol.install".
Started domain sol131 (id=2)
                            v3.4.3-rc1 chgset 'Wed Jan 13 08:37:09 2010 +0000 
19871:eafb9f876dd2'
SunOS Release 5.11 Version snv_131 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: opensolaris
Remounting root read/write
Probing for device nodes ...
Preparing live image for use
Done mounting Live image
USB keyboard
 1. Albanian                      24. Latin-American                
 2. Belarusian                    25. Lithuanian                    
 3. Belgian                       26. Latvian                       
 4. Brazilian                     27. Macedonian                    
 5. Bulgarian                     28. Malta_UK                      
 6. Canadian-Bilingual            29. Malta_US                      
 7. Croatian                      30. Norwegian                     
 8. Czech                         31. Polish                        
 9. Danish                        32. Portuguese                    
10. Dutch                         33. Romanian                      
11. Dvorak                        34. Russian                       
12. Estonian                      35. Serbia-And-Montenegro         
13. Finnish                       36. Slovak                        
14. French                        37. Slovenian                     
15. French-Canadian               38. Spanish                       
16. Hungarian                     39. Swedish                       
17. German                        40. Swiss-French                  
18. Greek                         41. Swiss-German                  
19. Icelandic                     42. Traditional-Chinese           
20. Italian                       43. TurkishF                      
21. Japanese-type6                44. TurkishQ                      
22. Japanese                      45. UK-English                    
23. Korean                        46. US-English                    

To select the keyboard layout, enter a number [default 46]:

 1. Arabic                        12. Hungarian                     
 2. Catalan                       13. Indonesian                    
 3. Chinese - Simplified          14. Italian                       
 4. Chinese - Traditional         15. Japanese                      
 5. Czech                         16. Korean                        
 6. Dutch                         17. Polish                        
 7. English                       18. Portuguese - Brazil           
 8. French                        19. Russian                       
 9. German                        20. Slovak                        
10. Greek                         21. Spanish                       
11. Hebrew                        22. Swedish                       
To select desktop language, enter a number [default is 7]: 
User selected: English
Configuring devices.
Reading ZFS config: done.

opensolaris console login: jack
Password: 
Sun Microsystems Inc.   SunOS 5.11      snv_131 January 2010
j...@opensolaris:~$ pfexec ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
        inet 192.168.1.38 netmask ffffff00 broadcast 192.168.1.255
        ether 0:16:3e:59:22:53 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128 
xnf0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
        inet6 fe80::216:3eff:fe59:2253/10 
        ether 0:16:3e:59:22:53 
j...@opensolaris:~$ 


--- On Sat, 1/23/10, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [xen-discuss] OpenSolaris DomU installation problem
To: [email protected], "Michael Böhm" <[email protected]>
Date: Saturday, January 23, 2010, 3:12 PM

Yes,on Ubuntu 9.10 Server , Xen 3.4.3-rc1 Dom0 (2.6.31.6 pvops) , i cannot

#  virsh create osol131.install 

***************
osol131.install
****************
<domain type='xen' id='1'>
<name>OS131</name>
<memory>2097152</memory>
<currentMemory>2097152</currentMemory>
<vcpu>2</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
<bootloader_args>--kernel=/platform/i86xpv/kernel/amd64/unix 
--ramdisk=/platform/i86pc/amd64/boot_archive</bootloader_args>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<disk type='file' device='cdrom'>
<driver name='file'/>
<source
 file='/root/osol131.iso'/>
<target dev='xvdc' bus='xen'/>
<readonly/>
</disk>
<disk type='block' device='disk'>
<driver name='phy'/>
<source dev='/dev/sdb7'/>
<target dev='xvda' bus='xen'/>
</disk>
<interface type='bridge'>
<mac address='00:16:3e:2a:0b:28'/>
<source bridge='eth0'/>
<script path='/etc/xen/scripts/vif-bridge'/>
<target dev='vif1.0'/>
</interface>
<console type='pty' tty='/dev/pts/1'>
<source path='/dev/pts/1'/>
<target port='0'/>
</console>
</devices>
</domain>

Pygrub doesn't return any data.
However , same profile starts install OSOL131 DomU via "virsh create" at Xen 
3.4..2 Dom0 (same pvops kernel) on top of Fedora 12 .


--- On Sat, 1/23/10, Michael Böhm <[email protected]> wrote:

From: Michael Böhm <[email protected]>
Subject: [xen-discuss] OpenSolaris DomU installation problem
To: [email protected]
Date: Saturday, January 23, 2010, 1:53 PM

Hi,

I try to install OpenSolaris DomU. Xen Version is 3.4.3-rc1, Dom0 is Ubuntu 
9.10 64bit server with linux kernel 2.6.31.6 from 
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git .

Hardware is Intel S5520HC server mainboard (vt-d) with latest firmware and dual 
Intel Xeon E5520. System has 8 physical / 16 logical cores and 12GB ram.

My setup works, I have running linux(pv and hvm), freebsd(hvm) and windows(hvm) 
virtual machines.

But I have absolutely no success in installing OpenSolaris virtual machine. 
Native install works but that does not help me because I need a linux Dom0, 
have special hardware with no driver support for
 OpenSolaris.

*1* OpenSolaris 0906 hvm:

r...@vmhost:/etc/xen# xm create osol-0906-64-hvm.cfg
Using config file "./osol-0906-64-hvm.cfg".
Started domain osol-0906-64-hvm (id=2)
r...@vmhost:/etc/xen# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1020    16     r-----    159.1
osol-0906-64-hvm                             2  2048     1     -b----     17.7

System boots to grub, then
SunOS Release 5.11
 Version snv_111b 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: opensolaris
Remounting root read/write
Probing for device nodes...

Here system freezes, no cpu consumption, no errors messages.

*2* OpenSolaris 0906 pv:

r...@vmhost:/etc/xen# xm create -c osol-0906-64-pv.cfg
Using config file "./osol-0906-64-pv.cfg".
Started domain osol-0906-64-pv (id=3)
                                     v3.4.3-rc1 chgset 'Wed Jan 13 08:37:09 
2010 +0000 19871:eafb9f876dd2'
SunOS Release 5.11 Version snv_111b 64-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: opensolaris
Remounting root read/write
Probing for device nodes ...
Preparing live image for use

And
 again, system freeze, no cpu used, no messages. Nothing.

r...@vmhost:/home/xen# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1020    16     r-----    220.1
osol-0906-64-pv                              3  2048     1     -b----      9.5

Think I need help. HELP! :)

Also tried osol-0811 and osol-dev-130 without success.

Regards
Michael
-- 
This message posted from
 opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]



      
-----Inline Attachment Follows-----

_______________________________________________
xen-discuss mailing list
[email protected]


      
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to