qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors


From: Andrew Randrianasulu
Subject: Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors
Date: Wed, 10 Jul 2019 09:59:19 +0300
User-agent: KMail/1.9.10

----------  Пересланное сообщение  ----------

Тема: Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors
Дата: Среда 10 июля 2019
Отправитель: Andrew Randrianasulu <address@hidden>
Получатель:  BALATON Zoltan <address@hidden>

В сообщении от Tuesday 09 July 2019 19:27:30 BALATON Zoltan написал(а):
> On Tue, 9 Jul 2019, Andrew Randrianasulu wrote:
> > (gdb) run qemu-system-ppc -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom 
> > /mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display 
> > sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24 
> > -device ES1370
> > Starting program: /dev/shm/qemu/ppc-softmmu/qemu-system-ppc qemu-system-ppc 
> > -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom 
> > /mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display 
> > sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24 
> > -device ES1370
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib/libthread_db.so.1".
> > [New Thread 0xf560cb40 (LWP 19193)]
> > qemu-system-ppc: qemu-system-ppc: Could not open 'qemu-system-ppc': No such 
> > file or directory
> > [Thread 0xf560cb40 (LWP 19193) exited]
> > [Inferior 1 (process 19189) exited with code 01]
> > (gdb) run  -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom 
> > /mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display 
> > sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24 
> > -device ES1370
> > Starting program: /dev/shm/qemu/ppc-softmmu/qemu-system-ppc -M 
> > mac99,via=pmu -L ../queue-vga/pc-bios -cdrom 
> > /mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display 
> > sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24 
> > -device ES1370
> > [Thread debugging using libthread_db enabled]
> > Using host libthread_db library "/lib/libthread_db.so.1".
> > [New Thread 0xf560cb40 (LWP 19200)]
> > [New Thread 0xf4c1ab40 (LWP 19201)]
> > [New Thread 0xec1b7b40 (LWP 19202)]
> > [New Thread 0xc5962b40 (LWP 19204)]
> > [Thread 0xf4c1ab40 (LWP 19201) exited]
> > [New Thread 0xf4c1ab40 (LWP 19219)]
> >
> > Thread 4 "qemu-system-ppc" received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0xec1b7b40 (LWP 19202)]
> > 0xf290e844 in code_gen_buffer ()
> > (gdb) bt full
> > #0  0xffffffff in code_gen_buffer ()
> > #1  0x567054ee in cpu_exec (itb=<optimized out>, cpu=<optimized out>) at 
> > /dev/shm/qemu/accel/tcg/cpu-exec.c:173
> 
> This seems to crash in TCG which I don't know how to debug and looks not 
> related to any of my patches. Hopefully someone on the list can help. I 
> wonder if this is related to recent AltiVec optimisations that went on for 
> the last two releases. Maybe you could try earlier release (4.0.0 and 
> 3.1.0) and if that works could try to bisect (although since there were 
> some bugs in previous versions things might fail differently or not work 
> with those versions so this may make bisecting difficult).

I think this is one of those 32-bit only crashes, because I booted same iso 
with 64-bit qemu without crash ...
Will try bisect later.


--------------bisect result-----------------

6f479566a87d5087d6f3106b9401e6f53e933309 is the first bad commit
commit 6f479566a87d5087d6f3106b9401e6f53e933309
Author: Like Xu <address@hidden>
Date:   Thu Jun 20 13:45:24 2019 +0800

    machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse()

    To make smp_parse() more flexible and expansive, a smp_parse function
    pointer is added to MachineClass that machine types could override.

    The generic smp_parse() code in vl.c is moved to hw/core/machine.c, and
    become the default implementation of MachineClass::smp_parse. A PC-specific
    function called pc_smp_parse() has been added to hw/i386/pc.c, which in
    this patch changes nothing against the default one .

    Suggested-by: Eduardo Habkost <address@hidden>
    Signed-off-by: Like Xu <address@hidden>
    Reviewed-by: Eduardo Habkost <address@hidden>
    Message-Id: <address@hidden>
    Signed-off-by: Eduardo Habkost <address@hidden>

:040000 040000 ba55ec7acc9ada2e24777088974e7261011842fe 
716a09c9175d946e380d1f77f1e482035aa1ddd2 M      hw
:040000 040000 76f650a894b43434730803e0c2cfc3eb599e6f80 
7d5ce92d6c07209332c2585e20ca46ecb8a05d12 M      include
:100644 100644 56aa221385c476df5f461d992a30bd558a4408aa 
96d2456f706b76648ac6f8c1b1663574bb256ca3 M      vl.c
guest@slax:/dev/shm/qemu$ git bisect log
git bisect start
# bad: [a538626aff7c8934ec47bc6ed41cac5bd1b7723c] Merge remote-tracking branch 
'remotes/rth/tags/pull-tcg-20190709' into staging
git bisect bad a538626aff7c8934ec47bc6ed41cac5bd1b7723c
# good: [60905286cb5150de854e08279bca7dfc4b549e91] Merge remote-tracking branch 
'remotes/dgibson/tags/ppc-for-4.1-20190529' into staging
git bisect good 60905286cb5150de854e08279bca7dfc4b549e91
# good: [597360c0d8ebda9ca6f239db724a25bddec62b2f] target/i386: define a new 
MSR based feature word - FEAT_CORE_CAPABILITY
git bisect good 597360c0d8ebda9ca6f239db724a25bddec62b2f
# good: [506179e42112be77bfd071f050b15762d3b2cd43] Merge remote-tracking branch 
'remotes/dgibson/tags/ppc-for-4.1-20190702' into staging
git bisect good 506179e42112be77bfd071f050b15762d3b2cd43
# good: [796471e9756982f534c3fe1444a42a021d3d21d4] tests/vm: use ssh with pty 
unconditionally
git bisect good 796471e9756982f534c3fe1444a42a021d3d21d4
# good: [d65af288a84d8bf8c27e55d45545f52f016c08a7] i386: Update new x86_apicid 
parsing rules with die_offset support
git bisect good d65af288a84d8bf8c27e55d45545f52f016c08a7
# bad: [3a1acf5d47295d22ffdae0982a2fd808b802a7da] Merge remote-tracking branch 
'remotes/ehabkost/tags/machine-next-pull-request' into staging
git bisect bad 3a1acf5d47295d22ffdae0982a2fd808b802a7da
# bad: [1b45842203540943b1e22fc30764456c035d8637] vl.c: Add -smp, dies=* 
command line support and update doc
git bisect bad 1b45842203540943b1e22fc30764456c035d8637
# good: [fea306520ea4b2f189dd23c70a6afd2fc4ffafdc] i386: Don't print warning if 
phys-bits was set automatically
git bisect good fea306520ea4b2f189dd23c70a6afd2fc4ffafdc
# good: [f69ecddb4a02b5071297427b4ebb3d8f0cea7323] x86/cpu: use 
FeatureWordArray to define filtered_features
git bisect good f69ecddb4a02b5071297427b4ebb3d8f0cea7323
# good: [a94e1428991f741e2c6636e7c8df7f8d1905d983] target/i386: Add CPUID.1F 
generation support for multi-dies PCMachine
git bisect good a94e1428991f741e2c6636e7c8df7f8d1905d983
# bad: [6f479566a87d5087d6f3106b9401e6f53e933309] machine: Refactor smp_parse() 
in vl.c as MachineClass::smp_parse()
git bisect bad 6f479566a87d5087d6f3106b9401e6f53e933309
# first bad commit: [6f479566a87d5087d6f3106b9401e6f53e933309] machine: 
Refactor smp_parse() in vl.c as MachineClass::smp_parse()

for this command line:

qemu-system-ppc -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom 
/mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display sdl,gl=on 
-vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24 -device ES1370

-------------cut------------



reply via email to

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