From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwI0O-0007n5-9w for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:16:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwI0M-00083b-ST for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:16:48 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:60228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwI0M-00083X-F8 for qemu-devel@nongnu.org; Wed, 24 Aug 2011 14:16:46 -0400 Received: by fxbb27 with SMTP id b27so1348189fxb.4 for ; Wed, 24 Aug 2011 11:16:45 -0700 (PDT) Date: Wed, 24 Aug 2011 20:16:41 +0200 From: "Edgar E. Iglesias" Message-ID: <20110824181641.GB17167@zapo> References: <20110823191932.GA32250@zapo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] PPC* and Sparc32 crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Peter Maydell , Avi Kivity , qemu-devel 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 > wrote: > > On Tue, Aug 23, 2011 at 06:59:01PM +0100, Peter Maydell wrote: > >> On 23 August 2011 18:55, Blue Swirl 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=, 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=) 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=) at /home/edgar/src/c/qemu/qemu/hw/qdev.c:381 #10 0x0000000000589bca in ide_create_drive (bus=, 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=, hd_table=0x7fffffffdf00, devfn=) at /home/edgar/src/c/qemu/qemu/hw/ide/piix.c:237 #13 0x00000000005a2d03 in mips_malta_init (ram_size=, boot_device=, kernel_filename=, kernel_cmdline=0x7fffffffe658 "root=/dev/hda1 console=ttyS0", initrd_filename=0x0, cpu_model=) at /home/edgar/src/c/qemu/qemu/hw/mips_malta.c:911 #14 0x0000000000409e1d in main (argc=, argv=, envp=) 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