[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1243287] Re: [KVM/QEMU][ARM][SAUCY] fails to boot clou
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [Bug 1243287] Re: [KVM/QEMU][ARM][SAUCY] fails to boot cloud-image due to host kvm fail |
Date: |
Fri, 08 Nov 2013 20:01:06 -0000 |
Manoj, dmidecode seems highly x86-specific according to
http://www.nongnu.org/dmidecode/, so not running it on arm does seem a correct
solution for closing this bug. Suggest you assign it back to cloud-init to have
that fixed.
An alternative to checking for the command's presence would be checking uname
or whatever Python offers as equivalent.
What do you expect to read from 0xf0000 to 0xfffff on your arm mach-virt
guest? I suggest you file a separate bug report more understandable to
QEMU/KVM developers if there's a valid use case failing, along with
versions, command line and anything else needed for someone to actually
investigate this beyond speculation.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1243287
Title:
[KVM/QEMU][ARM][SAUCY] fails to boot cloud-image due to host kvm fail
Status in QEMU:
Confirmed
Bug description:
On booting the cloud image using qemu/kvm fails with the following
error:
Cloud-init v. 0.7.3 running 'init' at Thu, 03 Oct 2013 16:45:21 +0000. Up
360.78 seconds.
ci-info: +++++++++++++++++++++++++Net device info+++++++++++++++++++++++++
ci-info: +--------+------+-----------+---------------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+------+-----------+---------------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | eth0 | True | 10.0.2.15 | 255.255.255.0 | 52:54:00:12:34:56 |
ci-info: +--------+------+-----------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route
info++++++++++++++++++++++++++++++
ci-info:
+-------+-------------+----------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info:
+-------+-------------+----------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info:
+-------+-------------+----------+---------------+-----------+-------+
error: kvm run failed Function not implemented
/usr/lib/python2.7/dist-
packages/cloudinit/sources/DataSourceAltCloud.py assumes that
dmidecode command is availabe (ie it assumes that system is x86) on
arm systems there is no dmidecode command so host kvm fails with the
message "error: kvm run failed Function not implemented"
The patch makes get_cloud_type() function return with UNKNOWN for ARM
systems.
I was able to boot the cloud-image on ARM after applying this change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1243287/+subscriptions