All of lore.kernel.org
 help / color / mirror / Atom feed
* -M g3beige KVM emulation failure on reset
@ 2012-06-15 12:58 Andreas Färber
  2012-06-28 13:28 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Färber @ 2012-06-15 12:58 UTC (permalink / raw)
  To: kvm-ppc

Hello Alex,

As mentioned recently, I can reproduce an emulation failure on POWER5
with PR KVM on openSUSE Factory a few seconds after reset:

$ uname -a
Linux power5 3.4.0-10-ppc64 #1 SMP Wed May 23 13:59:25 UTC 2012
(a3c5f2c) ppc64 ppc64 ppc64 GNU/Linux

# ppc-softmmu/qemu-system-ppc -enable-kvm -nographic

>> ==============================>> OpenBIOS 1.0 [May 30 2012 16:55]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on May 30 2012 16:55
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
No valid state has been set by load or init-program

0 > reset-all
>> ==============================>> OpenBIOS 1.0 [May 30 2012 16:55]
>> Configuration device id QEMU version 1 machine id 2
>> CPUs: 1
>> Memory: 128M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,750
Welcome to OpenBIOS v1.0 built on May 30 2012 16:55
Trying hd:,\\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
No valid state has been set by load or init-program

0 > KVM: unknown exit, hardware reason 80893020
NIP 00000700   LR fff19d24 CTR fff19d04 XER 20000000
MSR 00000000 HID0 00000000  HF 00000000 idx 1
TB 00000000 00000000 DECR 00000000
GPR00 0000000000000004 0000000007df7e10 0000000000000000 0000000080893020
GPR04 00000000fffb3f80 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 00000000fffb0000 00000000fffb4710 0000000000000000
GPR12 0000000000000000 0000000000000000 00000000fffb3f8c 00000000fff2f7dc
GPR16 00000000fff2f7ee 00000000fffb4710 00000000fff2ef81 0000000000000009
GPR20 00000000fff2f7cf 00000000fff2ef81 00000000fff2ef6f 00000000fff2eeef
GPR24 00000000fff2ef77 00000000fffb3630 000000000000000d 0000000007c5a888
GPR28 0000000000000008 0000000000000001 0000000007c5b090 00000000fff44e54
CR 42000044  [ G  E  -  -  -  -  G  G  ]             RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
 SRR0 fff19d48  SRR1 00000030    PVR 00080301 VRSAVE 00000000
SPRG0 07e00000 SPRG1 07df75f0  SPRG2 22000048  SPRG3 00000000
SPRG4 00000000 SPRG5 00000000  SPRG6 00000000  SPRG7 00000000
 SDR1 07e00000

Message from syslogd@power5 at Jun 15 14:48:11 ...
 kernel:kvmppc_emulate_mmio: emulation failed (4bfff991)

dmesg has this:
Couldn't emulate instruction 0xffffffff (op 63 xop 1023)
kvmppc_emulate_mmio: emulation failed (4bfff991)

My first steps with PowerKVM. Any advice for debugging this?

Thanks,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: -M g3beige KVM emulation failure on reset
  2012-06-15 12:58 -M g3beige KVM emulation failure on reset Andreas Färber
@ 2012-06-28 13:28 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2012-06-28 13:28 UTC (permalink / raw)
  To: kvm-ppc

On 06/15/2012 02:58 PM, Andreas Färber wrote:
> Hello Alex,
>
> As mentioned recently, I can reproduce an emulation failure on POWER5
> with PR KVM on openSUSE Factory a few seconds after reset:
>
> $ uname -a
> Linux power5 3.4.0-10-ppc64 #1 SMP Wed May 23 13:59:25 UTC 2012
> (a3c5f2c) ppc64 ppc64 ppc64 GNU/Linux
>
> # ppc-softmmu/qemu-system-ppc -enable-kvm -nographic
>
>>> ==============================>>> OpenBIOS 1.0 [May 30 2012 16:55]
>>> Configuration device id QEMU version 1 machine id 2
>>> CPUs: 1
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,750
> Welcome to OpenBIOS v1.0 built on May 30 2012 16:55
> Trying hd:,\\:tbxi...
> Trying hd:,\ppc\bootinfo.txt...
> No valid state has been set by load or init-program
>
> 0>  reset-all
>>> ==============================>>> OpenBIOS 1.0 [May 30 2012 16:55]
>>> Configuration device id QEMU version 1 machine id 2
>>> CPUs: 1
>>> Memory: 128M
>>> UUID: 00000000-0000-0000-0000-000000000000
>>> CPU type PowerPC,750
> Welcome to OpenBIOS v1.0 built on May 30 2012 16:55
> Trying hd:,\\:tbxi...
> Trying hd:,\ppc\bootinfo.txt...
> No valid state has been set by load or init-program
>
> 0>  KVM: unknown exit, hardware reason 80893020
> NIP 00000700   LR fff19d24 CTR fff19d04 XER 20000000
> MSR 00000000 HID0 00000000  HF 00000000 idx 1
> TB 00000000 00000000 DECR 00000000
> GPR00 0000000000000004 0000000007df7e10 0000000000000000 0000000080893020
> GPR04 00000000fffb3f80 0000000000000000 0000000000000000 0000000000000000
> GPR08 0000000000000000 00000000fffb0000 00000000fffb4710 0000000000000000
> GPR12 0000000000000000 0000000000000000 00000000fffb3f8c 00000000fff2f7dc
> GPR16 00000000fff2f7ee 00000000fffb4710 00000000fff2ef81 0000000000000009
> GPR20 00000000fff2f7cf 00000000fff2ef81 00000000fff2ef6f 00000000fff2eeef
> GPR24 00000000fff2ef77 00000000fffb3630 000000000000000d 0000000007c5a888
> GPR28 0000000000000008 0000000000000001 0000000007c5b090 00000000fff44e54
> CR 42000044  [ G  E  -  -  -  -  G  G  ]             RES ffffffff
> FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
> FPSCR 00000000
>   SRR0 fff19d48  SRR1 00000030    PVR 00080301 VRSAVE 00000000
> SPRG0 07e00000 SPRG1 07df75f0  SPRG2 22000048  SPRG3 00000000
> SPRG4 00000000 SPRG5 00000000  SPRG6 00000000  SPRG7 00000000
>   SDR1 07e00000
>
> Message from syslogd@power5 at Jun 15 14:48:11 ...
>   kernel:kvmppc_emulate_mmio: emulation failed (4bfff991)
>
> dmesg has this:
> Couldn't emulate instruction 0xffffffff (op 63 xop 1023)
> kvmppc_emulate_mmio: emulation failed (4bfff991)
>
> My first steps with PowerKVM. Any advice for debugging this?

Hrm. I suppose we don't handle reset properly? :)

Does it work without KVM?


Alex


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-28 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-15 12:58 -M g3beige KVM emulation failure on reset Andreas Färber
2012-06-28 13:28 ` Alexander Graf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.