qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PPC* and Sparc32 crash


From: Edgar E. Iglesias
Subject: Re: [Qemu-devel] PPC* and Sparc32 crash
Date: Wed, 24 Aug 2011 20:16:41 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Aug 24, 2011 at 05:49:42PM +0000, Blue Swirl wrote:
> On Tue, Aug 23, 2011 at 7:19 PM, Edgar E. Iglesias
> <address@hidden> wrote:
> > On Tue, Aug 23, 2011 at 06:59:01PM +0100, Peter Maydell wrote:
> >> On 23 August 2011 18:55, Blue Swirl <address@hidden> wrote:
> >> > qemu-system-ppc: /src/qemu/memory.c:1183:
> >> > memory_region_add_subregion_common: Assertion `!subregion->parent'
> >> > failed.
> >> > Aborted
> >> > qemu-system-ppc64: /src/qemu/memory.c:1183:
> >> > memory_region_add_subregion_common: Assertion `!subregion->parent'
> >> > failed.
> >> > Aborted
> >> > qemu-system-sparc: /src/qemu/hw/sysbus.c:156:
> >> > sysbus_register_withprop: Assertion `info->qdev.size >=
> >> > sizeof(SysBusDevice)' failed.
> >> > Aborted
> >> >
> >> > This is with b861b7419c49ad53e786062b4fbf6da53468f130. Other targets
> >> > seem to work.
> >>
> >> n810 is also broken with a similar assertion to ppc, which I have a
> >> patch in progress to fix.
> >
> > MIPS malta is broken in the same way.
> 
> Doesn't crash with these command lines:
> $ ./obj-amd64/mips-softmmu/qemu-system-mips -bios /dev/null -machine malta
> $ ./obj-amd64/mipsel-softmmu/qemu-system-mipsel -bios /dev/null -machine malta
> $ ./obj-amd64/mips64el-softmmu/qemu-system-mips64el -bios /dev/null
> -machine malta
> $ ./obj-amd64/mips64-softmmu/qemu-system-mips64 -bios /dev/null -machine malta


Sorry, forgot the backtrace:

Starting program: 
/home/edgar/src/c/qemu/build-qemu/mipsel-softmmu/qemu-system-mipsel -M malta 
-kernel vmlinux -hda /home/edgar/Downloads/debian_squeeze_mipsel_standard.qcow2 
-append root=/dev/hda1\ console=ttyS0 -nographic
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeef43700 (LWP 18091)]
[New Thread 0x7fffe5a76700 (LWP 18092)]
QEMU 0.15.50 monitor - type 'help' for more information
(qemu) QEMU 0.15.50 monitor - type 'help' for more information
(qemu) 
Program received signal SIGUSR2, User defined signal 2.
0x00007ffff5be6913 in select () at ../sysdeps/unix/syscall-template.S:82
82      ../sysdeps/unix/syscall-template.S: No such file or directory.
        in ../sysdeps/unix/syscall-template.S
(gdb) bt
#0  0x00007ffff5be6913 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000000000430627 in qemu_aio_wait ()
    at /home/edgar/src/c/qemu/qemu/aio.c:193
#2  0x000000000042e6dd in bdrv_read_em (bs=0x116a310, sector_num=0, 
    buf=<optimized out>, nb_sectors=1)
    at /home/edgar/src/c/qemu/qemu/block.c:2833
#3  0x000000000042bfd8 in bdrv_read (bs=0x116a310, sector_num=0, 
    buf=0x7fffffffdaa0 "", nb_sectors=1)
    at /home/edgar/src/c/qemu/qemu/block.c:984
#4  0x000000000042c988 in guess_disk_lchs (bs=0x116a310, 
    pcylinders=0x7fffffffdcec, pheads=0x7fffffffdcf0, psectors=0x7fffffffdcf4)
    at /home/edgar/src/c/qemu/qemu/block.c:1317
#5  0x000000000042cb27 in bdrv_guess_geometry (bs=0x116a310, 
    pcyls=0x7fffffffdd3c, pheads=0x7fffffffdd40, psecs=0x7fffffffdd44)
    at /home/edgar/src/c/qemu/qemu/block.c:1364
#6  0x0000000000587638 in ide_init_drive (s=0x1395b80, bs=0x116a310, 
    kind=IDE_HD, version=0x0, serial=0x0)
    at /home/edgar/src/c/qemu/qemu/hw/ide/core.c:1730
#7  0x000000000058981d in ide_dev_initfn (dev=0x1397e10, kind=<optimized out>)
    at /home/edgar/src/c/qemu/qemu/hw/ide/qdev.c:146
#8  0x0000000000493b0c in qdev_init (dev=0x1397e10)
    at /home/edgar/src/c/qemu/qemu/hw/qdev.c:287
#9  0x0000000000493bce in qdev_init_nofail (dev=<optimized out>)
    at /home/edgar/src/c/qemu/qemu/hw/qdev.c:381
#10 0x0000000000589bca in ide_create_drive (bus=<optimized out>, unit=0, 
    drive=0x116a270) at /home/edgar/src/c/qemu/qemu/hw/ide/qdev.c:108
#11 0x000000000058a85b in pci_ide_create_devs (dev=0x13956e0, 
    hd_table=0x7fffffffdf00) at /home/edgar/src/c/qemu/qemu/hw/ide/pci.c:503
#12 0x000000000058b23b in pci_piix4_ide_init (bus=<optimized out>, 
    hd_table=0x7fffffffdf00, devfn=<optimized out>)
    at /home/edgar/src/c/qemu/qemu/hw/ide/piix.c:237
#13 0x00000000005a2d03 in mips_malta_init (ram_size=<optimized out>, 
    boot_device=<optimized out>, kernel_filename=<optimized out>, 
    kernel_cmdline=0x7fffffffe658 "root=/dev/hda1 console=ttyS0", 
    initrd_filename=0x0, cpu_model=<optimized out>)
    at /home/edgar/src/c/qemu/qemu/hw/mips_malta.c:911
#14 0x0000000000409e1d in main (argc=<optimized out>, argv=<optimized out>, 
    envp=<optimized out>) at /home/edgar/src/c/qemu/qemu/vl.c:3257
(gdb) q
A debugging session is active.

        Inferior 1 [process 18088] will be killed.

Quit anyway? (y or n) y




reply via email to

[Prev in Thread] Current Thread [Next in Thread]