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.

Messages - Valery Sedletski

Pages: 1 ... 5 6 [7] 8 9 ... 24
OS/2 host? It works, isn't it? OS/2 guest over OS/2 host with hardware-assisted virtualization works fine on my machines, too.

BTW, I released a new r199 version of VBox Additions today:


Many fixes were added, including timestamp fixes: now "touch" utility gives the current time as a timestamp
for affected files. "Make" utility no more loops around, so that, building sources with "make" should work
correctly. Also, I adjusted returned file listings, so file find operation (with DosFindFirst/Next API's) no more
returns an empty filename, so now "copy" command works correctly in both CMD and 4OS/2. Also, now
ZIP and WIC utilities work correctly, so that I was able to create ZIP and WarpIN archives over a shared
folder. Also, I fixed some traps and memory leaks, so now I was able to check out VBox and fat32.ifs and
osFree sources, and build them over a shared folder without any problems. VBox sources take about
1 GB of space on disk, and compile for about 6-8 hours in a VBox machine under a Linux host. So,
no memory leaks occured that time and everything was built without problems. Git and Svn clients
work fine over a shared folder too.

So, I'll appreciate any testing.

PS: This version also has fixed wildcard matching, the DOS way (instead of the UNIX way).

PPS: Now timestamps are adjusted to local timezone. For that, TZ environment variable in config.sys
is parsed to calculate a time zone offset. Time zone offset calculating is done in VBoxService.exe
"Timesync" service, and set a "timezone" field in Global infoseg (via DosSetDateTime/DosGetDateTime
API's). Currently, only simple syntax like "TZ=MSK-3" works. (I'll implement a full timezone parser in the future)

PPPS: Also, I implemented logging to OS/4 / QSINIT / ArcaLDR log buffer. There are unfinished docs (README
and DEBUG documents) added. Please read DEBUG doc for details on debugging techinques (using the log
buffer etc.).

Quote from: mauro
Quote from: Valery Sedletski
    So, now we have two versions of OS/2 additions -- mine and Knut's. Mine has some features,
    missing in Knut's version (his version has non-working WPS Drives object, for example. And
    automount won't work, only manual mount. Plus no drive letter pinning support).

Hi Valery, did someone else than me reported he has issue for shared folder to be handled in wps, as advised you some posts before? No problem with fc/2, but in wps it shows as an empty drive even if it contains some folder and file,
Virtual machine is OS2 Warp 4.5 with your Guest Additions

I have mostly implemented returning empty EA list in some IFS functions, so, in theory, WPS should show a folder listing in "Drives" object.
In practice, it shows it sometimes, and sometimes it shows a "No objects were found that matched the specified match criteria" dialog. Some
other problem occurs. No idea yet, why. Need to look at it closer. If you try to open a WPS window from FC/2 with Ctrl-W, it often works, but
if you try opening the root directory of a shared folder from Launchpad->Drives->..., then it fails often.

Hi, Martin.

> It would be great if both streams can be merged together, but sometimes it is hard to make two developers agree in his way of doing things.

The two versions are very different, so no way to merge them. And I want a bit different features, which are unlikely to be implemented by Knut
and Oracle. And it seems, Knut does not like to include other people's code. (Look at BWW and their libc fork called libcn -- the same situation).

Yes, with netw4x32.sys (dated Oct 13, 2007, size 2206976 bytes) from GenMU distribution, I got the same Eric reported:
a zero MAC address, and device is not detected by XWLAN/WPA supplicant (though, IP address is
assigned and it answer to pings). I also tried a newer version of netw4x32.sys windoze driver (size
10287984 bytes), which should support Intel 6205, but it hangs when netbind.exe is loading.
So, I ended up buying a Intel 5100 from Aliexpress (just ordered it). It should work with my T420
laptop. Also, I bought Ericsson F3507g 3G card + GPS (which worked fine in OS/2 with my older
X61T laptop).

Hardware / Re: M.2 Question
« on: May 23, 2019, 09:56:49 pm »
At least, NVMe requires special drivers for each OS, they are incompatible with AHCI (other similar standard).
So, it is impossible to use under OS/2, unless someone will write a driver. From the last Warpstock I heard that AN
plans to write a NVMe driver.

Programming / Re: Rexx Socket / SMTP
« on: May 07, 2019, 02:13:50 am »
It's not SMTP, but my IMAPADD script demonstrates how to use IMAP via REXX to add a message to the remote mail server.

I used to use it to have PMMail copy all incoming messages to my IMAP account.

So, PMMail already can use IMAP, instead of POP3??? Your script should write an email message into
an IMAP folder. But how could it help with sending emails with SMTP?

Programming / Re: Rexx Socket / SMTP
« on: May 07, 2019, 02:08:51 am »
2David Graser: REXXCURL is an interface to cURL, and cURL is for HTTP (including https). How could it
help with SMTP over SSL?

As far as I can see, newer versions of PMMail use stunnel for SMTP over SSL. So, we could use it too
for the same purpose.

Hardware / Re: T420 and Intel 5100 Wifi
« on: April 01, 2019, 01:30:07 pm »
2Jochen Schaefer: Yes, I know. But there are patched BIOS'es which have supported cards whitelist disabled. With my older X61T laptop, I had BIOS already patched with its previous owner. Need to check if a patched BIOS exists for T420, of course. Some info on this should be available at So, 5100 is whitelisted?

IIRC, the half-sized slot is intended for 3g/4g WWAN cards, or for SSD's. It has PCI-express lines missing, only USB lines present. Full-size slot additionally supports PCI-express cards (like wifi ones).

Did you tried to install a 3G WWAN card into T420? Does T420 have a SIM card slot somewhere? X61T has it under the same cover where DIMM memory modules are installed. But I don't see the SIM slot under similar cover in T420.

Hardware / Re: T420 and Intel 5100 Wifi
« on: April 01, 2019, 10:45:47 am »
Hi all.

I bought T420 too, it was one month ago. Almost all devices are working with eCS 2.2, except wifi (my T420 has Intel PRO/Wireless 6205 a/g/n, 8086:0085 wifi card installed). Also, Intel HDA sound is semi-working (sometimes, I hear a startup sound during the boot, and sometimes I don't. I use uniaud from eCS 2.2 distribution. unimix sometimes says that it successfully set the sound volume, but sometimes it says "Failed")

For a wifi, I found a winxp driver, but I did not tamed it yet to work under GenMac. System just hangs on netbind.exe during the boot. Also, I tried to make it work with the Intel PRO/Wireless 4965 a/g/n driver. So far, driver loads ok, the log output in lantran.log is ok, but the MAC address shown is all zeroes. Also, XWLAN widget says It does not see any wifi card. So, I did not achieved any success with it so far. Gigabit LAN is working ok with e1000e driver, though. (I patched a table in the genm32.os2 driver accordingly, so GenMac now knows about my new card and which winxp driver it should use for it)

So, 5100 is still being sold? Good choice, I think (if so). I also have 4965 card on my older Thinkpad X61 Tablet, so I planned to swap wifi adapters on X61T and T420, but buying 5100 could be a better idea.

Programming / Re: Can an application be started and run in monoprocessor?
« on: February 28, 2019, 05:42:04 pm »
> It is possible to implement it on IBM's kernels with ACPI.PSD, but I see no interest from ArcaNoae for that to be implemented.

On OS/4 kernels, it works with any PSD. Tested successfully with os4apic.psd, os2apic.psd and acpi.psd. On IBM's kernels, it is possible to use ACPI.PSD, or implement this feature locally in VBoxDrv.sys driver, or create a special helper driver for that, in theory.

Programming / Re: Can an application be started and run in monoprocessor?
« on: February 28, 2019, 04:32:41 pm »
2Doug Bissett:

> I have been using Virtual Box 5.0.6, for a while now. It runs okay, but uses HUGE amounts of lower shared memory space.

You could try marking VirtualBox DLL's for loading into high memory, then it will use less lower one. For that, I made a highmem.cmd script. It uses highmem.exe from OpenOffice distribution for marking DLL's for loading into high memory, so you need it too. The same could be done with XUL.DLL from Mozilla, it helped me a lot. Unfortunately, not all DDL's like if they are loaded into high memory, so use it with care. It can hang your machine if used incorrectly.

2Doug Clark:

> I am using vbox 5.0.51 and it runs pretty well - except for having to pause for about 20 seconds or so between starting vbox and starting a virtual machine.

VirtualBox VM's communicate with the VBox Selector window via remote procedure call (specifically, for sending the VM screenshots for previews. So, you can try to ease your life with VBox by disabling preview updates. Just right-click on the preview window and set a "Update disabed" checkbox). Or, you could try closing the Selector window, or run VBox from the OS/2 window as "VirtualBox --startvm <vm_name>". Or, better use "VBoxSDL -s <vm_name>". The problem with PM lockups when starting the VM are present in Qt frontend, only. SDL frontend is free from it. So, you can try to set up the VM parameters in the selector window, then close it, and run a VM without the selector.

> It appears that Vbox doesnt run os/2 clients = at least that is the message I get trying to install OS/2 on vbox on a Windows 7 host. Virtual PC version 5 runs OS/2 clients just fine, on an OS/2 host. It works very will on my ECS 2.x box with a pentium 4 with 2 gb of memory circa 2001 or so. But  VirtualPC does not run on my AMD 4 core machine.

VBox runs OS/2 clients, but only with hardware virtualization enabled. Pentium 4 machines doesn't have hardware virtualization support, the same is for my Athlon 64 (1-core, socket 939- based). VirtualPC runs fine on my Athlon 64, though. Did not experimented with it on SMP machines, though (I'm unsure, but it seems, I ran VirtualPC on a Core2Duo, without any problems. Need to check.)

> I THINK it is possible to install OS/2 on the MS version of Virtual PC that is available for Windows 7. However the menu item for attaching/using a floppy drive has been removed, so it is a pain to use floppies with the MS version of Virtual PC. You apparently can do it, but it requires running a VB script and I never could get it to actually use an USB attached floppy; only floppy images.

You can try VPC 2004 or VPC 2007 from MS, I used the former to run OS/2 successfully without any problems, and IIRC, it can use floppies without problems too.

2Dave Yeo:

> Vbox needs hardware virtualization to run OS/2, enable VT-x/AMD-V under System-->Acceleration, which means you need a CPU (and BIOS and OS) that supports it. If you're using a P4, it won't work. Not sure about your AMD machine  but OS/2 itself doesn't support it so no running OS/2 on vbox with an OS/2 host.

Hardware virtualization works fine under OS/2 host (and OS/2 guest runs fine on OS/2 host. If you interested, I can post screenshots here :)), but only on OS/4 kernels at the moment. Though it is under development, it is generally working. For hardware virtualization, VBox needs a feature to run code on all CPU's in parallel in sync (the feature is called "CPU rendez-vous"). This feature is missing on IBM's kernels. OS/4 kernels has this feature available with a new KEE calls. It is possible to implement it on IBM's kernels with ACPI.PSD, but I see no interest from ArcaNoae for that to be implemented. (ACPI.PSD from Pavel Shtemenko had some function for CPU rendez-vous, but it was removed in version by David Azarevicz). And I will support IBM's kernels only in case it will be financed properly (either by ArcaNoae, or by interested community members). Unfortunately, I see no interest in this from ArcaNoae. VBox was funded by XEU a bit, but the funds are almost ended and the work requires more funding. So, for now, if you want hardware virtualization support in OS/2, use OS/4 kernel.

Applications / Re: PMMail - COMCAST - secure tunnel
« on: January 05, 2019, 01:26:20 am »
So, it still doesn't support IMAP, and HTML and national codepages? If so, then it's a lot of work.
Who will do it? Moreover, it isn't open source. Who will work on a closed-source project, does this
work feasible? Personally, I'd not invest my time into a closed-source project :(

Why it uses stunnel? Why not use OpenSSL libs instead, so no dirty workarounds like manual
port mappings remote <-> local?

PS: I moved to Seamonkey mail/Thunderbird long time ago, because of lack of IMAP support
and codepages+HTML. Now a days, it's a real problem.

Applications / Re: Mounting a VDI image as a drive
« on: January 04, 2019, 11:05:16 pm »
2Martin: Everything is documented in fat32.inf. If it is  JFS, then no way to extract files from the image currently.
As I said, JFS uses strat3, so it doesn't work currently. But FAT/FAT32/exFAT/CDFS will work.

You need to use current version of fat32.ifs, and add the


statement to your config.sys. Then use f32mount utility to mount the image, like this:

f32mount <path_to_image> /block /p:<partition_number>

PS: You can mount JFS, and may be, copy some small file from it, but if you'll try something
bigger, it will hang.
PPS: the "/block" parameter means mounting to a block device (i.e., a drive letter). After you
used the drive letter, you can "eject" it like any other removable. If you use mounting to a directory
on another FAT/FAT32/exFAT drive as a mountpoint, you use path to that directory, instead of
"/block" word. To unmount the image, use the same "f32mount" command you used for mounting,
with "/d" appended.

Applications / Re: Mounting a VDI image as a drive
« on: January 04, 2019, 10:14:24 pm »
2Martin: Why not  use fat32.ifs or loop.add driver supplied with it? Fat32.ifs can mount FAT/FAT32/exFAT
disk images on a subdirectory on another FAT/FAT32/exFAT drive. Also, with help of loop.add block device
driver, it is possible to mount any file system, having an IFS driver for OS/2, on a drive letter. The disk images
can be raw ones (floppy images, CD/DVD ISO images, or any VM disk images, like .vhd/.vdi/.vmdk/.qcow/etc
-- for details, see fat32.inf file). Note that this feature is still in development. Currently, there are problems
with mounting file systems other than FAT/FAT32/exFAT/iso9660. These listed are mounted fine. JFS/HPFS
are mounted successfully, but there are problems with using strat2/strat3 in loop.add driver. So, you can
view directory listings, but if you try to copy something bigger than 1 MB, you can see a hang when cache
is flushed. But FAT/FA32/exFAT/CDFS work fine as they use strat1 only.

For reading/writing different VM disk images, fat32.ifs and loop.add uses a special qemuimg.dll library I ported
from QEMU. The library is loaded by cachef32.exe daemon, and executes read/write/open/close requests, issued
by fat32.ifs or loop.add, and returns results back.

Note that currently, there is a bug in this library, which causes to show trash is some subdirectories. This is
currently not fixed.

Pages: 1 ... 5 6 [7] 8 9 ... 24