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
Donglai Zhang
2009-Jun-10 02:19 UTC
[Xen-users] Re:Re: Re: Has my Xen guest domain been started?
Hi, Martti and SZABO: Thank you very much for your response and useful suggestion! After I added the extra="xencons=tty" in the configure file, the console is available. What I am wondering is where can I find related document for this kind of information? Cheers, Donglai 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 theprompt.>> > > NetBSD/i386 (n38) (console) > > login:And maybe he needs an extra="xencons=tty" line in his domain.conf...? -- Zsolt -- Donglai Zhang _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users