LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc' (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/qemu-hardware-error-qemu-could-not-load-powerpc-bios-openbios-ppc-884818/)

Skaperen 06-06-2011 09:34 AM

qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc'
 
Seems to be AWOL from the Ubuntu package in 10.10. Discussion of this is on Launchpad, with claimed fix, but maybe it is regressed. Anyone know where to get a copy of the openbios-ppc.bin file?

jefro 06-06-2011 03:38 PM

Wonder if the windows version would be the same file?

TobiSGD 06-06-2011 04:25 PM

Quote:

Originally Posted by jefro (Post 4378143)
Wonder if the windows version would be the same file?

A Windows file for the PowerPC architecture? The OP is wanting a BIOS file for the emulation of a PowerPC machine. Has nothing to do with the OS at all. Useless post, pulling the OP of the zero reply list.

@Skaperen: You can build it yourself, instructions here.

jefro 06-06-2011 09:32 PM

See if this helps.

http://pastebin.com/cm03Kv9Z


The file should be the same no matter the host OS. A bios file in Qemu is simply a file not an executable or any OS dependent file.

I'd also doubt the ppc bios bin file has changed in 5 years. Bet it is still a 2007 file.

From Ubuntu site bugs.

"Dustin Kirkland wrote on 2010-03-19: #14

Reopening this bug, as I have to revert the change that fixed this, because the qemu-kvm source tarball does not include the source to the openbios binary blobs. Thus, we can't distribute them without source.
"


Also this post.

./qemu-kvm-0.12.3/pc-bios/openbios-ppc
./qemu-kvm-0.12.3/pc-bios/ppc_rom.bin

Skaperen 06-07-2011 12:04 PM

Quote:

Originally Posted by jefro (Post 4378359)
See if this helps.

http://pastebin.com/cm03Kv9Z

That suggests a couple openbios packages. But they are not in the Ubuntu repository.

Quote:

Originally Posted by jefro (Post 4378359)
The file should be the same no matter the host OS. A bios file in Qemu is simply a file not an executable or any OS dependent file.

Right. It's just a bunch of bits. It means something to a PPC processor, and therefore to qemu-system-ppc. But as a packaged file, it's bits to anything else.

Quote:

Originally Posted by jefro (Post 4378359)
I'd also doubt the ppc bios bin file has changed in 5 years. Bet it is still a 2007 file.

I'd agree. With little to do, there's little to change or worry about.

Quote:

Originally Posted by jefro (Post 4378359)
From Ubuntu site bugs.

"Dustin Kirkland wrote on 2010-03-19: #14

Reopening this bug, as I have to revert the change that fixed this, because the qemu-kvm source tarball does not include the source to the openbios binary blobs. Thus, we can't distribute them without source.
"

Seems silly. If they can't package it without its own source (per their packaging philosophy/policy) then why not include the source from whence it came, or make a "non-free" version of the package to get around the issue?

Also this post.

Quote:

Originally Posted by jefro (Post 4378359)
./qemu-kvm-0.12.3/pc-bios/openbios-ppc
./qemu-kvm-0.12.3/pc-bios/ppc_rom.bin

I don't know what to do with the above.

Are the openbios packages simply in older Ubuntu packages? Maybe Linuxmint?

jefro 06-07-2011 02:59 PM

That was part of the post that led me to the issue. I'd think that you can get those two files from almost any source if somewhat similar or better still exact level as your qemu.

One of the posts did suggest that you get the qemu common file but to comply with source code included, they seem to keep pulling it out.

I guess you could try compile it from source.


I'd see if you can run some other file from anyplace. qemu-manager has ppc-rom.bin and openbios. Just for grins, you could try it.
Might have to change script to run.

I would think that making openbios as posted above to a .bin file may indeed work. Never tried it that way.

Skaperen 06-08-2011 12:39 PM

Source is available. It's just not in the qemu source package. So if Ubuntu's package building system can't make a package from 2 or more sources, then they should just make a package of openbios, from openbios, mark that as a "suggest" for qemu (or as a dependency if they ever choose to split qemu by guest platform architecture). That, I think, would make it all work (maybe with a symlink added to reference files).

jefro 06-08-2011 02:53 PM

Seems odd I agree. Why have a package that doesn't work or even tell you it needs more?

Let us know if you get it working.

Skaperen 06-09-2011 07:15 AM

Quote:

Originally Posted by jefro (Post 4380248)
Seems odd I agree. Why have a package that doesn't work or even tell you it needs more?

Let us know if you get it working.

It works for the other platforms, including the popular x86 and x86_64. I guess that was "good enough". Why they included the sparc and ppc engines, but without the needed firmware image (somewhere, doesn't need to be in the same package AFAIC), is that issue. If they split qemu up by platform, they could even make the platforms that need a firmware image depend on the package that has it (well, they can even without splitting, but maybe some people don't want all that all in one).


All times are GMT -5. The time now is 12:56 AM.