[Bug 1321362] Re: virsh fails to launch : missing /proc/device-tree/cpu
john.d at servergy.com
john.d at servergy.com
Tue May 20 16:45:19 UTC 2014
refiled under:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1321365
** Changed in: qemu (Ubuntu)
Status: New => Invalid
** Description changed:
-
-
- virsh # define vm01.xml
+ virsh # define vm01.xml
virsh # start Ubuntu-VM01
error: Failed to start domain Ubuntu-VM01
error: internal error: early end of file from monitor: possible problem:
Can't open directory /proc/device-tree/cpus/
qemu-system-ppc: -device piix3-usb-uhci,id=usb,bus=pci,addr=0x1: Bus 'pci' not found
-
With or without the "controller_type "pci" > statement fails:
(trusty)root at jade-rev4:/home2/qemu# cat *xml
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
- <name>Ubuntu-VM01</name>
- <uuid>38bbffe5-47e9-4a3b-84b1-1af5ff3f7194</uuid>
- <memory unit='KiB'>1048576</memory>
- <currentMemory unit='KiB'>1048576</currentMemory>
- <vcpu placement='static'>1</vcpu>
- <os>
- <type arch='ppc' machine='ppce500'>hvm</type>
- <kernel>/home2/qemu/jade-kernel-2.0.bin</kernel>
- <initrd>/home2/qemu/jade-initrd-2.0.bin</initrd>
- <cmdline>console=ttyS0</cmdline>
- </os>
- <clock offset='utc'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>destroy</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <emulator>/usr/bin/qemu-system-ppc</emulator>
- <disk type='file' device='disk'>
- <driver name='qemu' type='raw'/>
- <source file='/home2/qemu/jade-ubuntu-14.04.qcow2.netinstall'/>
- <target dev='vda' bus='virtio'/>
- </disk>
- <controller type='usb' index='0'/>
+ <name>Ubuntu-VM01</name>
+ <uuid>38bbffe5-47e9-4a3b-84b1-1af5ff3f7194</uuid>
+ <memory unit='KiB'>1048576</memory>
+ <currentMemory unit='KiB'>1048576</currentMemory>
+ <vcpu placement='static'>1</vcpu>
+ <os>
+ <type arch='ppc' machine='ppce500'>hvm</type>
+ <kernel>/home2/qemu/jade-kernel-2.0.bin</kernel>
+ <initrd>/home2/qemu/jade-initrd-2.0.bin</initrd>
+ <cmdline>console=ttyS0</cmdline>
+ </os>
+ <clock offset='utc'/>
+ <on_poweroff>destroy</on_poweroff>
+ <on_reboot>destroy</on_reboot>
+ <on_crash>destroy</on_crash>
+ <devices>
+ <emulator>/usr/bin/qemu-system-ppc</emulator>
+ <disk type='file' device='disk'>
+ <driver name='qemu' type='raw'/>
+ <source file='/home2/qemu/jade-ubuntu-14.04.qcow2.netinstall'/>
+ <target dev='vda' bus='virtio'/>
+ </disk>
+ <controller type='usb' index='0'/>
<!-- <controller type='pci' index='0' model='pci-root'/> -->
- <memballoon model='virtio'/>
- </devices>
- <qemu:commandline>
- <qemu:arg value='-no-shutdown'/>
- </qemu:commandline>
+ <memballoon model='virtio'/>
+ </devices>
+ <qemu:commandline>
+ <qemu:arg value='-no-shutdown'/>
+ </qemu:commandline>
</domain>
-
virsh # start Ubuntu-VM01
error: Failed to start domain Ubuntu-VM01
error: internal error: early end of file from monitor: possible problem:
Can't open directory /proc/device-tree/cpus/
qemu-system-ppc: -device piix3-usb-uhci,id=usb,bus=pci,addr=0x1: Bus 'pci' not found
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
Uname: Linux 3.13.0-24-powerpc-e500mc ppc
ApportVersion: 2.14.1-0ubuntu3
Architecture: powerpc
Date: Tue May 20 11:30:04 2014
ProcEnviron:
- TERM=xterm
- PATH=(custom, no user)
- XDG_RUNTIME_DIR=<set>
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ TERM=xterm
+ PATH=(custom, no user)
+ XDG_RUNTIME_DIR=<set>
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: qemu
UpgradeStatus: Upgraded to trusty on 2014-04-29 (21 days ago)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1321362
Title:
virsh fails to launch : missing /proc/device-tree/cpu
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1321362/+subscriptions
More information about the Ubuntu-server-bugs
mailing list