Are bash scripts OK ?
I put everything into some scripts - I'm on ubuntu, debian should be
similar - not sure about other platforms.
# Grab scripts
$ git clone https://github.com/stuaxo/raspbian-qemu-scripts
$ cd raspbian-qemu-scripts
# Download current raspbian lite to /tmp/raspbian:
# Test that may fail - run
/tmp/raspbian/2016-05-27-raspbian-jessie-lite.img in qemu:
# If the above fails, then it's you can edit /etc/ld.so.preload ---
^ mounts the image to /tmp/raspbian/
Now edit the file /tmp/raspbian/etc/ld.so.preload and comment any lines,
$ sudo nano -w /tmp/raspbian/mnt/etc/ld.so.preload
$ umount /tmp/raspbian
## Test again in qemu
One I get do the edit, qemu works for me.
To get chroot working, one has to mount the image and copy the file
$ sudo cp /usr/bin/qemu-arm-static /tmp/raspbian/mnt/usr/bin
# After that chroot works...
$ sudo chroot /tmp/raspbian/mnt
-- Remember to umount the image before using qemu + but mount for chroot
On 20 September 2016 at 11:22, Peter Maydell <peter.mayd...@linaro.org>
> As I say, for providing reproduction instructions you have to assume I
> know nothing about raspbian, so "trying stock raspbian in qemu" is not
> detailed enough. I was looking for details more like "download this
> particular image from this website and then run this specific QEMU
> commandline, and then in the guest do <this thing> and it fails in <this
> You received this bug notification because you are subscribed to the bug
> qemu-arm dies with libarmmem inside ld.so.preload
> To manage notifications about this bug go to:
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
qemu-arm dies with libarmmem inside ld.so.preload
Status in QEMU:
When running raspbian inside qemu,the user has to first comment out
the following line from /etc/ld.so.conf:
Will future qemus will be able to work without changine /etc/ld.so.conf ?
To manage notifications about this bug go to: