Cannot Start Linux Paravirtualized (PV) Guests with Xen 4.2-unstable
Hi,
I cannot start Linux PV guests. "sudo xl create -c" reports that a domain has successfully started but "ps -ef | grep qemu" returns no output and "sudo xl list" doesn't show that the PV domain has started.
Please review the following installation steps which I have written and see if there are any mistakes.
*XL****Domain****Configuration****File****for****Fedora****16****x86_64****PV****domU****(Incomplete****Configuration,****Not****Tested,****Do****Not****Use)*
You will need to install apache2 and create a local http mirror.
sudo apt-get install apache2
cd /media
sudo mkdir fedora
cd ~/Downloads
sudo mount -o loop _Fedora-16-x86_64-DVD.iso <http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/iso/Fedora-16-x86_64-DVD.iso>_ /media/fedora
cd
mkdir -p vms/f16
cd /media/fedora/images/pxeboot
cp vmlinuz initrd.img ~/vms/f16/
sudo nano /etc/xen/Fedora16x86_64
# Kernel image to boot
kernel = "/home/teo-en-ming/vms/f16/vmlinuz"
# Ramdisk (optional)
ramdisk = "/home/teo-en-ming/vms/f16/initrd.img"
#bootloader="/usr/bin/pygrub"
cd /etc/xen/images/
sudo dd if=/dev/zero of=fedora16x86_64.img bs=1024k seek=10000 count=0
To install Fedora 16 x86_64 as a paravirtualized guest domain,
sudo xl create -c Fedora16x86_64
After installing Fedora 16 x86_64 PV domU,
sudo nano /etc/xen/Fedora16x86_64
# Kernel image to boot
#kernel = "/home/teo-en-ming/vms/f16/vmlinuz"
# Ramdisk (optional)
#ramdisk = "/home/teo-en-ming/vms/f16/initrd.img"
bootloader="/usr/bin/pygrub"
# XL domain configuration file for Fedora 16 x86_64 PV domU
# Please refer to "man xl.cfg" for further explanations.
# See also docs/misc/xl-network-configuration.markdown and
# docs/misc/xl-disk-configuration.txt
# Written by Teo En Ming (Zhang Enming)
# Email: [email protected]
# Mobile Phone: +65-8369-2618
# Country: Singapore
# Date: 18 Mar 2012 Sun
name="Fedora16x86_64"
builder="generic"
vcpus=2
memory=1024
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
disk=[ 'format=raw, vdev=hda, access=rw, target=/etc/xen/images/fedora16x86_64.img' ]
vif=[ 'bridge=virbr0' ]
vfb=[ 'vnc=1,vnclisten=localhost,vncdisplay=2,vncunused=1,vncpasswd=,sdl=0' ]
gfx_passthru=0
# Step 1
# To install Fedora 16 x86_64 PV domU, configure the kernel, ramdisk, and extra keys below and comment out bootloader.
# Kernel image to boot
kernel = "/home/teo-en-ming/vms/f16/vmlinuz"
# Ramdisk (optional)
ramdisk = "/home/teo-en-ming/vms/f16/initrd.img"
# Kernel command line options
#extra = "root=/dev/xvda1"
# Step 2
# To boot the already installed Fedora 16 x86_64 PV domU, comment out the keys in Step 1 and uncomment bootloader below.
#bootloader="/usr/bin/pygrub"
Please advise.
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hi,
I have attached error logs. Please help.
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
Quoted 166 lines · Teo En Ming (Zhang Enming)
Hi,
I cannot start Linux PV guests. "sudo xl create -c" reports that a domain has successfully started but "ps -ef | grep qemu" returns no output and "sudo xl list" doesn't show that the PV domain has started.
Please review the following installation steps which I have written and see if there are any mistakes.
*XL****Domain****Configuration****File****for****Fedora****16****x86_64****PV****domU****(Incomplete****Configuration,****Not****Tested,****Do****Not****Use)*
You will need to install apache2 and create a local http mirror.
sudo apt-get install apache2
cd /media
sudo mkdir fedora
cd ~/Downloads
sudo mount -o loop _Fedora-16-x86_64-DVD.iso <http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/iso/Fedora-16-x86_64-DVD.iso>_ /media/fedora
cd
mkdir -p vms/f16
cd /media/fedora/images/pxeboot
cp vmlinuz initrd.img ~/vms/f16/
sudo nano
/etc/xen/Fedora16x86_64# Kernel image to boot
kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"#bootloader="/usr/bin/pygrub"
cd
/etc/xen/images/sudo dd if=/dev/zero of=fedora16x86_64.img bs=1024k seek=10000 count=0
To install Fedora 16
x86_64as a paravirtualized guest domain,sudo xl create -c
Fedora16x86_64After installing Fedora 16
x86_64PV domU,sudo nano
/etc/xen/Fedora16x86_64# Kernel image to boot
#kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
#ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"bootloader="/usr/bin/pygrub"
# XL domain configuration file for Fedora 16
x86_64PV domU# Please refer to "man xl.cfg" for further explanations.
# See also docs/misc/xl-network-configuration.markdown and
# docs/misc/xl-disk-configuration.txt# Written by Teo En Ming (Zhang Enming)
# Email: [email protected]
# Mobile Phone: +65-8369-2618
# Country: Singapore
# Date: 18 Mar 2012 Sun
name="Fedora16x86_64"
builder="generic"
vcpus=2
memory=1024
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
disk=[ 'format=raw, vdev=hda, access=rw, target=/etc/xen/images/fedora16x86_64.img' ]
vif=[ 'bridge=virbr0' ]
vfb=[ 'vnc=1,vnclisten=localhost,vncdisplay=2,vncunused=1,vncpasswd=,sdl=0' ]
gfx_passthru=0
# Step 1
# To install Fedora 16
x86_64PV domU, configure the kernel, ramdisk, and extra keys below and comment out bootloader.# Kernel image to boot
kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"# Kernel command line options
#extra = "root=/dev/xvda1"
# Step 2
# To boot the already installed Fedora 16
x86_64PV domU, comment out the keys in Step 1 and uncomment bootloader below.#bootloader="/usr/bin/pygrub"
Quoted 11 lines
Please advise.
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
domid: 20
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-20
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/20/target.
Could not parse VNC address
domid: 19
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-19
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/19/target.
domid: 18
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-18
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/18/target.
domid: 17
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-17
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/17/target.
domid: 16
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-16
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/16/target.
domid: 15
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-15
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/15/target.
domid: 14
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-14
char device redirected to /dev/pts/0xs_read(): target get error. /local/domain/14/target.
domid: 13
Warning: vlan 0 is not connected to host network
-videoram option does not work with cirrus vga device model. Videoram set to 4M. /home/teo-en-ming/xen-unstable.hg/tools/qemu-xen-traditional-dir/hw/xen_blktap.c:628: Init blktap pipes Could not open /var/run/tap/qemu-read-13
char device redirected to /dev/pts/2xs_read(): target get error. /local/domain/13/target.
Waiting for domain Fedora16x86_64 (domid 19) to die [pid 10176] Domain 19 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 19 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 18) to die [pid 9794] Domain 18 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 18 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 17) to die [pid 9476] Domain 17 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 17 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 16) to die [pid 9079] Domain 16 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 16 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 15) to die [pid 1385] Domain 15 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 15 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 14) to die [pid 940] Domain 14 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 14 needs to be cleaned up: destroying the domain Done. Exiting now
Waiting for domain Fedora16x86_64 (domid 13) to die [pid 498] Domain 13 has shut down, reason code 3 0x3
Action for shutdown reason code 3 is destroy
Domain 13 needs to be cleaned up: destroying the domain Done. Exiting now
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Any ideas? There has been very few documentation on XL domain configuration files on the internet.
Yours sincerely,
Teo En Ming (Zhang Enming)
Quoted 4 lines · Teo En Ming (Zhang Enming)
Hi,
I have attached error logs. Please help.
Quoted 186 lines
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
Quoted 177 lines · Teo En Ming (Zhang Enming)
Hi,
I cannot start Linux PV guests. "sudo xl create -c" reports that a domain has successfully started but "ps -ef | grep qemu" returns no output and "sudo xl list" doesn't show that the PV domain has started.
Please review the following installation steps which I have written and see if there are any mistakes.
*XL****Domain****Configuration****File****for****Fedora****16****x86_64****PV****domU****(Incomplete****Configuration,****Not****Tested,****Do****Not****Use)*
You will need to install apache2 and create a local http mirror.
sudo apt-get install apache2
cd /media
sudo mkdir fedora
cd ~/Downloads
sudo mount -o loop _Fedora-16-x86_64-DVD.iso <http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/iso/Fedora-16-x86_64-DVD.iso>_ /media/fedora
cd
mkdir -p vms/f16
cd /media/fedora/images/pxeboot
cp vmlinuz initrd.img ~/vms/f16/
sudo nano
/etc/xen/Fedora16x86_64# Kernel image to boot
kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"#bootloader="/usr/bin/pygrub"
cd
/etc/xen/images/sudo dd if=/dev/zero of=fedora16x86_64.img bs=1024k seek=10000 count=0
To install Fedora 16
x86_64as a paravirtualized guest domain,sudo xl create -c
Fedora16x86_64After installing Fedora 16
x86_64PV domU,sudo nano
/etc/xen/Fedora16x86_64# Kernel image to boot
#kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
#ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"bootloader="/usr/bin/pygrub"
# XL domain configuration file for Fedora 16
x86_64PV domU# Please refer to "man xl.cfg" for further explanations.
# See also docs/misc/xl-network-configuration.markdown and
# docs/misc/xl-disk-configuration.txt# Written by Teo En Ming (Zhang Enming)
# Email: [email protected]
# Mobile Phone: +65-8369-2618
# Country: Singapore
# Date: 18 Mar 2012 Sun
name="Fedora16x86_64"
builder="generic"
vcpus=2
memory=1024
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
disk=[ 'format=raw, vdev=hda, access=rw, target=/etc/xen/images/fedora16x86_64.img' ]
vif=[ 'bridge=virbr0' ]
vfb=[ 'vnc=1,vnclisten=localhost,vncdisplay=2,vncunused=1,vncpasswd=,sdl=0' ]
gfx_passthru=0
# Step 1
# To install Fedora 16
x86_64PV domU, configure the kernel, ramdisk, and extra keys below and comment out bootloader.# Kernel image to boot
kernel = "
/home/teo-en-ming/vms/f16/vmlinuz"# Ramdisk (optional)
ramdisk = "
/home/teo-en-ming/vms/f16/initrd.img"# Kernel command line options
#extra = "root=/dev/xvda1"
# Step 2
# To boot the already installed Fedora 16
x86_64PV domU, comment out the keys in Step 1 and uncomment bootloader below.#bootloader="/usr/bin/pygrub"
Please advise.
Thank you very much.
Yours sincerely,
Teo En Ming (Zhang Enming)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Teo En Ming (Zhang Enming)
Any ideas? There has been very few documentation on XL domain configuration files on the internet.
Does xm work (using the same config file)?
If yes, xen-devel will be a good place to submit bug report, with the emphasis on xl bug.
Signature · 1 line
Fajar
Dear Fajar,
xm has been deprecated in Xen 4.2-unstable changeset 25070. It doesn't work in xen 4.2-unstable.
Yours sincerely,
Teo En Ming (Zhang Enming)
Quoted 9 lines · Fajar A. Nugraha
Quoted 2 lines · Teo En Ming (Zhang Enming)
Any ideas? There has been very few documentation on XL domain configuration files on the internet.
Does xm work (using the same config file)?
If yes, xen-devel will be a good place to submit bug report, with the emphasis on xl bug.
Quoted 3 lines · Teo En Ming (Zhang Enming)
Dear Fajar,
xm has been deprecated in Xen 4.2-unstable changeset 25070.
Ouch :)
Quoted 2 lines
It doesn't work
in xen 4.2-unstable.
Still, I recommend you try it. Possibly by installing old version of xen userland tools (which might work).
That would help pinpoint the source of problem (is it xl? or is it kernel/initrd combination? or is it something else?).
You might get better response from developers if you have a concise, complete bug report instead of simply saying "it doesn't work. help!".
Signature · 1 line
Fajar