qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/77] ppc: Add "native" POWER8 platf


From: Alexey Kardashevskiy
Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 00/77] ppc: Add "native" POWER8 platform
Date: Wed, 11 Nov 2015 15:07:21 +1100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/11/2015 02:38 PM, Benjamin Herrenschmidt wrote:
On Wed, 2015-11-11 at 14:27 +1100, Alexey Kardashevskiy wrote:
On 11/11/2015 11:56 AM, Benjamin Herrenschmidt wrote:
On Tue, 2015-11-10 at 17:50 -0700, Eric Blake wrote:

It would be nice to include a diffstat (git defaults to doing
this if
you use 'git format-patch --cover-letter' for generating the 0/77
letter), so that we can see at a glance how big this series is
and
what files it touches.

Right. I'll do that next time. In the meantime, I've appended the
diffstat below.


Some working example of qemu command line would not hurt. Known
limitations
as well. Like:

- it does not run under neither kvm-hv nor kvm-pr;

It will never run under HV KVM,  indeed. I did mention somewhere else
that support for PR KVM was possible, just quite a bit of work. I will
add it to next version's cover letter.

- cannot boot LE kernel;
...

It boots an LE kernel just fine :-)


aaaaand there is still no working example ;)


This:

p/qemu-powernv/ppc64-softmmu/qemu-system-ppc64 -m 2048 -machine powernv \
-nographic -vga none -initrd t/le.cpio -kernel t/vml420le -bios \
skiboot.lid -smp 1,threads=1

just hangs at:

[1491287872,5] INIT: Waiting for kernel...
[1493257423,5] Assuming kernel at 0x20000000
[1494710040,5] INIT: Kernel loaded, size: 0 bytes (0 = unknown preload)
[1497506414,5] INIT: 64-bit LE kernel discovered
[1500827972,5] INIT: 64-bit kernel entry at 0x20010000
[1505594383,3] OCC: No HOMER detected, assuming no pstates
[1507983930,3] ELOG: Error getting buffer to log error
[1556792870,5] Free space in HEAP memory regions:
[1559724738,5] Region ibm,firmware-heap free: 12778984
[1561377946,5] Region ibm,address@hidden free: 376992
[1563789914,5] Total free: 13155976
[1565066925,5] INIT: Starting kernel at 0x20010000, fdt at 0x30350610 (size 0x2ce4)


With BE kernel and initrd, it goes further and boots fine:

[1589979488,5] Total free: 13155976
[1591411784,5] INIT: Starting kernel at 0x20010000, fdt at 0x30350610 (size 0x2ce4)
[1687534980,3] OPAL: Trying a CPU re-init with flags: 0x1
CPU maps initialized for 1 thread per core
....


If I try LE disk image (ubuntu 14), it just crashes:

p/qemu-powernv/ppc64-softmmu/qemu-system-ppc64 -m 2048 -machine powernv \
-nographic -vga none img/u14_32GB_cuda7.qcow2 -bios skiboot.lid \
-smp 1,threads=1
qemu: hardware error: qemu: could not load kernel'(null)'


CPU #0:
NIP 0000000000000000 LR 0000000000000000 CTR 0000000000000000 XER 0000000000000000 CPU#0
MSR 0000000000000000 HID0 0000000000000000  HF 0000000000000000 iidx 0
didx 0
TB 00000000 00000000 DECR 00000000
...



Also next spin will have skiboot.lid

Right. With the note that it goes with -bios :)




--
Alexey



reply via email to

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