Boris Derzhavets
2008-Mar-26 17:58 UTC
Failure to install SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit)
************************ Installation profile ************************ [root@ServerRHL51 vm]# cat snv85.install name = "Solaris85pvm" vcpus = 1 memory = "1024" kernel = "/usr/lib/xen-solaris/unix-85" ramdisk = "/usr/lib/xen-solaris/x86.miniroot-85" extra = "/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom" disk = [''file:/usr/lib/xen-solaris/snv85.iso,6:cdrom,r'',''phy:/dev/sdb7,0,w''] vif = [''bridge=eth2''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" # xm create -c snv85.install Using config file "./snv85.install". Started domain Solaris85pvm v3.2.1-rc1-pre chgset ''Wed Mar 05 16:49:33 2008 +0000 16805:28e0d4a37bb4'' SunOS Release 5.11 Version snv_85 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. panic[cpu0]/thread=fffffffffbc3cba0: BAD TRAP: type=e (#pf Page fault) rp=fffffffffbc6e9c0 addr=fffffe0017a26f68 #pf Page fault Bad kernel fault at addr=0xfffffe0017a26f68 pid=0, pc=0xfffffffffb885d03, sp=0xfffffffffbc6eab8, eflags=0x10046 cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 2620<vmxe,xmme,fxsr,pae> cr2: fffffe0017a26f68 rdi: fffffe0017a26f68 rsi: 0 rdx: 80000000bafcb673 rcx: 3 r8: 0 r9: ffffff00c5fed000 rax: 0 rbx: 80000000bafcb673 rbp: fffffffffbc6eb50 r10: 0 r11: ffffffffc0000000 r12: 0 r13: 1 r14: fffffe0017a26f68 r15: 80000000bafcb673 fsb: 200000000 gsb: fffffffffbc3dff0 ds: 0 ************************************************************************************ Notice, that SNV84 Domu at same Dom0 completed with no problems. ************************************************************************************ This message posted from opensolaris.org
Boris Derzhavets
2008-Mar-26 19:23 UTC
Re: Failure to install SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit)
************************** xen console DomU_Id *************************** [root@ServerRHL51 ~]# xm console 10 SunOS Release 5.11 Version snv_85 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. panic[cpu0]/thread=fffffffffbc3cba0: BAD TRAP: type=e (#pf Page fault) rp=fffffffffbc6e9c0 addr=fffffe0017a26f68 #pf Page fault Bad kernel fault at addr=0xfffffe0017a26f68 pid=0, pc=0xfffffffffb885d03, sp=0xfffffffffbc6eab8, eflags=0x10046 cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 2620<vmxe,xmme,fxsr,pae> cr2: fffffe0017a26f68 rdi: fffffe0017a26f68 rsi: 0 rdx: 80000000bafcb673 rcx: 3 r8: 0 r9: ffffff00c5fed000 rax: 0 rbx: 80000000bafcb673 rbp: fffffffffbc6eb50 r10: 0 r11: ffffffffc0000000 r12: 0 r13: 1 r14: fffffe0017a26f68 r15: 80000000bafcb673 fsb: 200000000 gsb: fffffffffbc3dff0 ds: 0 es: 0 fs: 0 gs: *************** Thread trace:- *************** panic[cpu0]/thread=fffffffffbc3cba0: BAD TRAP: type=e (#pf Page fault) rp=fffffffffbc6e9c0 addr=fffffe0017a26f68 #pf Page fault Bad kernel fault at addr=0xfffffe0017a26f68 pid=0, pc=0xfffffffffb885d03, sp=0xfffffffffbc6eab8, eflags=0x10046 cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 2620<vmxe,xmme,fxsr,pae> cr2: fffffe0017a26f68 rdi: fffffe0017a26f68 rsi: 0 rdx: 80000000bafcb673 rcx: 3 r8: 0 r9: ffffff00c5fed000 rax: 0 rbx: 80000000bafcb673 rbp: fffffffffbc6eb50 r10: 0 r11: ffffffffc0000000 r12: 0 r13: 1 r14: fffffe0017a26f68 r15: 80000000bafcb673 fsb: 200000000 gsb: fffffffffbc3dff0 ds: 0 es: 0 fs: 0 gs: 0 trp: e err: 3 rip: fffffffffb885d03 cs: e030 rfl: 10046 rsp: fffffffffbc6eab8 ss: e02b fffffffffbc6e8a0 unix:die+ea () fffffffffbc6e9b0 unix:trap+13cf () fffffffffbc6e9c0 unix:_cmntrap+12f () fffffffffbc6eb50 unix:atomic_cas_64+3 () fffffffffbc6ebf0 unix:hati_pte_map+153 () fffffffffbc6ec70 unix:hati_load_common+15a () fffffffffbc6ed30 unix:hat_devload+13c () fffffffffbc6ed80 unix:gnttab_init+dd () fffffffffbc6ed90 unix:startup_modules+f9 () fffffffffbc6eda0 unix:startup+3f () fffffffffbc6edd0 genunix:main+27 () fffffffffbc6ede0 unix:_locore_start+80 () This message posted from opensolaris.org
John Levon
2008-Mar-26 20:47 UTC
store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit))
On Wed, Mar 26, 2008 at 10:58:54AM -0700, Boris Derzhavets wrote:> [root@ServerRHL51 vm]# cat snv85.installSolaris doesn''t work on Xen 3.2 - they broke backwards compatibility again. I have a workaround on the go. Talking of which, can I get reviews: http://cr.opensolaris.org/~johnlev/xen-storecaching/ thanks john
Boris Derzhavets
2008-Mar-27 08:57 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2
My experience with Solaris is not enough to review patch.I can either perform testing if would been instructed how to apply it or need to know SNV build number including patch.> Solaris doesn''t work on Xen 3.2 - they broke > backwards compatibilitySNV84 (Xen 3.0.4) does work at Xen 3.2 Ubuntu 7.10 Dom0 as well as at Xen 3.2 CentOS 5.1 Dom0. Both Dom0 tested were 64 bit. Details may be viewed at:- http://lxer.com/module/newswire/view/100884/index.html http://lxer.com/module/newswire/view/100541/index.html> >I understand, that Nevada 85 build implements Xen 3.1 and differs from build 84. Thank you. Boris. P.S. SNV85 install also crashes on CentOS 5.1. I don''t remember details now. SNV85 install succeeded on Xen (3.1) enabled F8 Dom0. This message posted from opensolaris.org
Boris Derzhavets
2008-Mar-30 18:14 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2
Sorry, i was wrong about install SNV85 DomU at CentOS 5.1 Dom0 (64-bit). It went smoothly and runtime profile was utilizing "pygrub" as usual. The only one difference when starting runtime:- [root@dhcppc10 vm]# cat SNV85.conf name = "Solaris85pvm" vcpus = 1 memory = "1024" bootloader = "/usr/bin/pygrub" kernel = "/platform/i86xpv/kernel/amd64/unix" ramdisk = "/platform/i86pc/amd64/boot_archive" disk = [''phy:/dev/sdb8,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" # xm create SNV85.conf # xm console Solaris85pvm This message posted from opensolaris.org
Boris Derzhavets
2008-Mar-30 18:17 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2
Install SNV85 DomU at Ubuntu 7.10 Dom0 (64-bit) succeeded as well. This message posted from opensolaris.org
Bernd Schemmer
2008-Apr-06 19:22 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit))
Hi,>>I have a workaround on the go. Talking of which, can I get reviews:Is the work around in compiled format (a new package or binary) available for testing? regards Bernd John Levon wrote:> On Wed, Mar 26, 2008 at 10:58:54AM -0700, Boris Derzhavets wrote: > > >> [root@ServerRHL51 vm]# cat snv85.install >> > > Solaris doesn''t work on Xen 3.2 - they broke backwards compatibility > again. > > I have a workaround on the go. Talking of which, can I get reviews: > > http://cr.opensolaris.org/~johnlev/xen-storecaching/ > > thanks > john > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > >-- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro
John Levon
2008-Apr-06 21:09 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit))
On Sun, Apr 06, 2008 at 09:22:59PM +0200, Bernd Schemmer wrote:> Is the work around in compiled format (a new package or binary) > available for testing?I''m afraid not, only as part of the forthcoming build 87 regards john
Jürgen Keil
2008-Apr-07 09:40 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
> >>I have a workaround on the go. Talking of which, can I get reviews: > > Is the work around in compiled format (a new package or binary) > available for testing?If should be possible to update the snv_85 domU using a BFU archive that contains the fix for 6650717. http://dlc.sun.com/osol/on/downloads/ I think the "current" BFU (from 20080331) already contains the fix. And "b87" will have it, too. But "b87" is not yet available. But the BFU update won''t help much with installing a fresh snv85 domU from the optical installation media. You would have to update / BFU the kernel bits that are booted from the optical media. If you''re impatient, you can use the kernel debugger to apply the fix for 6650717 to the live snv_85 kernel that gets booted from DVD: # cat /tmp/solaris-exp name = "solaris-exp" memory = 512 vcpus = 1 kernel = ''/boot/platform/i86xpv/kernel/unix'' ramdisk = ''/boot/x86.miniroot'' bootloader = ''pygrub'' extra = ''/platform/i86xpv/kernel/unix -kd - nowin -B install_media=cdrom'' disk = [ ''file:/tmp/sol-nv-b85-x86-dvd.iso,6:cdrom,r'' ] vif = [ ''mac=2:35:a0:5e:c5:7a'' ] on_shutdown = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' On a 3.2 xen hypervisor (32-bit), it crashes. This is bug 6650717: # xm create /tmp/solaris-exp -c Using config file "/tmp/solaris-exp". Started domain solaris-exp Loading kmdb... Welcome to kmdb Loaded modules: [ unix krtld genunix ] [0]> :c v3.2.0 chgset ''unavailable'' SunOS Release 5.11 Version snv_85 32-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. panic[cpu0]/thread=f5028f20: BAD TRAP: type=e (#pf Page fault) rp=f5053614 addr=d4000900 #pf Page fault Bad kernel fault at addr=0xd4000900 pid=0, pc=0xf4c70866, sp=0x0, eflags=0x10002 cr0: 80050033<pg,wp,ne,et,mp,pe> cr4: 2660<vmxe,xmme,fxsr,mce,pae> cr2: d4000900 gs: f4c101b1 fs: c4e50000 es: 80000161 ds: d4000161 edi: b52673 esi: d4000900 ebp: f50536c0 esp: f505364c ebx: b52673 edx: 0 ecx: 80000000 eax: 0 trp: e err: 3 eip: f4c70866 cs: 159 efl: 10002 usp: 0 ss: 0 f505356c unix:die+ed (e, f5053614, d40009) f5053600 unix:trap+12b9 (f5053614, d4000900,) f5053614 unix:_cmntrap+aa (f4c101b1, c4e50000,) f50536c0 unix:atomic_cas_64+16 (d3e52ea0, 120, b526) f505371c unix:hati_pte_map+143 (d3e52ea0, 120, 0, b) f5053760 unix:hati_load_common+12f (d3c61f68, d4b20000,) f50537c4 unix:hat_devload+10b (d3c61f68, d4b20000,) f5053818 unix:gnttab_init+bb (f4c4fe1e, 3, f50538) f5053828 unix:startup_modules+fb (f5053840, f4d3d64a,) f5053830 unix:startup+35 (f4c00010, f504f648,) f5053840 genunix:main+1e () panic: entering debugger (no dump device, continue to reboot) Loaded modules: [ specfs ] kmdb: target stopped at: kmdb_enter+0xa: pushl %eax And the workaround would be: # xm create /tmp/solaris-exp -c Using config file "/tmp/solaris-exp". Loading kmdb... Started domain solaris-exp Welcome to kmdb Loaded modules: [ unix krtld genunix ] [0]> gnttab_init+0xa2:b <esp/W 403 [0]> ,5000:c v3.2.0 chgset ''unavailable'' SunOS Release 5.11 Version snv_85 32-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Loaded modules: [ specfs ] t0stack+0x1f1c: 0x3 = 0x403 kmdb: stop at gnttab_init+0xa2 kmdb: target stopped at: gnttab_init+0xa2: pushl %eax t0stack+0x1f1c: 0x3 = 0x403 kmdb: stop at gnttab_init+0xa2 kmdb: target stopped at: gnttab_init+0xa2: pushl %eax ... Configuring /dev 1. Solaris Interactive Text (Console session) (default) 2. Apply driver updates 3. Single user shell Enter the number of your choice. Timeout cancelled. Please make a selection (1 - 3). This message posted from opensolaris.org
Bernd Schemmer
2008-Apr-07 18:02 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
Juergen, The workaround with the kernel debugger commands worked for me. I did not test the bfu yet Unfortunately the suspend/resume in Xen 3.2 does not work yet as expected [supsend works but resume not] so that I will not upgrade Xen on Linux on my working machine yet. Therefore I can wait until snv_87 with the fix for the problem is out. regards Bernd This message posted from opensolaris.org
David Markey
2008-Apr-08 17:19 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
The workaround doesn''t seem to work for 64bit, Can anyone suggest one? This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-08 17:21 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
That''s right it doesn''t. Install 3.2 Xen (32 bit) on Ubuntu 7.10 Desktop would be interesting anyway. This message posted from opensolaris.org
Jürgen Keil
2008-Apr-09 17:06 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
> The workaround doesn''t seem to work for 64bit, > > Can anyone suggest one?I currently have no xen-3.2.0 64-bit linux system where I could test such a kmdb patch / workaround. But after a quick look at the snv_85 64-bit i86xpv code, it should work like this: Boot the snv_85 64-bit domU kernel with options "-kd", so that we stop in the kernel debugger before the kernel gets started. And in kmdb: gnttab_init+0xce/W 403 (this should report that a value of "3" is replaced with "403") :c That should start the domU installation from the installation media; and the same workaround should be used the first time you start the snv_85 64-bit domU kernel from the installed virtual hdd. For the 64-bit snv_85 domU kernel, you can make the workaround permanent by patching the same changed flag values into the /platform/i86xpv/kernel/amd64/unix file: # mdb -w /platform/i86xpv/kernel/amd64/unix gnttab_init+0xce/W 403 $q (So for 64-bit, you don''t have to BFU to snv_87; the extra flag bit can be directly patched into the /platform/i86xpv/kernel/amd64/unix file) This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 11:20 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
As of now SNV85 installer is deploying packages at Xen 3.2 (64-bit) CentOS 5.1 Dom0 . Thank you. This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 12:12 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
Runtime ok with "-kd" option. Attempt to patch kernel:- bash-3.2# uname -a SunOS dhcppc4 5.11 snv_85 i86pc i386 i86xpv bash-3.2# mdb -w /platform/i86xpv/kernel/amd64/unix> gnttab_init+0xce/W 403mdb: failed to write 403 at address 0xfffffffffb83d9ae: no mapping for address>This message posted from opensolaris.org
Jürgen Keil
2008-Apr-10 12:17 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
> Runtime ok with "-kd" option. > Attempt to patch kernel:- > bash-3.2# uname -a > SunOS dhcppc4 5.11 snv_85 i86pc i386 i86xpv > bash-3.2# mdb -w /platform/i86xpv/kernel/amd64/unix > > gnttab_init+0xce/W 403 > mdb: failed to write 403 at address > 0xfffffffffb83d9ae: no mapping for address? instead of / should work: gnttab_init+0xce?W 403 This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 12:22 UTC
Report in details (attempt to patch kernel) SNV85 DomU at Xen 3.
[root@ServerRHL51 vm]# cat snv85.conf name = "Solaris85pvm" memory = 1024 disk = [''phy:/dev/sdb8,0,w''] kernel = "/usr/lib/xen-solaris/unix-85" ramdisk = "/usr/lib/xen-solaris/x86.miniroot-85" extra = "/platform/i86xpv/kernel/amd64/unix -kd" vif = [''bridge=eth2''] root = "/dev/dsk/c0d0s0" on_reboot = "destroy" on_shutdown = "destroy" on_crash = "destroy" [root@ServerRHL51 vm]# xm create -c snv85.conf Using config file "./snv85.conf". Started domain Solaris85pvm Loading kmdb... Welcome to kmdb Loaded modules: [ unix krtld genunix ] [0]> gnttab_init+0xce/W 403 gnttab_init+0xce: 0x3 = 0x403 [0]> :c v3.2.1-rc1-pre chgset ''Wed Mar 05 16:49:33 2008 +0000 16805:28e0d4a37bb4'' SunOS Release 5.11 Version snv_85 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: dhcppc5 /dev/rdsk/c0d0s7 is clean Reading ZFS config: done. syslogd: line 45: WARNING: loghost could not be resolved dhcppc5 console login: root Password: Last login: Thu Apr 10 16:06:00 on console Apr 10 16:19:08 dhcppc5 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_85 January 2008 # mdb -w /platform/i86xpv/kernel/amd64/unix> gnttab_init+0xce/W 403mdb: failed to write 403 at address 0xfffffffffb83d9ae: no mapping for address This message posted from opensolaris.org
Frank.Hofmann@Sun.COM
2008-Apr-10 12:34 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
On Thu, 10 Apr 2008, Boris Derzhavets wrote:> Runtime ok with "-kd" option. > Attempt to patch kernel:- > bash-3.2# uname -a > SunOS dhcppc4 5.11 snv_85 i86pc i386 i86xpv > bash-3.2# mdb -w /platform/i86xpv/kernel/amd64/unix >> gnttab_init+0xce/W 403 > mdb: failed to write 403 at address 0xfffffffffb83d9ae: no mapping for addressYou''re opening a file not the running kernel hence the ;.../W'' syntax will not work (it operates on the in-memory image which you don''t have). Try ''...?W'' and it''ll do. FrankH.>> > > > This message posted from opensolaris.org > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >------------------------------------------------------------------------------ No good can come from selling your freedom, not for all the gold in the world, for the value of this heavenly gift far exceeds that of any fortune on earth. ------------------------------------------------------------------------------
Boris Derzhavets
2008-Apr-10 12:46 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
************************************************************************************************ Next test:- SNV85 installer start up OK at Xen 3.2 (64-bit) Ubuntu 7.10 Desktop Dom0 :- ************************************************************************************************ root@boris-desktop:~# xm info host : boris-desktop release : 2.6.18.8-xen version : #1 SMP Sat Mar 22 10:48:30 EDT 2008 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2400 hw_caps : bfebfbff:20100800:00000000:00000140:0000e3bd:00000000:00000001 total_memory : 3007 free_memory : 56 node_to_cpu : node0:0-1 xen_major : 3 xen_minor : 2 xen_extra : .0 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 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable cc_compiler : gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2 cc_compile_by : root cc_compile_domain : cc_compile_date : Sat Mar 22 11:04:51 EDT 2008 xend_config_format : 4 ************************************************************************************************* root@boris-desktop:/etc/xen/vm# xm create -c SNV85.install Using config file "./SNV85.install". Started domain Solaris85PVM Loading kmdb... Welcome to kmdb Loaded modules: [ unix krtld genunix ] [0]> gnttab_init+0xce/W 403 gnttab_init+0xce: 0x3 = 0x403 [0]> :c v3.2.0 chgset ''unavailable'' SunOS Release 5.11 Version snv_85 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Configuring /dev 1. Solaris Interactive Text (Console session) (default) 2. Apply driver updates 3. Single user shell Enter the number of your choice. Timed out, continuing. Solaris Interactive Text (Console session) Using install cd in /dev/dsk/c0d6p0 Using RPC Bootparams for network configuration information. Attempting to configure interface xnf0... This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 13:48 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
I believe , i also have to copy patched kernel to Dom0:- #/usr/bin/scp -S /a/usr/bin/ssh /platform/i86xpv/kernel/amd64/unix \ IP-Dom0:/usr/lib/xen-solaris/unix-85 This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 14:11 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
We are done :- ************************************************************************** dhcppc10 console login: root Password: Last login: Thu Apr 10 17:39:49 on console Apr 10 17:51:47 dhcppc10 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_85 January 2008 # bash bash-3.2# mdb -w /platform/i86xpv/kernel/amd64/unix> gnttab_init+0xce?W 403unix`gnttab_init+0xce: 0x403 = 0x403> $qbash-3.2# /usr/bin/scp -S /usr/bin/ssh /platform/i86xpv/kernel/amd64/unix \> 192.168.1.33:/usr/lib/xen-solaris/unix-85The authenticity of host ''192.168.1.33 (192.168.1.33)'' can''t be established. RSA key fingerprint is 8d:83:34:15:01:a3:5e:d3:65:3c:a1:1e:0f:01:32:12. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ''192.168.1.33'' (RSA) to the list of known hosts. root@192.168.1.33''s password: unix 100% |*****************************| 1760 KB 00:00 bash-3.2# shutdown -y -i0 -g0 Shutdown started. Thu Apr 10 17:55:29 MSD 2008 Changing to init state 0 - please wait Broadcast Message from root (console) on dhcppc10 Thu Apr 10 17:55:29... THE SYSTEM dhcppc10 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged ************************************************************************************************ Restart SNV85 DomU referencing patched kernel at Xen 3.2 at CentOS 5.1 Dom0 ************************************************************************************************ [root@ServerRHL51 vm]# ls -l /usr/lib/xen-solaris/unix-85 -r-xr-xr-x 1 root root 1803208 Apr 10 09:55 /usr/lib/xen-solaris/unix-85 [root@ServerRHL51 vm]# date Thu Apr 10 10:04:32 EDT 2008 ************************************************* [root@ServerRHL51 vm]# cat snv85.conf ************************************************* name = "Solaris85pvm" memory = 1024 disk = [''phy:/dev/sdb8,0,w''] kernel = "/usr/lib/xen-solaris/unix-85" ramdisk = "/usr/lib/xen-solaris/x86.miniroot-85" extra = "/platform/i86xpv/kernel/amd64/unix" vif = [''bridge=eth2''] root = "/dev/dsk/c0d0s0" on_reboot = "destroy" on_shutdown = "destroy" on_crash = "destroy" ************************************************************ [root@ServerRHL51 vm]# xm create -c snv85.conf ************************************************************ Using config file "./snv85.conf". Started domain Solaris85pvm v3.2.1-rc1-pre chgset ''Wed Mar 05 16:49:33 2008 +0000 16805:28e0d4a37bb4'' SunOS Release 5.11 Version snv_85 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: dhcppc14 /dev/rdsk/c0d0s7 is clean Reading ZFS config: done. dhcppc14 console login: syslogd: line 45: WARNING: loghost could not be resolved dhcppc14 console login: root Password: Last login: Thu Apr 10 17:59:12 on console Apr 10 18:06:04 dhcppc14 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_85 January 2008 # bash bash-3.2# ssh boris@192.168.1.33 boris@192.168.1.33''s password: Last login: Fri Mar 14 20:52:14 2008 from 192.168.1.35 [boris@ServerRHL51 ~]$ su - Password: [root@ServerRHL51 ~]# uname -a Linux ServerRHL51 2.6.18.8-xen #1 SMP Thu Mar 13 08:15:00 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux [root@ServerRHL51 ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1921 2 r----- 205.9 Solaris85pvm 7 1024 1 -b---- 30.4 [root@ServerRHL51 ~]# xm list -l Solaris85pvm (domain (domid 7) (on_crash destroy) (uuid f88db404-f531-12ef-f18d-be8cd4764bda) (bootloader_args ) (vcpus 1) (name Solaris85pvm) (on_poweroff destroy) (on_reboot destroy) (bootloader ) (maxmem 1024) (memory 1024) (shadow_memory 0) (features ) (on_xend_start ignore) (on_xend_stop ignore) (start_time 1207836322.03) (cpu_time 30.471366567) (online_vcpus 1) (image (linux (kernel /usr/lib/xen-solaris/unix-85) (ramdisk /usr/lib/xen-solaris/x86.miniroot-85) (args ''root=/dev/dsk/c0d0s0 /platform/i86xpv/kernel/amd64/unix'') (notes (PADDR_OFFSET 1073741824) (XEN_VERSION xen-3.0) (GUEST_OS Solaris) (VIRT_BASE 1073741824) (LOADER generic) ) ) ) (status 2) (state -b----) (store_mfn 424315) (console_mfn 424314) (device (vif (bridge eth2) (mac 00:16:3e:4d:c2:f9) (script vif-bridge) (uuid 62236882-f019-2450-dd94-7691ff414033) (backend 0) ) ) (device (vbd (uname phy:/dev/sdb8) (uuid cb9f9964-f751-8eb5-a4f0-75e2e99f08cd) (mode w) (dev 0:disk) (backend 0) (bootable 1) ) ) (device (console (protocol vt100) (location 2) (uuid 5f510860-2179-32ba-1762-362a64bf930b) ) ) ) [root@ServerRHL51 ~]# Thank you so much. -b. This message posted from opensolaris.org
Jürgen Keil
2008-Apr-10 14:16 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
> I believe , i also have to copy patched kernel to Dom0:- > #/usr/bin/scp -S /usr/bin/ssh /platform/i86xpv/kernel/amd64/unix \ > IP-Dom0:/usr/lib/xen-solaris/unix-85Yes, I think so, if you''re not using pygrub to load the kernel from the domU filesystem image... This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 14:52 UTC
SNV85 DomU at Xen 3.2 CentOS 5.1 Dom0 (64-bit) SNV85 DomU at Xen 3.
Just a couple of runtime screen shots. This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 15:04 UTC
Re: store-caching webrev (was Re: Failure to install SNV85 DomU at Xen 3.
Frank, Thank you very much. This message posted from opensolaris.org
Boris Derzhavets
2008-Apr-10 15:40 UTC
Steps to install SNV85 DomU at Xen 3.2 Ubuntu 7.10 Desktop Dom0 (64-bi) SNV85 DomU at Xen 3.
********************* Installation profile ********************* root@boris-desktop:/etc/xen/vm# cat SNV85.install name = ''Solaris85PVM'' memory = ''1024'' disk = [ ''file:/usr/lib/xen-solaris/snv85.iso,6:cdrom,r'',''phy:/dev/sdb9,0,w''] vif = [ ''bridge = eth2'' ] bootloader = ''/usr/bin/pygrub'' kernel = ''/boot/platform/i86xpv/kernel/amd64/unix'' ramdisk = ''/boot/amd64/x86.miniroot'' extra = ''/platform/i86xpv/kernel/amd64/unix -kd - nowin -B install_media=cdrom'' ************************************************ The very first runtime profile to patch kernel ************************************************ root@boris-desktop:/etc/xen/vm# cat SNV85.conf name = ''Solaris85PVM'' vcpus = 1 memory = "1024" bootloader = "/usr/bin/pygrub" kernel = "/platform/i86xpv/kernel/amd64/unix -kd" ramdisk = "/platform/i86pc/amd64/boot_archive" disk = [''phy:/dev/sdb9,0,w''] vif = [''bridge = eth2''] on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" ************************************* Rumtime profile for patched kernel ************************************* root@boris-desktop:/etc/xen/vm# cat SNV85.config name = ''Solaris85PVM'' memory = ''1024'' disk = [ ''phy:/dev/sdb9,0,w'' ] vif = [ ''bridge = eth2'' ] This message posted from opensolaris.org