OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Jean-Yves on May 17, 2017, 04:06:15 pm

Title: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 17, 2017, 04:06:15 pm
I wondered whether anyone who has successfully installed ArcaOS on VirtualBox could provide the settings that they used here?  I could not see this in the Arca wiki

I am getting loads of errors on boot to do with drivers being ignored in CONFIG.SYS as they were not loaded.

Before I restart the installation process, I'd be grateful for the following info:


* Speaking of USB - does ArcaOS support USB in VBox - do the OS/2 guest additions need to be installed, are these even compatible with ArcaOS?

On the positive side:


VirtualBox Version: 5.1.22 r115126 (Qt5.6.2)

Any help most welcome!
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Martin Iturbide on May 17, 2017, 04:20:04 pm
Hi

Maybe it will be time to update (or create a new page) of OS/2 as a guest on VirtualBox:
http://www.os2world.com/wiki/index.php/VirtualBox_Guest

Which host are you using? Windows?

For what I know there should not be any important change between running OS/2 Warp 4.52, eCS 2.2 and ArcaOS 5.0 on a Virtual Machine.

USB: I tested the USB (from a Windows host) and it works, but you need to install on the "VirtualBox 5.1.22 Oracle VM VirtualBox Extension Pack (https://www.virtualbox.org/wiki/Downloads)" on the host.

Also enable the USB on the VM setting. http://www.os2world.com/wiki/index.php/VirtualBox_Guest#USB

After that the USB driver will be working and you can share an USB device from the host to the guest.

RAM: My VM RAM is set with 2048 MB and Firefox runs. I will see what happens if I lower it.

Regards
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Martin Iturbide on May 17, 2017, 04:48:54 pm
Update: About the RAM on the VM. I lowered it from 2012MB to 512MB. Firefox 38 still runs but it is a lot slower. I'm not sure which should be the RAM breaking point when you can have a decent experience with Firefox. For me, with 2GB or RAM works fine.

Regards
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 17, 2017, 04:58:13 pm
Thanks Martin,

I should have said that I do already have the oracle extensions package installed.

I had not spotted the VBox host USB setting - thank you for that.

Quote
After that the USB driver will be working and you can share an USB device from the host to the guest.
Do you know which USB items in the ArcaOS installer I need to select to get that working?  There is a huge list of options just for USB.

My host is Mac OS X 10.11 (El Capitan)

Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 17, 2017, 05:03:04 pm
One other thing - how much graphics RAM is normally needed? I put in 16MB which seems OK but that was just a guess based on my old OS/2 hardware of days gone by which had I think 2MB or 4MB graphics RAM.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Remy on May 17, 2017, 10:26:24 pm
How to enable SMP mode ?
 
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Dave Yeo on May 18, 2017, 03:02:08 am
I'd think that 16MBs graphic memory should be fine. For Firefox, 1GB should  be plenty.
Hopefully Doug will show up, he did a lot of testing in vbox.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Doug Bissett on May 18, 2017, 04:18:11 am
I wondered whether anyone who has successfully installed ArcaOS on VirtualBox could provide the settings that they used here?  I could not see this in the Arca wiki

I am getting loads of errors on boot to do with drivers being ignored in CONFIG.SYS as they were not loaded.

Before I restart the installation process, I'd be grateful for the following info:

  • Sound card , both in the VBox settings and in the ArcaOS installer - I picked Universal in ArcaOS and SB16 in VBox, this failed - I got a message about the uniaud32 driver failing and the UNIAUD16.SYS not being loaded
  • which of the USB controllers options to pick in the ArcaOS installer (I picked all first time and had loads of errors, eg USBEHCD.SYS not loaded)*
  • In the VBox settings, how much RAM and storage (I initially set this to 256Mb and 4GB respectively), but I see in the Wiki that Firefox wants 2GB RAM and 8GB Storage.  Seems a lot?
  • What Mouse/keyboard types to choose? USB or PS/2 - I can't recall the intaller options off the top of my head right now
  • C:\OS2\MDOS\VCOM.SYS is also ignored ?
  • As is PSCOM.SYS (I forgot to note the source folder)
  • Anything else you can think of

* Speaking of USB - does ArcaOS support USB in VBox - do the OS/2 guest additions need to be installed, are these even compatible with ArcaOS?

On the positive side:
  • the DANI drivers appear to work without issues
  • Graphics - I assumed SNAP and this works very nicely


VirtualBox Version: 5.1.22 r115126 (Qt5.6.2)

Any help most welcome!

There are some problems with VBox, but it usually works well. If you use the VBox selections for OS.2 Warp 4.5 (I am using VBox 1.22, under win 10), and install using the default install selections for ArcaOS, it will probably work. However, there are better settings, IF they will work with your particular setup. I used my Lenovo ThinkPads T510, and L530. The L530 was working okay, until it got a BIOS update. After that, the more advanced features (mainly AHCI) won't work any more. That is not an ArcaOS problem, because eCS 2.2b2 also quit working. So far, I haven't followed up on that. The T510, on the other hand, works well, using the following VBox settings:
General: what VBox sets for Warp 4.5.
System:
  Motherboard:
    800 to 1000 MB memory. It MUST fit in free. real, memory.
    Boot order: whatever works for you.
    Chipset: PIIX3
    Pointing device: PS/2 mouse.
    Enable I/O APIC
  Processor:
    1 CPU (you can try more than one, up to the number of real processors, but that has always resulted in hangs, for me, when using older versions of OS/2).
    Execution cap: 100%, but try 50%, if you have trouble installing.
    Do not enable PAE/NX
  Acceleration:
    Paravirtualization: Default
    Hardware Virtualization:
      Enable VT-x/AMD-v (must also be enabled in BIOS).
      Enable Nested paging (disable, if you have problems).
Display:
  I use 24 MB, but 8 MB should be enough for most purposes.
  Monitor count: 1
  Scale factor: 100%
  Acceleration: don't enable.
Storage:
  This one is a bit tricky. Configure it exactly like you would configure a real machine, but remember that the virtual disks take room on the real disk. Start with a single hard disk, and use it as a primary C: partition. You can experiment with other configurations later. I have one VBox set up with 3 virtual disks, plus a virtual CD/DVD drive. All use SATA with AHCI support, and that works well on the T510, and not at all on the L530 (since the BIOS update). You can also increase performance by telling VBox that they are SSD drives (if that will work).
Audio: Enable it, and use the suggested Host audio driver.
  I select the SoundBlaster 16 for the guest. That seems to use a lot less resources, and works much better with guests that will support it.
Network: Enable Adapter 1, and disable the rest (play with it later, if you want).
  Attached to: Bridged adapter is the most flexible, but NAT is the most likely to work.
  Name refers to the host adapter.
  Click Advanced
    Adapter type works best with Intel PRO/1000 MT (use the MMLEM driver in ArcaOS).
Serial ports: start with it disabled.
USB Enable, and select USB 2.0.
Shared folders won't work.
User Interface: leave it alone, until you learn more about VBox.

I think that should cover most of the VBox setup.

If you use the default settings (not mentioned above), and use the Virtual Machine defaults in ArcaOS, it should work. If you use the settings above, select to install to a modern ACPI machine, and it should do it. You probably need to select the SoundBlaster 16 audio driver (the second one, as I recall). I also suggest using the GENGRADD (GRADD) video driver. When you install the VBox additions, it will replace GENGRADD.DLL, which interfaces to the host video support. Using Panorama, or SNAP, is just extra overhead, and really doesn't do anything useful.

Remember that the VBox computer is just like a real machine, and the guest software really doesn't know the difference, except for the VBox additions, which make the interface to the host seamless. When you configure the I/O (SB16, for instance), you must use the guest support for the devices, UniAud does not support the SB16 device, and will not load, if you choose that (and I don't think the installer will select SB16, because it isn't easily identified).

I use win 10, as a host. Apparently Linux, and Mac, introduce other complications with things like network, and USB (possibly other things). You must read the VBox documentation, to find out what you may need to do to allow the guest to use those devices (permissions).

Sorry if I missed anything, but I think I covered most of it. The only way to learn how to use VBox, is to use it, and experiment.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 18, 2017, 09:53:25 am
Thanks everyone - I will do a new VBox installation today, noting down what I choose and report back on any issues.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 18, 2017, 12:45:12 pm
Second attempt, much better results. I remembered that VirtualBox allows you to attach the ISO of the CD, so I used that to boot from instead of the physical CD and it was much quicker as a consequence.

VBox Guest settings:

ArcaOS installer:
I went for the single volume with default settings option at the start

I went with the defaults all the way through except for:

Result:

Any advice re the sound card (which to use, how to change it without full re-install) would be gratefully received - thanks!
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 18, 2017, 12:47:52 pm
Actually, once I know what Sound driver to use, I will do a final installation run with the generic video driver as Doug suggested, to get the OS/2 Additions working.

Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Martin Iturbide on May 18, 2017, 04:51:40 pm
Hi Jean-Yves.

I have zero experience with VirtualBox host on Mac OS X. My only idea is to check this two parts, and I'm also curious to know if it is the same on a Mac.

1) Check which Audio devices are available on Virtual Box VM's preference. (Please post it back, since I want to know if there is any difference on Mac OS)

2) If you installed the latest UNIAUD, also post back how it recognizes the device on boot.

I'm just curious if it is different on MacOS X.

I also updated the Wiki page with the latest UniAud driver and the different VBox audio configuration on Windows:
http://www.os2world.com/wiki/index.php/VirtualBox_Guest#Audio_Testing

Regards
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 19, 2017, 10:37:42 am
Thank you for the info Martin.

On Macs, the VirtualBox 5.1.22 audio options are:


Obviously, I have chosen Core Audio

The Sound Cards are:

I have installed the Uniaud drivers from the netlabs site as per the instructions in the wiki page you linked to (v20170403).

I then switched to Intel Audio HD in the guest settings. No joy.

However, I then switched to the ICH AC97 sound card and I have sound. But the sound is slightly stuttering - I'm not sure if that is a known bug or something specific to my system.  I wonder whether it could it be due to the fact that I picked SoundBlaster16 PnP in the ArcaOS installer initially and there is some fragment of that left in my config.sys that is causing a problem.

Still, progress! Many thanks :)



Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Sigurd Fastenrath on May 19, 2017, 11:43:34 am
My (perfect) result is documented here:

http://www.os2world.com/forum/index.php/topic,1368.msg13054.html#msg13054 (http://www.os2world.com/forum/index.php/topic,1368.msg13054.html#msg13054)

That went really really well!
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: ak120 on May 19, 2017, 01:03:46 pm
I wonder whether it could it be due to the fact that I picked SoundBlaster16 PnP in the ArcaOS installer initially and there is some fragment of that left in my config.sys that is causing a problem.

Simply use SoundBlaster 16 (NOT PnP) with:
A220 I5 D1 H5
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 19, 2017, 01:07:11 pm
Simply use SoundBlaster 16 (NOT PnP) with:
A220 I5 D1 H5

Hi Andreas - how do I change this post-installation?  Sorry, it's been so long since I used OS/2 regularly that I have forgotten how to do certain things, such as changing drivers.   Do I just change the DEVICE directive in config.sys to the above values?  Or do I need to install the driver from the ArcaOS CD somehow?
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: ak120 on May 19, 2017, 01:19:05 pm
The DEVICE statement that contains SB16D2.SYS should be modified.

/C:1 /D:1 /H:5 /I:5 /A:220 /N:SBAUD1$ /P
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Sigurd Fastenrath on May 19, 2017, 01:23:22 pm
At least I found the Drivers, have to test if I can integrate them......

ArcaOS DVD:\CID\SERVER\MMOS2\DRIVERS....

-> Minstall is not working
-> Try to install it with "Install Device Driver" Fails as well...

will try it manually...


Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Roderick Klein on May 19, 2017, 01:29:18 pm
Its the same minstall as eCS had in the background.

Type minstall /?

You will need to type minstall /F: and full path to control.scr.

Later you can run stpm.exe to select UNIAUD as the *default* audio card.

Roderick Klein
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Sigurd Fastenrath on May 19, 2017, 01:55:27 pm
Hi Roderick,

thanks! It worked this way:

I copied the Directory SB16 from DVD:\CID\SERVER\MMOS2\DRIVERS\.. to drive C and then typed:

Minstall /F:C:\SB16\Control.scr

With the first attempt I forgot to select "1" and so on, but in the end it worked!

Has the PM Minstall been deleted? Why?

EDIT: selected SoundBalster 1.5 in WINOS2 and have Sound there right as well - I am happy now  ;)

Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 19, 2017, 03:24:36 pm
Didn't work for me, went back to having no sound. I installed the driver using the control.src and set the SB16 device as mentioned, but... silence.

I am going to try a fresh reinstall later today.  Meanwhile, I have different problems on real hardware...  :'(

Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 19, 2017, 04:05:11 pm
I think that it may be a Mac specific issue. I just created a fresh VM and selected SB16 on the guest settings and SB16 non PnP in the installer. No sound.

Should I raise a bug report do you think?
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Sigurd Fastenrath on May 19, 2017, 04:24:30 pm
Didn't work for me, went back to having no sound. I installed the driver using the control.src and set the SB16 device as mentioned, but... silence.

I am going to try a fresh reinstall later today.  Meanwhile, I have different problems on real hardware...  :'(

Hi,

did you press "1" and then Enter in the first menue (the one that appaers when you start the minstall - see Picture Virtual16 please)  The first time I just pressed ENTER and allthough it ended with Success it did not work. So I started again, selected 1 and then Enter and then some more menues about the irq etc. appeared and then it worked.
One difference was i.e. when I only pressed Enter, the last 5 lines at the command prompt of the Picture Virtual17 did not occur.
Hope that helps
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 19, 2017, 04:27:18 pm
Yes, I pressed 1 followed by enter.

The driver was installed, I could see the entry in Config.sys. Just, no sound.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: nyao on May 20, 2017, 03:29:30 pm
I also tried it.
But no sound.

SB16D2.SYS is not registered in config.sys.
add
 DEVICE=C:\MMOS2\SB16D2.SYS /C:1 /A:220 /I:5 /D:1 /H:5 /M:300 /B:24 /N:SBAUD1$ /P
and reboot.
Load the driver, but no sound.

Same PC&Virtual BOX、eComStation 2.1 no problems.

Sorry,I'm not good at English.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Sigurd Fastenrath on May 20, 2017, 03:46:49 pm
Here in the Picture you can see my config.sys line, hope it helps.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 20, 2017, 04:13:04 pm
Thanks Sigurd. That's exactly the line I had after running the minstall command on the drivers from the ISO. But no sound to be heard. No errors either, for that matter.

I think t must be the combination of VBox for Mac + ArcaOS that is the issue, as I think nyao is also on a Mac?

Like him, I have no problem with audio under eCS (1.2R in my case) and VBox for Mac. 

I have raised a ticket with Arca Noae: https://mantis.arcanoae.com/view.php?id=1075
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: nyao on May 20, 2017, 04:49:13 pm
Hi,Jean.
My PC is Windows7(32bit).
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 20, 2017, 09:36:16 pm
There goes my theory!  :P
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Dave Yeo on May 21, 2017, 01:06:16 am
Possibly uniaud needs to be uninstalled?
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: nyao on May 21, 2017, 02:15:27 am
I tried installing to Virtual PC2007.
Work sound.
And、Installed Virtual PC Additions,but OS can't boot.

I tried using virtual PC's hard disk as a Virtual Box, but the sound was not.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Doug Bissett on May 21, 2017, 06:02:03 am
Quote
I tried using virtual PC's hard disk as a Virtual Box, but the sound was not.

Sound in ArcaOS is turned down, possibly too far to be heard. Look in C:\MMOS2\MMPM2.INI, and adjust the "mastervolume=" line. It is 0 to 100 percent. There is another thing, somewhere, that was adjusted too.
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Dave Yeo on May 21, 2017, 06:21:39 am
Or download PMUniMix http://hobbes.nmsu.edu/h-search.php?button=Search&key=pmunimix&dir=%2F (http://hobbes.nmsu.edu/h-search.php?button=Search&key=pmunimix&dir=%2F) and play with the various controls. Here on real hardware, the front speakers need to be turned up
Title: Re: ArcaOS 5.0 on VirtualBox
Post by: Jean-Yves on May 21, 2017, 03:46:53 pm
@Doug - that was it!  I switched the mastervolume to 100 in MMPM2.ini and I have sound with SoundBlaster16 Guest and SoundBlaster16 non-PNP.

The sound is still very quiet though. Can you recall what other setting needed tweaking?

UPDATE: it works for new installations. When I tried switching my existing installatation to use SB16 using MINSTALL it did not work.

UPDATE 2: Actually, correction, it works for a clean install using SB16 for both Guest and installer, only AFTER a) changing the MMOS2.INI mastervlume value from 50 to 100, AND AFTER re-installing the SB16 drivers from the SB16 folder on the CD using MINSTALL.  I've done this twice now to test and it worked both times. 

Thanks to everyone who helped.