Donglai Zhang
2009-Jun-09 07:43 UTC
[Xen-users] Re: Has my Xen guest domain been started? (Donglai Zhang)
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@lists.xensource.com>wrote:> > ------------------------------ > > Message: 5 > Date: Tue, 9 Jun 2009 14:13:00 +0930 > From: Donglai Zhang <dlzhangster@gmail.com> > Subject: [Xen-users] Has my Xen guest domain been started? > To: xen-users@lists.xensource.com > Message-ID: > <c0f408a30906082143r43d00504ja9cc1bb13a8df42d@mail.gmail.com> > 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@lists.xensource.com http://lists.xensource.com/xen-users
Martti Kuparinen
2009-Jun-09 07:56 UTC
Re: [Xen-users] Re: Has my Xen guest domain been started? (Donglai Zhang)
Donglai Zhang wrote:> [root@red dlzhang]# xm uptime ExampleDomain01 > Name ID Uptime > ExampleDomain01 4 0:22:35 > > That means the machine has been running successfully, is it?Yes> [root@red dlzhang]# xm console ExampleDomain01 > > Nothing happening... Any idea?Maybe a stupid question but did you press Enter within the console? ROOT xen1:~> xm console n38 <This shows nothing for me until I hit Enter. After Enter I get the prompt.> NetBSD/i386 (n38) (console) login: Martti _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
SZABO Zsolt
2009-Jun-09 08:02 UTC
Re: [Xen-users] Re: Has my Xen guest domain been started? (Donglai Zhang)
On Tue, 9 Jun 2009, Martti Kuparinen wrote:> Maybe a stupid question but did you press Enter within the console? > > ROOT xen1:~> xm console n38 > <This shows nothing for me until I hit Enter. After Enter I get the prompt.> > > > NetBSD/i386 (n38) (console) > > login:And maybe he needs an extra="xencons=tty" line in his domain.conf...? -- Zsolt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users