[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [TestDay] ppc64 pseries segfault
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [TestDay] ppc64 pseries segfault |
Date: |
Wed, 9 Nov 2011 03:03:50 +0100 |
On 09.11.2011, at 02:52, Andreas Färber wrote:
> Am 09.11.2011 02:41, schrieb David Gibson:
>> On Tue, Nov 08, 2011 at 11:40:20AM +0100, Andreas Färber wrote:
>>> Hello,
>>>
>>> On openSUSE 12.1 RC2 x86_64 host
>>>
>>> $ ppc64-softmmu/qemu-system-ppc64 -M pseries -L .../pc-bios
>>>
>>> segfaults. Backtrace:
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x0000000000578a7e in spapr_create_phb (spapr=0x1247f80, busname=
>>> 0x77f1b2 "pci", buid=<optimized out>, mem_win_addr=<optimized out>,
>>> mem_win_size=536870912, io_win_addr=1101659111424)
>>> at /home/andreas/QEMU/qemu/hw/spapr_pci.c:306
>>> 306 QLIST_INSERT_HEAD(&spapr->phbs, phb, list);
>>> (gdb) bt
>>> #0 0x0000000000578a7e in spapr_create_phb (spapr=0x1247f80, busname=
>>> 0x77f1b2 "pci", buid=<optimized out>, mem_win_addr=<optimized out>,
>>> mem_win_size=536870912, io_win_addr=1101659111424)
>>> at /home/andreas/QEMU/qemu/hw/spapr_pci.c:306
>>> #1 0x00000000005760f8 in ppc_spapr_init (ram_size=134217728, boot_device=
>>> 0x7fffffffdd50 "cad", kernel_filename=0x0, kernel_cmdline=0x69d000 "",
>>> initrd_filename=0x0, cpu_model=0x7ab640 "POWER7")
>>> at /home/andreas/QEMU/qemu/hw/spapr.c:507
>>> #2 0x000000000040a4a9 in main (argc=<optimized out>, argv=<optimized out>,
>>> envp=<optimized out>) at /home/andreas/QEMU/qemu/vl.c:3340
>>>
>>> I'd expect seeing SLOF boot.
>>
>> That'll be due to the missing initialization of the sPAPREnvironment
>> structure, and the phbs_list in particular. I sent a fix for it, but
>> I'm wondering if something went wrong with the mail, because no-one
>> replied and now I can't seem to find it in the qemu-devel archives.
>
> Thanks. No, I remember reading it now. Just expected all such bug fixes
> for 1.0 to be in rc1 already. Unfortunate timing for the big Test Day.
Well, it's mostly been unfortunate scheduling for my travelings :). But yes,
unfortunate it was indeed.
Alex