All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
@ 2010-11-06 13:24 Nigel Horne
  2010-11-06 20:28 ` Stefan Hajnoczi
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Nigel Horne @ 2010-11-06 13:24 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74)
crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai,
I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
@ 2010-11-06 20:28 ` Stefan Hajnoczi
  2010-11-08 10:42   ` Stefan Hajnoczi
  2010-11-10 14:51 ` [Qemu-devel] [Bug 671831] " Nigel Horne
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-06 20:28 UTC (permalink / raw)
  To: Kevin Wolf; +Cc: qemu-devel, Bug 671831

On Sat, Nov 6, 2010 at 1:24 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> Public bug reported:
>
> The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74)
> crashes with an assert error when booting a Sparc/Linux guest.
[...]
> Output:
>
> Adding Swap: 122532k swap-space (priority -1)
> .
> Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
> [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2
> qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.

Kevin,
The assert I suggested in your recent scsi-disk patch series has
triggered.  I need to study the scsi-disk.c code more to understand
how to solve this.

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-06 20:28 ` Stefan Hajnoczi
@ 2010-11-08 10:42   ` Stefan Hajnoczi
  2010-11-08 14:00     ` Nigel Horne
                       ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-08 10:42 UTC (permalink / raw)
  To: Bug 671831; +Cc: Kevin Wolf, qemu-devel

Hi Nigel,
Is there a disk image available to reproduce this bug?  I searched for
Debian SPARC 2.4-based disk images but wasn't able to find one.

If it's not easy to share your disk image, could you please test this
QEMU tree which backports the assert:

http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert

You can grab the code like this:
git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git

If the assert triggers in that world then data corruption was
previously possible but hidden (a SCSI request has a one data buffer
and concurrent reads are being issued to the same buffer!).  This
would mean an existing bug that needs to be fixed has been exposed.

If the assert doesn't trigger, then the issue was introduced recently
and we can dig more into that.

Thanks!
Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 10:42   ` Stefan Hajnoczi
@ 2010-11-08 14:00     ` Nigel Horne
  2010-11-08 14:04     ` Nigel Horne
  2010-11-09  0:56     ` Nigel Horne
  2 siblings, 0 replies; 25+ messages in thread
From: Nigel Horne @ 2010-11-08 14:00 UTC (permalink / raw)
  To: qemu-devel

On 11/08/2010 05:42 AM, Stefan Hajnoczi wrote:
> Hi Nigel,
> Is there a disk image available to reproduce this bug?  I searched for
> Debian SPARC 2.4-based disk images but wasn't able to find one.
>    
I got the image http://wiki.qemu.org/Download.  It was sometime ago and 
it may no longer be there - the image on that site now mentions Sparc 
2.6, I guess 2.4 has been removed.

I have no means for you to take a copy of my image.  Sorry.
> If it's not easy to share your disk image, could you please test this
> QEMU tree which backports the assert:
>
> http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert
>    

Will do - thanks for making it available.  It may take me a bit of time 
to get around to it, but I will do so as soon as I can.
> You can grab the code like this:
> git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git
>    

-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 10:42   ` Stefan Hajnoczi
  2010-11-08 14:00     ` Nigel Horne
@ 2010-11-08 14:04     ` Nigel Horne
  2010-11-08 14:30       ` Stefan Hajnoczi
  2010-11-09  0:56     ` Nigel Horne
  2 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-08 14:04 UTC (permalink / raw)
  To: qemu-devel

Stefan,
> If it's not easy to share your disk image, could you please test this
> QEMU tree which backports the assert:
>
> http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert
>
> You can grab the code like this:
> git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git
>
>    
That retrieves a directory called scsi_assert which is empty.  Are you 
expecting that?  Should I therefore use the directory in there called 
stehana?

Regards,

-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 14:04     ` Nigel Horne
@ 2010-11-08 14:30       ` Stefan Hajnoczi
  2010-11-08 14:36         ` Stefan Hajnoczi
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-08 14:30 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Mon, Nov 8, 2010 at 2:04 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
>> You can grab the code like this:
>> git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git
>>
>>
> That retrieves a directory called scsi_assert which is empty.  Are you
> expecting that?  Should I therefore use the directory in there called
> stehana?

Yes, 'stefanha' is the source tree directory.

When I do that git clones to a directory called 'stefanha', which
contains the QEMU source tree from the scsi_assert branch.  But you
can also use following alternative if your git version does not
support -b <branch-name>:

git clone git://repo.or.cz/qemu/stefanha.git
cd stefanha
git checkout origin/scsi_assert

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 14:30       ` Stefan Hajnoczi
@ 2010-11-08 14:36         ` Stefan Hajnoczi
  2010-11-08 19:39           ` Blue Swirl
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-08 14:36 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

I just gave the SPARC Linux 2.6 image from qemu.org a spin on sun4m but no luck:

sparc-softmmu/qemu-system-sparc -kernel
'/tmp/sparc-test/vmlinux-2.6.11+tcx' -initrd
'/tmp/sparc-test/linux.img' -append "root=/dev/ram" -drive
if=scsi,file=test.raw,cache=none

The kernel correctly notices the sda device and detects partitions (so
it is doing disk reads).  There is no assertion error so this problem
may be specific to the Linux 2.4 ESP driver.

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 14:36         ` Stefan Hajnoczi
@ 2010-11-08 19:39           ` Blue Swirl
  0 siblings, 0 replies; 25+ messages in thread
From: Blue Swirl @ 2010-11-08 19:39 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel, Bug 671831

On Mon, Nov 8, 2010 at 2:36 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> I just gave the SPARC Linux 2.6 image from qemu.org a spin on sun4m but no luck:
>
> sparc-softmmu/qemu-system-sparc -kernel
> '/tmp/sparc-test/vmlinux-2.6.11+tcx' -initrd
> '/tmp/sparc-test/linux.img' -append "root=/dev/ram" -drive
> if=scsi,file=test.raw,cache=none
>
> The kernel correctly notices the sda device and detects partitions (so
> it is doing disk reads).  There is no assertion error so this problem
> may be specific to the Linux 2.4 ESP driver.

At least Gentoo 2004.1 (Linux 2.4.25-sparc-r1) live CD works.

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-08 10:42   ` Stefan Hajnoczi
  2010-11-08 14:00     ` Nigel Horne
  2010-11-08 14:04     ` Nigel Horne
@ 2010-11-09  0:56     ` Nigel Horne
  2010-11-09  9:23       ` Stefan Hajnoczi
  2 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-09  0:56 UTC (permalink / raw)
  To: qemu-devel

Stefan,
> You can grab the code like this:
> git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git
>
> If the assert triggers in that world then data corruption was
> previously possible but hidden (a SCSI request has a one data buffer
> and concurrent reads are being issued to the same buffer!).  This
> would mean an existing bug that needs to be fixed has been exposed
>    

> If the assert doesn't trigger, then the issue was introduced recently
> and we can dig more into that.
>    

I built your tree - it does not trigger the assertion.  Linux/sparc/2.4 
boots and seems to run fine.

Thanks for your help.

-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-09  0:56     ` Nigel Horne
@ 2010-11-09  9:23       ` Stefan Hajnoczi
  2010-11-09 13:28         ` Nigel Horne
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-09  9:23 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Tue, Nov 9, 2010 at 12:56 AM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> Stefan,
>> You can grab the code like this:
>> git clone -b scsi_assert git://repo.or.cz/qemu/stefanha.git
>>
>> If the assert triggers in that world then data corruption was
>> previously possible but hidden (a SCSI request has a one data buffer
>> and concurrent reads are being issued to the same buffer!).  This
>> would mean an existing bug that needs to be fixed has been exposed
>>
>
>> If the assert doesn't trigger, then the issue was introduced recently
>> and we can dig more into that.
>>
>
> I built your tree - it does not trigger the assertion.  Linux/sparc/2.4
> boots and seems to run fine.

Thanks for testing.  This narrows down the problem to just a few commits.

Would it be possible to share your the kernel image (vmlinuz) and
initrd file?  That's all we need to reproduce the bug.

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-09  9:23       ` Stefan Hajnoczi
@ 2010-11-09 13:28         ` Nigel Horne
  2010-11-09 14:14           ` Stefan Hajnoczi
  0 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-09 13:28 UTC (permalink / raw)
  To: qemu-devel

Stefan,
> Would it be possible to share your the kernel image (vmlinuz) and
> initrd file?  That's all we need to reproduce the bug.
>    

Sure - how do I create them from the Image file I have?  (I don't use an 
external kernel image and initrd file to boot)
> Stefan
>
>    
-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-09 13:28         ` Nigel Horne
@ 2010-11-09 14:14           ` Stefan Hajnoczi
  2010-11-09 17:07             ` Nigel Horne
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-09 14:14 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Tue, Nov 9, 2010 at 1:28 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> Stefan,
>> Would it be possible to share your the kernel image (vmlinuz) and
>> initrd file?  That's all we need to reproduce the bug.
>>
>
> Sure - how do I create them from the Image file I have?  (I don't use an
> external kernel image and initrd file to boot)

$ /sbin/fdisk -lu ~njh/qemu/sparc/debian.img
...hopefully this displays the slices/partitions...
                       Device Boot      Start         End      Blocks
 Id  System
test.raw1   *        2048     1026047      512000   83  Linux

$ mount -o loop,offset=$((2048 * 512)) /mnt
(The offset is calculated by taking the start block number from fdisk
and multiplying it by 512 bytes)

$ ls /mnt/boot
...there should be a vmlinuz and initrd, you could check the silo.conf
or other boot configuration if you don't know the exact kernel/initrd
filenames.

$ cp /mnt/boot/{vmlinuz,initrd} /tmp
$ umount /mnt

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-09 14:14           ` Stefan Hajnoczi
@ 2010-11-09 17:07             ` Nigel Horne
  2010-11-10  9:42               ` Stefan Hajnoczi
  0 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-09 17:07 UTC (permalink / raw)
  To: qemu-devel

Stefan,
> $ /sbin/fdisk -lu ~njh/qemu/sparc/debian.img
> ...hopefully this displays the slices/partitions...
>                         Device Boot      Start         End      Blocks
>   Id  System
> test.raw1   *        2048     1026047      512000   83  Linux
>
> $ mount -o loop,offset=$((2048 * 512)) /mnt
> (The offset is calculated by taking the start block number from fdisk
> and multiplying it by 512 bytes)
>
> $ ls /mnt/boot
> ...there should be a vmlinuz and initrd, you could check the silo.conf
> or other boot configuration if you don't know the exact kernel/initrd
> filenames.
>
> $ cp /mnt/boot/{vmlinuz,initrd} /tmp
> $ umount /mnt
>    

Sadly that doesn't work:

njh@compaq:~/qemu/sparc$ /sbin/fdisk -lu debian.img

Disk debian.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk debian.img doesn't contain a valid partition table

But, it has occurred to me, - I boot using your code and get 
/boot/vmlinuz and /boot/initrd.img that way.  Would that be OK?

> Stefan
>
>    
-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-09 17:07             ` Nigel Horne
@ 2010-11-10  9:42               ` Stefan Hajnoczi
  2010-11-10 14:56                 ` Nigel Horne
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-10  9:42 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Tue, Nov 9, 2010 at 5:07 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> Stefan,
>> $ /sbin/fdisk -lu ~njh/qemu/sparc/debian.img
>> ...hopefully this displays the slices/partitions...
>>                         Device Boot      Start         End      Blocks
>>   Id  System
>> test.raw1   *        2048     1026047      512000   83  Linux
>>
>> $ mount -o loop,offset=$((2048 * 512)) /mnt
>> (The offset is calculated by taking the start block number from fdisk
>> and multiplying it by 512 bytes)
>>
>> $ ls /mnt/boot
>> ...there should be a vmlinuz and initrd, you could check the silo.conf
>> or other boot configuration if you don't know the exact kernel/initrd
>> filenames.
>>
>> $ cp /mnt/boot/{vmlinuz,initrd} /tmp
>> $ umount /mnt
>>
>
> Sadly that doesn't work:
>
> njh@compaq:~/qemu/sparc$ /sbin/fdisk -lu debian.img
>
> Disk debian.img: 0 MB, 0 bytes
> 255 heads, 63 sectors/track, 0 cylinders, total 0 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk debian.img doesn't contain a valid partition table

fdisk doesn't like the SPARC partition table.  I used to have tools to
deal with this but have forgotten which ones they were.

> But, it has occurred to me, - I boot using your code and get
> /boot/vmlinuz and /boot/initrd.img that way.  Would that be OK?

Sure :).

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
  2010-11-06 20:28 ` Stefan Hajnoczi
@ 2010-11-10 14:51 ` Nigel Horne
  2010-11-10 14:53 ` Nigel Horne
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 25+ messages in thread
From: Nigel Horne @ 2010-11-10 14:51 UTC (permalink / raw)
  To: qemu-devel

initrd

** Attachment added: "initrd"
   https://bugs.launchpad.net/qemu/+bug/671831/+attachment/1729095/+files/initrd.img

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
  2010-11-06 20:28 ` Stefan Hajnoczi
  2010-11-10 14:51 ` [Qemu-devel] [Bug 671831] " Nigel Horne
@ 2010-11-10 14:53 ` Nigel Horne
  2010-11-11 14:17   ` Stefan Hajnoczi
  2010-11-12  9:26 ` Stefan Hajnoczi
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-10 14:53 UTC (permalink / raw)
  To: qemu-devel

vmlinuz

** Attachment added: "vmlinuz"
   https://bugs.launchpad.net/qemu/+bug/671831/+attachment/1729096/+files/vmlinuz

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error
  2010-11-10  9:42               ` Stefan Hajnoczi
@ 2010-11-10 14:56                 ` Nigel Horne
  0 siblings, 0 replies; 25+ messages in thread
From: Nigel Horne @ 2010-11-10 14:56 UTC (permalink / raw)
  To: qemu-devel


>> But, it has occurred to me, - I boot using your code and get
>> /boot/vmlinuz and /boot/initrd.img that way.  Would that be OK?
>>      
Done.

-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-10 14:53 ` Nigel Horne
@ 2010-11-11 14:17   ` Stefan Hajnoczi
  2010-11-11 17:00     ` Nigel Horne
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-11 14:17 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

Thanks for providing the kernel and initrd.  Unfortunately I wasn't
able to get them far enough to trigger the assert.  More on that at
the bottom of this message but in the meantime I looked over the
relevant commits and spotted an issue with the assert.

Please try this branch:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert_moved

That branch contains a small code change that moves the assert later
into the read code because we're doing the assert too early.
Hopefully this fixes the issue for you.

Regarding the kernel and initrd, I'm unable to get it far enough to
fsck, which is where you hit
the assertion.  Either kernel parameters need to be set or the image depends on
a root filesystem (which I don't have).

$ sparc-softmmu/qemu-system-sparc -m 128 -hda test.raw -kernel
~/sparc-images/nigel/vmlinuz -initrd ~/sparc-images/nigel/initrd.img
-nographic

Configuration device id QEMU version 1 machine id 32
CPUs: 1 x FMI,MB86904
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Aug 26 2010 17:52
  Type 'help' for detailed information
[sparc] Kernel already loaded
switching to new context:
PROMLIB: obio_ranges 1
bootmem_init: Scan sp_banks,  init_bootmem(spfn[20b],bpfn[20b],mlpfn[7f18])
free_bootmem: base[0] size[7f18000]
reserve_bootmem: base[800000] size[244000]
reserve_bootmem: base[0] size[20b000]
reserve_bootmem: base[20b000] size[fe4]
Booting Linux...
mem_init: Calling free_all_bootmem().
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.27-4-sparc32 (pbuilder@sparc) (gcc version 3.3.5
(Debian 1:3.3.5-13)) #1 Tue Mar 4 08:22:06 UTC 2008
ARCH: SUN4M
TYPE: SPARCstation 5
Ethernet address: 52:54:0:12:34:56
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek (jj@ultra.linux.cz).
Patching kernel for srmmu[Fujitsu TurboSparc]/iommu
On node 0 totalpages: 31432
zone(0): 32536 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 <node=ffd73e14,mid=0>
Found 1 CPU prom device tree node(s).
Power off control detected.
Kernel command line:
Calibrating delay loop... 222.82 BogoMIPS
Memory: 122120k available (1436k kernel code, 220k data, 128k init, 0k
highmem) [f0000000,07f18000]
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
IOMMU: impl 0 vers 5 page table at f05c0000 of size 262144 bytes
sbus0: Clock 21.1250 MHz
dma0: Revision 2
dma1: Revision 2
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffeab004 (irq = 44) is a Zilog8530
tty01 at 0xffeab000 (irq = 44) is a Zilog8530
tty02 at 0xffeac004 (irq = 44) is a Zilog8530
tty03 at 0xffeac000 (irq = 44) is a Zilog8530
keyboard: not present
Console: ttyS0 (Zilog8530)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
ioremap: done with statics, switching to malloc
apc: power management initialized
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
reset set in interrupt, calling f00d3fb8
floppy0: no floppy controllers found
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 2320 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 2320k freed
VFS: Mounted root (cramfs filesystem).
mount[8]: Unimplemented SPARC system call 188
cat[9]: Unimplemented SPARC system call 188
mount[10]: Unimplemented SPARC system call 188
linuxrc[7]: Unimplemented SPARC system call 188
Freeing unused kernel memory: 128k freed
initrd-tools: 0.1.84.2
umount[11]: Unimplemented SPARC system call 188
cat[12]: Unimplemented SPARC system call 188
SCSI subsystem driver Revision: 1.00
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC=25000 CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP100A-FAST
  Vendor: QEMU      Model: QEMU HARDDISK     Rev: 0.13
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: QEMU      Model: QEMU CD-ROM       Rev: 0.13
  Type:   CD-ROM                             ANSI SCSI revision: 05
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 20971520 512-byte hdwr sectors (10737 MB)
Partition check:
 /dev/scsi/host0/bus0/target0/lun0: p1 p3
Journalled Block Device driver loaded
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!
 Press L1-A to return to the boot prom

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-11 14:17   ` Stefan Hajnoczi
@ 2010-11-11 17:00     ` Nigel Horne
  2010-11-11 21:19       ` Stefan Hajnoczi
  0 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-11 17:00 UTC (permalink / raw)
  To: qemu-devel

On 11/11/2010 09:17 AM, Stefan Hajnoczi wrote:
> Thanks for providing the kernel and initrd.  Unfortunately I wasn't
> able to get them far enough to trigger the assert.  More on that at
> the bottom of this message but in the meantime I looked over the
> relevant commits and spotted an issue with the assert.
>
> Please try this branch:
> http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert_moved
>    

I tried lots of different ways to get your code, but failed.  The one 
closest to the instructions that you gave me last time failed with this:

njh@compaq:~/tmp/foo2$ git clone -b scsi_assert_moved 
http://repo.or.cz/w/qemu/stefanha.git/
Cloning into stefanha...
warning: Remote branch scsi_assert_moved not found in upstream origin, 
using HEAD instead
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Regards,

-Nigel

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-11 17:00     ` Nigel Horne
@ 2010-11-11 21:19       ` Stefan Hajnoczi
  2010-11-11 22:45         ` Nigel Horne
  0 siblings, 1 reply; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-11 21:19 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Thu, Nov 11, 2010 at 5:00 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> On 11/11/2010 09:17 AM, Stefan Hajnoczi wrote:
>> Thanks for providing the kernel and initrd.  Unfortunately I wasn't
>> able to get them far enough to trigger the assert.  More on that at
>> the bottom of this message but in the meantime I looked over the
>> relevant commits and spotted an issue with the assert.
>>
>> Please try this branch:
>> http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert_moved
>>
>
> I tried lots of different ways to get your code, but failed.  The one
> closest to the instructions that you gave me last time failed with this:
>
> njh@compaq:~/tmp/foo2$ git clone -b scsi_assert_moved
> http://repo.or.cz/w/qemu/stefanha.git/
> Cloning into stefanha...
> warning: Remote branch scsi_assert_moved not found in upstream origin,
> using HEAD instead
> warning: remote HEAD refers to nonexistent ref, unable to checkout.

Try:
git clone -b scsi_assert_moved git://repo.or.cz/qemu/stefanha.git

Sorry for that.  You can get the repo clone info by clicking
"qemu/stefanha.git" at the top of the
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/scsi_assert_moved
page, the git:// URI is usually the best one to use.

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-11 21:19       ` Stefan Hajnoczi
@ 2010-11-11 22:45         ` Nigel Horne
  2010-11-12  7:03           ` Stefan Hajnoczi
  0 siblings, 1 reply; 25+ messages in thread
From: Nigel Horne @ 2010-11-11 22:45 UTC (permalink / raw)
  To: qemu-devel

Stefan,

> Try:
> git clone -b scsi_assert_moved git://repo.or.cz/qemu/stefanha.git
>    

I have tried that branch.  I get no assertion failure with it.

Thanks,

-Nigel Horne

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-11 22:45         ` Nigel Horne
@ 2010-11-12  7:03           ` Stefan Hajnoczi
  0 siblings, 0 replies; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-12  7:03 UTC (permalink / raw)
  To: Bug 671831; +Cc: qemu-devel

On Thu, Nov 11, 2010 at 10:45 PM, Nigel Horne <671831@bugs.launchpad.net> wrote:
> Stefan,
>
>> Try:
>> git clone -b scsi_assert_moved git://repo.or.cz/qemu/stefanha.git
>>
>
> I have tried that branch.  I get no assertion failure with it.

Great, thank you.  I will submit the patch for qemu.git.

Stefan

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
                   ` (2 preceding siblings ...)
  2010-11-10 14:53 ` Nigel Horne
@ 2010-11-12  9:26 ` Stefan Hajnoczi
  2010-12-11 13:30 ` Nigel Horne
  2010-12-11 13:32 ` Nigel Horne
  5 siblings, 0 replies; 25+ messages in thread
From: Stefan Hajnoczi @ 2010-11-12  9:26 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => In Progress

** Changed in: qemu
     Assignee: (unassigned) => Stefan Hajnoczi (stefanha)

-- 
Sparc guest assert error
https://bugs.launchpad.net/bugs/671831
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: In Progress

Bug description:
The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
                   ` (3 preceding siblings ...)
  2010-11-12  9:26 ` Stefan Hajnoczi
@ 2010-12-11 13:30 ` Nigel Horne
  2010-12-11 13:32 ` Nigel Horne
  5 siblings, 0 replies; 25+ messages in thread
From: Nigel Horne @ 2010-12-11 13:30 UTC (permalink / raw)
  To: qemu-devel

It's been fixed now, thanks.  There seems to be no way to close this
bug, but you can assume, now, that it is closed.

Thanks for your help in tracking it down and fixing it quickly.

** Changed in: qemu
       Status: In Progress => 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/671831

Title:
  Sparc guest assert error

Status in QEMU:
  Fix Released

Bug description:
  The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

* [Qemu-devel] [Bug 671831] Re: Sparc guest assert error
  2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
                   ` (4 preceding siblings ...)
  2010-12-11 13:30 ` Nigel Horne
@ 2010-12-11 13:32 ` Nigel Horne
  5 siblings, 0 replies; 25+ messages in thread
From: Nigel Horne @ 2010-12-11 13:32 UTC (permalink / raw)
  To: qemu-devel

Found out how to change the bug's status.  I've marked it as fixed.
Thanks again.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/671831

Title:
  Sparc guest assert error

Status in QEMU:
  Fix Released

Bug description:
  The latest version in git (d33ea50a958b2e050d2b28e5f17e3b55e91c6d74) crashes with an assert error when booting a Sparc/Linux guest.

The last time I tried it (about a week ago) it worked fine.  Yesterdai, I did a git pull, make clean, reran configure and compiled.

Host OS: Debian Linux/x86_64 5.0
C Compiler: 4.4.5
Guest OS: Linux/Sparc (2.4)
Command Line: qemu-system-sparc -hda ~njh/qemu/sparc/debian.img -nographic -m 128
Build Configure: ./configure --enable-linux-aio --enable-io-thread --enable-kvm
GIT commit: d33ea50a958b2e050d2b28e5f17e3b55e91c6d74

Output:

Adding Swap: 122532k swap-space (priority -1)
.
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda2 
qemu-system-sparc: /home/njh/src/qemu/hw/scsi-disk.c:201: scsi_read_data: Assertion `r->req.aiocb == ((void *)0)' failed.


It crashes in the same place every time.

(gdb) thread apply all bt:

Thread 3 (Thread 17643):
#0  0x00007f4db21bc8d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004d02c4 in main_loop_wait (nonblocking=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1246
#2  0x00000000004d0e57 in main_loop (argc=<value optimized out>, 
    argv=<value optimized out>, envp=<value optimized out>)
    at /home/njh/src/qemu/vl.c:1309
#3  main (argc=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>) at /home/njh/src/qemu/vl.c:2999

Thread 2 (Thread 17645):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x000000000042450b in cond_timedwait (unused=<value optimized out>)
    at posix-aio-compat.c:104
#2  aio_thread (unused=<value optimized out>) at posix-aio-compat.c:325
#3  0x00007f4db3b818ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#4  0x00007f4db21c302d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
Current language:  auto
The current source language is "auto; currently asm".

Thread 1 (Thread 17644):
#0  0x00007f4db2126165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4db2128f70 in *__GI_abort () at abort.c:92
#2  0x00007f4db211f2b1 in *__GI___assert_fail (
    assertion=0x52690a "r->req.aiocb == ((void *)0)", 
    file=<value optimized out>, line=201, function=0x527480 "scsi_read_data")
    at assert.c:81
#3  0x000000000044f363 in scsi_read_data (d=<value optimized out>, tag=0)
    at /home/njh/src/qemu/hw/scsi-disk.c:201
#4  0x00000000004ebd6c in esp_do_dma (s=0x20679d0)
    at /home/njh/src/qemu/hw/esp.c:377
#5  0x00000000004ec781 in handle_ti (opaque=0x20679d0, 
    addr=<value optimized out>, val=<value optimized out>)
    at /home/njh/src/qemu/hw/esp.c:443
#6  esp_mem_writeb (opaque=0x20679d0, addr=<value optimized out>, 
    val=<value optimized out>) at /home/njh/src/qemu/hw/esp.c:595
#7  0x0000000041b2d971 in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0x00000000031ad000 in ?? ()
#10 0x0000000301adfa20 in ?? ()
#11 0x0000100000000007 in ?? ()
#12 0x00007f4daf80e8a0 in ?? ()
#13 0x0000000000000001 in ?? ()
#14 0x0000000000000000 in ?? ()

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2010-12-11 13:41 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-06 13:24 [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error Nigel Horne
2010-11-06 20:28 ` Stefan Hajnoczi
2010-11-08 10:42   ` Stefan Hajnoczi
2010-11-08 14:00     ` Nigel Horne
2010-11-08 14:04     ` Nigel Horne
2010-11-08 14:30       ` Stefan Hajnoczi
2010-11-08 14:36         ` Stefan Hajnoczi
2010-11-08 19:39           ` Blue Swirl
2010-11-09  0:56     ` Nigel Horne
2010-11-09  9:23       ` Stefan Hajnoczi
2010-11-09 13:28         ` Nigel Horne
2010-11-09 14:14           ` Stefan Hajnoczi
2010-11-09 17:07             ` Nigel Horne
2010-11-10  9:42               ` Stefan Hajnoczi
2010-11-10 14:56                 ` Nigel Horne
2010-11-10 14:51 ` [Qemu-devel] [Bug 671831] " Nigel Horne
2010-11-10 14:53 ` Nigel Horne
2010-11-11 14:17   ` Stefan Hajnoczi
2010-11-11 17:00     ` Nigel Horne
2010-11-11 21:19       ` Stefan Hajnoczi
2010-11-11 22:45         ` Nigel Horne
2010-11-12  7:03           ` Stefan Hajnoczi
2010-11-12  9:26 ` Stefan Hajnoczi
2010-12-11 13:30 ` Nigel Horne
2010-12-11 13:32 ` Nigel Horne

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.