Wait.

>hm.  IP=192.168.1.126 & mtu=1500.  not what i'd set statically during
>install. x.x.x.102 was successfully used for both VNC and ssh
>(ListenAddress in /etc/ssh/sshd_config was set to 192.168.1.102)

I guess you have to reinstall DomU with IP obtained via DHCP for VNC installer. 
Please,  go through install not touching  /etc/ssh/sshd_config 
I would try to reproduce install 2009.06 per old manual (2008.11):-

http://www.neuhalfen.name/2008/12/04/Installing_OpenSolaris_2008_11_in_a_Linux_dom0/

Quote:-

Find out your IP with ifconfig -a and connect with your favorite VNC viewer to 
display :1 ( xxx.xxx.xxx.xxx:1 ). Start setup and let it partition the disk. Do 
not close the installer window, because we do not want to reboot before we have 
kernel and ramdisk downloaded to the dom0.

The new installer unmounts the new boot environment before we can ge a hold on 
it. So we mount it by ourself:

$ beadm list
BE          Active Mountpoint Space Policy Created
--          ------ ---------- ----- ------ -------
opensolaris R      -          2.21G static 2008-12-05 06:58
$ pfexec beadm mount opensolaris /a

Update the boot archive

$ pfexec bootadm update-archive -R /a

And now get the kernel and boot_archive for you dom0 from 
/a/platform/i86xpv/kernel/unix and /a/platform/i86pc/boot_archive.
Copy the Kernel to dom0

The kernel (unix) and the boot_archive should be copied into a directory in 
your dom0 (scp comes in handy). 
I choose

kernel = 
"/srv/xen/systems/opensolaris200811/be-0811-rc2/platform/i86xpv/kernel/unix"
ramdisk = 
"/srv/xen/systems/opensolaris200811/be-0811-rc2/platform/i86pc/boot_archive"

So from your dom0:

$ scp [email protected]:/a/platform/i86xpv/kernel/unix 
/srv/xen/systems/opensolaris200811/be-0811-rc2/platform/i86xpv/kernel/unix
$ scp [email protected]:/a/platform/i86pc/boot_archive 
/srv/xen/systems/opensolaris200811/be-0811-rc2/platform/i86pc/boot_archive

You will need the ZFS-ID of your boot-environment. Your harddisk will be known 
as c3d0, your boot-slice containing the ZPOOL is on c3d0s0. We need the ID of 
the /ROOT/opensolaris zpool. First, determine the pool_guid:

$ zpool get guid rpool
NAME   PROPERTY  VALUE  SOURCE
rpool  guid      14025158204312238343  -

The guid by iself is useless – we need the ID of the ZPOOL inside the pool.

$ pfexec zdb -d -e 14025158204312238343
Dataset mos [META], ID 0, cr_txg 4, 512K, 84 objects
Dataset 14025158204312238343/ROOT/opensola...@install [ZPL], ID 84, cr_txg 276, 
2.21G, 101427 objects
Dataset 14025158204312238343/ROOT/opensolaris [ZPL], ID 50, cr_txg 72, 2.21G, 
101427 objects
Dataset 14025158204312238343/ROOT [ZPL], ID 44, cr_txg 69, 18.0K, 4 objects
Dataset 14025158204312238343/dump [ZVOL], ID 36, cr_txg 13, 512M, 3 objects
Dataset 14025158204312238343/export/home/jens [ZPL], ID 68, cr_txg 80, 20.5K, 6 
objects
Dataset 14025158204312238343/export/home [ZPL], ID 62, cr_txg 78, 19.0K, 5 
objects
Dataset 14025158204312238343/export [ZPL], ID 56, cr_txg 76, 19.0K, 5 objects
Dataset 14025158204312238343/swap [ZVOL], ID 30, cr_txg 8, 16K, 3 objects
Dataset 14025158204312238343 [ZPL], ID 16, cr_txg 1, 72.0K, 12 objects

Your output might look different. Look out for /ROOT/opensolaris (here: 50). 
Remember it!
Disable gdm (unless you want a graphical login)

$ svcadm disable svc:/application/graphical-login/gdm:default

And reboot from within the installer window.

Quote ends.

Personally, i did straight forward install due to Xen 3.4 Hypervisor.
It already has pygrub ZFS support.

Boris.


--- On Wed, 6/3/09, Boris Derzhavets <[email protected]> wrote:

From: Boris Derzhavets <[email protected]>
Subject: Re: [xen-discuss] runtime panic (vfs_mountroot: cannot mount root)  
launching 2009.06 DomU on Linux Dom0
To: "PGNet Dev" <[email protected]>
Cc: [email protected]
Date: Wednesday, June 3, 2009, 11:59 AM

Could  you try to load OS 2009.06 PV DomU with "boot" entry removed one more 
time ?
I believe OS 2009.06 DomU by default does DHCP request at startup. If it fails 
you get a problem.

--- On Wed, 6/3/09, PGNet Dev <[email protected]> wrote:

From: PGNet Dev <[email protected]>
Subject: Re: [xen-discuss] runtime panic (vfs_mountroot: cannot mount root)  
launching 2009.06 DomU on Linux Dom0
To: "Boris Derzhavets" <[email protected]>
Cc: [email protected]
Date: Wednesday, June 3, 2009, 11:45 AM

hi boris,

On Wed, Jun 3, 2009 at 8:20 AM, Boris Derzhavets <[email protected]> wrote:
> Please , remove "boot" from both profiles.
> Just simulate install and login as jack/jack.

done.

> Wait a bit and run

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.126 netmask ffffff00 broadcast 192.168.1.255
        ether 0:16:3e:1:2:0
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:fe01:200/10
        ether
 0:16:3e:1:2:0

hm.  IP=192.168.1.126 & mtu=1500.  not what i'd set statically during
install. x.x.x.102 was successfully used for both VNC and ssh
(ListenAddress in /etc/ssh/sshd_config was set to 192.168.1.102)

apparently, my static IP set was NOT persistent ... ?

On Wed, Jun 3, 2009 at 8:31 AM, Boris Derzhavets <[email protected]> wrote:
> One more question. I presume eth0 obtains IP via dhcp

no, it's statically set

> br05 is described as a bridge in  /etc/network/interfaces.

yes, although, in opensuse, it's in, /etc/sysconfig/network

cat ifcfg-brINT
    NAME='88E8053'
    LLADDR='00:50:43:00:41:5E'
    BRIDGE='yes'
    BRIDGE_PORTS='eth0'
    BOOTPROTO='static'
   
 STARTMODE='auto'
    BRIDGE_FORWARDDELAY='0'
    BRIDGE_STP='off'
    ETHTOOL_OPTIONS=''
    IPADDR='192.168.1.2/22'
    BROADCAST='192.168.1.255'
    NETWORK='192.168.1.0'
    PREFIXLEN='24'
    GATEWAY='192.168.1.1'
    MTU='1492'
    USERCONTROL='no'
    NM_CONTROLLED='no'

> Can you "nslookup whatever.com" at your Dom0 ?

nslookup whatever.com
    Server:        127.0.0.1
    Address:    127.0.0.1#53
    
    Non-authoritative answer:
    Name:    whatever.com
    Address: 69.64.147.249

host whatever.com
    whatever.com has address
 69.64.147.249
    whatever.com mail is handled by 0 oogieoogieboogieaaaxxx.com.

dig whatever.com
    
    ; <<>> DiG 9.6.0-P1 <<>> whatever.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22808
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;whatever.com.            IN    A
    
    ;; ANSWER SECTION:
    whatever.com.        492    IN    A    69.64.147.249
    
    ;; Query time: 0
 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Jun  3 08:38:34 2009
    ;; MSG SIZE  rcvd: 46



      


      
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to