﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
407	HelenOS/ppc32 broken on latest Qemu	Jakub Jermář	Martin Decky	"I am logging this ticket mainly for tracking purposes.

There is some problem, either with HelenOS, Qemu or OpenBIOS, which causes HelenOS, as of revision (but also much older) [changeset:mainline,1356], and Qemu 1.0 (but also much older and also newer) to fail in the following way:

{{{
jermar@phantom:~/software/HelenOS.mainline$ qemu-system-ppc -cdrom image.iso -boot d
qemu: fatal: Trying to execute code outside RAM or ROM at 0x70015f70

NIP 70015f70   LR 70015f70 CTR 00000000 XER 00000000
MSR 00001000 HID0 00000000  HF 00000000 idx 1
TB 00000000 77872323 DECR 4294964801
GPR00 000000007000b4c0 000000000061df9c 00000000700204d4 000000007001af98
GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 000000000000001c 0000000000000001 0000000000000001
GPR12 000000007001af70 0000000000000000 000000000021a334 000000000021a384
GPR16 000000000021a358 0000000000222484 000000000021aaa0 000000000021a30c
GPR20 00000000002346a0 0000000000220454 000000007001942c 0000000070019800
GPR24 0000000070019400 0000000000000000 000000007000a724 0000000070018d04
GPR28 000000000021a358 0000000000222484 000000000021aaa0 000000000021a30c
CR 22000022  [ E  E  -  -  -  -  E  E  ]             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 70011aa8  SRR1 0000d030    PVR 00080301 VRSAVE 00000000
SPRG0 0061dff0 SPRG1 00000001  SPRG2 7001af70  SPRG3 08000000
SPRG4 00000000 SPRG5 00000000  SPRG6 00000000  SPRG7 00000000
 SDR1 07ff0000
Aborted
}}}

Interestingly, very old versions of Qemu (e.g. 0.11.1) do not exhibit this problem. Reportedly, newer versions of Qemu with older OpenBIOS do not show the problem either.

This issue is quite unfortunate as it is not possible to use the newest version of Qemu for testing all supported targets."	defect	closed	major	0.5.0	helenos/kernel/ppc32	mainline	notadefect		mark.cave-ayland@…			
