Activity log for bug #1922391

Date Who What changed Old value New value Message
2021-04-02 20:48:55 Håvard Eidnes bug added bug
2021-04-02 21:00:37 Håvard Eidnes tags ppc
2021-04-02 21:01:48 Håvard Eidnes description Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The stack backtrace from the core file is Program terminated with signal SIGABRT, Aborted. #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078859a3671ca in abort () from /usr/lib/libc.so.12 #2 0x000078859a2a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000015a3c19c0 in memory_region_finalize () #4 0x000000015a3fef1c in object_unref () #5 0x000000015a3feee6 in object_unref () #6 0x000000015a374154 in address_space_unmap () #7 0x000000015a276551 in pmac_ide_atapi_transfer_cb () #8 0x000000015a150a59 in dma_blk_cb () #9 0x000000015a46a1c7 in blk_aio_complete () #10 0x000000015a5a617d in coroutine_trampoline () #11 0x000078859a264150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7884894ff000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \ -M mac99,via=pmu \ -m $MEM \ -nographic \ -drive id=hda,format=raw,file=disk.img \ -L pc-bios \ -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \ -net nic,model=rtl8139,netdev=net0 \ -boot d \ -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The stack backtrace from the core file is Program terminated with signal SIGABRT, Aborted. #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078859a3671ca in abort () from /usr/lib/libc.so.12 #2 0x000078859a2a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000015a3c19c0 in memory_region_finalize () #4 0x000000015a3fef1c in object_unref () #5 0x000000015a3feee6 in object_unref () #6 0x000000015a374154 in address_space_unmap () #7 0x000000015a276551 in pmac_ide_atapi_transfer_cb () #8 0x000000015a150a59 in dma_blk_cb () #9 0x000000015a46a1c7 in blk_aio_complete () #10 0x000000015a5a617d in coroutine_trampoline () #11 0x000078859a264150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7884894ff000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \         -M mac99,via=pmu \         -m $MEM \         -nographic \         -drive id=hda,format=raw,file=disk.img \         -L pc-bios \         -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \         -net nic,model=rtl8139,netdev=net0 \         -boot d \         -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard
2021-04-02 21:05:06 Håvard Eidnes description Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The stack backtrace from the core file is Program terminated with signal SIGABRT, Aborted. #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078859a3671ca in abort () from /usr/lib/libc.so.12 #2 0x000078859a2a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000015a3c19c0 in memory_region_finalize () #4 0x000000015a3fef1c in object_unref () #5 0x000000015a3feee6 in object_unref () #6 0x000000015a374154 in address_space_unmap () #7 0x000000015a276551 in pmac_ide_atapi_transfer_cb () #8 0x000000015a150a59 in dma_blk_cb () #9 0x000000015a46a1c7 in blk_aio_complete () #10 0x000000015a5a617d in coroutine_trampoline () #11 0x000078859a264150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7884894ff000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \         -M mac99,via=pmu \         -m $MEM \         -nographic \         -drive id=hda,format=raw,file=disk.img \         -L pc-bios \         -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \         -net nic,model=rtl8139,netdev=net0 \         -boot d \         -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The asert message from qemu is assertion "!mr->container" failed: file "../softmmu/memory.c", line 1739, function "memory_region_finalize" The stack backtrace from the core file is Program terminated with signal SIGABRT, Aborted. #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078859a3671ca in abort () from /usr/lib/libc.so.12 #2 0x000078859a2a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000015a3c19c0 in memory_region_finalize () #4 0x000000015a3fef1c in object_unref () #5 0x000000015a3feee6 in object_unref () #6 0x000000015a374154 in address_space_unmap () #7 0x000000015a276551 in pmac_ide_atapi_transfer_cb () #8 0x000000015a150a59 in dma_blk_cb () #9 0x000000015a46a1c7 in blk_aio_complete () #10 0x000000015a5a617d in coroutine_trampoline () #11 0x000078859a264150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7884894ff000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \         -M mac99,via=pmu \         -m $MEM \         -nographic \         -drive id=hda,format=raw,file=disk.img \         -L pc-bios \         -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \         -net nic,model=rtl8139,netdev=net0 \         -boot d \         -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard
2021-04-02 21:59:30 Håvard Eidnes description Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The asert message from qemu is assertion "!mr->container" failed: file "../softmmu/memory.c", line 1739, function "memory_region_finalize" The stack backtrace from the core file is Program terminated with signal SIGABRT, Aborted. #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x000078859a36791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078859a3671ca in abort () from /usr/lib/libc.so.12 #2 0x000078859a2a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000015a3c19c0 in memory_region_finalize () #4 0x000000015a3fef1c in object_unref () #5 0x000000015a3feee6 in object_unref () #6 0x000000015a374154 in address_space_unmap () #7 0x000000015a276551 in pmac_ide_atapi_transfer_cb () #8 0x000000015a150a59 in dma_blk_cb () #9 0x000000015a46a1c7 in blk_aio_complete () #10 0x000000015a5a617d in coroutine_trampoline () #11 0x000078859a264150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7884894ff000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \         -M mac99,via=pmu \         -m $MEM \         -nographic \         -drive id=hda,format=raw,file=disk.img \         -L pc-bios \         -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \         -net nic,model=rtl8139,netdev=net0 \         -boot d \         -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard Hi, I'm trying to run the NetBSD/macppc 8.2 installer (which is 32-bit ppc) in qemu-system-ppc version 5.2.0, and I'm hitting this assertion failure quite a bit into the "unpacking sets" part of the installation procedure, unpacking from the install iso image. Qemu is run on a NetBSD/amd64 9.1 host system. The asert message from qemu is assertion "!mr->container" failed: file "../softmmu/memory.c", line 1739, function "memory_region_finalize" The stack backtrace from the core file (when built with debug symbols) is Core was generated by `qemu-system-ppc'. Program terminated with signal SIGABRT, Aborted. #0 0x00007a8f2596791a in _lwp_kill () from /usr/lib/libc.so.12 [Current thread is 1 (process 1)] (gdb) where #0 0x00007a8f2596791a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x00007a8f259671ca in abort () from /usr/lib/libc.so.12 #2 0x00007a8f258a8507 in __assert13 () from /usr/lib/libc.so.12 #3 0x000000003e79d8a0 in memory_region_finalize (obj=<optimized out>) at ../softmmu/memory.c:1739 #4 0x000000003e87aacc in object_deinit (type=0x7a8f2c280780, obj=<optimized out>) at ../qom/object.c:671 #5 object_finalize (data=0x7a8f2b62baa0) at ../qom/object.c:685 #6 object_unref (objptr=0x7a8f2b62baa0) at ../qom/object.c:1183 #7 0x000000003e87aa96 in object_property_del_all (obj=0x7a8f2b629000) at ../qom/object.c:623 #8 object_finalize (data=0x7a8f2b629000) at ../qom/object.c:684 #9 object_unref (objptr=0x7a8f2b629000) at ../qom/object.c:1183 #10 0x000000003e79ab6b in memory_region_unref (mr=<optimized out>) at ../softmmu/memory.c:1787 #11 0x000000003e7d8eb4 in address_space_unmap ( as=as@entry=0x3f4731a0 <address_space_memory>, buffer=<optimized out>, len=<optimized out>, is_write=<optimized out>, access_len=<optimized out>) at ../softmmu/physmem.c:3222 #12 0x000000003e66389a in dma_memory_unmap (access_len=<optimized out>, dir=<optimized out>, len=<optimized out>, buffer=<optimized out>, as=<optimized out>) at /usr/pkgsrc/emulators/qemu/work/qemu-5.2.0/include/sysemu/dma.h:145 #13 pmac_ide_atapi_transfer_cb (opaque=0x7a8f2ab4aef0, ret=<optimized out>) at ../hw/ide/macio.c:122 #14 0x000000003e5b22a0 in dma_complete (ret=0, dbs=0x7a8f2bb4d380) at ../softmmu/dma-helpers.c:120 #15 dma_blk_cb (opaque=0x7a8f2bb4d380, ret=0) at ../softmmu/dma-helpers.c:138 #16 0x000000003e864ef7 in blk_aio_complete (acb=0x7a8f2af2be90) at ../block/block-backend.c:1412 #17 0x000000003e9a9be1 in coroutine_trampoline (i0=<optimized out>, i1=<optimized out>) at ../util/coroutine-ucontext.c:173 #18 0x00007a8f25864150 in ?? () from /usr/lib/libc.so.12 Backtrace stopped: Cannot access memory at address 0x7a8e137ec000 (gdb) I start qemu with this small script: --- #!/bin/sh MEM=3g qemu-system-ppc \         -M mac99,via=pmu \         -m $MEM \         -nographic \         -drive id=hda,format=raw,file=disk.img \         -L pc-bios \         -netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \         -net nic,model=rtl8139,netdev=net0 \         -boot d \         -cdrom NetBSD-8.2-macppc.iso --- and boot the install kernel with "boot cd:ofwboot.xcf". If someone wants to replicate this I can provide more detailed instructions to repeat the procedure I used to start the install. Any hints about what more to look for? Regards, - Håvard
2021-04-05 19:38:02 Håvard Eidnes qemu: status New Invalid
2021-04-06 07:39:10 Philippe Mathieu-Daudé qemu: status Invalid Confirmed
2021-04-06 07:39:26 Philippe Mathieu-Daudé bug added subscriber Mark Cave-Ayland
2021-05-15 10:26:00 Thomas Huth qemu: status Confirmed Fix Released