Skip to contentSkip to conversation

Linux as VirtualBox quest OS with QEMU running Solaris

Qemu-devel Mateusz Loskot 5 participants 31 messages Jan 7, 2011 – Jan 13, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready". I need to have fairly stable environment for building and
testing software on SPARC architecture.

[1] http://www.h7.dion.ne.jp/~qemu-win/

I'd appreciate any help and sugestions.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#1 lore raw
Quoted 4 lines · Mateusz Loskot

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have seen it once but could not find it either when searching for a qemu mailing list to subscribe to.

Quoted 17 lines

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Quoted 8 lines

Is this configuration reasonable?
Would it work well?

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

If you can find a build of recent qemu for Windows it should preform as well as qemu on Linux for emulating a SPARC (= different architecture).

Adding another layer of virtualization is going to hurt performance at least and could potentially introduce additional issues.

However, the device emulation is different on Windows compared to Linux so you may find that networking and screen emulation works differently compared to Linux.

HTH

Michal

#2 lore raw
Quoted 8 lines · Michal Suchanek
Quoted 4 lines · Mateusz Loskot

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have seen it once but could not find it either when searching for a qemu mailing list to subscribe to.

I see.

Quoted 9 lines
Quoted 4 lines

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

If you can find a build of recent qemu for Windows it should preform as well as qemu on Linux for emulating a SPARC (= different architecture).

I will try to find or build it.

Quoted 2 lines

Adding another layer of virtualization is going to hurt performance at least and could potentially introduce additional issues.

Yes, that's what I am worried about.

Quoted 3 lines

However, the device emulation is different on Windows compared to Linux so you may find that networking and screen emulation works differently compared to Linux.

I see. Actually, I do not need to access Solaris with any GUI, text mode will do well.

Thanks for the hints.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#3 lore raw
In reply to Mateusz Loskot

Am 07.01.2011 18:28, schrieb Mateusz Loskot:

Quoted 28 lines

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready". I need to have fairly stable environment for building and
testing software on SPARC architecture.

Quoted 5 lines

[1] http://www.h7.dion.ne.jp/~qemu-win/

I'd appreciate any help and sugestions.

Best regards,

Using a native windows version of qemu would be more reasonable. There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

The setup which you proposed might work in theory, but will be less performant (if it works).

Regards,
Stefan Weil

#4 lore raw
Quoted 30 lines · Stefan Weil

Am 07.01.2011 18:28, schrieb Mateusz Loskot:

Quoted 29 lines

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

Quoted 6 lines
Quoted 3 lines

[1] http://www.h7.dion.ne.jp/~qemu-win/

I'd appreciate any help and sugestions.

Using a native windows version of qemu would be more reasonable.

OK, makes sense to me.

Quoted 3 lines

There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

Great. I think I should be able to do that.

Which version of QEMU source code should I grab? Latest stable or development version from Git repo?

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#5 lore raw

Am 10.01.2011 12:19, schrieb Mateusz Loskot:

Quoted 44 lines · Stefan Weil
Quoted 30 lines

Am 07.01.2011 18:28, schrieb Mateusz Loskot:

Quoted 29 lines

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

Quoted 6 lines
Quoted 3 lines

[1] http://www.h7.dion.ne.jp/~qemu-win/

I'd appreciate any help and sugestions.

Using a native windows version of qemu would be more reasonable.

OK, makes sense to me.

Quoted 3 lines

There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

Quoted 6 lines

Great. I think I should be able to do that.

Which version of QEMU source code should I grab? Latest stable or development version from Git repo?

Best regards,

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Kind regards,
Stefan Weil

#6 lore raw
Quoted 6 lines · Stefan Weil

Am 10.01.2011 12:19, schrieb Mateusz Loskot:

Quoted 5 lines · Stefan Weil
Quoted 3 lines

There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

Quoted 8 lines
Quoted 4 lines

Great. I think I should be able to do that.

Which version of QEMU source code should I grab? Latest stable or development version from Git repo?

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

I quickly tried your binaries and it looks I have to run them from within MSYS environment, isn't it? I'm getting runtime error reporting msys-z.dll is missing.

I tried to find instructions on building QEMU with MinGW. No luck. Is there anything available?

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#7 lore raw
Quoted 11 lines · Mateusz Loskot
Quoted 2 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice. Have to use an OBP blob.

Signature · 4 lines
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/
#8 lore raw
Quoted 6 lines · Artyom Tarasenko
Quoted 5 lines · Mateusz Loskot
Quoted 2 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#9 lore raw
Quoted 23 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Quoted 7 lines

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS. The 5.0 exists only for 64 bit machines, so it can not be booted yet.

Signature · 4 lines
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/
#10 lore raw
Quoted 26 lines · Artyom Tarasenko
Quoted 25 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Quoted 7 lines
Quoted 5 lines

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS.

OK, then I will stick to the Linux distribution for 32-bit SPARC and see if it works for me.

Quoted 1 line

The 5.0 exists only for 64 bit machines, so it can not be booted yet.

Trying to understand it better...there is limitation in QEMU, so it does not boot 64-bit SPARC yet, right?

Thanks for clarifying it.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#11 lore raw
Quoted 31 lines · Mateusz Loskot
Quoted 30 lines · Artyom Tarasenko
Quoted 28 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS.

OK, then I will stick to the Linux distribution for 32-bit SPARC and see if it works for me.

If anyone is curious, I did a quick test on my over-engineered configuration with Windows Vista running VirtualBox with Ubuntu 64-bit as guest system running QEMU which is supposed to run Debian Etch 32-bit SPARC.

I run:

$ qemu-img create -f qcow hda.img 20G
$ qemu-system-sparc -m 256 -hda hda.img -cdrom /home/mloskot/software/debian/debian-40r8-sparc-netinst.iso -boot d -localtime

and QEMU window appears but it remains black all the time.
The VirtualBox CPU is running 100%.
I can issue CTRL+ALT+{1|2|3} to switch QEMU consoles, but nothing related to Debian booting appears.

Here is screenshot:

http://www.flickr.com/photos/mloskot/5348626557/

I'm wondering if this is related to the VirtualBox+Linux host proxy.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#12 lore raw
Quoted 48 lines · Mateusz Loskot
Quoted 34 lines · Mateusz Loskot
Quoted 32 lines · Artyom Tarasenko
Quoted 29 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS.

OK, then I will stick to the Linux distribution for 32-bit SPARC and see if it works for me.

If anyone is curious, I did a quick test on my over-engineered configuration with Windows Vista running VirtualBox with Ubuntu 64-bit as guest system running QEMU which is supposed to run Debian Etch 32-bit SPARC.

Quoted 6 lines

I run:

$ qemu-img create -f qcow hda.img 20G
$ qemu-system-sparc -m 256 -hda hda.img -cdrom
/home/mloskot/software/debian/debian-40r8-sparc-netinst.iso -boot d
-localtime

Try -nographic . Also it's interesting to know whether you see something when you start qemu-system-sparc without any command line options.

Quoted 10 lines

and QEMU window appears but it remains black all the time.
The VirtualBox CPU is running 100%.
I can issue CTRL+ALT+{1|2|3} to switch QEMU consoles, but nothing related to Debian booting appears.

Here is screenshot:

http://www.flickr.com/photos/mloskot/5348626557/

I'm wondering if this is related to the VirtualBox+Linux host proxy.

Signature · 4 lines
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/
#13 lore raw
Quoted 49 lines · Artyom Tarasenko
Quoted 48 lines · Mateusz Loskot
Quoted 34 lines · Mateusz Loskot
Quoted 32 lines · Artyom Tarasenko
Quoted 29 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS.

OK, then I will stick to the Linux distribution for 32-bit SPARC and see if it works for me.

If anyone is curious, I did a quick test on my over-engineered configuration with Windows Vista running VirtualBox with Ubuntu 64-bit as guest system running QEMU which is supposed to run Debian Etch 32-bit SPARC.

Quoted 8 lines
Quoted 6 lines

I run:

$ qemu-img create -f qcow hda.img 20G
$ qemu-system-sparc -m 256 -hda hda.img -cdrom
/home/mloskot/software/debian/debian-40r8-sparc-netinst.iso -boot d
-localtime

Try -nographic .

Here is what I get, no output, CPU runs 100% for long -40-sminutes

http://www.flickr.com/photos/mloskot/5349339628/

I can use CTRL-a to access terminal commands and monitor

In the meantime, I also tested Debian Etch with QEMU 0.13 running directly under Windows Vista. I installed QEMU 0.13 from binaries downloadable using Qemu Manager (http://www.davereyn.co.uk/).
(I'm having problems with Stefan Weil's binaries as explained in this thread, even if I can run them, the qemu-img.exe behaves strange not accepting disk sizes).

Anyway, It looks Debian booted properly:

http://www.flickr.com/photos/mloskot/5348739869/

I've just passed partitions formatting step, fingers crossed.

Quoted 3 lines

Also it's interesting to know whether you see
something when you start qemu-system-sparc without any command line options.

Here is what I get

$ qemu-system-sparc
qemu: Too much memory for this machine: 384, maximum 256

By the way, I run

$ qemu -version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008 Fabrice Bellard

Thinking of future, could anyone estimate when it will be possible to
boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#14 lore raw
Quoted 98 lines · Mateusz Loskot
Quoted 52 lines · Artyom Tarasenko
Quoted 49 lines · Mateusz Loskot
Quoted 34 lines · Mateusz Loskot
Quoted 32 lines · Artyom Tarasenko
Quoted 29 lines · Mateusz Loskot
Quoted 9 lines · Artyom Tarasenko
Quoted 6 lines · Mateusz Loskot
Quoted 3 lines

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Quoted 8 lines
Quoted 6 lines

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

If you need Solaris, OpenBIOS is currently not your choice.

I understand.

Quoted 1 line

Have to use an OBP blob.

Where can I find instructions on how to use it?

Actually, I don't need Solaris but SPARC.
So, even Linux for SPARC would do for me.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I tried Debian 4.0 (etch) and Debian 5.0 (lenny) but with no luck. I think I confused the 32 vs 64 bit and SPARC flavors.

32 bit Debian 4.0 should work out of the box, also with OpenBIOS.

OK, then I will stick to the Linux distribution for 32-bit SPARC and see if it works for me.

If anyone is curious, I did a quick test on my over-engineered configuration with Windows Vista running VirtualBox with Ubuntu 64-bit as guest system running QEMU which is supposed to run Debian Etch 32-bit SPARC.

Quoted 8 lines
Quoted 6 lines

I run:

$ qemu-img create -f qcow hda.img 20G
$ qemu-system-sparc -m 256 -hda hda.img -cdrom
/home/mloskot/software/debian/debian-40r8-sparc-netinst.iso -boot d
-localtime

Try -nographic .

Here is what I get, no output, CPU runs 100% for long -40-sminutes

http://www.flickr.com/photos/mloskot/5349339628/

I can use CTRL-a to access terminal commands and monitor

In the meantime, I also tested Debian Etch with QEMU 0.13 running directly under Windows Vista. I installed QEMU 0.13 from binaries downloadable using Qemu Manager (http://www.davereyn.co.uk/).
(I'm having problems with Stefan Weil's binaries as explained in this thread, even if I can run them, the qemu-img.exe behaves strange not accepting disk sizes).

Anyway, It looks Debian booted properly:

http://www.flickr.com/photos/mloskot/5348739869/

I've just passed partitions formatting step, fingers crossed.

Quoted 3 lines

Also it's interesting to know whether you see
something when you start qemu-system-sparc without any command line options.

Here is what I get

$ qemu-system-sparc
qemu: Too much memory for this machine: 384, maximum 256

By the way, I run

$ qemu -version
QEMU PC emulator version 0.12.3 (qemu-kvm-0.12.3), Copyright (c) 2003-2008
Fabrice Bellard
Quoted 5 lines

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

HTH

Michal

#15 lore raw
Quoted 11 lines · Michal Suchanek
Quoted 6 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

One of the problems I found with Debian Etch is the package repositories are no longer supported and the installer can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete offline installation.

I guess the NetBSD option is more up to date here.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#16 lore raw
Quoted 16 lines · Mateusz Loskot
Quoted 9 lines · Michal Suchanek
Quoted 6 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

Quoted 3 lines

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

Quoted 7 lines

One of the problems I found with Debian Etch is the package repositories are no longer supported and the installer
can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete offline installation.

I guess the NetBSD option is more up to date here.

OpenBSD should also work.

#17 lore raw
In reply to Mateusz Loskot
Quoted 15 lines · Mateusz Loskot
Quoted 11 lines · Michal Suchanek
Quoted 6 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

Quoted 7 lines

One of the problems I found with Debian Etch is the package repositories are no longer supported and the installer
can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete offline installation.

I guess the NetBSD option is more up to date here.

I have tried the recent NetBSD and it boots without problems, however I can't configure networking to install via FTP/HTTP. Strangely, I don't get question about DHCP.

I think it's unrelated to SPARC support discussed in this thread, so I posted my full story to the QEMU forum:

http://qemu-forum.ipi.fi/viewtopic.php?f=14&t=5949

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#18 lore raw
Quoted 22 lines · Mateusz Loskot
Quoted 21 lines · Mateusz Loskot
Quoted 11 lines · Michal Suchanek
Quoted 6 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

One of the problems I found with Debian Etch is the package repositories are no longer supported and the installer
can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete offline installation.

Quoted 5 lines
Quoted 1 line

I guess the NetBSD option is more up to date here.

I have tried the recent NetBSD and it boots without problems, however I can't configure networking to install via FTP/HTTP. Strangely, I don't get question about DHCP.

Yes, that's probably an issue with the sparc installer script.

However, the sparccd has all the sets so you can easily install from the CD.

Once installed you can set up dhclient.

HTH

Michal

#19 lore raw
Quoted 29 lines · Michal Suchanek
Quoted 22 lines · Mateusz Loskot
Quoted 21 lines · Mateusz Loskot
Quoted 11 lines · Michal Suchanek
Quoted 6 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian which are known to work under QEMU? *BSD systems?

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

One of the problems I found with Debian Etch is the package repositories are no longer supported and the installer
can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete offline installation.

Quoted 5 lines
Quoted 1 line

I guess the NetBSD option is more up to date here.

I have tried the recent NetBSD and it boots without problems, however I can't configure networking to install via FTP/HTTP. Strangely, I don't get question about DHCP.

Quoted 5 lines

Yes, that's probably an issue with the sparc installer script.

However, the sparccd has all the sets so you can easily install from the CD.

Once installed you can set up dhclient.

Thanks for the hint.
Indeed, I managed to install the base system from CD and boot from QEMU image. I performed post-install configuration according to the NetBSD guide and I have dhclient=YET in /etc/rc.conf. The only problem I find is that I'm unable to configure any
other networking than the user mode with QEMU network 10.0.2.0.

I'm still using QEMU 0.13 binaries installed using Qemu Manager 0.7.

I tried to play with -nic option and the only model supported by qemu-system-sparc is lance (iface=le0). I tried to pass both -net nic -net user with hope to get two
network interfaces so I can setup one to obtain IP from my external DHCP, no luck.

I have read through manual and Web resoruces, but I feel I'm still missing something something, in particular, I don't understand how to make the iface connecting to my external DHCP instead of QEMU's.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#20 lore raw
Quoted 38 lines · Mateusz Loskot
Quoted 37 lines · Michal Suchanek
Quoted 25 lines · Mateusz Loskot
Quoted 24 lines · Mateusz Loskot
Quoted 9 lines · Michal Suchanek
Quoted 7 lines · Mateusz Loskot

Thinking of future, could anyone estimate when it will be possible to boot Solaris 10 installation from ISO disks, if at all?
To summary, what OS alternative for SPARC we have got apart from Debian
which are known to work under QEMU? *BSD systems?

Quoted 3 lines

I can run NetBSD sparc install CD just fine.

It supports sparc32 in the latest release.

Thanks. Great, I'll try.

One of the problems I found with Debian Etch is the package repositories
are no longer supported and the installer
can easily mess with those for Lenny.
The only solution is to have all CDs for Etch available and run complete
offline installation.

Quoted 5 lines
Quoted 1 line

I guess the NetBSD option is more up to date here.

I have tried the recent NetBSD and it boots without problems, however I can't configure networking to install via FTP/HTTP. Strangely, I don't get question about DHCP.

Yes, that's probably an issue with the sparc installer script.

However, the sparccd has all the sets so you can easily install from the CD.

Quoted 7 lines
Quoted 1 line

Once installed you can set up dhclient.

Thanks for the hint.
Indeed, I managed to install the base system from CD and boot from QEMU image. I performed post-install configuration according to the NetBSD guide and I have dhclient=YET in /etc/rc.conf.

Certainly, I mean, dhclient=YES

Quoted 2 lines

The only problem I find is that I'm unable to configure any other networking than the user mode with QEMU network 10.0.2.0.

Learned about the networking better and managed to
connect (SSH) to my emulated NetBSD installation from host system (Windows Vista) thanks to ports redirection as explained here:

http://en.wikibooks.org/wiki/QEMU/Networking

I should have read the docs more carefully.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#21 lore raw
In reply to Mateusz Loskot

Am 10.01.2011 18:59, schrieb Mateusz Loskot:

Quoted 25 lines · Stefan Weil
Quoted 6 lines

Am 10.01.2011 12:19, schrieb Mateusz Loskot:

Quoted 5 lines · Stefan Weil
Quoted 3 lines

There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

Quoted 8 lines
Quoted 4 lines

Great. I think I should be able to do that.

Which version of QEMU source code should I grab? Latest stable or development version from Git repo?

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

Quoted 2 lines

I quickly tried your binaries and it looks I have to run them from within MSYS environment, isn't it? I'm getting runtime error reporting msys-z.dll is missing.

The missing dll(s) are now available at http://www.weilnetz.de/qemu/.

Quoted 4 lines

I tried to find instructions on building QEMU with MinGW. No luck. Is there anything available?

There are some instructions in qemu-doc.html.
The main problem is getting a really complete MinGW environment. Then running

./configure
make
make install

should be all you need.

Quoted 3 lines

Best regards,

#22 lore raw
Quoted 26 lines · Stefan Weil

Am 10.01.2011 18:59, schrieb Mateusz Loskot:

Quoted 25 lines · Stefan Weil
Quoted 6 lines

Am 10.01.2011 12:19, schrieb Mateusz Loskot:

Quoted 5 lines · Stefan Weil
Quoted 3 lines

There are no precompiled windows binaries of current qemu, so you will have to compile them yourself (which is not difficult once you have the correct mingw environment).

Quoted 8 lines
Quoted 4 lines

Great. I think I should be able to do that.

Which version of QEMU source code should I grab? Latest stable or development version from Git repo?

I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/

Stefan,

Thank you very much!
So far, I have tried to use versions of QEMU from Qemu Manager 0.7 as well as QEMU 0.13 from
http://homepage3.nifty.com/takeda-toshiya/
but without any luck. I suppose it's because these versions do not have most recent OpenBIOS usable with SPARC.

Quoted 5 lines
Quoted 3 lines

I quickly tried your binaries and it looks I have to run them from within MSYS environment, isn't it?
I'm getting runtime error reporting msys-z.dll is missing.

The missing dll(s) are now available at http://www.weilnetz.de/qemu/.

I grabbed the recent version from http://www.weilnetz.de/qemu/2011-01-10/
and the three DLLs from the http://www.weilnetz.de/qemu/
but the msys-z.dll is still reported as missing.

Quoted 7 lines
Quoted 2 lines

I tried to find instructions on building QEMU with MinGW. No luck. Is there anything available?

There are some instructions in qemu-doc.html.
The main problem is getting a really complete MinGW environment. Then running

Quoted 5 lines

./configure
make
make install

should be all you need.

I will try. Thanks.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#23 lore raw
Quoted 7 lines · Mateusz Loskot
Quoted 6 lines · Stefan Weil

Am 10.01.2011 18:59, schrieb Mateusz Loskot:

Quoted 4 lines

I quickly tried your binaries and it looks I have to run them from within MSYS environment, isn't it?
I'm getting runtime error reporting msys-z.dll is missing.

Quoted 5 lines
Quoted 1 line

The missing dll(s) are now available at http://www.weilnetz.de/qemu/.

I grabbed the recent version from http://www.weilnetz.de/qemu/2011-01-10/
and the three DLLs from the http://www.weilnetz.de/qemu/
but the msys-z.dll is still reported as missing.

I managed to run your binaries inside MSYS shell and the msys-z.dll complain disappeared. However, when I try to use qmake-img, funny things happen. It looks the size parameter is not parsed properly.

For example:

- these commands work

qemu-img.exe create hda.img 10M
qemu-img.exe create hda.img 2000M

- these don't work

qemu-img.exe create hda.img 10G
qemu-img.exe create hda.img 2500M

Screenshot attached.

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#24 lore raw

Am 12.01.2011 13:30, schrieb Mateusz Loskot:

Quoted 26 lines · Mateusz Loskot
Quoted 7 lines · Stefan Weil
Quoted 6 lines

Am 10.01.2011 18:59, schrieb Mateusz Loskot:

Quoted 4 lines

I quickly tried your binaries and it looks I have to run them from within MSYS environment, isn't it?
I'm getting runtime error reporting msys-z.dll is missing.

Quoted 5 lines
Quoted 1 line

The missing dll(s) are now available at http://www.weilnetz.de/qemu/.

I grabbed the recent version from http://www.weilnetz.de/qemu/2011-01-10/
and the three DLLs from the http://www.weilnetz.de/qemu/
but the msys-z.dll is still reported as missing.

I managed to run your binaries inside MSYS shell and the msys-z.dll complain disappeared. However, when I try to use qmake-img, funny things happen. It looks the size parameter is not parsed properly.

For example:

- these commands work

qemu-img.exe create hda.img 10M
qemu-img.exe create hda.img 2000M

- these don't work

Quoted 7 lines

qemu-img.exe create hda.img 10G
qemu-img.exe create hda.img 2500M

Screenshot attached.

Best regards,

Hi,

this is a regression in current QEMU: it cannot create disk images larger than 2^31 B (2 GiB). It's discussed at http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00357.html.

A new version for MinGW now includes a patch which should fix that regression, see http://www.weilnetz.de/qemu/2011-01-10/ (available in a few minutes).

I also added the missing http://www.weilnetz.de/qemu/msys-z.dll.

Kind regards,
Stefan Weil

#25 lore raw

Am 12.01.2011 20:05, schrieb Stefan Weil:

Quoted 7 lines

Hi,

this is a regression in current QEMU: it cannot create disk images larger than 2^31 B (2 GiB). It's discussed at http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00357.html.

A new version for MinGW now includes a patch which should fix that regression, see http://www.weilnetz.de/qemu/2011-01-10/ (available in a few minutes).

This was the old version. The new one is in http://www.weilnetz.de/qemu/2011-01-12/.

Quoted 6 lines

I also added the missing http://www.weilnetz.de/qemu/msys-z.dll.

Kind regards,
Stefan Weil

#26 lore raw
Quoted 9 lines · Stefan Weil

Am 12.01.2011 20:05, schrieb Stefan Weil:

Quoted 8 lines

Hi,

this is a regression in current QEMU: it cannot create disk images larger than 2^31 B (2 GiB).
It's discussed at
http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00357.html.

Quoted 6 lines
Quoted 3 lines

A new version for MinGW now includes a patch which should fix that regression,
see http://www.weilnetz.de/qemu/2011-01-10/ (available in a few minutes).

This was the old version. The new one is in
http://www.weilnetz.de/qemu/2011-01-12/.

Thanks for these Windows builds.

I don't run qemu on Windows right now but I used it in the past and they may come handy again.

Out of curiosity, do you build on Windows or do you cross-compile on Linux or somesuch?

Thanks

Michal

#27 lore raw

Am 12.01.2011 22:37, schrieb Michal Suchanek:

Quoted 19 lines · Stefan Weil
Quoted 10 lines

Am 12.01.2011 20:05, schrieb Stefan Weil:

Quoted 7 lines

Hi,

this is a regression in current QEMU: it cannot create disk images larger than 2^31 B (2 GiB).
It's discussed at
http://lists.nongnu.org/archive/html/qemu-devel/2011-01/msg00357.html.

Quoted 7 lines
Quoted 4 lines

A new version for MinGW now includes a patch which should fix that regression,
see http://www.weilnetz.de/qemu/2011-01-10/ (available in a few minutes).

This was the old version. The new one is in
http://www.weilnetz.de/qemu/2011-01-12/.

Quoted 8 lines

Thanks for these Windows builds.

I don't run qemu on Windows right now but I used it in the past and they may come handy again.

Out of curiosity, do you build on Windows or do you cross-compile on Linux or somesuch?

The above versions were cross-built on Debian Linux, but I also run native builds on Windows.

Regards,
Stefan

#28 lore raw
In reply to Mateusz Loskot
Quoted 4 lines · Mateusz Loskot

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

A forum exists:
http://qemu-forum.ipi.fi/

Quoted 13 lines

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

Quoted 5 lines

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

Sparc32 Solaris can run with recent QEMU:
http://tyom.blogspot.com/

Sparc64 is not ready yet.

Quoted 4 lines

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

Someone should step up as Win32 maintainer, also making Windows builds available.

#29 lore raw
Quoted 8 lines · Blue Swirl
Quoted 4 lines · Mateusz Loskot

Hi,

First, I'm sorry if my question does not belong here. The qemu-devel says it's "devel", but I can't find any qemu-users mailing list.

A forum exists:
http://qemu-forum.ipi.fi/

Good to know. Though, I may be old, but I prefer mailing list than Web-based forums.

Anyway, if I understand it well, there is nothing wrong with posting non-development questions to qmenu-devel, is it?

Quoted 13 lines
Quoted 13 lines

I have no experience with QEMU. I've been using x86-only virtualization software like VirtualBox, VMWare and others.

I need to run Solaris (SPARC) OS and I'd like to do it under QEMU. Due to hardware constraints, I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

Quoted 8 lines
Quoted 5 lines

The Linux guest OS can be either Linux x86-32 or x86-64, depending which one is recommended and would perform better.

Is this configuration reasonable?
Would it work well?

Sparc32 Solaris can run with recent QEMU:
http://tyom.blogspot.com/

Fantastic!

Quoted 1 line

Sparc64 is not ready yet.

I can stick to 32-bit.

Quoted 7 lines
Quoted 4 lines

I have found the "QEMU on Winows" [1] but I'm not sure if this is an official project and if it's "production ready".
I need to have fairly stable environment for building and testing software on SPARC architecture.

Someone should step up as Win32 maintainer, also making Windows builds available.

I can't help, I regret.

Thanks for help!

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#30 lore raw
In reply to Mateusz Loskot
Quoted 7 lines · Mateusz Loskot

I'm wondering if the following setup would work at all:

1. Quad-core workstation with 16GB RAM with Windows Vista 64-bit as host OS
2. The Windows runs VirtualBox with Linux installed as guest OS.
3. The Linux guest OS runs QEMU
4. QEMU runs Solaris (SPARC)

Quick summary of results with the original idea:

So, instead of Solaris I installed NetBSD 5.1/SPARC under QEMU. I performed the installation using QEMU 0.13 on Windows Vista.

Next, I copied .img file from Vista to Linux Ubuntu (64-bit) I also cloned QEMU Git repo. built QEMU from source and installed. Finally, I successfully booted the NetBSD system on Linux guest running under VirtualBox hosted on Windows Vista:

http://www.flickr.com/photos/mloskot/5352200198/

The idea seems to work.

I haven't solved the networking problem with configuring the only existing iface=le0 with external DHCP, but that's another story.

Folks, thanks for help!

Best regards,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org