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 2 3 [4] 5 6 ... 22
2Rich Walsh: My most used plugins for Netdrive are FTP and ISOFS plugins. I have no SMB shares in my flat, so
nothing to test on. At least, when FTP plugin is active, It shows 0 in DosFindFirst. Also, I checked ISOFS plugin,
it shows 0 too.

2Rich Walsh:
Yes,  indeed. I created the test example for DosFindFirst, and now see that different IFS'es return the following results:

HPFS - 4
JFS - 0
FAT32 - 0
CDFS - 4
NDFS32 - 0

So yes, original IBM's IFS-es return 4, you're right

2Rich Walsh & Lars Erdmann:

vboxfs.ifs was created looking at fat32.ifs and ramfs.ifs. So, they should behave similar way. Looking at fat32.ifs, I see:
1) In FS_PATHINFO and FS_FILEINFO: filestatus.cbList = sizeof(filestatus.cbList); (i.e., 4 for one ULONG).
2) In FS_FINDFIRST worker,

Code: ("C") [Select]
                     if (!f32Parms.fEAS || !HAS_EAS( pDir->fEAS ))
                        /* HACK: what we need to return here
                           is the FEALIST size of the list
                           that would be produced by usGetEmptyEAs !
                           for the time being: just tell the user
                           to allocate some reasonably sized amount of memory
                        pfFind->cbList = 0;
                        rc = usGetEASize(pVolInfo, pFindInfo->pInfo->rgClusters[0], NULL,
                                         szLongName, &pfFind->cbList);
                        if (rc)
                           /* HACK: what we need to return here
                              is the FEALIST size of the list
                              that would be produced by usGetEmptyEAs !
                              for the time being: just tell the user
                              to allocate some reasonably sized amount of memory
                           pfFind->cbList = 0;
                        rc = 0;

so, in absence of EA's, it returns cbList = 0; Yes, I looked primarily at FS_FINDFIRST. Rich, you seem to be right.
At least, FS_FILEINFO and FS_PATHINFO do thye same.

    So, the problem is with something other.

That may be true, but returning 0 in cblist is still incorrect. Write a simple test program and point it to a file on a JFS, HPFS, or even FAT drive to confirm this. BTW... AN's version of FAT32 also returns 4.

Yes, but the error occurs when FS_FINDFIRST (but not FS_FILEINFO / FS_PATHINFO) is called. It returns 0 in cbList in both vboxfs.ifs and fat32.ifs. Though, I see no problems at all
with fat32.ifs.

Quote from: mauro
Now, since I like very much  systems on a self-bootable USB stick, and also said that OS2 W4 cannot support itself such capability, I created a self-bootable fully installed Ubuntu 18.04 USB stick, and setted an autostart command for the OS2 Warp 4.5 guest machine (updated as above described) cloned and moved from the initial Win10 host system to the Linux VirtualBox application there.

OS/2 can boot from a flash stick. For that, I created the Universal OS/2 Boot disk (based on my FreeLDR bootloader). It can boot from any medium,
like CD, flash stick or a partition on a hard disk. It is available from here: (the latest version is from Oct 21, 2016).

The disk exists for about 10 years. For installing onto the CD disk, you need to create an ISO image (just start tools/rambtcd.cmd script. Mkisofs
is included). To boot from a flash stick, or a hard disk partition, you need to copy contents of the ZIP archive to the root directory, and write a boot
block and MBR. For that, there is the installer in "tools/freeinst". Also, if your disk is FAT/FAT32/exFAT, then you can use "sysinstx" with fat32.ifs.
(it installs FreeLDR bootblock too). fat32.ifs supports FAT/FAT32/exFAT. And FreeInst supports more file systems: FAT/FAT32/HPFS/JFS.

If boot block and MBR are written correctly, FreeLDR should boot into its menu. From the menu, you should select the required options: Language
(LANG=en_US or ru_RU), video driver (GENGRADD/Panorama or SNAP. GENGRADD and SNAP SE are included. Panorama can be added easily by an eCS/ArcaOS owner), video resolution, kernel, boot loader, etc. If no options selected, it will boot into PM/WPS with GenGRADD and 800x600 resolution, kernel is 14.104a. Also, OS/2 kernel and QSINIT are included. Please, read details in readme.eng file.

PS: OS/2 can boot into three configurations:
1) Textmode with TShell

There are also options to boot DOS from a diskette, or chainload different GRUB versions (GRUB legacy, GRUB4DOS, GRUB2).

Quote from: Rich Walsh
Just to confirm: if your IFS receives a request for the total size of all EAs (FIL_QUERYEASIZE), and you want to indicate that their are no EAs, are you returning '4' (and not '0')? Returning zero is the most common coding error when handling EAs.

What do you mean? cbList field? It is always returned to be 0. (It is so in vboxfs.ifs, fat32.ifs and ramfs.ifs/emsfs.ifs). Why it should be 4?

I used the working code from fat32.ifs as a template, so it should work. I see no problems with displaying disks with Drives WPS object
in fat32.ifs. So, the problem is with something other.

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.

Pages: 1 2 3 [4] 5 6 ... 22