Skip to contentSkip to conversation

Inquiry:Solaris 8 installation on QEMU

Qemu-devel hadi motamedi 4 participants 10 messages Sep 17, 2009 – Nov 4, 2009

lore
Share & tools
lore
#0 lore raw

Dear All
Can you please do me favor and let me know how can I install Solaris 8 on QEMU ? Please be informed that I have downloaded & installed qemu-0.9.0-sparc on my x86 workstation . It seems that it has emulated the UltraSPARC platform on my pc as I am receiving the followings :
"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005 sparc unknown" I have an application that calls for UltraSPAR Solaris 8 to be pre-installed . Can you please let me know how can I install Solaris 8 on my new emulated platform ?
Thank you in advance

#1 lore raw
Quoted 7 lines · hadi motamedi

Dear All
Can you please do me favor and let me know how can I install Solaris 8 on QEMU ? Please be informed that I have downloaded & installed qemu-0.9.0-sparc on my x86 workstation . It seems that it has emulated the UltraSPARC platform on my pc as I am receiving the followings :
"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005 sparc unknown"

This is 32 bit Sparc, not UltraSPARC. UltraSPARC emulator is called sparc64 (sparc64-softmmu, qemu-system-sparc64).

Quoted 4 lines

I have an application that calls for UltraSPAR Solaris 8 to be pre-installed . Can you please let me know how can I install Solaris 8 on my new emulated platform ?
Thank you in advance

UltraSPARC emulation is not complete. Even Sparc32 can't boot Solaris 8 for some mysterious reason.

#2 lore raw

Thank you very much for your valuable reply . Please do me favor and update if you have found news about it.
I appreciate your reply .

Quoted 24 lines · Blue Swirl
Quoted 4 lines · hadi motamedi

Dear All
Can you please do me favor and let me know how can I install Solaris 8 on QEMU ? Please be informed that I have downloaded & installed qemu-0.9.0-sparc on my x86 workstation . It seems that it has emulated

the

Quoted 3 lines

UltraSPARC platform on my pc as I am receiving the followings :
"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005 sparc unknown"

This is 32 bit Sparc, not UltraSPARC. UltraSPARC emulator is called sparc64 (sparc64-softmmu, qemu-system-sparc64).

Quoted 1 line

I have an application that calls for UltraSPAR Solaris 8 to be

pre-installed

Quoted 1 line

. Can you please let me know how can I install Solaris 8 on my new

emulated

Quoted 2 lines

platform ?
Thank you in advance

UltraSPARC emulation is not complete. Even Sparc32 can't boot Solaris 8 for some mysterious reason.

#3 lore raw

Hmmm...

Quoted 5 lines
Quoted 3 lines

"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005

sparc unknown"

Why is this "sparc unknown" instead of "sparc sun4m"?

Can I get it changed to "sparc sun4(some letter)"?

Best Regards,
Luis

Quoted 55 lines · hadi motamedi

From: hadi motamedi <[email protected]>
Subject: Re: [Qemu-devel] Inquiry:Solaris 8 installation on QEMU
To: "Blue Swirl" <[email protected]>
Cc: [email protected]
Date: Monday, September 21, 2009, 12:56 AM
Thank you very much for your valuable
reply . Please do me favor and update if you have found news about it.
I appreciate your reply .


On Sat, Sep 19, 2009 at 10:39 AM,
Blue Swirl <[email protected]>
wrote:

Quoted 2 lines · hadi motamedi

Dear All
Can you please do me favor and let me know how can I

install Solaris 8 on

Quoted 1 line

QEMU ? Please be informed that I have

downloaded & installed

Quoted 1 line

qemu-0.9.0-sparc on my x86 workstation . It seems that

it has emulated the

Quoted 1 line

UltraSPARC platform on my pc as I am receiving the

followings :

Quoted 2 lines

"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005

sparc unknown"

This is 32 bit Sparc, not UltraSPARC. UltraSPARC
emulator is called
sparc64 (sparc64-softmmu, qemu-system-sparc64).

Quoted 1 line

I have an application that calls for UltraSPAR Solaris

8 to be pre-installed

Quoted 1 line

. Can you please let me know how can I install Solaris

8 on my new emulated

Quoted 2 lines

platform ?
Thank you in advance

UltraSPARC emulation is not complete. Even Sparc32 can't boot Solaris
8 for some mysterious reason.

#4 lore raw
In reply to Blue Swirl

Sorry to forgot to question about this in my previous message . Can you please do me favor and let me have the link to download qemu-system-sparc64 software package ?
Let me thank you in advance

Quoted 24 lines · Blue Swirl
Quoted 4 lines · hadi motamedi

Dear All
Can you please do me favor and let me know how can I install Solaris 8 on QEMU ? Please be informed that I have downloaded & installed qemu-0.9.0-sparc on my x86 workstation . It seems that it has emulated

the

Quoted 3 lines

UltraSPARC platform on my pc as I am receiving the followings :
"#uname -a
Linux (none) 2.6.11 #3 Tue Mar 15 18:21:10 UTC 2005 sparc unknown"

This is 32 bit Sparc, not UltraSPARC. UltraSPARC emulator is called sparc64 (sparc64-softmmu, qemu-system-sparc64).

Quoted 1 line

I have an application that calls for UltraSPAR Solaris 8 to be

pre-installed

Quoted 1 line

. Can you please let me know how can I install Solaris 8 on my new

emulated

Quoted 2 lines

platform ?
Thank you in advance

UltraSPARC emulation is not complete. Even Sparc32 can't boot Solaris 8 for some mysterious reason.

#5 lore raw
Quoted 4 lines · hadi motamedi

Sorry to forgot to question about this in my previous message . Can you please do me favor and let me have the link to download qemu-system-sparc64 software package ?
Let me thank you in advance

If the distro package did not contain qemu-system-sparc64 (IIRC it was not enabled on 0.9.0), you have to compile QEMU from source.

#6 lore raw

Hi,

Sorry to bash in.

I compiled from sources and didnt get the qemu-system-sparc64, only qemu-sparc64.

Do I need to enable it somewhere?

(Still no luck booting solaris 8 btw. I am thinking of enabling some kind of trace on forth, but not sure on how to do it. Also I would need a cross compiling environment to build the OPB with this trace enabled. It would be nice to be able to inspect the forth memory structures during boot.)

Regards,
Luis

Quoted 22 lines · Blue Swirl

From: Blue Swirl <[email protected]>
Subject: Re: [Qemu-devel] Inquiry:Solaris 8 installation on QEMU
To: "hadi motamedi" <[email protected]>
Cc: [email protected]
Date: Monday, September 21, 2009, 12:39 PM

Quoted 1 line · hadi motamedi

Sorry to forgot to question about this in my previous

message . Can you

Quoted 1 line

please do me favor and let me have the link to

download qemu-system-sparc64

Quoted 2 lines

software package ?
Let me thank you in advance

If the distro package did not contain qemu-system-sparc64 (IIRC it was
not enabled on 0.9.0), you have to compile QEMU from source.

#7 lore raw
In reply to Blue Swirl

2009/9/19 Blue Swirl <[email protected]>:

Quoted 1 line

Even Sparc32 can't boot Solaris for some mysterious reason.

Not so mysterious anymore! Mitch Bradley found that subcc instruction was not correctly setting carry flag in the case where both arguments were 0 and carry flag was previously set. Fixing the bug allowed to start booting Solaris 2.5.1 and Solaris 2.6 up to /sbin/init. Afterwards I found more corner cases in add(x)cc and sub(x)cc carry handling. Now Solaris 2.5.1 (
http://tyom.blogspot.com/2009/10/greetings-professor-falken.html ) and 2.6 ( http://tyom.blogspot.com/2009/11/another-week-another-solaris-version.html
) can be boot in a single user mode.

The kernels of Solaris 8 & 9 can be boot too, but then they flood about spurious irq 10. It seems that the earlier Solaris versions are also suffering from spurious interrupts, because the boot process takes very long: ~7 hours on [email protected] .

The patch fixing carry handling is in the [patch] thread.

Artyom

#8 lore raw
Quoted 12 lines · Artyom Tarasenko

2009/9/19 Blue Swirl <[email protected]>:

Quoted 1 line

 Even Sparc32 can't boot Solaris for some mysterious reason.

Not so mysterious anymore! Mitch Bradley found that subcc instruction was not correctly setting carry flag in the case where both arguments were 0 and carry flag was previously set. Fixing the bug allowed to start booting Solaris 2.5.1 and Solaris 2.6 up to /sbin/init. Afterwards I found more corner cases in add(x)cc and sub(x)cc carry handling. Now Solaris 2.5.1 (
http://tyom.blogspot.com/2009/10/greetings-professor-falken.html ) and 2.6 ( http://tyom.blogspot.com/2009/11/another-week-another-solaris-version.html
) can be boot in a single user mode.

Awesome!

Quoted 4 lines

The kernels of Solaris 8 & 9 can be boot too, but then they flood about spurious irq 10. It seems that the earlier Solaris versions are also suffering from spurious interrupts, because the boot process takes very long: ~7 hours on [email protected] .

A bug in the system timer implementation?

#9 lore raw
Quoted 6 lines
Quoted 4 lines

The kernels of Solaris 8 & 9 can be boot too, but then they flood about spurious irq 10. It seems that the earlier Solaris versions are also suffering from spurious interrupts, because the boot process takes very long: ~7 hours on [email protected] .

A bug in the system timer implementation?

Or in interrupt handling in general. The interrupts seem to be really spurious, not triggered by the timer. I think I fixed one bug in slavio today, but I need more reading slavio docs. With the fix solaris 9 seems to boot as well. Although it still complains about spurious interrupts, but with the fix it happens once a second and not hundreds times a second as before.

The performance is not affected, so either the fix is incomplete, or I took a wrong trail