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

Pages: 1 ... 80 81 [82] 83 84 ... 89
1216
Applications / Re: File comparison editor wanted
« on: May 08, 2016, 05:27:02 am »
PMDiff is pretty slick...easy too...

1217
Setup & Installation / Re: Problems with JFS
« on: May 08, 2016, 02:24:31 am »
Pete,
Do you still have an active HPFS partition present while you boot off of the JFS?

I ask this because I previously experimented with JFS (older version though)...and since I ran HPFS386 (with fairly sizeable cache - 512MB) across all of my OS/2 drives I ran into some serious problems, JFS was completely unusable. This actually caused my bootable HPFS386 partition to get trashed...since then I have left JFS alone and have not got any further.

So....if you have an active HPFS partition, maybe you are seeing some kind of "in-stability" between the two filesystems along the lines I have exeprienced.

1218
Internet / Re: Weird Firefox 17.0.11 TCP/IP traffic spike...
« on: May 08, 2016, 02:08:19 am »
So here is the thing I was able to find, I ran iptrace on my lan0 interface to capture the Firefox traffic.

As it turned out that massive amount of data is due to traffic between my OS/2 box and my NAS unit, that being ZyXel NSA325 V2. What exactly is being moved is hard to tell, but ipformat shows that the traffic is limitted to just those two static ip addresses.

I ran iptrace as follows: "ipformat -f iptrace.dmp > iptrace.out2". Perhaps I could have tried some other options to better judge what type of data is actually being exchanged.

Here is a sample of typical data packet:

=== START ===
-------------------------- #:4 --------------------------
 Delta Time:  0.020sec   Packet Length: 234 bytes (EA hex)
 IP:    Dest: 192.168.001.005    Source:  192.168.001.010
----------------------- IP HEADER -----------------------
 IP:  Version: 4 Correct    Header Length: 20 bytes
 IP:  Type Of Service: 00
 IP:     000. ....  Routine
 IP:     ...0 ....  Normal Delay
 IP:     .... 0...  Normal Throughput
 IP:     .... .0..  Normal Reliability
 IP:  Total Len: 234 (xEA) bytes          Id: 2629
 IP:  Flags: 2
 IP:     .1..       Don't Fragment
 IP:     ..0.       Last Fragment
 IP:  Fragment Offset: 000
 IP:  Time To Live: 64 sec    Protocol: 6  TCP
 IP:  Header Checksum: 9085    (Correct)
 IP:  No Options
---------------------- TCP HEADER ----------------------
 TCP:  Source Port: 57489  (Unassigned port)       Dest Port: 445  (Unassigned port)
 TCP:  Sequence #: 4155242293
 TCP:  Ack #: 468644365
 TCP:  Offset: 20 bytes
 TCP:  Flags: 18
 TCP:     ..0. ....        Urgent bit Off
 TCP:     ...1 ....  <ACK> Ack bit On
 TCP:     .... 1...  <PUSH>Push bit On
 TCP:     .... .0..        Reset bit Off
 TCP:     .... ..0.        Synchronize bit Off
 TCP:     .... ...0        Finish bit Off
 TCP:  Window: 33888      Checksum: 944A   (Correct)
 TCP:  No Options
--------------------------------- DATA -----------------------------------
0000 00 00 00 BE FF 53 4D 42    72 00 00 00 00 08 01 C8   .....SMBr.......
0010 00 00 00 00 00 00 00 00    00 00 00 00 00 00 18 00   ................
0020 00 00 01 00 00 9B 00 02    50 43 20 4E 45 54 57 4F   ........PC NETWO
0030 52 4B 20 50 52 4F 47 52    41 4D 20 31 2E 30 00 02   RK PROGRAM 1.0..
0040 4D 49 43 52 4F 53 4F 46    54 20 4E 45 54 57 4F 52   MICROSOFT NETWOR
0050 4B 53 20 31 2E 30 33 00    02 4D 49 43 52 4F 53 4F   KS 1.03..MICROSO
0060 46 54 20 4E 45 54 57 4F    52 4B 53 20 33 2E 30 00   FT NETWORKS 3.0.
0070 02 4C 41 4E 4D 41 4E 31    2E 30 00 02 4C 4D 31 2E   .LANMAN1.0..LM1.
0080 32 58 30 30 32 00 02 44    4F 53 20 4C 41 4E 4D 41   2X002..DOS LANMA
0090 4E 32 2E 31 00 02 4C 41    4E 4D 41 4E 32 2E 31 00   N2.1..LANMAN2.1.
00A0 02 53 61 6D 62 61 00 02    4E 54 20 4C 41 4E 4D 41   .Samba..NT LANMA
00B0 4E 20 31 2E 30 00 02 4E    54 20 4C 4D 20 30 2E 31   N 1.0..NT LM 0.1
00C0 32 00                                                2.
=== STOP ===

....but, where this led me to is to eventually spot a filename that was stored on the NAS...some more poking around identified the root cause (as best as I can tell at the moment anyways). I must have downloaded this file using Firefox and pointed to my NAS box as the "SAVE AS" location. I was able to find this very filename in the Downloads list...removing it from there no longer causes Firefox to interrogate my NAS box for directory contents, or so it appears.

Strange, at least it seems strange that the app would do this, it implies that all previous downloads still present in the History would be looked at as well. Local filesystem is different then network stuff, thus the spike in my tcp/ip traffic. This behaviour could certainly be the result of Netdrive version I use, which is 3.1.4 with File System Drive being 3.027.

1219
Programming / Re: Poll: Your favorite text editor
« on: May 02, 2016, 06:11:30 am »
Visual SlickEdit....old commercial IDE...great stuff...I spent hundreds of hrs professionally developing Oracle SQL code...

1220
Internet / Weird Firefox 17.0.11 TCP/IP traffic spike...
« on: May 02, 2016, 03:41:47 am »
Hi Everyone!

Within the last couple of weeks I started noticing a weird tcp/ip traffic spike while using my Firefox 17.0.11 release and openning a new window. Each time I do this I get about 4-5 secs of massive data xfer (which I monitor through my 'PU Monitor' utility)...in total there seems to be some kind of localhost loop where about 80-100 MB of data appear to be downloaded with matching 1MB uploaded...the thing is I am absolutely 100% certain there is no real "beyond the router" communication, it only appears to be hapenning internally on my machine.

So I'm curious if anyone has seen this behaviour with Firefox, maybe some add-on? The last add-on I installed is ChatZilla, but that was at least over a month ago...

Thanks!

1221
Applications / Re: AVxCAT 1.4 alpha
« on: March 13, 2016, 04:00:11 pm »
Hi Remy,

Any feedback about latest build ?

Sorry...got a little behind here...away on business last week...but I will get some testing done today...

Thanks,
-Dariusz

1222
Well..mostly good news to report...I was able to un-install the Warp4 toolkit using the Install/UnInstall "Feature Install" options...pretty clean end-result.

I then installed the Warp 4.52 toolkit using the TKINSTAL method...however, I noticed that during the install it tossed a bunch of it's SOM into my LIBPATH, PATH statements as well as having re-defined:

SET SOMBASE=G:\OS2
SET SOMRUNTIME=G:\OS2\DLL

to

SET SOMBASE=G:\code\tools\toolkit\som
SET SOMRUNTIME=G:\code\tools\toolkit\som\common

My LIBPATH had the following entries added to the very front:
G:\code\tools\toolkit\samples\mm\dll;G:\code\tools\toolkit\som\common\dll;G:\code\tools\toolkit\som\lib;

...which unfortunately must have made my total LIBPATH length too big as it caused a boot error (SYS02068 - unable to locate DOSCALL1).

Anyways, my biggest worry here is re: SOMBASE and SOMRUNTIME statements, the toolkit .IR files are different than that I find in OS2.

Can I safely ignore the SOM part of Toolkit driven changes to the CONFIG.SYS?

1223
Applications / Re: AVxCAT 1.4 alpha
« on: February 27, 2016, 01:04:59 am »
Hi Remy!

Updated to beta2    ( change beta1 by beta2 from the download link to get the update )
( same as beta1 but changed and corrected seek position under video advanced option. Now, it is very fast  ;) , optimized some code and starting video using KMP player under video advanced option will start at selected start-time )

Any feedback about beta1 test ?

Well, I tested Beta1 last night...result is stil the same. Here is what I noticed though, the lock does not happen "immediately", instead I can hear the disk head seeking sounds, which tells me that whatever API is being used to retrieve HD/disk information kicks off, it is after that event that the system goes into this soft-lock.

In my particular case it takes 2 CTRL-ALT-DEL hits before the 3rd one finally reboots the system...and reboot itself is also an OS shut-down/close, followed by a power cycle, so this is the reason why I am not calling it a HARD-LOCK. Upon a re-boot I never have to do CHKDSK...so at least the disks are not flagged as 'dirty'.

I will test out Beta2 now...can I attempt to use a PRE/POST 'owncmd.txt' logic here? So far I have only tested with just the PRE owncmd.txt file, as I believe you were making some changes to enable the POST processing.

Thanks!

1224
Hi Dave!

My os2tk45 has this in the readme.1st
Quote
This package updates IBM Developer's Toolkit for OS/2 v 4.50 and 4.51 to the
current level (4.52 with HIGHMEM update). To install it, copy the entire
directory structure over your existing Toolkit setup.

New content added since 4.50 includes the OMF and LX executable format
documentation (BOOK\OMFREF.HTM and BOOK\LXREF.HTM).

So yes, uninstall the v4 toolkit and install v451 and then v452 over it.

Great insight...I did not catch this but it does give me a pretty good idea regarding how to install the 4.52 stuff.

As it happens, shortly after I posted here I did come across the GitHub repository which I believe attempts to make the latest version of the toolkit available, see https://github.com/bitwiseworks/os2tk45. Full ZIP release is there, but it is not an install, instead it is very much meant to be deployed on top of an existing install, so very much like the 4.52 version which you have.

OK, now onto what I had not actually expected to be the more challenging part of this process, which is the actual 4.00 un-install...I have VACPP objects in my "Installed Features" folder (attached photo shows this). Both of the "VACPP_FI" objects point to the "OS/2 Toolkit - xxx" features, however I have no idea why the heck I have two of the "VACPP_FI" objects in the first place. What I do not have anywhere is a 4.00 Toolkit un-install object or even a stand alone "Installed Features" object.

Either way, I have not attempted to un-install from here, but something tells me I should try this first. My only worry is that I do not want to impact the actual VisualAgeC++ or my IBM C/C++ installations...boy...it's been a while since I have done this...sure got a little "rusty" on the know-how...LOL!

1225
Quite some time ago I installed a Warp4 version of the OS/2 Toolkit on my machine, however, I am wanting to get "updated" and take a stab at a few small things (like PUMon which eats up 50% of CPU on a single core when I run my system with all 6-cores enabled - it does not exhibit this behaviour when only 5 cores are enabled though...LOL). So the intent is to build a workable debug environment and re-compile source code as needed.

Over the years I have accumulated an assortment of various Toolkit updates (although none of them beyond the original War4 Toolkit CSDs have been installed) and as best as I can tell I have what looks to be an official 4.50.2 (XR04520) release. Are there any newer official OS/2 Toolkits/updates out there?

Now regarding the actuall install/un-install process. I have the VisualAgeC++ and IBM C/C++ Compiler (3.6.5) tools installed as well. A few years back I had a working development environment set up and did a little OS/2 investigating trying to understand how the development environment was structured.

Quite frankly, I can not remember if the OS/2 Toolkit was a separate install, or whether that was part of the IBM C/C++ install...pretty certain it was not included with VisualAgeC++.

Can anyone recommend the best practice to follow here to get this cleaned-up? I am thinking it would be best to un-install the Warp4 Toolkit and then install the newer 4.5x stuff...I have the following versions available:

1) IBM OS/2 Developer's Toolkit Version 4.5 - XR04500 - 4.50
2) IBM OS/2 Developer's Toolkit Version 4.5 - XR04510 - 4.50.1
3) IBM OS/2 Developer's Toolkit Version 4.5 - XR04520 - 4.50.2

Do I un-install my Warp4 Toolkit and install all of the above 1 after the next (additive install), or should I go directly to 4.50.1 and then apply the 4.50.2 on top of it? The 4.50.2 drop I have may be an un-official release as it appears to be made up of just the stuff that was updated and does not have a CSD style install.

1226
Applications / Re: AVxCAT 1.4 alpha
« on: February 20, 2016, 05:40:05 am »
...How many files do you have under the path you open through internal filemanager ? What is your path name where ?...
Not many files, about 6 files that match the filter extension...but about 18 files in total in that directory...the path name I've used is "G:\tmp\camtest"

From a process perspective here is what PSTAT returns:

G:\APPS\MULTIMEDIA\AVXCAT\AVXCAT.EXE   005F       2B      G:\OS2\DLL\REXXAPI.DLL
                                  G:\OS2\DLL\DOSCALL1.DLL*
                                  G:\OS2\DLL\QUECALLS.DLL*
                               G:\OS2\DLL\REXX.DLL
                                  G:\OS2\DLL\DOSCALL1.DLL*
                                  G:\OS2\DLL\REXXAPI.DLL*
                                  G:\OS2\DLL\KBDCALLS.DLL*
                                  G:\OS2\DLL\NLS.DLL*
                                  G:\OS2\DLL\SESMGR.DLL*
                                  G:\OS2\DLL\QUECALLS.DLL*
                                  G:\OS2\DLL\MSG.DLL*
                               G:\OS2\DLL\DOSCALL1.DLL*
                               G:\OS2\DLL\PMGPI.DLL*
                               G:\OS2\DLL\PMWIN.DLL*
                               G:\OS2\DLL\PMSHAPI.DLL*
                               G:\OS2\DLL\PMDRAG.DLL*
                               G:\OS2\DLL\PMCTLS.DLL*

1227
Applications / Re: AVxCAT 1.4 alpha
« on: February 20, 2016, 05:30:39 am »
Remy,

...Could you please provide me some information about your environnement ( ECS V? OS2 v?, number of drives etc ... )...

No worries, this may be an issue that others may run into so I like to share as much of my experience with our OS/2 community as possible.

OK, so we are talking 4.52 SMP machine here. 6-core AMD Phenom II X6 CPU running on MSI 880G-E45 series motherboard. Running ACPI 3.22.08 release here.

Now the drives...oh boy (you are probably going to shake your head, but here it comes), in total I have 19 drives (volumes really across 3 physical hard-drives), 2 are not accessible (file-system not mapped), 7 are main OS/2 install, 7 are HOT/nightly backups, 3 are Samba drive mappings to other home PCs (windows boxes).

All my OS/2 drives run HPFS386, all are 60Gig in size.

I tested your "pre" user-command, works great...the conversion of my 130Meg MJPG to h264 MP4 took all of about a 30 sec with all cores chugging away (threads=4, I could have ran more given 6 CPU cores though, however that Settings spin-button only let me go to 4, if I leave on 'auto' the program runs into a problem and ffmpeg claims that the pipe was shut-down/broken, I will capture the specific details later on).

Thanks again...even with the SMP on/off manual flip this is great already!!!

1228
Applications / Re: AVxCAT 1.4 alpha
« on: February 20, 2016, 05:17:53 am »
This sounds like a simple smp problem and perhaps can be fixed by marking avxcat.exe as MPUNSAFE. At least it would be worth trying. I believe the syntax is
Code: [Select]
markexe MPUNSAFE avxcat.exe

Tried that already...same result...the only thing that seems to work is running 'setproc' utility...not sure who wrote that...but you can find it on Hobbes here => http://hobbes.nmsu.edu/download/pub/os2/util/system/setproc.zip

Here is something else I noticed. When I start up either PSI or Remy's app I see libc06b4.dll showing up in Theseus...but that is a DLL that is quite old and is "retired" now...lol...yet both apps still pull it in, my DLL details are:

 2-01-05  10:21a    562710           0  libc06b4.dll

...and here is the full list of all libcxxx DLLs:

10-27-03   5:13p    230785         124  libc04.dll
 4-14-04   4:37p    356330           0  libc05.dll
10-26-14   8:17p     48179           0  libc06.dll
10-26-14   8:17p     48179           0  libc061.dll
10-26-14   8:17p    157161           0  libc062.dll
10-26-14   8:17p    157161           0  libc063.dll
10-26-14   8:17p    157213           0  libc064.dll
 8-11-08   5:53a   1353252         124  libc064x.dll
10-26-14   8:17p    157213           0  libc065.dll
10-26-14   8:16p   1361666           0  libc066.dll
 2-01-05  10:21a    562710           0  libc06b4.dll
12-30-11  11:08a    114176           0  libcbeta
 2-01-05  10:21a    562710           0  libcbeta.dll

So maybe some sort of DLL conflict where one of these is not SMP-safe?

1229
Applications / Re: AVxCAT 1.4 alpha
« on: February 19, 2016, 05:10:43 am »
Hi Remy!!!

Success....but...read on please...

- Corrected some code when clicking on files ( a proc was called 2 times )
- Added option under parameters to see LOCAL or USED drives ( was set to USED drives by default )
- Included code to check existing of a file called "owncmd.txt' under avxcat path into which some user os2 commands could be added ( do not include single quotes because avxcat will add single quotes at start and end of each included cmd line. these commands are put/issued prior the ffmpeg exe.  e.g.   CLS ...

OK, so I had closed all my front-end apps before testing, in case it might freeze up...to my amazement and excillaration the Open File dialog box popped up and off I went picking files. Great...I shut-down the app, re-booted, re-tried the test to confirm the behaviour and ran straight into the same old freeze problem...why???

Well, I start up a few apps by default during system boot, one of them is PSI (IM client), through additional testing I found out that if I kill PSI before starting your app, it will open up the File dialog box fine. If on the other hand I leave PSI up and running the old behaviour persists and even the very 1st File attempt will lock things up.

Knowing this I tested further.

This time, having opened the File dialog once I wanted to rule out multiple File pick options, and here is where I ultimately got stuck. Even with PSI not running, attempting to open the File dialog for the second time will freeze the app. The LOCAL/USED drive settings did not seem to make a difference here.

One more test remains, and that is the "owncmd.txt" file approach...but as best as I can tell this only allows me to execute a "pre" command, is there a "post" command option as well? To avoid the freeze I effectively need to run in a single-core mode while using the app and only switch to all-cores when ffmpeg is actually running, then back to single-core only.

1230
Applications / Re: AVxCAT 1.4 alpha
« on: February 17, 2016, 03:36:58 pm »
Hi Remy,

...About long process, older ffmpeg was single thread only while the latest one I suggested to give it  try is multi-thread and under my system which has 4 enabled CPU core ( I also tried it using the 4 additional virtual core ), it works well and conversion is mutch faster with the latest ffmpeg suggested build...

Let me explain better, the long time it takes to re-encode my videos is due to several reasons:
1) MJPGs produced by my DSLR (Pentax K5) are big...we are talking on the order of 1.5-2gig for just a couple of minutes
2) since I can not use your app with multiple CPU cores enabled, I shut off all but one, then encoding happens in a "single thread" fashion since all other CPU cores are effectively disabled
3) I have previously used ffmpeg-os2-r26099, which is multi-thread enabled (it was a Dave Yeo drop)...so if I do the conversion outside of your app (command line) I am able to crunch through the data much faster as the work is done in parallel

I did download and install your recommended ffmpeg-os2-r2_1_5-Fourier version...haven't gotten a chance to try it out yet though.

Here is an idea I've been investigating to get around my app freeze situation. I could configure the application start cmd file to shut off all cores and run in a single-core mode. When the time comes to actually start the encoding operation if there was a way for your process to tie-in to a user defined "prep cmd step" I could then re-enable all the cores and really let the machine fly through the process. Since your app builds the final ffmpeg command on-the-fly I'm wondering if there is a way for me to do this?

So here is an example of what I'm talking about:

=== START ===

/* auto generated program by FFMPEGCA to execute ffmpeg in start using pipe */
Parse arg copy_metadata
ff_inputfile="I:\Movies\Family\Amelia - Baby Boots 2.MPG"
ff_inputfile='"'||ff_inputfile ||'"'
ff_outfile="G:\HOME\.ffmpegca\Amelia - Baby Boots 2.mp4"
Out_AVmap=" -map 0.1 -map 0.0"
more_map=""
ff_outfile='"'||ff_outfile||'"'
ffmpeg_prms='  -i '||ff_inputfile||' '||Out_AVmap||' -vcodec libx264 -b 1400k -r 29.97 -qmin 2 -qmax 35 -async 3'
/* --- x264 preset used : external --- */
ffmpeg_prms=ffmpeg_prms||' -vpre hq'
ffmpeg_prms=ffmpeg_prms||' -ar 44100 -acodec ac3 -ab 192k -vol 256 -ac 2'
ffmpeg_prms=ffmpeg_prms||' '||copy_metadata||' '||ff_outfile||' '||more_map

==> BEFORE ffmpeg.exe kicks off below I'd re-enable the CPU cores

'G:\util\misc\priority.exe 1 3 G:\APPS\MULTIMEDIA\ffmpeg\bin\ffmpeg.exe -y '||ffmpeg_prms||' 2>\pipe\ffmpegca_122'

==> AFTER ffmpeg.exe finishes above I'd disable the CPU cores

=== END ===

...any chance for this?

Pages: 1 ... 80 81 [82] 83 84 ... 89