Skip to content
Snippets Groups Projects
Closed QEMU aarch64 Segmentation fault on Mac OSX, machine raspi3
  • View options
  • QEMU aarch64 Segmentation fault on Mac OSX, machine raspi3

  • View options
  • Closed Issue created by Matthias Schmidt

    When switching from the machine virt to raspi3, this QEMU aarch64 invocation:

    /Users/schmidtm/prj/qemu/build/qemu-system-aarch64 \
        -m 1G \
        -M raspi3 \
        -smp 4 \
        -cpu cortex-a53 \
        -bios QEMU_EFI.fd \
        -kernel boot/vmlinuz-4.19.0-17-arm64 \
        -initrd boot/initrd.img-4.19.0-17-arm64 \
        -drive file=20210717_raspi_3_buster.img,if=none,id=drive0,cache=writeback -device virtio-blk-device,drive=drive0,bootindex=0 \
        -append 'root=/dev/vda2 noresume rw, init=/bin/bash' \
        -no-reboot \
        -nographic

    Segfaults:

    WARNING: Image format was not specified for '20210717_raspi_3_buster.img' and probing guessed raw.
             Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
             Specify the 'raw' format explicitly to remove the restrictions.
    ./run.sh: line 13: 57903 Segmentation fault: 11  /Users/schmidtm/prj/qemu/build/qemu-system-aarch64 -m 1G -M raspi3 -smp 4 -cpu cortex-a53 -bios QEMU_EFI.fd -kernel boot/vmlinuz-4.19.0-17-arm64 -initrd boot/initrd.img-4.19.0-17-arm64 -drive file=20210717_raspi_3_buster.img,if=none,id=drive0,cache=writeback -device virtio-blk-device,drive=drive0,bootindex=0 -append 'root=/dev/vda2 noresume rw, init=/bin/bash' -no-reboot -nographic

    The version of QEMU was HEAD of master at: a2376507

    Compiled on MacOSX 10.14.6 with no parameters to configure whatsoever

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading