qemu-system-ppc assertion "!mr->container" failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
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/
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_
at ../softmmu/
#4 0x000000003e87aacc in object_deinit (type=0x7a8f2c2
obj=<optimized out>) at ../qom/object.c:671
#5 object_finalize (data=0x7a8f2b6
#6 object_unref (objptr=
#7 0x000000003e87aa96 in object_
at ../qom/object.c:623
#8 object_finalize (data=0x7a8f2b6
#9 object_unref (objptr=
#10 0x000000003e79ab6b in memory_region_unref (mr=<optimized out>)
at ../softmmu/
#11 0x000000003e7d8eb4 in address_space_unmap (
as=
len=<optimized out>, is_write=<optimized out>, access_
at ../softmmu/
#12 0x000000003e66389a in dma_memory_unmap (access_
dir=<optimized out>, len=<optimized out>, buffer=<optimized out>,
as=<optimized out>)
at /usr/pkgsrc/
#13 pmac_ide_
at ../hw/ide/
#14 0x000000003e5b22a0 in dma_complete (ret=0, dbs=0x7a8f2bb4d380)
at ../softmmu/
#15 dma_blk_cb (opaque=
#16 0x000000003e864ef7 in blk_aio_complete (acb=0x7a8f2af2
at ../block/
#17 0x000000003e9a9be1 in coroutine_
i1=<optimized out>) at ../util/
#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,
-L pc-bios \
-netdev user,id=
-net nic,model=
-boot d \
-cdrom NetBSD-
---
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
tags: | added: ppc |
description: | updated |
description: | updated |
description: | updated |
Hmm,
it seems I need to retract this bug. It turns out that the 32-bit macppc port
of NetBSD only supports a maximum of 2GB of memory. As a NetBSD developer said it:
> The physical memory map on G4 Macs doesn't have room for more than 2G of RAM.
So, I've set the status of this bug report to "Invalid", as that seemed to be the
best fit.
Regards,
- Håvard