All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] qemu-aarch64 applications misbehaving
@ 2018-11-19 16:04 Zeno Endemann
  2018-11-20  2:11 ` Ricardo Martincoski
  2018-12-03  8:16 ` Thomas Petazzoni
  0 siblings, 2 replies; 6+ messages in thread
From: Zeno Endemann @ 2018-11-19 16:04 UTC (permalink / raw)
  To: buildroot

Applications run under qemu-aarch64 are misbehaving for me. For example,
minimal (console only) Qt application are crashing on startup, and also the
BusyBox's "df" (disk usage) is printing out silly numbers. While I'm not
positive I suspect these are bugs in qemu.

I build the guest os using buildroot 2018.08.2,
qemu_aarch64_virt_defconfig, and running it as instructed (minus network,
don't need it):

qemu-system-aarch64 -M virt -cpu cortex-a57 -nographic -smp 1 -kernel
output/images/Image -append "root=/dev/vda console=ttyAMA0" -drive
file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device
virtio-blk-device,drive=hd0

(Host os is Ubuntu 18.04, QEMU emulator version 2.11.1(Debian
1:2.11+dfsg-1ubuntu7.7))

Can someone confirm this? Any hints would be much appreciated.

While at it, another side question: Is there a reason why the
qemu_aarch64_virt_defconfig built kernel does not include the drivers for
qemu graphics emulation?

Thanks,
Zeno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181119/eff621a1/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Buildroot] qemu-aarch64 applications misbehaving
@ 2018-11-20 13:55 Zeno Endemann
  2018-11-20 16:13 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Zeno Endemann @ 2018-11-20 13:55 UTC (permalink / raw)
  To: buildroot

> Hello,
> 
> On Tue, 20 Nov 2018 00:11:13 -0200, Ricardo Martincoski wrote:
> 
>> I confirm 'df' printing silly numbers with both these images:
>> 2018.08.2 : https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/122632959
>> 2018.11-rc1 : https://gitlab.com/buildroot.org/buildroot/-/jobs/118747268
>> 
>> On 2018.08.2 I also did this:
>> make qemu_aarch64_virt_defconfig
>> make menuconfig # and enable BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE
>> make host-qemu # to build qemu 2.12.1
>> output/host/bin/qemu-system-aarch64 ...
>> and the issue with 'df' still occurs.
> 
> So you tested with the default C library, uClibc ? Could you test with
> glibc ?

Indeed, all problems were resolved by changing to glibc. Thanks!

> 
> Thanks,
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-12-03  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-19 16:04 [Buildroot] qemu-aarch64 applications misbehaving Zeno Endemann
2018-11-20  2:11 ` Ricardo Martincoski
2018-11-20 10:39   ` Thomas Petazzoni
2018-12-03  8:16 ` Thomas Petazzoni
2018-11-20 13:55 Zeno Endemann
2018-11-20 16:13 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.