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 - Dariusz Piatkowski

Pages: [1] 2 3 ... 6
Programming / Git : SVN plugin
« on: May 10, 2020, 08:27:26 pm »
Has anyone here tried (or succeeded in) installing the SVN plug-in for the Git system?

I have Git 2.11.0 installed and wanted to pull some source from several SVNs repos. Instead of installing SVN as a separate version control system I figured I would just try to utilizes Git instead.

However, to do so you need to install git-svn and that's where I'm running into a problem, a pre-requisite is missing and unfortunately trying to install it causes another error which I can not figure out.

Specifically, git-svn has the following dependency: perl-Git-SVN.noarch 2.11.0-4.oc00, which in turn shows this final error:

Code: [Select]
dependency: perl(SVN::Core)
 Unsatisfied dependency
dependency: perl(SVN::Delta)
 Unsatisfied dependency
dependency: perl(SVN::Ra)
 Unsatisfied dependency

What does "unsatisfied dependency" mean? How does one deal with this? Or is this a case of the RPM package itself having the wrong configuration?

I have no idea what is provided by the problem packages, but is this a case where perhaps I could try the RPM '-nodeps' parm?


Programming / Memory 'footprint' API?
« on: April 29, 2020, 07:12:26 pm »
In short, how do I take a snapshot of what's currently loaded?

I'd like to cover both the low and high areas.

What I am not looking for is a summary level stuff. Instead I want to see DLL/object level stuff, where it is sitting and so forth.

I suppose the closest I can describe it to is what the Theseus => Linear Memory Map => Show Process Contexts provides, except that I want to struture a memory map which shows each process currently running and which DLLs it links to and where these DLLs reside in memory.

Is there a starting point in terms of OS/2 APIs I should look at?

Programming / OS2AHCI interface?
« on: April 13, 2020, 03:20:08 pm »
Having recently made the move from DANIS506 to AHCI I've lost some of the IDE reporting functionality that was provided through little utilities like DiskMon, or even SmartMon.

So I thought I'd take a stab at building the AHCI versions of these, first one up being DiskMon since that provides a real-time snapshot of drive's throughput and temperature metrics, and I thought it would be a good excercise to try out my current GCC environment.

Alright, so here is the thing, I know I need to 're-point' the interface to the OS2AHCI, namely something like this:

Code: [Select]
  rc = DosOpen ("\\DEV\\IBMS506$", &hDevice, &ActionTaken, 0,  FILE_SYSTEM,
  if (rc) exit (rc);

needs to read more along the lines of this:

Code: [Select]
  rc = DosOpen ("\\DEV\\OS2AHCI$", &hDevice, &ActionTaken, 0,  FILE_SYSTEM,
  if (rc) exit (rc);

But i'm guessing it's nowhere near as simple as that. I mean I did make the change, the program succeesfully built and attempting to run it locked up the machine...LOL, I was expecting that. Strangely where it locked up was on a temperature fetch, and that may be more due to the fact that DiskMon is using the SMART reporting functionality of SmartMon (or so say the comments). I'm sure it's more complicated, but that is at least my starting point.

OK, so back to the post subject line: where do I obtain the definition of OS2AHCI interface?

I guess the only thing I can compare it to are the code samples that are included with the DANIS506 stuff, and those are very clear. I found nothing on the AOS pages on this, but before I log a ticket or post to the Testers' List I thought I'd ask here first.


Storage / How to force a folder 'refresh' from REXX?
« on: April 11, 2020, 04:30:43 pm »
I want to be able to run an on-demand (scheduled most likely) forced refresh of a particular folder, is there a call in REXX that would allow me to do so?

Basically I'm thinking the equivalent of 'RMB=>Refresh Now'.

Reason being: the built-in logic of XWP refresh causes frequent traps here (not hard trap, but soft trap) where XWP folders stop populating, this always requires either a Desktop re-start, or a complete re-boot. Since shutting this feature OFF I have been able to maintain pretty good WPS stability and rarely have the need today to force a re-boot.

However, there are certain folders, like my NAS LOG directory (where I'm sending all the various system LOGs) which of course are being populated very frequently and which my machine has a hard time detecting on a timely basis. Result being that from CLI I can see LOG udpates having been done, but through WPS these updated entries do not show up.

My thinking therefore is to schedule a forced refresh, run every 5 mins (I will play around with this) so that such particular folders are always up-to-date.

The NAS box access is through NetDrive and is a Samba share, I am currently using RL Walsh's OO.EXE to set the default folder view on several NAS folders to XVIEW, but as best as I can tell there is no option there for me to do a folder refresh.


Web applications / Google Photos - pics no longer showing?
« on: April 03, 2020, 06:20:50 am »
I was attempting to download some pics off of my mobile device and noticed that Google Photos ( no longer actually shows the images. Instead of a photo I see a grey square/frame, but that's it.

Is anyone else seeing this?

I see no Google 'service outage' updates out there but having recently ran some RPM package updates I'm wondering if one of them messed things up. So before I go digging through them all I'd like to know if this is just my issue?


Hardware / PCIe - SATA3 card choices?
« on: March 29, 2020, 03:53:58 am »
The other thread about building an OS/2 hardware system got me thinking about where the current hardware I have could use a little "help".

All in all I have a working system, but as I toss the occasional upgrade at it here and there, the original foundational pieces are starting to show their age.

Case in point, the MSI motherboard (880G-E45) only has a SATA2 controller. A couple of years ago I installed a Samsung 850 Evo SSD and completely moved away from a HPFS386 setup to JFS. Working fine, no issues. But since 850 Evo is SATA3 capable I haven't really had the chance to benefit from that capability.

All the numerous arguments around whether a typical home user would benefit or not aside, the point is clear: SATA3 is faster than SATA2.

So I'm curious, has anyone attempted to use a PCIe SATA3 add-on controller card? If so, what chipset did you find supported on our platform, and was that in standard SATA or AHCI mode?

Here is the current output of SysBench for my 850 Evo SSD:

Code: [Select]
Disk I/O disk 1-2: 238473 MB - Samsung SSD 850 EVO 250GB
   Avg. data access time :       --.---    milliseconds
   Cache/Bus xfer rate   :      125.379    Megabytes/second
   Track 0 xfer rate fwd :      228.815    Megabytes/second
   Middle trk rate fwds. :      231.438    Megabytes/second
   Last track rate bwds. :      217.636    Megabytes/second
   Average Transfer rate :      225.963    Megabytes/second
   Disk use CPU load     :        2.830    percent
   Total                 :       --.---    Disk I/O-marks

...and here is the output of DiskIO for the same drive:

Code: [Select]
DISKIO - Fixed Disk Benchmark, Version 1.18z
(C) 1994-1998 Kai Uwe Rommel
(C) 2004 madded2

Number of fixed disks: 6
Number of CD-ROM drives: 1

Dhrystone 2.1 C benchmark routines (C) 1988 Reinhold P. Weicker
Dhrystone benchmark for this CPU: 4327544 runs/sec

Hard disk 2: 255 sides, 30401 cylinders, 63 sectors per track = 238472 MB
Drive cache/bus transfer rate: 114199 k/sec
Data transfer rate on cylinder 0   : 205139 k/sec
Data transfer rate on cylinder 30399: 192094 k/sec
CPU usage by full speed disk transfers: 23%
Average data access time: Disk read error.
Multithreaded disk I/O (4 threads): 118139 k/sec, 14% CPU usage


Setup & Installation / command output redirection as input
« on: February 16, 2020, 07:56:57 pm »
This is an attempt on my part to convert a Unix RPM package dependencies command to OS/2 CLI command.

I have the following Unix command: yum deplist $(rpm -q libaio)

...tried the following:
Code: [Select]
[G:\](rpm -q libaio) 2>&1 |(yum deplist)
Loaded plugins: changelog, downloadonly, ps, replace, verify
Error: Need to pass a list of pkgs to deplist
 Mini usage:

deplist PACKAGE...

List a package's dependencies

...clearly this does not work, and I'm literally clue-less on the subjet of OS/2 command output/input re-direct.

Found the following two pages which seemed to make sense:

But none of these have yielded any where am I going wrong with this?

Applications / FreeRDP and shared memory consumption...
« on: February 16, 2020, 05:37:05 pm »
For those of you using Digi's FreeRDP port, I'm curious what type of shared memory consumption you're seeing.

A quick summary if you are not familiar with the app: this is a RDP client, but a fairly sophisticated one. Previously I was using rdesktop, which was great, but it did not allow you to share just a single application. FreeRDP can do exactly that. So if you have a WIN box on your LAN you can certainly run any apps you want on that machine and simply bring them to your OS/2 desktop for ease of use. Heck, taken a step further I suppose you could even run a headless setup, or even a permanent VM on OS/2 which just serves up the specific application/stuff you want...but I'm getting off topic here.

Alright, so I'm seeing a massive shared memory consumption issue on my box. When FreeRDP starts up I literally have about 100M go away, this is despite the DLLs being marked as highmem for both code & data segment (Digi confirmed that's the intended setup).

He has reviewed this over on his box and is not seeing this problem. I was able to actually peg this down to any post 20191111 release. As it turns out that version loads almost everything entirely into highmem. Theseus shows just a small amount of about 1M in the shared area, everything else (about 99M) is loaded in highmem.

This is nearly the opposite of what I was seeing with the newer releases, latest one being 20200211. I tested in both OS2 and OS4 kernels, results are the same.

My setup is using a 3840x1200 resolution display, both OS/2 client and remote host. On the OS/2 side this is made up of two-head display (2 LCD panels of 1920x1200 native resolution in a side-by-side config) driven by SNAP video drivers. The post 20191111 FreeRDP releases can be somewhat made to handle this by putting them into custom resolution as opposed to FullScreen (which is how I run them normally). So I am guessing maybe this has some bearing on the shared memory consumption symptom I'm seeing...but that's just a speculation. In my testing forcing the display resolution down to something like 1920x1200 did not seem to improve the situation drastically.

So the question I have is: if you are running FreeRDP, what version is it, and what are you seeing in terms of shared memory consumption?

Attached my DLLTree for the working and non-working releases. Some small differences, but I see nothing that blatantly pops out as causing the massive memory use.

Programming / GCC 9.2.0 upgrade - ligcc1 issue?
« on: February 11, 2020, 05:13:03 am »
Has anyone tried to the GCC 9.2.0 upgrade (through RPM package install)?

I have 4.9.2 at the moment but figured I'd go down the 9.2.0 path. Well, from within ANPM the upgrade ended pretty quickly:

Code: [Select]
Package libgcc1 is obsoleted by libgcc, but obsoleting package does not provide for requirements
Running Transaction Check
YumRPMCheckError(): [u'ERROR with transaction check vs depsolve:',
'libgcc1 is needed by (installed) libaio-0.0.1-5.oc00.pentium4',
'libgcc1 is needed by (installed) libvncserver-0.9.10-4.oc00.pentium4',
'libgcc1 is needed by (installed) libidl-0.8.14-6.oc00.pentium4',
u'Please report this error at']

Error: ERROR with transaction check vs depsolve:
libgcc1 is needed by (installed) libaio-0.0.1-5.oc00.pentium4
libgcc1 is needed by (installed) libvncserver-0.9.10-4.oc00.pentium4
libgcc1 is needed by (installed) libidl-0.8.14-6.oc00.pentium4

So basically looks like something's missing from the 9.x release of libgcc, which obsoleted the 4.9's libgcc1.

I logged a ticket with bww here =>

In the meantime, I'm curious if this is a known issue?

Web applications / FF 45.x and VIRTUALADDRESSLIMIT setting...
« on: February 08, 2020, 06:40:38 pm »
Hi Everyone,

Not sure if this is just something weird on my machine, or whether others have seen this as well, either way, the results I am seeing are actually pretty positive, so I wanted to share my observations.

Alright, so I've been running FF45.x for a while now, currently an AMD Phenom II X6 specific build that Dave was kind enough to supply a while back. In general, no complaints, it works.

Now, recently as I was playing around with a test release of ACPI driver from AN I was trying to see if the changes allow me to finally boot OS/2 in the full 6-core CPU config. Right now I'm running with 5 cores only, turning on the 6th always causes the dreaded WPS blue-screen hang. I adjusted the VIRTUALADDRESSLIMIT setting from 2560 to 3072 to see if that had any impact.

OK, so the ACPI changes did not net an improvement here, but I left the VIRTUALADDRESSLIMIT set at 3072.

Low and behold, all of a sudden the dreaded FF CPU spike (on certain sites/applications: GMAIL, some of my automotive forums, etc.) literally nearly went away when the particular browser tab no longer has the focus.

This was never the case in the past. The CPU spikes would continue unless/until I literally opened a blank TAB and left the FF focus on that blank tab.

Take a look at the attached CPU monitor screenshot, where the early part is the new behaviour, while the later part is the behaviour as it used to be.

Strangely this all seems to be the result of just the VIRTUALADDRESSLIMIT change. Anyways, my machine has been up for the past 7 days, same FF start, so no FF re-start which is literally a good amount of browsing with much improved stability.

I've got some changes coming up that will require a re-boot, so I'm curious if this behaviour is a result of just some weird runtime interaction, or whether it is consistent. Will find out later on today...

Networking / bwwping - missing menu?
« on: January 18, 2020, 07:38:35 pm »
Hi Everyone,

Installed the BWW replacement for PMPing last week (bwwping), seems like a handy utility, I was looking fwd to using it's WOL functionality for waking up some of the WINx boxes when I need to RDP to them.

The problem is: as best as I can tell I do not appear to actually have the pop-up menu/functionality that enables me to correctly setup a machine entry. So, if you hit the big '+' sign in the menu bar (green one) instead of a pop-up editing box I simply get a entry created in the 'Adress (IP)' column. No possibility to enter a description or MAC address. I did execute a scan, which is how I have the current listing I have. I then editted the pinghst.lst file to given the entries some names, but wasn't able to toss a MAC entry in there (didn't figure out how bwwping reads in the file and separates out the fields, apparently a clean space is not the separator).

As it happens the MAC address is what's needed by the WOL functionality.

So is this just me (which is weird I think), or is anyone else seeing this?

I emailed the author but got no response, any ideas?

Storage / RSYNC - what to put in EXCLUDE list?
« on: January 01, 2020, 06:43:26 pm » with the New Year comes a resolution of mine: "get rsync up and running"!

I used to run dSync back in the day to run a local (disk to disk) nightly backup of my partitions (mostly Maintenance and OS2). I then moved off of HPFS386 to JFS, made some changes to hardare (went to SSD) and just never got around to re-configuring the backup routines. Now, dSync had some issues, so I decided to move to RSYNC.

Alright, so with a few spare days on my hands I was able to make a bit of progress. Spent the day yesterday actually re-learning all the RSYNC stuff and managed to do a whole bunch of testing with the --dry-run option (so no actual changes are written out). Again, this is still a LOCAL rsync, so if I understood the functionality correctly it does it all as if the '--whole-file' parameter was specified, which is all fine here (since on a local storage it really would not make sense to do just the incremental, unless of course it's some massively huge data file - maybe dbms???). Anyways, once I have this rsync configured correctly I will execute nightly through the CRON/2 deamon process I have installed on my machine.

Now here comes the core of my post: for a complete backup of a full OS2 partition (one that has boot and apps on it) I am seeing three exceptions on my machine, they are:

Code: [Select]
2020/01/01 00:48:07 [587] [sender] os2getxattr: DosOpenL(./SWAPPER.DAT) failed with error 32 at lib/sysxattrs.c(426)
2020/01/01 00:48:07 [587] rsync: get_xattr_names: llistxattr("g:/./SWAPPER.DAT",1024) failed: Permission denied (13)

2) Mozilla => parent.lock
Code: [Select]
2020/01/01 00:48:36 [587] [sender] os2getxattr: DosOpenL(HOME/ failed with error 32 at lib/sysxattrs.c(426)
2020/01/01 00:48:36 [587] rsync: get_xattr_names: llistxattr("g:/HOME/",1024) failed: Permission denied (13)

3) PMMail => mua.mtx
Code: [Select]
2020/01/01 00:49:38 [587] [sender] os2getxattr: DosOpenL(apps/tcpip/PMMail3/Accounts/mua.mtx) failed with error 32 at lib/sysxattrs.c(426)
2020/01/01 00:49:38 [587] rsync: get_xattr_names: llistxattr("g:/apps/tcpip/PMMail3/Accounts/mua.mtx",1024) failed: Permission denied (13)

Therefore, the question I have is: can I skip all of the above files?, or if I should NOT skip them are there RSYNC options to allow me to deal with such a situation (force the archive past the 'Permission denied' error)?

I think SWAPPER.DAT is an easy one, yes, I can skip it. If I ever have to recover from a backup image that will get re-created during boot.

The 'Mozilla => parent.lock' is most likely due to FF being up and running, which is going to be the situation, so I can not avoid this. Likewise, the 'PMMail => mua.mtx' is a semaphore I think, it is always present as long as PMMail is up and running, so that one I can not avoid as well.

As always, appreciate any and all feedback you can provide! Thanks...

Internet / FF trap in Web Developer => Network function...
« on: December 17, 2019, 07:05:16 pm »
FF 45.9, AMD Phenom build that Dave did a while back here.

For years I was running my FF configuration utilizing options that attempted to balance the page renderning speed given the available connection throughput. Well, I moved to Fibre about a year ago and other than a couple of small tweaks I didn't spend much time changing the previous configuration.

Well, having some spare time on my hands at the moment I decided to revisit this (I will do another post on this subject since the results I'm seeing here are very encouraging).

I have been using the 'Web Developer => Network' function to assess the impact various config:about changes have. Specifically how long do various connections take, what's coming out of cache vs. pure fetch.

This approach has worked very well for numeours destinations, however there is a specific site I use rather heavily that always causes a problem in this process however, that being

Here is a snippet from the crash report:

Code: [Select]

 Exception Report - created 2019/12/15 00:47:44

 OS2/eCS Version:  2.45
 # of Processors:  5
 Physical Memory:  3327 mb
 Virt Addr Limit:  2560 mb
 Exceptq Version:  7.11.3-shl (Jul  5 2016)


 Exception C0000005 - Access Violation

 Process:  G:\APPS\TCPIP\FIREFOX\FIREFOX.EXE (12/28/2018 21:29:16 279,712)
 PID:      12B (299)
 TID:      01 (1)
 Slot:     BA (186)
 Priority: 200

 Module:   XUL
 Filename: G:\APPS\TCPIP\FIREFOX\XUL.DLL (12/28/2018 21:41:21 36,967,630)
 Address:  005B:9B46ECFF (0001:032EECFF)
 Cause:    Attempted to read from 000000A8
           (not a valid address)


 Failing Instruction

 9B46ECE4  SUB ESP, 0x1ec            (81ec ec010000)
 9B46ECEA  MOV ESI, [ESP+0x200]      (8bb424 00020000)
 9B46ECF1  MOV EBX, [ESP+0x204]      (8b9c24 04020000)
 9B46ECF8  MOV EDI, [ESP+0x208]      (8bbc24 08020000)
 9B46ECFF >CMP BYTE [ESI+0x38], 0x0  (807e 38 00)
 9B46ED03  JNZ 0x9b46ed0e            (75 09)
 9B46ED05  CMP BYTE [EBX+0xed], 0x0  (80bb ed000000 00)
 9B46ED0C  JZ  0x9b46ed24            (74 16)



 EAX : 00000070   EBX  : 2013CD80   ECX : 0019EE7C   EDX  : 00000000
 ESI : 00000070   EDI  : 0019EE7C
 ESP : 0019EC60   EBP  : 0019F0A4   EIP : 9B46ECFF   EFLG : 00210206
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory allocated by LIBCN0
 ECX : read/write memory on this thread's stack
 EDX : not a valid address
 ESI : not a valid address
 EDI : read/write memory on this thread's stack


 Stack Info for Thread 01

   Size       Base        ESP         Max         Top
 00100000   001A0000 -> 0019EC60 -> 0011F000 -> 000A0000


I've attached the full trap file (zipped down to size). Not sure if this trap is readily recognizable, or whether this is one of these "deep in the bowels of the beast" type of a thing... ???

Applications / WPS - folder refresh failure...
« on: November 29, 2019, 10:48:28 pm »
I'm curious how many of you are running into a situation where the WPS itself does not appear to be showing refreshes of folders?

Let me explain a bit my situation b/c this is a bit more complicated.

My OS/2 box (4.52 SMP) has XWP installed (latest Aug_2019 1.0.13 release). What I am consistently running into is seeing my NAS hosted folders not showing new contents. For example, I have a SYSLOG deamon running on my NAS and collect LOGs from all the PCs on the network on the NAS. On my OS/2 box I have a shadow to the NAS folder where these exist, yet despite the fact that new files are being created in that folder (on the NAS) I often times do not see the matching OS/2 folder refreshes happen. Even if I invoke the 'Refresh Now' option those NEW files never appear.

The NAS is accessed through a Samba share and NetDrive mapping. Yet this is not a samba/netdrive issue (as best as i can tell so far) b/c checking the contents of the NAS folder through CLI clearly shows the NEW files. So at the Samba/netdrive interface level this appears to be fine.

My XWP has the option turned ON to replace the native WPS folder refresh process. As I attempt to track this down I will shut this OFF and monitor.

But back to my original Q: is anyone else seeing something similar to this behaviour?

Applications / FYI - Lotus 1-2-3 and browser setups
« on: November 23, 2019, 08:30:21 pm »
Over the years I have created a pile of Lotus 1-2-3 worksheets. Despite the fact that we have OpenOffice it's been a time consuming task to migrate...subsequently as you can imagine the native Lotus 1-2-3 continues to get a good "work-out"...LOl!  8)

Anyways, recently I was going through some older worksheets which had URL links in them. Since it's been quite some time that I've used these, I came to find out that the old (original I suppose?) Lotus 1-2-3 browser setups were no longer functioning (error msg about missing browser would pop-up when attempting to select a URL). Below is a quick FYI type of a note to those who may be in a similar situation and want to update the Lotus 1-2-3 install to use a new/modern OS/2 browser, FF in my case.

1) the Lotus 1-2-3 readme will point out that you can setup a browser in the following section:

Code: [Select]
 5. The Default Internet Browser

Specifically that '5. The Default Internet Browser' will reference the following:

Code: [Select]
5. The Default Internet Browser
The SmartSuite Install program automatically defaults to using
Netscape Navigator as the Internet browser for all of the
SmartSuite applications. You can use the REGRX program to change 
to another Internet browser

Executing that REGRX utility will allow you to configure some SmartSuite options, including the default browser.

Now, back in the day the main browser were:
1) IBM WebExplorer
2) Netscape Navigator

Subsequently, the native SmartSuite REGRX utility will leave you at a proverbial dead-end (unless you do in fact want to use one of these browsers). Alas, do not despair ( ;)) there is a way to get your choice of browser hooked up.

Take a look at the screen capture I did, this is the extended help present in the application on this topic. In short, fire up Registry Editor and head on over to the appropriate registry KEY...either replace the existing one (most likely pointing to Navigator), or create one from scratch.

If you need to create one it'll be something like this (replace my G:\ drive references with your install details): http=>shell=>open=>command=> (Default) => "g:\apps\tcpip\firefox\firefox.exe" "%1"

These setups work for me to invoke FF when a Lotus 1-2-3 cell points to a URL.

Pages: [1] 2 3 ... 6