WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Has my Xen guest domain been started? (Donglai Zhang)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Has my Xen guest domain been started? (Donglai Zhang)
From: Donglai Zhang <dlzhangster@xxxxxxxxx>
Date: Tue, 9 Jun 2009 17:13:24 +0930
Delivery-date: Tue, 09 Jun 2009 00:44:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=mDybr/V5QvwU1BWE7JhcdKzbRdYrvppsa7lsMcWKnzU=; b=ZxirJ2yBpj2MY6lvRILUIeMOptl74SjgGGwKAlrgO/K2f7xF0Sri+0R6iRZWeXoYGE s/B3GlEDHlP4t82IT2o/fIuaJnz8gZ/2F1H6/501hxwP5lv+/lJ6DuJ3tjb4B5WiN0CQ 0SD3/awx7s49eMLpD3qrRcO1DtcY+t0Q5zO/I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mefE0Q2b0AKwGYMDatjiWDS2C8XBRGzmL/0wxaPHRTtsS5A4K0kOPm9F1vQc9aivMX XENnaT3ftkK/bQqN/SDg6nkz4ybtqZbnQhZQBn2HqNI73DjpDoytG2NKjPT175F3wuml LTlhil5uxbD/jnm9CENZtukia6vZiqkBpZhPc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Just run :  

[root@red dlzhang]# xm uptime ExampleDomain01
Name                                ID Uptime
ExampleDomain01                      4  0:22:35

That means the machine has been running successfully, is it?
Run
[root@red dlzhang]# xm console ExampleDomain01

Nothing happening...  Any idea?


Thanks,


Donglai

On Tue, Jun 9, 2009 at 3:01 PM, <xen-users-request@xxxxxxxxxxxxxxxxxxx> wrote:
 
------------------------------

Message: 5
Date: Tue, 9 Jun 2009 14:13:00 +0930
From: Donglai Zhang <dlzhangster@xxxxxxxxx>
Subject: [Xen-users] Has my Xen guest domain been started?
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID:
       <c0f408a30906082143r43d00504ja9cc1bb13a8df42d@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

I have installed Xen 3.4 (2.6.18.8-xen) on my (Fedora 7) linux box. And
started with the Xen 3.4 kernel. I also installed a Ubuntu 9.0.4 guest
system on /dev/sda7.

Start the machine and log in to Fedora.

*uname -r *
*2.6.18.8-xen*

Then I started xend.
*xend start
* Every is fine.

Start my first guest on xen:
*xm create -c xm01dlzhang vimid=1*              //xm01dlzhang is the config
file

*****Content of  the config file********************
kernel = "/boot/vmlinuz-2.6.18.8-xen"
memory = 256
name = "ExampleDomain01"
vif = [ '' ]
disk = [ 'phy:sda7,sda7,w' ]
root = "/dev/sda7 ro"
extra = "5"
*************Other contents are all commented out**********
//Following are the output from the console.

*Using config file "./xm01dlzhang".
Started domain ExampleDomain01 (id=4)
Linux version 2.6.18.8-xen (dlzhang@red) (gcc version 4.1.2 20070925 (Red
Hat 4.1.2-27)) #1 SMP Thu Jun 4 12:19:55 CST 2009
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)
0MB HIGHMEM available.
264MB LOWMEM available.
NX (Execute Disable) protection: active
ACPI in unprivileged domain disabled
Allocating PCI resources starting at 20000000 (gap: 10800000:ef800000)
Detected 2135.115 MHz processor.
Built 1 zonelists.  Total pages: 67584
Kernel command line: root=/dev/sda7 ro 5*

//Some other information here


*md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT2-fs warning (device sda7): ext2_fill_super: mounting ext3 filesystem as
ext2
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 196k freed

 ***************************************************************
 ***************************************************************
 ** WARNING: Currently emulating unsupported memory accesses  **
 **          in /lib/tls glibc libraries. The emulation is    **
 **          slow. To ensure full performance you should      **
 **          install a 'xen-friendly' (nosegneg) version of   **
 **          the library, or disable tls support by executing **
 **          the following as root:                           **
 **          mv /lib/tls /lib/tls.disabled                    **
 ** Offending process: init (pid=717)                         **
 ***************************************************************
 ***************************************************************

Continuing...*


Then it stops here, seems not dead though.  After a while , I checked the
status of xen with
*xm list *
*[root@red boot]# xm list
Name                                        ID   Mem VCPUs      State
Time(s)
Domain-0                                     0   510     2     r-----
850.3
ExampleDomain01                              4   254     1     -b----
21.9
*

It seems the guest domain has been blocked (as shown b), but I am not sure
what's going on there? Has guest domain been started or not? Or it is just
blocked, if so, how can I unblock it?  If you can pointing me to a tutorial
that will be good too.


Thanks in advance!
--* *
Donglai Zhang
 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>