[Libguestfs] Cubietruck: QEMU, KVM and Fedora
Thomas Kee
xsited at yahoo.com
Mon Feb 29 03:05:31 UTC 2016
Hi Kashyap, Richard,
Before I moved on to new things I wanted to let you know that it took a
bit of package finesse and some time, but I was able to use the git repo
make it through
libguestfs-test-tool without issue on this platform:
Linux cubietruck 4.3.0-1-armmp-lpae #1 SMP Debian 4.3.5-1 (2016-02-06)
armv7l GNU/Linux
The log is attached. I now have bigger brain about arm-kvm thanks to
your help.
Cheers,
Thomas
Richard W.M. Jones wrote:
> On Mon, Feb 22, 2016 at 12:59:47PM +0100, Kashyap Chamarthy wrote:
>>> root at cubietruck:~# /usr/bin/libguestfs-test-tool -V
>>> libguestfs-test-tool 1.30.6
> [...]
>>> [00633ms] /usr/bin/qemu-system-arm \
>>> -global virtio-blk-device.scsi=off \
>>> -nodefconfig \
>>> -enable-fips \
>>> -nodefaults \
>>> -display none \
>>> -M virt \
>>> -cpu host \
>>> -machine accel=kvm:tcg \
>>> -m 500 \
>>> -no-reboot \
>>> -rtc driftfix=slew \
>>> -global kvm-pit.lost_tick_policy=discard \
>>> -kernel /var/tmp/.guestfs-0/appliance.d/kernel \
>>> -dtb /var/tmp/.guestfs-0/appliance.d/dtb \
>>> -initrd /var/tmp/.guestfs-0/appliance.d/initrd \
>>> -device virtio-scsi-device,id=scsi \
>>> -drive
>>> file=/tmp/libguestfssaEUV0/scratch.1,cache=unsafe,format=raw,id=hd0,if=none
>>> \
>>> -device scsi-hd,drive=hd0 \
>>> -drive
>>> file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none
>>> \
>>> -device scsi-hd,drive=appliance \
>>> -device virtio-serial-device \
>>> -serial stdio \
>>> -chardev socket,path=/tmp/libguestfssaEUV0/guestfsd.sock,id=channel0 \
>>> -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
>>> -append 'panic=1 mem=500M console=ttyAMA0 udevtimeout=6000
>>> udev.event-timeout=6000 no_timer_check acpi=off printk.time=1
>>> cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1
>>> TERM=xterm-256color'
>>> qemu-system-arm: Warning: global kvm-pit.lost_tick_policy has invalid class
>>> name
>>> Alarm clock
>
> The main problem is that the original poster's kernel doesn't boot on
> top of qemu. I can't see from the logs what kernel they are trying to
> use, but that's going to be a problem.
>
> Strongly suggest:
>
> (a) Switch to libguestfs from git, since the version you are using is
> 8 months old, and I completely changed how DTBs are handled in the
> latest version.
>
> (b) Don't run stuff as root.
>
> (c) With the version from git, do:
>
> ./configure
> rm -rf tmp/.guestfs-*
> make clean
> make
> make quickcheck
>
> and let us see the complete log of that.
>
> Instructions for building libguestfs from source can be found here:
>
> http://libguestfs.org/guestfs-building.1.html
>
> Rich.
>
--
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160228/9076fb7b/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libguestfs-test-tool.log
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160228/9076fb7b/attachment.log>
More information about the Libguestfs
mailing list