Hi Openbios team,
First of all I would like to thank you for the contribution to opensource
community which is helping lot of developers like me to progress
professionally.
It would be great if you can help me with the problem I am facing with
using qemu with openbios .
I am trying to create a solaris environment with sparc architecture on
an ubuntu 14.04 linux OS with help of qemu-system-sparc .
When I am trying to load a solaris image using this qemu-system-sparc64 i
am getting the following error message .
When I tried debugging it I found that the openbios-sparc is not installed
in ubuntu machine I am working with .
This qemu-system-sparc64 uses a softlink which points to the directory
/usr/share/qemu/openbios-sparc64 which is not found in the machine .
I am stuck here , I am not sure what should be the contents of the above
directory so that this sparc emulation works good .
I tried to install the openbios from your official website but failed in
using it along with qemu .
Can you please help me to get out of this situation or suggest me some way
to create a 64 bit sparc solaris environment on linux os .
Thanks in advance :)
Warm Regards,
Tej
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
On 12/03/16 10:09, Lsrtej P wrote:
> Hi Openbios team,
>
> First of all I would like to thank you for the contribution to
> opensource community which is helping lot of developers like me to
> progress professionally.
>
> It would be great if you can help me with the problem I am facing with
> using qemu with openbios .
>
> I am trying to create a solaris environment with sparc architecture on
> an ubuntu 14.04 linux OS with help of qemu-system-sparc .
>
> When I am trying to load a solaris image using this qemu-system-sparc64
> i am getting the following error message .
>
>
>
> When I tried debugging it I found that the openbios-sparc is not
> installed in ubuntu machine I am working with .
>
> This qemu-system-sparc64 uses a softlink which points to the directory
> /usr/share/qemu/openbios-sparc64 which is not found in the machine .
>
> I am stuck here , I am not sure what should be the contents of the above
> directory so that this sparc emulation works good .
>
> I tried to install the openbios from your official website but failed
> in using it along with qemu .
>
> Can you please help me to get out of this situation or suggest me some
> way to create a 64 bit sparc solaris environment on linux os .
>
> Thanks in advance :)
>
> Warm Regards,
> Tej
Hi Tej,
It sounds like there is a dependency missing somewhere between your QEMU
and OpenBIOS packages - as you can see at
https://launchpad.net/ubuntu/+source/openbios, OpenBIOS is packaged
separately under Ubuntu so I'm not sure why this hasn't been brought in?
Once the package is installed you should find that QEMU can locate the
binary automatically.
As regards running Solaris under Linux using qemu-system-sparc64 sadly
this is still a work in progress. Since the work is currently
unsponsored then myself and a few others are quite restricted in the
time we can spend on this so progress isn't as fast as we would like.
On the plus side, qemu-system-sparc64 is getting much more reliable with
newer QEMU/OpenBIOS releases and is now capable of booting
NetBSD/OpenBSD and (nearly) FreeBSD. So all I can say about Solaris for
the moment is watch this space :)
ATB,
Mark.
Hi Openbios team,
First of all I would like to thank you for the contribution to opensource
community which is helping lot of developers like me to progress
professionally.
It would be great if you can help me with the problem I am facing with
using qemu with openbios .
I am trying to create a solaris environment with sparc architecture on
an ubuntu 14.04 linux OS with help of qemu-system-sparc .
When I am trying to load a solaris image using this qemu-system-sparc64 i
am getting the following error message .
When I tried debugging it I found that the openbios-sparc is not installed
in ubuntu machine I am working with .
This qemu-system-sparc64 uses a softlink which points to the directory
/usr/share/qemu/openbios-sparc64 which is not found in the machine .
I am stuck here , I am not sure what should be the contents of the above
directory so that this sparc emulation works good .
I tried to install the openbios from your official website but failed in
using it along with qemu .
Can you please help me to get out of this situation or suggest me some way
to create a 64 bit sparc solaris environment on linux os .
Thanks in advance :)
Warm Regards,
Tej
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
openbios has some warnings (that are errors with -Werror) on gcc6. See results
below, with gcc6 from fedora, and building openbios revision 1378
Thanks,
Cole
/builddir/build/BUILD/openbios-1.1/libc/string.c: In function 'strdup':
/builddir/build/BUILD/openbios-1.1/libc/string.c:353:4: warning: nonnull
argument 'str' compared to NULL [-Wnonnull-compare]
if( !str )
In file included from /builddir/build/BUILD/openbios-1.1/drivers/sbus.c:14:0:
/builddir/build/BUILD/openbios-1.1/drivers/sbus.c:391:14: warning:
'ob_sbus_node_m' defined but not used [-Wunused-const-variable]
NODE_METHODS(ob_sbus_node) = {
^
/builddir/build/BUILD/openbios-1.1/include/libopenbios/bindings.h:139:23:
note: in definition of macro 'NODE_METHODS'
static const method_t name##_m[]
In file included from /builddir/build/BUILD/openbios-1.1/arch/sparc64/lib.c:12:0:
/builddir/build/BUILD/openbios-1.1/arch/sparc64/lib.c:444:14: warning: 'mmu_p'
defined but not used [-Wunused-const-variable]
DECLARE_NODE(mmu, INSTALL_OPEN, 0, "/virtual-memory");
^
/builddir/build/BUILD/openbios-1.1/include/libopenbios/bindings.h:135:27:
note: in definition of macro 'DECLARE_NODE'
static const char * const name##_p[] = { paths }; \
^~~~
/builddir/build/BUILD/openbios-1.1/arch/sparc64/lib.c:436:14: warning:
'memory_p' defined but not used [-Wunused-const-variable]
DECLARE_NODE(memory, INSTALL_OPEN, 0, "/memory");
^
/builddir/build/BUILD/openbios-1.1/include/libopenbios/bindings.h:135:27:
note: in definition of macro 'DECLARE_NODE'
static const char * const name##_p[] = { paths }; \
Some Linux distributions like Fedora start booting to an all black screen. I found out the reason why is because there appears to be something wrong with the screen node's color! word.
If you type these commands in OpenBIOS:
dev screen
see color!
You will see that color! is empty. This would definitely prevent the color of text from being changed.
Mac OS 9's bootscript uses '\r' a lot. These interfere with how OpenBIOS functions. So the solution is to translate them to '\n' characters. This will allow Mac OS 9 to boot.
Signed-off-by: John Arbuckle <programmingkidx(a)gmail.com>
These are the operating systems I used to test my patch.
- Mac OS 10.4.0
- Mac OS 9.2
- Fedora Linux 17
- Debian Linux 5
No regressions have been detected.
Index: libopenbios/bootinfo_load.c
===================================================================
--- libopenbios/bootinfo_load.c (revision 1391)
+++ libopenbios/bootinfo_load.c (working copy)
@@ -190,7 +190,10 @@
while (current < size) {
c = base[current++];
-
+ if(c == '\r') {
+ c = '\n';
+ }
+
if (c == '<') {
script = 0;
tag = 1;
Hi Mark, I was wondering if you were willing to be a mentor again for another student for this year's Google Summer of Code. Last year Cormac O'Brien made a lot of progress that put us into view of making Mac OS 9 work in QEMU. This year we could bring on someone else who could eliminate all these extension problems. Your work with Cormac last year was very impressive. Would you be interested in mentoring this year?
I am thing about making the title to this years Google Summer of Code entry as "Make Mac OS 8.0 and higher work in QEMU". Nothing set in stone yet.