* [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris @ 2011-01-07 17:28 Mateusz Loskot 2011-01-07 17:36 ` Michal Suchanek ` (3 more replies) 0 siblings, 4 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-07 17:28 UTC (permalink / raw) To: qemu-devel 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 17:28 [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris Mateusz Loskot @ 2011-01-07 17:36 ` Michal Suchanek 2011-01-10 11:17 ` Mateusz Loskot 2011-01-07 18:15 ` Stefan Weil ` (2 subsequent siblings) 3 siblings, 1 reply; 31+ messages in thread From: Michal Suchanek @ 2011-01-07 17:36 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On 7 January 2011 18:28, Mateusz Loskot <mateusz@loskot.net> wrote: > 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 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. > 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 17:36 ` Michal Suchanek @ 2011-01-10 11:17 ` Mateusz Loskot 0 siblings, 0 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-10 11:17 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel On 07/01/11 17:36, Michal Suchanek wrote: > On 7 January 2011 18:28, Mateusz Loskot<mateusz@loskot.net> wrote: >> 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. >> 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. > 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. > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 17:28 [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris Mateusz Loskot 2011-01-07 17:36 ` Michal Suchanek @ 2011-01-07 18:15 ` Stefan Weil 2011-01-10 11:19 ` Mateusz Loskot 2011-01-07 20:37 ` Blue Swirl 2011-01-13 15:32 ` [Qemu-devel] " Mateusz Loskot 3 siblings, 1 reply; 31+ messages in thread From: Stefan Weil @ 2011-01-07 18:15 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel Am 07.01.2011 18:28, schrieb 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 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, 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 18:15 ` Stefan Weil @ 2011-01-10 11:19 ` Mateusz Loskot 2011-01-10 17:08 ` Stefan Weil 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-10 11:19 UTC (permalink / raw) To: Stefan Weil; +Cc: qemu-devel On 07/01/11 18:15, Stefan Weil wrote: > Am 07.01.2011 18:28, schrieb 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 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. > > > Using a native windows version of qemu would be more reasonable. OK, makes sense to me. > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 11:19 ` Mateusz Loskot @ 2011-01-10 17:08 ` Stefan Weil 2011-01-10 17:59 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Stefan Weil @ 2011-01-10 17:08 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel Am 10.01.2011 12:19, schrieb Mateusz Loskot: > On 07/01/11 18:15, Stefan Weil wrote: >> Am 07.01.2011 18:28, schrieb 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 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. >> >> >> Using a native windows version of qemu would be more reasonable. > > OK, makes sense to me. > >> 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, I suggest using QEMU git master. You could try the binaries from my website: http://www.weilnetz.de/qemu/ Kind regards, Stefan Weil ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 17:08 ` Stefan Weil @ 2011-01-10 17:59 ` Mateusz Loskot 2011-01-10 21:04 ` Artyom Tarasenko 2011-01-10 22:18 ` Stefan Weil 0 siblings, 2 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-10 17:59 UTC (permalink / raw) To: Stefan Weil; +Cc: qemu-devel On 10/01/11 17:08, Stefan Weil wrote: > Am 10.01.2011 12:19, schrieb Mateusz Loskot: >> On 07/01/11 18:15, Stefan Weil wrote: >>> 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? > > > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 17:59 ` Mateusz Loskot @ 2011-01-10 21:04 ` Artyom Tarasenko 2011-01-12 11:47 ` Mateusz Loskot 2011-01-10 22:18 ` Stefan Weil 1 sibling, 1 reply; 31+ messages in thread From: Artyom Tarasenko @ 2011-01-10 21:04 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot <mateusz@loskot.net> wrote: >> 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. -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/ ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 21:04 ` Artyom Tarasenko @ 2011-01-12 11:47 ` Mateusz Loskot 2011-01-12 11:57 ` Artyom Tarasenko 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 11:47 UTC (permalink / raw) To: Artyom Tarasenko; +Cc: qemu-devel On 10/01/11 21:04, Artyom Tarasenko wrote: > On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> wrote: >>> 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. I understand. > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 11:47 ` Mateusz Loskot @ 2011-01-12 11:57 ` Artyom Tarasenko 2011-01-12 12:32 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Artyom Tarasenko @ 2011-01-12 11:57 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot <mateusz@loskot.net> wrote: > On 10/01/11 21:04, Artyom Tarasenko wrote: >> >> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >> wrote: >>>> >>>> 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. > > I understand. > >> 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. 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. -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/ ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 11:57 ` Artyom Tarasenko @ 2011-01-12 12:32 ` Mateusz Loskot 2011-01-12 14:28 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 12:32 UTC (permalink / raw) To: Artyom Tarasenko; +Cc: qemu-devel On 12/01/11 11:57, Artyom Tarasenko wrote: > On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot<mateusz@loskot.net> wrote: >> On 10/01/11 21:04, Artyom Tarasenko wrote: >>> >>> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >>> wrote: >>>>> >>>>> 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. >> >> I understand. >> >>> 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. > > 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. > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 12:32 ` Mateusz Loskot @ 2011-01-12 14:28 ` Mateusz Loskot 2011-01-12 14:40 ` Artyom Tarasenko 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 14:28 UTC (permalink / raw) To: Artyom Tarasenko; +Cc: qemu-devel On 12/01/11 12:32, Mateusz Loskot wrote: > On 12/01/11 11:57, Artyom Tarasenko wrote: >> On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot<mateusz@loskot.net> >> wrote: >>> On 10/01/11 21:04, Artyom Tarasenko wrote: >>>> >>>> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >>>> wrote: >>>>>> >>>>>> 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. >>> >>> I understand. >>> >>>> 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. >> >> 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 14:28 ` Mateusz Loskot @ 2011-01-12 14:40 ` Artyom Tarasenko 2011-01-12 15:21 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Artyom Tarasenko @ 2011-01-12 14:40 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On Wed, Jan 12, 2011 at 3:28 PM, Mateusz Loskot <mateusz@loskot.net> wrote: > On 12/01/11 12:32, Mateusz Loskot wrote: >> >> On 12/01/11 11:57, Artyom Tarasenko wrote: >>> >>> On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot<mateusz@loskot.net> >>> wrote: >>>> >>>> On 10/01/11 21:04, Artyom Tarasenko wrote: >>>>> >>>>> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >>>>> wrote: >>>>>>> >>>>>>> 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. >>>> >>>> I understand. >>>> >>>>> 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. >>> >>> 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 Try -nographic . Also it's interesting to know whether you see something when you start qemu-system-sparc without any command line options. > 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. -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/ ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 14:40 ` Artyom Tarasenko @ 2011-01-12 15:21 ` Mateusz Loskot 2011-01-12 16:48 ` Michal Suchanek 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 15:21 UTC (permalink / raw) To: Artyom Tarasenko; +Cc: qemu-devel On 12/01/11 14:40, Artyom Tarasenko wrote: > On Wed, Jan 12, 2011 at 3:28 PM, Mateusz Loskot<mateusz@loskot.net> wrote: >> On 12/01/11 12:32, Mateusz Loskot wrote: >>> >>> On 12/01/11 11:57, Artyom Tarasenko wrote: >>>> >>>> On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot<mateusz@loskot.net> >>>> wrote: >>>>> >>>>> On 10/01/11 21:04, Artyom Tarasenko wrote: >>>>>> >>>>>> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >>>>>> wrote: >>>>>>>> >>>>>>>> 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. >>>>> >>>>> I understand. >>>>> >>>>>> 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. >>>> >>>> 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 > > 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. > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 15:21 ` Mateusz Loskot @ 2011-01-12 16:48 ` Michal Suchanek 2011-01-12 17:15 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Michal Suchanek @ 2011-01-12 16:48 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On 12 January 2011 16:21, Mateusz Loskot <mateusz@loskot.net> wrote: > On 12/01/11 14:40, Artyom Tarasenko wrote: >> >> On Wed, Jan 12, 2011 at 3:28 PM, Mateusz Loskot<mateusz@loskot.net> >> wrote: >>> >>> On 12/01/11 12:32, Mateusz Loskot wrote: >>>> >>>> On 12/01/11 11:57, Artyom Tarasenko wrote: >>>>> >>>>> On Wed, Jan 12, 2011 at 12:47 PM, Mateusz Loskot<mateusz@loskot.net> >>>>> wrote: >>>>>> >>>>>> On 10/01/11 21:04, Artyom Tarasenko wrote: >>>>>>> >>>>>>> On Mon, Jan 10, 2011 at 6:59 PM, Mateusz Loskot<mateusz@loskot.net> >>>>>>> wrote: >>>>>>>>> >>>>>>>>> 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. >>>>>> >>>>>> I understand. >>>>>> >>>>>>> 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. >>>>> >>>>> 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 >> >> 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. > >> 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? > I can run NetBSD sparc install CD just fine. It supports sparc32 in the latest release. HTH Michal ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 16:48 ` Michal Suchanek @ 2011-01-12 17:15 ` Mateusz Loskot 2011-01-12 19:00 ` Blue Swirl 2011-01-12 23:34 ` Mateusz Loskot 0 siblings, 2 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 17:15 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel On 12/01/11 16:48, Michal Suchanek wrote: > On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >> >> 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 17:15 ` Mateusz Loskot @ 2011-01-12 19:00 ` Blue Swirl 2011-01-12 23:34 ` Mateusz Loskot 1 sibling, 0 replies; 31+ messages in thread From: Blue Swirl @ 2011-01-12 19:00 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel, Michal Suchanek On Wed, Jan 12, 2011 at 5:15 PM, Mateusz Loskot <mateusz@loskot.net> wrote: > On 12/01/11 16:48, Michal Suchanek wrote: >> >> On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >>> >>> 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. OpenBSD should also work. ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 17:15 ` Mateusz Loskot 2011-01-12 19:00 ` Blue Swirl @ 2011-01-12 23:34 ` Mateusz Loskot 2011-01-13 10:13 ` Michal Suchanek 1 sibling, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 23:34 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel On 12/01/11 17:15, Mateusz Loskot wrote: > On 12/01/11 16:48, Michal Suchanek wrote: >> On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >>> >>> 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. 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 23:34 ` Mateusz Loskot @ 2011-01-13 10:13 ` Michal Suchanek 2011-01-13 12:40 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Michal Suchanek @ 2011-01-13 10:13 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On 13 January 2011 00:34, Mateusz Loskot <mateusz@loskot.net> wrote: > On 12/01/11 17:15, Mateusz Loskot wrote: >> On 12/01/11 16:48, Michal Suchanek wrote: >>> On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >>>> >>>> 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. > > 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-13 10:13 ` Michal Suchanek @ 2011-01-13 12:40 ` Mateusz Loskot 2011-01-13 16:01 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-13 12:40 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel On 13/01/11 10:13, Michal Suchanek wrote: > On 13 January 2011 00:34, Mateusz Loskot<mateusz@loskot.net> wrote: >> On 12/01/11 17:15, Mateusz Loskot wrote: >>> On 12/01/11 16:48, Michal Suchanek wrote: >>>> On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >>>>> >>>>> 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. >> >> 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. 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-13 12:40 ` Mateusz Loskot @ 2011-01-13 16:01 ` Mateusz Loskot 0 siblings, 0 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-13 16:01 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel On 13/01/11 12:40, Mateusz Loskot wrote: > On 13/01/11 10:13, Michal Suchanek wrote: >> On 13 January 2011 00:34, Mateusz Loskot<mateusz@loskot.net> wrote: >>> On 12/01/11 17:15, Mateusz Loskot wrote: >>>> On 12/01/11 16:48, Michal Suchanek wrote: >>>>> On 12 January 2011 16:21, Mateusz Loskot<mateusz@loskot.net> wrote: >>>>>> >>>>>> 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. >>> >>> 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. > > > 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 > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 17:59 ` Mateusz Loskot 2011-01-10 21:04 ` Artyom Tarasenko @ 2011-01-10 22:18 ` Stefan Weil 2011-01-12 11:38 ` Mateusz Loskot 1 sibling, 1 reply; 31+ messages in thread From: Stefan Weil @ 2011-01-10 22:18 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel Am 10.01.2011 18:59, schrieb Mateusz Loskot: > On 10/01/11 17:08, Stefan Weil wrote: >> Am 10.01.2011 12:19, schrieb Mateusz Loskot: >>> On 07/01/11 18:15, Stefan Weil wrote: >>>> 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? >> >> >> 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. The missing dll(s) are now available at http://www.weilnetz.de/qemu/. > > > 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. > > > Best regards, ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-10 22:18 ` Stefan Weil @ 2011-01-12 11:38 ` Mateusz Loskot 2011-01-12 12:30 ` Mateusz Loskot 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 11:38 UTC (permalink / raw) To: Stefan Weil; +Cc: qemu-devel On 10/01/11 22:18, Stefan Weil wrote: > Am 10.01.2011 18:59, schrieb Mateusz Loskot: >> On 10/01/11 17:08, Stefan Weil wrote: >>> Am 10.01.2011 12:19, schrieb Mateusz Loskot: >>>> On 07/01/11 18:15, Stefan Weil wrote: >>>>> 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? >>> >>> >>> 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. > > 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 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. I will try. Thanks. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 11:38 ` Mateusz Loskot @ 2011-01-12 12:30 ` Mateusz Loskot 2011-01-12 19:05 ` Stefan Weil 0 siblings, 1 reply; 31+ messages in thread From: Mateusz Loskot @ 2011-01-12 12:30 UTC (permalink / raw) To: Stefan Weil; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 1123 bytes --] On 12/01/11 11:38, Mateusz Loskot wrote: > On 10/01/11 22:18, Stefan Weil wrote: >> Am 10.01.2011 18:59, schrieb Mateusz Loskot: >>> >>> 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. 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org [-- Attachment #2: msys-qemu-img-create-size.jpg --] [-- Type: image/jpeg, Size: 44641 bytes --] ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 12:30 ` Mateusz Loskot @ 2011-01-12 19:05 ` Stefan Weil 2011-01-12 19:17 ` Stefan Weil 0 siblings, 1 reply; 31+ messages in thread From: Stefan Weil @ 2011-01-12 19:05 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel Am 12.01.2011 13:30, schrieb Mateusz Loskot: > On 12/01/11 11:38, Mateusz Loskot wrote: >> On 10/01/11 22:18, Stefan Weil wrote: >>> Am 10.01.2011 18:59, schrieb Mateusz Loskot: > >>> >>>> 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. > > 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, 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 19:05 ` Stefan Weil @ 2011-01-12 19:17 ` Stefan Weil 2011-01-12 21:37 ` Michal Suchanek 0 siblings, 1 reply; 31+ messages in thread From: Stefan Weil @ 2011-01-12 19:17 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel Am 12.01.2011 20:05, schrieb Stefan Weil: > 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/. > > I also added the missing http://www.weilnetz.de/qemu/msys-z.dll. > > Kind regards, > Stefan Weil > ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 19:17 ` Stefan Weil @ 2011-01-12 21:37 ` Michal Suchanek 2011-01-12 21:46 ` Stefan Weil 0 siblings, 1 reply; 31+ messages in thread From: Michal Suchanek @ 2011-01-12 21:37 UTC (permalink / raw) To: Stefan Weil; +Cc: qemu-devel On 12 January 2011 20:17, Stefan Weil <weil@mail.berlios.de> wrote: > Am 12.01.2011 20:05, schrieb Stefan Weil: >> >> 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/. 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-12 21:37 ` Michal Suchanek @ 2011-01-12 21:46 ` Stefan Weil 0 siblings, 0 replies; 31+ messages in thread From: Stefan Weil @ 2011-01-12 21:46 UTC (permalink / raw) To: Michal Suchanek; +Cc: qemu-devel Am 12.01.2011 22:37, schrieb Michal Suchanek: > On 12 January 2011 20:17, Stefan Weil<weil@mail.berlios.de> wrote: > >> Am 12.01.2011 20:05, schrieb Stefan Weil: >> >>> 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/. >> > > 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 17:28 [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris Mateusz Loskot 2011-01-07 17:36 ` Michal Suchanek 2011-01-07 18:15 ` Stefan Weil @ 2011-01-07 20:37 ` Blue Swirl 2011-01-10 11:22 ` Mateusz Loskot 2011-01-13 15:32 ` [Qemu-devel] " Mateusz Loskot 3 siblings, 1 reply; 31+ messages in thread From: Blue Swirl @ 2011-01-07 20:37 UTC (permalink / raw) To: Mateusz Loskot; +Cc: qemu-devel On Fri, Jan 7, 2011 at 5:28 PM, Mateusz Loskot <mateusz@loskot.net> wrote: > 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/ > 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? Sparc32 Solaris can run with recent QEMU: http://tyom.blogspot.com/ Sparc64 is not ready yet. > 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. ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 20:37 ` Blue Swirl @ 2011-01-10 11:22 ` Mateusz Loskot 0 siblings, 0 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-10 11:22 UTC (permalink / raw) To: Blue Swirl; +Cc: qemu-devel On 07/01/11 20:37, Blue Swirl wrote: > On Fri, Jan 7, 2011 at 5:28 PM, Mateusz Loskot<mateusz@loskot.net> wrote: >> 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? >> 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? > > Sparc32 Solaris can run with recent QEMU: > http://tyom.blogspot.com/ Fantastic! > Sparc64 is not ready yet. I can stick to 32-bit. >> 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
* [Qemu-devel] Re: Linux as VirtualBox quest OS with QEMU running Solaris 2011-01-07 17:28 [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris Mateusz Loskot ` (2 preceding siblings ...) 2011-01-07 20:37 ` Blue Swirl @ 2011-01-13 15:32 ` Mateusz Loskot 3 siblings, 0 replies; 31+ messages in thread From: Mateusz Loskot @ 2011-01-13 15:32 UTC (permalink / raw) To: qemu-devel On 07/01/11 17:28, Mateusz Loskot wrote: > 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, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2011-01-13 15:57 UTC | newest] Thread overview: 31+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-07 17:28 [Qemu-devel] Linux as VirtualBox quest OS with QEMU running Solaris Mateusz Loskot 2011-01-07 17:36 ` Michal Suchanek 2011-01-10 11:17 ` Mateusz Loskot 2011-01-07 18:15 ` Stefan Weil 2011-01-10 11:19 ` Mateusz Loskot 2011-01-10 17:08 ` Stefan Weil 2011-01-10 17:59 ` Mateusz Loskot 2011-01-10 21:04 ` Artyom Tarasenko 2011-01-12 11:47 ` Mateusz Loskot 2011-01-12 11:57 ` Artyom Tarasenko 2011-01-12 12:32 ` Mateusz Loskot 2011-01-12 14:28 ` Mateusz Loskot 2011-01-12 14:40 ` Artyom Tarasenko 2011-01-12 15:21 ` Mateusz Loskot 2011-01-12 16:48 ` Michal Suchanek 2011-01-12 17:15 ` Mateusz Loskot 2011-01-12 19:00 ` Blue Swirl 2011-01-12 23:34 ` Mateusz Loskot 2011-01-13 10:13 ` Michal Suchanek 2011-01-13 12:40 ` Mateusz Loskot 2011-01-13 16:01 ` Mateusz Loskot 2011-01-10 22:18 ` Stefan Weil 2011-01-12 11:38 ` Mateusz Loskot 2011-01-12 12:30 ` Mateusz Loskot 2011-01-12 19:05 ` Stefan Weil 2011-01-12 19:17 ` Stefan Weil 2011-01-12 21:37 ` Michal Suchanek 2011-01-12 21:46 ` Stefan Weil 2011-01-07 20:37 ` Blue Swirl 2011-01-10 11:22 ` Mateusz Loskot 2011-01-13 15:32 ` [Qemu-devel] " Mateusz Loskot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).