Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Valery Sedletski

Pages: [1]
1
Applications / Shared folders IFS for VBox Additions, the test version
« on: November 02, 2018, 11:30:29 pm »
Hi, I'm currently developing a VBox shared folders IFS for OS/2 guest. It is not
finished, yet, and I'm adding the fixes currently to it. But it is mostly working
already, and copying files from/to shared folders works. The current link is here:

ftp://osfree.org/upload/vbox/additions/VBoxAdditions-os2-x86-5.0.51.r184.zip

Many people needed the VBox additions, so it should be a
great help for them. So, if anybody wants the OS/2 additions,
please try and test.

You should add these statements to config.sys:

Quote
rem The main VBox additions driver
device=d:\os2\boot\VBoxGuest.sys

rem The shared folders IFS
ifs=d:\os2\boot\VBoxSF.ifs

rem VBox Mouse driver
rem device=d:\os2\boot\mouse.sys
device=d:\os2\boot\VBoxMouse.sys

In case you have amouse.sys instead of mouse.sys, comment it out too.

Also, for video integration, there is a VBox GRADD driver, vbxgradd.dll. In case
you have SNAP installed, you should have the following lines in config.sys:

Quote
set gradd_chains=c1
set c1=sddgradd
set greext=sddgrext

In case you have panorama installed, you should have these lines
in your config.sys:

Quote
set gradd_chains=c1
set c1=vbe2grad
set greext=panogrex

To install the VBox video driver, you need to comment the above lines out
and change them to the following ones:

Quote
set gradd_chains=c1
set c1=vbxgradd

Also, if you have SNAP installed, you can comment sddhelp.sys. But then, you
also need to comment out/remove the

Quote
#includecode "sddpmi.dll"

from \os2\svgadata.pmi file and change it to

Quote
#includecode "genpmi.dll"

Otherwise, sddpmi.dll will load, and try to open sddhelp.sys driver, and
fail, so, it will stop with an error message. To avoid this, you need to change
sddpmi.dll to genpmi.dll in svgadata.pmi file.

Alternatively, you can just set your video driver to GenGRADD first with
"setgradd" command in command line (you need to boot into command line
for this), or use corresponding menu item in Recovery choices screen.
But setgradd.cmd command and "Set video to GenGRADD" option in
Recovery choices appeared in eComStation, only. Older versions of OS/2
have setvga.cmd command and "Set video to VGA" option, only. But you
should use a GRADD video driver, so "Set video to VGA" option is not
suitable in this case.

Also you should add this line to your startup.cmd:

Quote
rem VBox Additions ring3 service
start /n VBoxService.exe

VBoxService.exe should be on PATH, of course. Note that VBoxSF.ifs has the following
command line switches:

Quote
/V       verbose init (enable messages)
/Q       quiet init (disable messages)
/D       output debug messages to VBox log, and also to QSINIT/OS4 built-in log.
           In case QSINIT or OS/4 kernel are not available, the messages are directed
           directly to COM1

Known issues:
1) WPS Drives object does not show anything yet
2) When WPS is updating the "wp root. sf" file, it does not truncate it, so
the file contents repeat multiple times
3) If you try opening a folder with big enough number of files with WPS Drives
object, VBoxSF.ifs is trapped. So, don't use WPS with shared folders, for now.
File Commander/2 works fine, though
4) Not all DosFindFirst flags are working, yet. But those used by FC/2, 4OS/2, CMD.EXE,
are working fine
5) Copying files with "copy" or "cp" commands doesn't work, yet. FC/2 works fine,
though
6) Wildcards like "*", "?" are processed by VBox itself. It matches them the UNIX
way, so "?" matches one symbol. But in DOS/OS/2/Windows "?" should match
one symbol, or none. This is to be fixed too
7) File timestamps are returned in GMT by VBox. We need them in local time, so I'll
need to parse the "TZ" environment variable, so that, I'll add the timezone offset to
the timestamps, as required.

*UPDATE*: File listing in CMD.EXE and some versions of 4OS/2 now work in the latest additions.

Pages: [1]