* [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error.
@ 2011-08-01 0:33 Brad
2011-08-01 21:35 ` Blue Swirl
0 siblings, 1 reply; 3+ messages in thread
From: Brad @ 2011-08-01 0:33 UTC (permalink / raw)
To: qemu-devel
I know sparc64 had little chance of actually working but
I thought I'd take it for a spin with 0.15.0-rc1 and
see how it fared in addition to macppc which has a good
chance of working nowdays with modern QEMU. Lets see
what QEMU and related bugs are left..
I noticed the bootblocks for each respective arch are
failing in a very similar manner. I would guess that
this is most likely a bug with the OpenBIOS Open Firmware
implementation?
Any assistance with this? Blue?
$ qemu-system-ppc -nographic -cdrom cd50.iso -boot d
>> =============================================================
>> OpenBIOS 1.0 [Jun 16 2011 08:02]
>> 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 Jun 16 2011 08:02
Trying cd:,\\:tbxi...
>> OpenBSD/macppc BOOT 1.1
open(cd:/etc/boot.conf): Unknown error: code 24
boot> ?
$ qemu-system-sparc64 -nographic -cdrom cd50.iso -boot d
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Jul 20 2011 21:17
Type 'help' for detailed information
Trying cdrom:f...
Not a bootable ELF image
Not a bootable a.out image
Loading FCode image...
Loaded 4829 bytes
entry point is 0x4000
OpenBSD IEEE 1275 Bootblock 1.3
..
Jumping to entry point 0000000000100000 for type 0000000000000001...
switching to new context: entry point 0x100000 stack 0x00000000ffe86b49
>> OpenBSD BOOT 1.4
Trying bsd...
open ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????: Unknown error: code 24
Boot:
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error.
2011-08-01 0:33 [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error Brad
@ 2011-08-01 21:35 ` Blue Swirl
2011-08-03 3:02 ` Brad
0 siblings, 1 reply; 3+ messages in thread
From: Blue Swirl @ 2011-08-01 21:35 UTC (permalink / raw)
To: Brad, The OpenBIOS Mailinglist; +Cc: qemu-devel
On Mon, Aug 1, 2011 at 12:33 AM, Brad <brad@comstyle.com> wrote:
> I know sparc64 had little chance of actually working but
> I thought I'd take it for a spin with 0.15.0-rc1 and
> see how it fared in addition to macppc which has a good
> chance of working nowdays with modern QEMU. Lets see
> what QEMU and related bugs are left..
>
> I noticed the bootblocks for each respective arch are
> failing in a very similar manner. I would guess that
> this is most likely a bug with the OpenBIOS Open Firmware
> implementation?
>
> Any assistance with this? Blue?
>
>
> $ qemu-system-ppc -nographic -cdrom cd50.iso -boot d
>
>>> =============================================================
>>> OpenBIOS 1.0 [Jun 16 2011 08:02]
>>> 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 Jun 16 2011 08:02
> Trying cd:,\\:tbxi...
>>> OpenBSD/macppc BOOT 1.1
> open(cd:/etc/boot.conf): Unknown error: code 24
> boot> ?
>
>
> $ qemu-system-sparc64 -nographic -cdrom cd50.iso -boot d
> OpenBIOS for Sparc64
> Configuration device id QEMU version 1 machine id 0
> kernel cmdline
> CPUs: 1 x SUNW,UltraSPARC-IIi
> UUID: 00000000-0000-0000-0000-000000000000
> Welcome to OpenBIOS v1.0 built on Jul 20 2011 21:17
> Type 'help' for detailed information
> Trying cdrom:f...
> Not a bootable ELF image
> Not a bootable a.out image
>
> Loading FCode image...
> Loaded 4829 bytes
> entry point is 0x4000
> OpenBSD IEEE 1275 Bootblock 1.3
> ..
> Jumping to entry point 0000000000100000 for type 0000000000000001...
> switching to new context: entry point 0x100000 stack 0x00000000ffe86b49
>>> OpenBSD BOOT 1.4
> Trying bsd...
> open ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????: Unknown error: code 24
>
> Boot:
I get this with OpenBSD 4.3:
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.0 built on Jul 20 2011 21:17
Type 'help' for detailed information
Trying cdrom:f...
Not a bootable ELF image
Not a bootable a.out image
Loading FCode image...
Loaded 4893 bytes
entry point is 0x4000
OpenBSD IEEE 1275 Bootblock 1.1
..
Jumping to entry point 0000000000800000 for type 0000000000000001...
switching to new context: entry point 0x800000 stack 0x00000000ffe86b49
>> OpenBSD BOOT 1.2
Trying bsd...
Booting cdrom:f/bsd
2590536@0x1000000+3236576@0x1800000+957728@0x1b162e0
symbols @ 0xffcda1c0 36 start=0x1000000
CHAINprom_get_msgbuf: test failed
prom_get_msgbuf: allocated new buf at 00000000
prom_get_msgbuf: claiming new buf at 00000000
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error.
2011-08-01 21:35 ` Blue Swirl
@ 2011-08-03 3:02 ` Brad
0 siblings, 0 replies; 3+ messages in thread
From: Brad @ 2011-08-03 3:02 UTC (permalink / raw)
To: Blue Swirl; +Cc: The OpenBIOS Mailinglist, qemu-devel
On 01/08/11 5:35 PM, Blue Swirl wrote:
> On Mon, Aug 1, 2011 at 12:33 AM, Brad<brad@comstyle.com> wrote:
>> I know sparc64 had little chance of actually working but
>> I thought I'd take it for a spin with 0.15.0-rc1 and
>> see how it fared in addition to macppc which has a good
>> chance of working nowdays with modern QEMU. Lets see
>> what QEMU and related bugs are left..
>>
>> I noticed the bootblocks for each respective arch are
>> failing in a very similar manner. I would guess that
>> this is most likely a bug with the OpenBIOS Open Firmware
>> implementation?
>>
>> Any assistance with this? Blue?
After a little playing around I have found this is definitely
a bug in QEMU. Turning on the OpenBSD malloc S flag which is
what I run on all of my systems triggered this behavior in QEMU
and trying to narrow it down further since S is a combination
of other flags I found it was the J flag specifically that is
triggering this behavior.
From malloc(3)..
J ``Junk''. Fill some junk into the area allocated.
Currently junk is bytes of 0xd0 when allocating; this
is pronounced ``Duh''. :-) Freed chunks are filled
with 0xdf.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-03 3:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 0:33 [Qemu-devel] OpenBSD/macppc and sparc64 failing to boot with similar error Brad
2011-08-01 21:35 ` Blue Swirl
2011-08-03 3:02 ` Brad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).