Boris Derzhavets wrote:
> One more attempt:-
> When graphical install finished i didn't click on reboot.
> Opened root terminal session and run:-
> 
> //  Kernel patched per jkeil
> 
> bash-3.2# mdb -w /a/platform/i86xpv/kernel/amd64/unix
>> gnttab_init+0xce?W 403
> unix`gnttab_init+0xce: 0x403 = 0x403
>> $q
> 
> // Copy patched kernel to CentOS Dom0
> 
> bash-3.2# /usr/bin/scp -S /usr/bin/ssh \
> /a/platform/i86xpv/kernel/amd64/unix \
>> 192.168.1.33:/usr/lib/xen-solaris/unix-0805

you need to copy the ramdisk too
/a/platform/i86pc/kernel/amd64/boot_archive


MRJ




> Then manually:-
> 
> # shutdown -y -i0 -g0
> 
> *******************
> Next step as suggested:-
> ********************
> [EMAIL PROTECTED] vm]# cat os0508.first
> name = "OpenSolaris"
> vcpus = 1
> memory = "1024"
> kernel = "/usr/lib/xen-solaris/unix-0805"
> ramdisk = "/usr/lib/xen-solaris/x86.microroot"
> extra = "/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/27"
> disk = 
> ['file:/usr/lib/xen-solaris/os200805.iso,6:cdrom,r','phy:/dev/sdb8,0,w']
> vif = ['bridge=eth0']
> on_shutdown = "destroy"
> on_reboot = "destroy"
> on_crash = "destroy"
> *********************
> Started Solaris DomU
> *********************
> [EMAIL PROTECTED] vm]# xm create -c os0508.first
> Using config file "./os0508.first".
> Started domain OpenSolaris
>                           v3.2.1 chgset 'Fri Apr 25 14:03:45 2008 +0100 
> 16881:4073b3ded545'
> SunOS Release 5.11 Version snv_86 64-bit
> Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
> Use is subject to license terms.
> 
> panic[cpu0]/thread=fffffffffbc3cbe0: cannot mount root path /ramdisk:a
> 
> fffffffffbc6ed90 genunix:rootconf+113 ()
> fffffffffbc6ede0 genunix:vfs_mountroot+65 ()
> fffffffffbc6ee10 genunix:main+d8 ()
> fffffffffbc6ee20 unix:_locore_start+80 ()
> 
> skipping system dump - no dump device configured
> rebooting...
> 
> 
> ----- Original Message ----
> From: Mark Johnson <[EMAIL PROTECTED]>
> To: Boris Derzhavets <[EMAIL PROTECTED]>
> Cc: [email protected]
> Sent: Wednesday, May 7, 2008 3:24:32 PM
> Subject: Re: [xen-discuss] Installing OpenSolaris 2008/05 as a PV guest
> 
> 
> 
> Boris Derzhavets wrote:
>  > Another attempt on CentOS
>  > *******************
>  > Install profile:-
>  > *******************
>  > name = "OpenSolaris"
>  > vcpus = 1
>  > memory = "1024"
>  > kernel = "/usr/lib/xen-solaris/unix-0805"
>  > ramdisk = "/usr/lib/xen-solaris/x86.microroot"
>  > extra = "/platform/i86xpv/kernel/amd64/unix -kd - nowin -B 
> install_media=cdrom"
>  > disk = 
> ['file:/usr/lib/xen-solaris/os200805.iso,6:cdrom,r','phy:/dev/sdb8,0,w']
>  > vif = ['bridge=eth0']
>  > on_shutdown = "destroy"
>  > on_reboot = "destroy"
>  > on_crash = "destroy"
>  > *******************************************************
>  > Passed through graphical install then rebooted
>  > Runtime profile:-
>  > ********************************************************
>  > name = "OpenSolaris"
>  > vcpus = 1
>  > memory = "1024"
>  > kernel = "/usr/lib/xen-solaris/unix-0805"
>  > ramdisk = "/usr/lib/xen-solaris/x86.microroot"
>  > extra = "/platform/i86xpv/kernel/amd64/unix -kd"
>  > disk = 
> ['file:/usr/lib/xen-solaris/os200805.iso,6:cdrom,r','phy:/dev/sdb8,0,w']
>  > vif = ['bridge=eth0']
>  > root="/dev/dsk/c0d0s0"
>  > on_shutdown = "destroy"
>  > on_reboot = "destroy"
>  > on_crash = "destroy"
> 
> Remove root=...
> 
> Since your booting from a zfs root, the conf file
> has to be different. zfs support in pygrub just went
> back into xen-unstable.
> 
> If you are copying the kernel off of the disk, you need
> to remove the root line in your config file and add the
> zfs info to the extra line.
> 
> The following should work...
>     extra='/platform/i86xpv/kernel/amd64/unix -B zfs-bootfs=rpool/27'
> 
> 
> 
> 
> MRJ
> 
> 
>  > ********************************
>  > # xm create -c os0805.first
>  > ********************************
>  > [EMAIL PROTECTED] vm]# xm create -c os0508.first
>  > Using config file "./os0508.first".
>  > Started domain OpenSolaris
>  >                          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 chgset 'Fri Apr 25 14:03:45 2008 +0100 16881:4073b3ded545'
>  > SunOS Release 5.11 Version snv_86 64-bit
>  > Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
>  > Use is subject to license terms.
>  > NOTICE: mount: not a UFS magic number (0x0)
>  > panic[cpu0]/thread=fffffffffbc3cbe0: cannot mount root path /xpvd/[EMAIL 
> PROTECTED]:a
>  > fffffffffbc6ed90 genunix:rootconf+113 ()
>  > fffffffffbc6ede0 genunix:vfs_mountroot+65 ()
>  > fffffffffbc6ee10 genunix:main+d8 ()
>  > fffffffffbc6ee20 unix:_locore_start+80 ()
>  > panic: entering debugger (no dump device, continue to reboot)
>  > Loaded modules: [ scsi_vhci xpv_psm ufs specfs ]
>  > kmdb: target stopped at:
>  > kmdb_enter+0xb: movq  %rax,%rdi
>  > 
>  > 
>  > This message posted from opensolaris.org <http://opensolaris.org>
>  > _______________________________________________
>  > xen-discuss mailing list
>  > [email protected] <mailto:[email protected]>
> 
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try 
> it now. 
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>  
>  >
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to