* [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed
@ 2011-04-13 17:58 Nigel Horne
2011-04-14 8:48 ` Stefan Hajnoczi
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Nigel Horne @ 2011-04-13 17:58 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the OpenSolaris
image from http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-
sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/760060
Title:
Open Solaris 2009 Assertion `size' failed
Status in QEMU:
New
Bug description:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the
OpenSolaris image from
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
@ 2011-04-14 8:48 ` Stefan Hajnoczi
2011-04-14 17:24 ` [Qemu-devel] [Bug 760060] " Stefan Weil
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2011-04-14 8:48 UTC (permalink / raw)
To: Bug 760060; +Cc: qemu-devel
On Wed, Apr 13, 2011 at 6:58 PM, Nigel Horne <760060@bugs.launchpad.net> wrote:
> qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
> cpu_register_physical_memory_offset: Assertion `size' failed.
I you ./configure with --disable-strip and run under GDB using "gdb
--args <command-line here>" then you can get a backtrace. Just enter
the GDB "r" command to run QEMU and then the "bt" command to get a
backtrace once the assertion has triggered.
The backtrace will show which device is registering a zero-size memory
region. It will be easy to fix this once we have a backtrace.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [Bug 760060] Re: Open Solaris 2009 Assertion `size' failed
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
2011-04-14 8:48 ` Stefan Hajnoczi
@ 2011-04-14 17:24 ` Stefan Weil
2011-04-14 17:38 ` Nigel Horne
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stefan Weil @ 2011-04-14 17:24 UTC (permalink / raw)
To: qemu-devel
The bug was caused by memory size (256 MiB) == maximum memory size supported by emulated hardware,
so the gap between both values (the empty slot) was 0 byte large.
qemu-system-sparc -m 256 (and code with assertions enabled) is enough to
reproduce it.
The bug is fixed with patch http://patchwork.ozlabs.org/patch/91268/.
** Changed in: qemu
Status: New => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/760060
Title:
Open Solaris 2009 Assertion `size' failed
Status in QEMU:
Fix Committed
Bug description:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the
OpenSolaris image from
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [Bug 760060] Re: Open Solaris 2009 Assertion `size' failed
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
2011-04-14 8:48 ` Stefan Hajnoczi
2011-04-14 17:24 ` [Qemu-devel] [Bug 760060] " Stefan Weil
@ 2011-04-14 17:38 ` Nigel Horne
2011-04-14 17:45 ` Nigel Horne
2011-11-04 17:27 ` Stefan Weil
4 siblings, 0 replies; 6+ messages in thread
From: Nigel Horne @ 2011-04-14 17:38 UTC (permalink / raw)
To: qemu-devel
Thanks Stefan, I appreciate it. I will try your suggestion - in the
meantime here is the stack trace if it helps you to confirm.
(gdb) r
Starting program: /usr/local/bin/qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -k en-us -m 256
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff10f9700 (LWP 24099)]
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614: cpu_register_physical_memory_offset: Assertion `size' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff5f5d165 in raise (sig=<value optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0 0x00007ffff5f5d165 in raise (sig=<value optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff5f5ff70 in abort () at abort.c:92
#2 0x00007ffff5f562b1 in __assert_fail (assertion=0x4f16af "size",
file=<value optimized out>, line=2614,
function=0x562ae0 "cpu_register_physical_memory_offset") at assert.c:81
#3 0x00000000004a40fe in cpu_register_physical_memory_offset (
start_addr=268435456, size=0, phys_offset=48, region_offset=0)
at /home/njh/src/qemu/exec.c:2614
#4 0x00000000004eb886 in sun4m_hw_init (hwdef=0x56ffc0, RAM_size=268435456,
boot_device=0x7fffffffde90 "d", kernel_filename=0x0,
kernel_cmdline=0x4f15f2 "", initrd_filename=0x0,
cpu_model=<value optimized out>) at /home/njh/src/qemu/hw/sun4m.c:836
#5 0x00000000004ebcb1 in ss5_init (RAM_size=<value optimized out>,
boot_device=<value optimized out>, kernel_filename=<value optimized out>,
kernel_cmdline=<value optimized out>,
initrd_filename=<value optimized out>, cpu_model=<value optimized out>)
at /home/njh/src/qemu/hw/sun4m.c:1260
#6 0x00000000004d96ba in main (argc=<value optimized out>,
argv=<value optimized out>, envp=<value optimized out>)
at /home/njh/src/qemu/vl.c:3059
(gdb)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/760060
Title:
Open Solaris 2009 Assertion `size' failed
Status in QEMU:
Fix Committed
Bug description:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the
OpenSolaris image from
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [Bug 760060] Re: Open Solaris 2009 Assertion `size' failed
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
` (2 preceding siblings ...)
2011-04-14 17:38 ` Nigel Horne
@ 2011-04-14 17:45 ` Nigel Horne
2011-11-04 17:27 ` Stefan Weil
4 siblings, 0 replies; 6+ messages in thread
From: Nigel Horne @ 2011-04-14 17:45 UTC (permalink / raw)
To: qemu-devel
It still doesn't boot, but that's something different - I will log that
as a separate bug.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/760060
Title:
Open Solaris 2009 Assertion `size' failed
Status in QEMU:
Fix Committed
Bug description:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the
OpenSolaris image from
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [Bug 760060] Re: Open Solaris 2009 Assertion `size' failed
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
` (3 preceding siblings ...)
2011-04-14 17:45 ` Nigel Horne
@ 2011-11-04 17:27 ` Stefan Weil
4 siblings, 0 replies; 6+ messages in thread
From: Stefan Weil @ 2011-11-04 17:27 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Assignee: (unassigned) => Stefan Weil (ubuntu-weilnetz)
** Changed in: qemu
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/760060
Title:
Open Solaris 2009 Assertion `size' failed
Status in QEMU:
Fix Released
Bug description:
The latest git version of qemu (commit
9df38c47d01eb1fd7eb9d60ac70a4170e638b4a2) fails to boot the
OpenSolaris image from
http://dlc.sun.com/osol/opensolaris/2009/06/osol-0906-ai-sparc.iso.
qemu-img create opensolaris 3G
qemu-system-sparc -hda opensolaris -cdrom osol-0906-ai-sparc.iso -boot d -redir tcp:2232::22 -k en-us -m 256
gives:
qemu-system-sparc: /home/njh/src/qemu/exec.c:2614:
cpu_register_physical_memory_offset: Assertion `size' failed.
Host: Linux/x86_64
gcc4.5
./configure --enable-linux-aio --enable-io-thread --enable-kvm
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/760060/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-04 17:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 17:58 [Qemu-devel] [Bug 760060] [NEW] Open Solaris 2009 Assertion `size' failed Nigel Horne
2011-04-14 8:48 ` Stefan Hajnoczi
2011-04-14 17:24 ` [Qemu-devel] [Bug 760060] " Stefan Weil
2011-04-14 17:38 ` Nigel Horne
2011-04-14 17:45 ` Nigel Horne
2011-11-04 17:27 ` Stefan Weil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.