Hello,
I am having problems using XEN on FC6.
I have installed a fresh FC6 machine from the DVD, only running "yum update -y" after the install.
I have attempted to start a DomU install but it just won't work.
====================================================
# xenguest-install --debug --file /dev/sda4 --location http://10.0.0.101/FC6 --name export1 --nographics --paravirt --ram 256
Starting install... libvir: Xen Daemon error : GET operation failed: No such domain export1 Sun, 29 Oct 2006 12:34:58 DEBUG Creating guest from '<domain type='xen'> <name>export1</name> <memory>262144</memory> <uuid>a4ba42b0-b3df-9f2a-5296-ab047e40f25b</uuid>
<os> <type>linux</type> <kernel>/var/lib/xen/vmlinuz.rUJf-q</kernel> <initrd>/var/lib/xen/initrd.img.mcjVA-</initrd> <cmdline> method=http://10.0.0.101/FC6 </cmdline> </os>
<on_poweroff>destroy</on_poweroff> <on_reboot>destroy</on_reboot> <on_crash>destroy</on_crash> <vcpu>1</vcpu> <devices> <disk type='block' device='disk'> <source dev='/dev/sda4'/> <target dev='xvda'/> </disk>
<interface type='bridge'><source bridge='xenbr0'/><mac address='00:16:3e:13:be:e3'/><script path='/etc/xen/scripts/vif-bridge'/></interface>
</devices> </domain> ' Sun, 29 Oct 2006 12:35:06 DEBUG Saving XM config file '# Automatically generated xen config file name = "export1" memory = "256" disk = [ 'phy:/dev/sda4,xvda,w', ] vif = [ 'mac=00:16:3e:13:be:e3, bridge=xenbr0', ] nographic=1 uuid = "a4ba42b0-b3df-9f2a-5296-ab047e40f25b" bootloader="/usr/bin/pygrub" vcpus=1 on_reboot = 'restart' on_crash = 'restart' ' Domain installation still in progress. You can reconnect to the console to complete the installation process.
====================================================
And attempting to connect to the console displays:
====================================================
# xm console export1 xenconsole: Could not read tty from store: No such file or directory
====================================================
Why will it not allow me to install?
Jamie.
====================================================
ps. Other information that may be useful is below.
====================================================
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.2 0.2 2048 672 ? Ss 12:32 0:02 init [3] root 2 0.0 0.0 0 0 ? S 12:32 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN 12:32 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S 12:32 0:00 [watchdog/0] root 5 0.0 0.0 0 0 ? S 12:32 0:00 [migration/1] root 6 0.0 0.0 0 0 ? SN 12:32 0:00 [ksoftirqd/1] root 7 0.0 0.0 0 0 ? S 12:32 0:00 [watchdog/1] root 8 0.1 0.0 0 0 ? S< 12:32 0:01 [events/0] root 9 0.0 0.0 0 0 ? S< 12:32 0:00 [events/1] root 10 0.0 0.0 0 0 ? S< 12:32 0:00 [khelper] root 11 0.0 0.0 0 0 ? S< 12:32 0:00 [kthread] root 13 0.0 0.0 0 0 ? S< 12:32 0:00 [xenwatch] root 14 0.0 0.0 0 0 ? S< 12:32 0:00 [xenbus] root 17 0.0 0.0 0 0 ? S< 12:32 0:00 [kblockd/0] root 18 0.0 0.0 0 0 ? S< 12:32 0:00 [kblockd/1] root 19 0.0 0.0 0 0 ? S< 12:32 0:00 [kacpid] root 76 0.0 0.0 0 0 ? S< 12:32 0:00 [cqueue/0] root 77 0.0 0.0 0 0 ? S< 12:32 0:00 [cqueue/1] root 81 0.0 0.0 0 0 ? S< 12:32 0:00 [khubd] root 83 0.0 0.0 0 0 ? S< 12:32 0:00 [kseriod] root 142 0.0 0.0 0 0 ? S 12:32 0:00 [pdflush] root 143 0.0 0.0 0 0 ? S 12:32 0:00 [pdflush] root 144 0.0 0.0 0 0 ? S< 12:32 0:00 [kswapd0] root 145 0.0 0.0 0 0 ? S< 12:32 0:00 [aio/0] root 146 0.0 0.0 0 0 ? S< 12:32 0:00 [aio/1] root 291 0.0 0.0 0 0 ? S< 12:32 0:00 [kpsmoused] root 335 0.0 0.0 0 0 ? S< 12:32 0:00 [scsi_eh_0] root 338 0.0 0.0 0 0 ? S< 12:32 0:00 [md2_raid1] root 341 0.0 0.0 0 0 ? S< 12:32 0:00 [md1_raid1] root 344 0.0 0.0 0 0 ? S< 12:32 0:00 [md0_raid1] root 345 0.0 0.0 0 0 ? S< 12:32 0:00 [kjournald] root 370 0.0 0.0 0 0 ? S< 12:32 0:00 [kauditd] root 396 0.2 0.4 2924 1372 ? S<s 12:32 0:02 /sbin/udevd -d root 1140 0.0 0.0 0 0 ? S< 12:33 0:00 [kmpathd/0] root 1141 0.0 0.0 0 0 ? S< 12:33 0:00 [kmpathd/1] root 1148 0.0 0.0 0 0 ? S< 12:33 0:00 [kmirrord] root 1477 0.0 2.0 8364 6776 ? Ss 12:33 0:00 /usr/sbin/restorecond root 1486 0.0 0.1 1708 616 ? Ss 12:33 0:00 syslogd -m 0 root 1489 0.0 0.1 1656 404 ? Ss 12:33 0:00 klogd -x root 1498 0.0 0.0 1652 288 ? Ss 12:33 0:00 irqbalance root 1511 0.0 0.1 2140 512 ? Ss 12:33 0:00 mcstransd root 1520 0.0 0.1 1808 396 ? Ss 12:33 0:00 mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid dbus 1528 0.0 0.3 13396 1244 ? Ssl 12:33 0:00 dbus-daemon --system root 1545 0.0 0.3 9056 1056 ? Ssl 12:33 0:00 automount root 1561 0.0 0.1 1660 524 ? Ss 12:33 0:00 /usr/sbin/acpid root 1576 0.0 0.2 5188 928 ? Ss 12:33 0:00 /usr/sbin/sshd root 1593 0.0 0.3 5236 1164 ? Ss 12:33 0:00 crond xfs 1626 0.0 0.3 3424 1264 ? Ss 12:33 0:00 xfs -droppriv -daemon root 1634 0.0 0.1 1648 560 ? SNs 12:33 0:00 anacron -s root 1641 0.0 0.1 2216 424 ? Ss 12:33 0:00 /usr/sbin/atd root 1649 0.0 2.9 23320 9708 ? S 12:33 0:00 /usr/bin/python /usr/sbin/yum-updatesd 68 1657 0.2 1.1 5668 3764 ? Ss 12:33 0:01 hald root 1658 0.0 0.3 3348 1196 ? S 12:33 0:00 hald-runner 68 1664 0.0 0.2 2308 960 ? S 12:33 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket 68 1667 0.0 0.2 2308 956 ? S 12:33 0:00 hald-addon-keyboard: listening on /dev/input/event0 root 1677 0.0 0.2 2260 812 ? S 12:33 0:00 hald-addon-storage: polling /dev/hda root 1898 0.1 0.2 2100 980 ? S 12:33 0:00 xenstored --pid-file /var/run/xenstore.pid root 1902 0.0 1.1 11608 3972 ? S 12:33 0:00 python /usr/sbin/xend start root 1904 0.1 1.6 73192 5360 ? Sl 12:33 0:01 python /usr/sbin/xend start root 1906 0.0 0.1 12152 592 ? Sl 12:33 0:00 xenconsoled root 1907 0.0 0.2 13492 728 ? Ssl 12:33 0:00 blktapctrl root 2146 0.0 0.0 1920 324 ? S 12:33 0:00 /usr/sbin/smartd -q never root 2159 0.0 0.1 1640 456 tty1 Ss+ 12:33 0:00 /sbin/mingetty tty1 root 2162 0.0 0.1 1644 460 tty2 Ss+ 12:33 0:00 /sbin/mingetty tty2 root 2164 0.0 0.1 1640 456 tty3 Ss+ 12:33 0:00 /sbin/mingetty tty3 root 2170 0.0 0.1 1644 460 tty4 Ss+ 12:33 0:00 /sbin/mingetty tty4 root 2171 0.0 0.1 1640 456 tty5 Ss+ 12:33 0:00 /sbin/mingetty tty5 root 2184 0.0 0.1 1640 456 tty6 Ss+ 12:33 0:00 /sbin/mingetty tty6 root 2228 0.0 0.7 8032 2408 ? Ss 12:33 0:00 sshd: root@pts/0 root 2230 0.0 0.4 4500 1436 pts/0 Ss 12:33 0:00 -bash root 2409 0.0 0.2 4232 936 pts/0 R+ 12:47 0:00 ps aux
====================================================
# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:71:C8:C2 inet addr:10.0.0.201 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe71:c8c2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5720 errors:0 dropped:0 overruns:0 frame:0 TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8066348 (7.6 MiB) TX bytes:127967 (124.9 KiB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:328 (328.0 b) TX bytes:328 (328.0 b)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:7440 errors:0 dropped:0 overruns:0 frame:0 TX packets:1501 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8378783 (7.9 MiB) TX bytes:131379 (128.2 KiB) Interrupt:17 Base address:0x1400
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:1498 errors:0 dropped:0 overruns:0 frame:0 TX packets:5734 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:132029 (128.9 KiB) TX bytes:8067188 (7.6 MiB)
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST NOARP MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:32 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5522 (5.3 KiB) TX bytes:0 (0.0 b)
====================================================
# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 326 2 r----- 104.2 export1 1 256 1 r----- 849.6
====================================================
On Sun, Oct 29, 2006 at 12:51:24PM -0000, Jamie Burns wrote:
Hello,
I am having problems using XEN on FC6.
I have installed a fresh FC6 machine from the DVD, only running "yum update -y" after the install.
I have attempted to start a DomU install but it just won't work.
====================================================
# xenguest-install --debug --file /dev/sda4 --location http://10.0.0.101/FC6 --name export1 --nographics --paravirt --ram 256
[snip]
# xm console export1 xenconsole: Could not read tty from store: No such file or directory
For some reason xenstored is missing the data specifiying what Psuedo TTY the guest console is on. The /var/log/xen/xend-*.log files may contain useful information.
xenstored --pid-file /var/run/xenstore.pid root 1902 0.0 1.1 11608 3972 ? S 12:33 0:00 python /usr/sbin/xend start root 1904 0.1 1.6 73192 5360 ? Sl 12:33 0:01 python /usr/sbin/xend start root 1906 0.0 0.1 12152 592 ? Sl 12:33 0:00 xenconsoled root 1907 0.0 0.2 13492 728 ? Ssl 12:33 0:00 blktapctrl
This is good - the neccessary Xen daemons are all running at least.
# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 326 2 r----- 104.2 export1 1 256 1 r----- 849.6
The guest you created appears to have started up too - so for some reason just the console is messed up. Can you also post the output of
virsh dumpxml export1
Which will show us the actual live virtual hardware configuration it is running with
Regards, Dan.