I setup a zfs file image to use as a block device and the process hangs during 
the jumpstart of the guest domain

[/usr/local/shlib]# ldm list-services primary
VDS
    NAME             VOLUME         OPTIONS          DEVICE
    primary-vds0    

VCC
    NAME             PORT-RANGE
    primary-vcc0     5000-5031

VSW
    NAME             MAC               NET-DEV   DEVICE     MODE
    primary-vsw0     00:14:4f:fa:27:f7 e1000g1   switch at 0   prog,promisc

[/usr/local/shlib]# ldm list-config
factory-default
initial [current]
[/usr/local/shlib]# shutdown -y -g0 -i6

Shutdown started.    Monday, February 25, 2008  3:02:27 PM EST

Changing to init state 6 - please wait
Broadcast Message from root (pts/1) on s0b9a87 Mon Feb 25 15:02:27...
THE SYSTEM s0b9a87 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

[/]# cd /usr/local/shlib
[/usr/local/shlib]# ./ldom_control info
Adding local domain commands to the user path
####################################################
####Executing ldm commands on the Primary domain####
####################################################
####################################################
####Output from the 'ldm ls-dom' command        ####
####################################################
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      8     4G       0.0%  3m
####################################################
####Output from the 'ldm -V' command            ####
####################################################

Logical Domain Manager (v 1.0.1)
        Hypervisor control protocol v 1.0

System PROM:
        Hypervisor      v. 1.5.6        @(#)Hypervisor 1.5.6 2007/11/30 
08:31\015

        OpenBoot        v. 4.27.11      @(#)OBP 4.27.11 2008/01/08 14:53
####################################################
####Output from the 'ldm list-services' command####
####################################################
VDS
    NAME             VOLUME         OPTIONS          DEVICE
    primary-vds0    

VCC
    NAME             PORT-RANGE
    primary-vcc0     5000-5031

VSW
    NAME             MAC               NET-DEV   DEVICE     MODE
    primary-vsw0     00:14:4f:fa:27:f7 e1000g1   switch at 0   prog,promisc

####################################################
####Output from the 'ldm list-devices -a' command####
####################################################
VCPU
    PID     %FREE
    0       0
    1       0
    2       0
    3       0
    4       0
    5       0
    6       0
    7       0
    8       100
    9       100
    10      100
    11      100
    12      100
    13      100
    14      100
    15      100
    16      100
    17      100
    18      100
    19      100
    20      100
    21      100
    22      100
    23      100
    24      100
    25      100
    26      100
    27      100
    28      100
    29      100
    30      100
    31      100

MAU
    CPUSET                                  BOUND
    (0, 1, 2, 3)                            primary
    (4, 5, 6, 7)                            primary
    (8, 9, 10, 11)
    (12, 13, 14, 15)
    (16, 17, 18, 19)
    (20, 21, 22, 23)
    (24, 25, 26, 27)
    (28, 29, 30, 31)

MEMORY
    PA                   SIZE            BOUND
    0x0                  512K            _sys_
    0x80000              1536K           _sys_
    0x200000             62M             _sys_
    0x4000000            64M             _sys_
    0x8000000            4G              primary
    0x108000000          28544M         

IO
    DEVICE           PSEUDONYM        BOUND   OPTIONS
    pci at 780          bus_a            yes    
    pci at 7c0          bus_b            yes    

####################################################
####Output from the 'ldm list-constraints' command####
####################################################
DOMAIN
primary

MAC
    00:14:4f:82:95:ba

VCPU
    COUNT
    8

MAU
    COUNT
    2

MEMORY
    SIZE
    4G

VARIABLES
    diag-switch?=true
    oem-banner=Authorized uses only. All activity may be monitored and reported.
    oem-banner?=true
    security-#badlogins=0
    security-mode=command
    security-password=btd119EL

IO
    DEVICE           OPTIONS
    pci at 780         
    pci at 7c0         

VDS
    NAME             VOLUME         OPTIONS          DEVICE
    primary-vds0    

VCC
    NAME             PORT-RANGE
    primary-vcc0     5000-5031

VSW
    NAME             MAC               NET-DEV   DEVICE    
    primary-vsw0                       e1000g1   switch at 0  


####################################################
####Output from the 'ldm ls -l' command         ####
####################################################
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      8     4G        24%  3m

SOFTSTATE
Solaris running

VCPU
    VID    PID    UTIL STRAND
    0      0       67%   100%
    1      1      1.7%   100%
    2      2       30%   100%
    3      3      0.1%   100%
    4      4       23%   100%
    5      5       63%   100%
    6      6       10%   100%
    7      7      0.1%   100%

MAU
    CPUSET
    (0, 1, 2, 3)
    (4, 5, 6, 7)

MEMORY
    RA               PA               SIZE            
    0x8000000        0x8000000        4G

VARIABLES
    diag-switch?=true
    oem-banner=Authorized uses only. All activity may be monitored and reported.
    oem-banner?=true
    security-#badlogins=0
    security-mode=command

IO
    DEVICE           PSEUDONYM        OPTIONS
    pci at 780          bus_a           
    pci at 7c0          bus_b           

VDS
    NAME             VOLUME         OPTIONS          DEVICE
    primary-vds0    

VCC
    NAME             PORT-RANGE
    primary-vcc0     5000-5031

VSW
    NAME             MAC               NET-DEV   DEVICE     MODE
    primary-vsw0     00:14:4f:fa:27:f7 e1000g1   switch at 0   prog,promisc

VCONS
    NAME             SERVICE                     PORT
    SP

####################################################
####Output from the 'ldm list-config' command####
####################################################
factory-default
initial [current]
####################################################
####Output from the 'dladm show-link' command   ####
####################################################
vsw0            type: non-vlan  mtu: 1500       device: vsw0
e1000g0         type: non-vlan  mtu: 1500       device: e1000g0
e1000g1         type: non-vlan  mtu: 1500       device: e1000g1
e1000g2         type: non-vlan  mtu: 1500       device: e1000g2
e1000g3         type: non-vlan  mtu: 1500       device: e1000g3

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 10.11.146.119 netmask fffffe00 broadcast 10.11.147.255
        ether 0:14:4f:82:95:ba 
vsw0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.11.146.120 netmask fffffe00 broadcast 10.11.147.255
        ether 0:14:4f:fa:27:f7 


[/usr/local/shlib]# ldm add-domain ws01_4
[/usr/local/shlib]# ldm add-vcpu 4 ws01_4
[/usr/local/shlib]# ldm add-memory 4096m ws01_4
[/usr/local/shlib]# ldm add-vnet ws01_4_vnet0 primary-vsw0 ws01_4
[/usr/local/shlib]# ldm add-vdsdev /dtss0/ldg01.img vol1 at primary-vds0
[/usr/local/shlib]# ldm add-vdisk ldg01 vol1 at primary-vds0 ws01_4
[/usr/local/shlib]# ldm set-var boot-device=ldg01 ws01_4
[/usr/local/shlib]# ldm set-var auto-boot\?=false ws01_4
[/usr/local/shlib]# ldm bind-domain ws01_4
[/usr/local/shlib]# ldm list-domain ws01_4
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
ws01_4           bound    -----   5000    4     4G             
[/usr/local/shlib]# ldm start-domain ws01_4
LDom ws01_4 started
[/usr/local/shlib]# telnet localhost 5000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Connecting to console "ws01_4" in group "ws01_4" ....
Press ~? for control options ..

{0} ok show-nets
a) /virtual-devices at 100/channel-devices at 200/network at 0
q) NO SELECTION 
Enter Selection, q to quit: a
/virtual-devices at 100/channel-devices at 200/network at 0 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line. 
e.g. ok nvalias mydev ^Y 
         for creating devalias mydev for /virtual-devices at 
100/channel-devices at 200/network at 0
{0} ok cd /virtual-devices at 100/channel-devices at 200/network at 0
{0} ok .properties
local-mac-address        00 14 4f f8 9c ac 
max-frame-size           00004000 
address-bits             00000030 
reg                      00000000 
compatible               SUNW,sun4v-network
device_type              network
name                     network
{0} ok boot /virtual-devices at 100/channel-devices at 200/network at 0 - 
install
Boot device: /virtual-devices at 100/channel-devices at 200/network at 0  File 
and args: - install
Requesting Internet Address for 0:14:4f:f8:9c:ac
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
\


That's as far as it gets.  I have the latest T2000 firmware installed.
--
This message was posted from opensolaris.org

Reply via email to