Skip to contentSkip to conversation

virtualize sparc developer workstation?

Qemu-devel dennis luehring 3 participants 5 messages Jul 5, 2014 – Jul 8, 2014

lore
Share & tools
lore
#0 lore raw

i want to virtualize (under a linux x86 host) my noisy sparc workstation with the help of qemu and want to know if its possible to get an system image to run or what other options available for sparc virtualization

im developing a low-traffic network communication software and sparc is one of my test platforms

is the sparc emulation good enough for
(low-traffic) network communication tests?

my current system specs:
-SUN Ultra 10 SPARC Workstation
-384 MB RAM
-Operating System: Solaris 10 November 2006 - SunOS Release 5.10 Generic_118833-33 64-bit
-Desktop: CDE 1.6.3, X11 Version 6.6.2
-Compiler: SunStudio 12 - Sun C/C++ v5.9 2007/05/03 (and gcc v.3.4.6) -Workstation-Info: SUNW,Ultra-5_10;sparc;sun4u

it would be nice to have the desktop running
but i can compile & test my software fully on command line

questions are:
-can i boot an image of my machine into qemu?
-what bios do i need - OpenBios, OpenBoot, original (how can i get this from my machine?) -use qemu git head or other version?

thx for any help

#1 lore raw

Cc'ing the SPARC maintainer.

Quoted 30 lines · dennis luehring

i want to virtualize (under a linux x86 host) my noisy sparc workstation with the help of qemu and want to know if its possible to get an system image to run or what other options available for sparc virtualization

im developing a low-traffic network communication software and sparc is one of my test platforms

is the sparc emulation good enough for
(low-traffic) network communication tests?

my current system specs:

(quoted diff) +0 -3
-SUN Ultra 10 SPARC Workstation
-384 MB RAM
-Operating System: Solaris 10 November 2006 - SunOS Release 5.10

Generic_118833-33 64-bit

(quoted diff) +0 -3
-Desktop: CDE 1.6.3, X11 Version 6.6.2
-Compiler: SunStudio 12 - Sun C/C++ v5.9 2007/05/03 (and gcc v.3.4.6)
-Workstation-Info: SUNW,Ultra-5_10;sparc;sun4u

it would be nice to have the desktop running
but i can compile & test my software fully on command line

questions are:

(quoted diff) +0 -2
-can i boot an image of my machine into qemu?
-what bios do i need - OpenBios, OpenBoot, original (how can i get

this from my machine?)
-use qemu git head or other version?

thx for any help

#2 lore raw
Quoted 1 line · Markus Armbruster

Cc'ing the SPARC maintainer.

I'm not the official maintainer, but I've done some work on this and so can probably answer your question.

Quoted 25 lines
Quoted 23 lines · dennis luehring

i want to virtualize (under a linux x86 host) my noisy sparc workstation with the help of qemu and want to know if its possible to get an system image to run or what other options available for sparc virtualization

im developing a low-traffic network communication software and sparc is one of my test platforms

is the sparc emulation good enough for
(low-traffic) network communication tests?

my current system specs:

(quoted diff) +0 -3
-SUN Ultra 10 SPARC Workstation
-384 MB RAM
-Operating System: Solaris 10 November 2006 - SunOS Release 5.10

Generic_118833-33 64-bit

(quoted diff) +0 -3
-Desktop: CDE 1.6.3, X11 Version 6.6.2
-Compiler: SunStudio 12 - Sun C/C++ v5.9 2007/05/03 (and gcc v.3.4.6)
-Workstation-Info: SUNW,Ultra-5_10;sparc;sun4u

it would be nice to have the desktop running
but i can compile & test my software fully on command line

Quoted 7 lines
Quoted 7 lines

questions are:

(quoted diff) +0 -2
-can i boot an image of my machine into qemu?
-what bios do i need - OpenBios, OpenBoot, original (how can i get

this from my machine?)
-use qemu git head or other version?

thx for any help

Sadly sun4u support isn't quite there yet; it's enough to boot Linux (and with git master you can actually start booting the *BSD kernels and Solaris) but there are still some issues with the device tree that need to be resolved in order for this to work.

In theory the only remaining issues in order to get a headless (serial) Solaris to boot in QEMU are to fix up the PCI BARs/interrupts and then to switch the RTC over to MMIO access, but I ran out of time to do any more development work this release cycle.

As my QEMU work is unsponsored, I'm afraid the pace of development is restricted to what I can do in my spare time. If you're not subscribed to the list full time, I can let you know when I make any further progress if that helps?

ATB,

Mark.

#3 lore raw

Am 08.07.2014 00:15, schrieb Mark Cave-Ayland:

Quoted 4 lines

Sadly sun4u support isn't quite there yet; it's enough to boot Linux (and with git master you can actually start booting the *BSD kernels and Solaris) but there are still some issues with the device tree that need to be resolved in order for this to work.

is there an better working sparc architecture available with qemu near to my system specs
- means big endian, 32- or 64bit, solaris?

Quoted 4 lines

As my QEMU work is unsponsored, I'm afraid the pace of development is restricted to what I can do in my spare time. If you're not subscribed to the list full time, I can let you know when I make any further progress if that helps?

im subscribed but you can email me any progress you've made - thx

#4 lore raw
Quoted 9 lines · Dennis Luehring

Am 08.07.2014 00:15, schrieb Mark Cave-Ayland:

Quoted 4 lines

Sadly sun4u support isn't quite there yet; it's enough to boot Linux (and with git master you can actually start booting the *BSD kernels and Solaris) but there are still some issues with the device tree that need to be resolved in order for this to work.

is there an better working sparc architecture available with qemu near to my system specs
- means big endian, 32- or 64bit, solaris?

Sun4m support in QEMU (qemu-system-sparc) is fairly mature now. The only outstanding issues I know of at the moment are lack of TCX acceleration (Olivier submitted a patch a while back for this) and a bug in ESP emulation which tends to emit warnings on the BSDs (and also prevents NeXTStep from booting). Newer versions of 32-bit Solaris will boot fine with OpenBIOS, older versions still need OBP - for more information take a look at Artyom's blog at http://tyom.blogspot.co.uk/2009/12/solaris-under-qemu-how-to.html which is reasonably up to date.

Quoted 5 lines
Quoted 4 lines

As my QEMU work is unsponsored, I'm afraid the pace of development is restricted to what I can do in my spare time. If you're not subscribed to the list full time, I can let you know when I make any further progress if that helps?

im subscribed but you can email me any progress you've made - thx

Okay, will do.

ATB,

Mark.