diff for duplicates of <b3211b93-62de-c36b-45ca-33da02a15736@amsat.org>
diff --git a/a/1.txt b/N1/1.txt
index ea2a141..55ff2fa 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -41,4 +41,105 @@ is likely in TYPE_MACIO_IDE (I haven't tried Håvard's full reproducer).
Regards,
-Phil.
\ No newline at end of file
+Phil.
+
+--
+You received this bug notification because you are a member of qemu-
+devel-ml, which is subscribed to QEMU.
+https://bugs.launchpad.net/bugs/1922391
+
+Title:
+ qemu-system-ppc assertion "!mr->container" failed
+
+Status in QEMU:
+ Confirmed
+
+Bug 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 (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
+
+To manage notifications about this bug go to:
+https://bugs.launchpad.net/qemu/+bug/1922391/+subscriptions
\ No newline at end of file
diff --git a/a/content_digest b/N1/content_digest
index 143e664..428d7e5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,29 +1,17 @@
[
- "ref\00020210406084842.2859664-1-f4bug\@amsat.org\0"
+ "ref\000161739653585.29688.16825149829487531908.malonedeb\@gac.canonical.com\0"
]
[
- "ref\00097ed2955-e177-1ee5-cc68-052d7dd30b24\@ilande.co.uk\0"
+ "From\0Philippe Mathieu-Daud\303\251 <1922391\@bugs.launchpad.net>\0"
]
[
- "From\0Philippe Mathieu-Daud\303\251 <f4bug\@amsat.org>\0"
+ "Subject\0[Bug 1922391] Re: [PATCH-for-6.0] hw/ppc/mac_newworld: Restrict RAM to 2 GiB\0"
]
[
- "Subject\0Re: [PATCH-for-6.0] hw/ppc/mac_newworld: Restrict RAM to 2 GiB\0"
+ "Date\0Wed, 07 Apr 2021 13:44:35 -0000\0"
]
[
- "Date\0Wed, 7 Apr 2021 15:44:35 +0200\0"
-]
-[
- "To\0Mark Cave-Ayland <mark.cave-ayland\@ilande.co.uk>",
- " qemu-devel\@nongnu.org\0"
-]
-[
- "Cc\0Greg Kurz <groug\@kaod.org>",
- " qemu-ppc\@nongnu.org",
- " 1922391\@bugs.launchpad.net",
- " Igor Mammedov <imammedo\@redhat.com>",
- " H\303\245vard Eidnes <he\@netbsd.org>",
- " David Gibson <david\@gibson.dropbear.id.au>\0"
+ "To\0qemu-devel\@nongnu.org\0"
]
[
"\0000:1\0"
@@ -75,7 +63,108 @@
"\n",
"Regards,\n",
"\n",
- "Phil."
+ "Phil.\n",
+ "\n",
+ "-- \n",
+ "You received this bug notification because you are a member of qemu-\n",
+ "devel-ml, which is subscribed to QEMU.\n",
+ "https://bugs.launchpad.net/bugs/1922391\n",
+ "\n",
+ "Title:\n",
+ " qemu-system-ppc assertion \"!mr->container\" failed\n",
+ "\n",
+ "Status in QEMU:\n",
+ " Confirmed\n",
+ "\n",
+ "Bug description:\n",
+ " Hi,\n",
+ "\n",
+ " 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\n",
+ " quite a bit into the \"unpacking sets\" part of the installation procedure,\n",
+ " unpacking from the install iso image.\n",
+ "\n",
+ " Qemu is run on a NetBSD/amd64 9.1 host system.\n",
+ "\n",
+ " The asert message from qemu is\n",
+ "\n",
+ " assertion \"!mr->container\" failed: file \"../softmmu/memory.c\", line\n",
+ " 1739, function \"memory_region_finalize\"\n",
+ "\n",
+ " The stack backtrace from the core file (when built with debug symbols)\n",
+ " is\n",
+ "\n",
+ " Core was generated by `qemu-system-ppc'.\n",
+ " Program terminated with signal SIGABRT, Aborted.\n",
+ " #0 0x00007a8f2596791a in _lwp_kill () from /usr/lib/libc.so.12\n",
+ " [Current thread is 1 (process 1)]\n",
+ " (gdb) where\n",
+ " #0 0x00007a8f2596791a in _lwp_kill () from /usr/lib/libc.so.12\n",
+ " #1 0x00007a8f259671ca in abort () from /usr/lib/libc.so.12\n",
+ " #2 0x00007a8f258a8507 in __assert13 () from /usr/lib/libc.so.12\n",
+ " #3 0x000000003e79d8a0 in memory_region_finalize (obj=<optimized out>)\n",
+ " at ../softmmu/memory.c:1739\n",
+ " #4 0x000000003e87aacc in object_deinit (type=0x7a8f2c280780, \n",
+ " obj=<optimized out>) at ../qom/object.c:671\n",
+ " #5 object_finalize (data=0x7a8f2b62baa0) at ../qom/object.c:685\n",
+ " #6 object_unref (objptr=0x7a8f2b62baa0) at ../qom/object.c:1183\n",
+ " #7 0x000000003e87aa96 in object_property_del_all (obj=0x7a8f2b629000)\n",
+ " at ../qom/object.c:623\n",
+ " #8 object_finalize (data=0x7a8f2b629000) at ../qom/object.c:684\n",
+ " #9 object_unref (objptr=0x7a8f2b629000) at ../qom/object.c:1183\n",
+ " #10 0x000000003e79ab6b in memory_region_unref (mr=<optimized out>)\n",
+ " at ../softmmu/memory.c:1787\n",
+ " #11 0x000000003e7d8eb4 in address_space_unmap (\n",
+ " as=as\@entry=0x3f4731a0 <address_space_memory>, buffer=<optimized out>, \n",
+ " len=<optimized out>, is_write=<optimized out>, access_len=<optimized out>)\n",
+ " at ../softmmu/physmem.c:3222\n",
+ " #12 0x000000003e66389a in dma_memory_unmap (access_len=<optimized out>, \n",
+ " dir=<optimized out>, len=<optimized out>, buffer=<optimized out>, \n",
+ " as=<optimized out>)\n",
+ " at /usr/pkgsrc/emulators/qemu/work/qemu-5.2.0/include/sysemu/dma.h:145\n",
+ " #13 pmac_ide_atapi_transfer_cb (opaque=0x7a8f2ab4aef0, ret=<optimized out>)\n",
+ " at ../hw/ide/macio.c:122\n",
+ " #14 0x000000003e5b22a0 in dma_complete (ret=0, dbs=0x7a8f2bb4d380)\n",
+ " at ../softmmu/dma-helpers.c:120\n",
+ " #15 dma_blk_cb (opaque=0x7a8f2bb4d380, ret=0) at ../softmmu/dma-helpers.c:138\n",
+ " #16 0x000000003e864ef7 in blk_aio_complete (acb=0x7a8f2af2be90)\n",
+ " at ../block/block-backend.c:1412\n",
+ " #17 0x000000003e9a9be1 in coroutine_trampoline (i0=<optimized out>, \n",
+ " i1=<optimized out>) at ../util/coroutine-ucontext.c:173\n",
+ " #18 0x00007a8f25864150 in ?? () from /usr/lib/libc.so.12\n",
+ " Backtrace stopped: Cannot access memory at address 0x7a8e137ec000\n",
+ " (gdb) \n",
+ "\n",
+ " \n",
+ " I start qemu with this small script:\n",
+ "\n",
+ " ---\n",
+ " #!/bin/sh\n",
+ "\n",
+ " MEM=3g\n",
+ " qemu-system-ppc \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-M mac99,via=pmu \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-m \$MEM \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-nographic \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-drive id=hda,format=raw,file=disk.img \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-L pc-bios \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-netdev user,id=net0,hostfwd=tcp::2223-:22,ipv6=off \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-net nic,model=rtl8139,netdev=net0 \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-boot d \\\n",
+ " \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240-cdrom NetBSD-8.2-macppc.iso\n",
+ " ---\n",
+ "\n",
+ " and boot the install kernel with \"boot cd:ofwboot.xcf\". If someone wants\n",
+ " to replicate this I can provide more detailed instructions to repeat the\n",
+ " procedure I used to start the install.\n",
+ "\n",
+ " Any hints about what more to look for?\n",
+ "\n",
+ " Regards,\n",
+ "\n",
+ " - H\303\245vard\n",
+ "\n",
+ "To manage notifications about this bug go to:\n",
+ "https://bugs.launchpad.net/qemu/+bug/1922391/+subscriptions"
]
-e199ea7715d7984ddb1ae048c306196c64b6463eda6389f0a05b304d105db5b2
+c0b983962cb5cb873ff6c15a79aa1e56b5749ed6b53ec2ead80f91c720ab1a81
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).