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 ... 46 47 [48] 49 50 ... 89
706
Storage / Re: RSYNC - what to put in EXCLUDE list?
« on: January 02, 2020, 10:47:10 pm »
...I will give this a try by re-naming the file and see if it ends up being re-created. I believe it should not given the current date/time stamp I see on my system, although just about every on-line note on this topic states that the file is automatically re-created each time FF starts (it enforces a single profile use)...

Well, I suppose as it was to be expected the parent.lock file is created each time FF is started. So deleting, renaming, etc. does me no good. I will toss that thing into my EXCLUDE list.

BTW: I haven't read up on this yet, but what exactly is the difference (functionality wise) between 'filter' & 'exclude'?

Also, in the 3.0.9.1 readme there following is present:

Code: [Select]
eCS/OS2 specific changes:
- Supports 2 second native file time resolution
  Defaults --modify-window to 1 second
  Disable with --modify-window=0

How is this relevant to us? I do not know what is the actual time resolution on OS/2...haven't tried an experiment to figure this out...but does anyone know if I need to utilize this?

707
Applications / Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« on: January 02, 2020, 10:40:44 pm »
Martin,

The installation of klib pathwire triggered the errors from D: drive.

It added this on the config.sys.
  SET LIBC_HOOK_DLLS=C:\OS2\DLL\klibccfg.dll@_kLIBCInitPath!pathrewrite

Do you have 'kLIBC Pathwriters' installed? If so, what are the actual kLIBC path mappings you see?

See what I have currently defined on my machine...not saying this is 100% correct, but that's what present there along with the following environment setups in my CONFIG.SYS (FYI - Y:\ is my ramdisk, G:\ is my OS2 partition):

Code: [Select]
REM [ Temporary and Log directory ]
SET TMPDIR=G:\var\tmp
SET TEMP=Y:\TMP
SET TMP=Y:\TMP
SET FT2_LOGGING_FILEBASE=G:\TMP\LOG
SET LOGFILES=G:\TMP\LOG
...
REM [ Below are the YUM_RPM & ArcaNoae Package Manager variables ]
SET YUM_RPM_ETC=G:\ETC
SET UNIXROOT=G:
SET LIBC_HOOK_DLLS=G:\OS2\DLL\klibccfg.dll@_kLIBCInitPath!pathrewrite

708
Article Discussions / Re: Community Ideas BrainStorm for 2020
« on: January 02, 2020, 04:41:32 pm »
Hi Dave!

Let me split up the response into multiple sub-sections.

For number one, there is some stuff on Netlabs that could be copied/formatted for edm. Porting, RPM usage comes to mind.

So do we still own/maintain EDM/2? I know the site is still up and chugging away, but it's unclear who actually has the current responsibility, is it netlabs? On the 'Contribute - EDM2' page (http://www.edm2.com/index.php/Contribute) you can find the following section:

Code: [Select]
Access to EDM/2 Wiki

You can write to this wiki with a netlabs.org user ID, to get that visit http://www.netlabs.org/site/member/

If anything is wrong please contact ktk@netlabs.org.

...but based on what I found on netlabs.org (following that provided link) I did not see anything specific to EDM/2 contributions.

...
What do you mean by a development environment? There's so many depending on what is being developed. One thing that would be nice, if RPM supports it, are meta-packages, so you install the GCC or Unix porting develp meta-package and it pulls in all needed stuff as dependencies.

Dave, you bet, that was absolutely my thinking. The idea being that we could basicall build a DEV-environment-install-template for each different configuration. So for example: I have VACPP here, along with Watcom and GCC stuff. As I periodically attempt to do things I manage with that type of template based definition which is built around the Visual SlickEdit project functionality. However, that only allows me to deal with PATHs, environment variables, etc...that does not handle the spelling out of what actual toolsets are required.

So in the case of VACPP, or Watcom that's fairly self-explanatory: you install the application and run from there. But GCC...oh boy, that's another thing altogether. I do not mean just the plain vanilla install either. I am talking about all the pieces needed to attempt to migrate anything bigger than the basic Linux type codebase.

...For number two, seems like a good idea as long as avoiding RPM hell, so RPM's have to be tested and maintained...

Well, I completely agree. To make this happen however it feels like we basically need good ol' traditional Project Management. A way to assign different folks to different tasks. Since I have no visibility to how teams like BWW or even AN do this type of transactional detail, I have no idea if there are some best-practice type of approaches we could take. Heck, I'd love for us to be able to come in with OS2World testing 'army' that could take on some of the less complex testing efforts. This is where the beauty of community based engagement would really pay off.

...For number three, testing is always a good idea. some things are simple and some aren't. For example, the new NSPR and NSS are stuck in limbo as they seem to make the Mozilla apps unstable and the updated NSS breaks some HTTPS sites with old versions like FF 38ESR. Ideally is not just testing but fixing. Silvan seems to be doing most of the work on a volunteer basis...

Right, so the 'OS2World' testing army concept is how I see us being able to make a positive contribution in some of these efforts. We do something similar to this already on the AN Tester List, but that's mostly been unit-level testing with some sprinkling of integration testing (this comment is based only on my personal experience with what I have tested - I realize others are much more engaged and do things like full AN OS installs, etc.).

709
Article Discussions / Re: Community Ideas BrainStorm for 2020
« on: January 02, 2020, 04:20:07 pm »
Hi Martin,
Free free to toss it to the "HowTo pages" on the wiki, I will also review it and make any format change so it can be correctly displayed. Let me know if you need any help with the Wiki.
Regards

OK, I will get cracking on that within the next day or so. I do after all want to have a successfull RSYNC run here before I claim to "know it all" and proceed to share my wisdom with the crowd eh? LOL

710
Applications / Re: ANPM on Warp 4.52 - Error and Loop on RPM/YUM install
« on: January 02, 2020, 04:16:55 pm »
Hi Martin,

It's been a while since I went through this, but I started with 4.52 as well, so here are some suggestions:

1) Take a look at the main AN RPM/YUM Wiki
https://www.arcanoae.com/wiki/anpm/

2) Take a look at the AN RPM/YUM 'Best Practices'
https://www.arcanoae.com/wiki/anpm/rpm-yum-best-practices/

3) Take a look at the AN 'Non-Updated Systems' Wiki
https://www.arcanoae.com/wiki/anpm/non-updated-systems/

4) Take a look at the AN 'How to install ANPM when there is an existing Python installation'
https://www.arcanoae.com/wiki/anpm/install-anpm-existing-python-installation/

This actually was something that I ran into, so we documented the work-around in that Wiki.

Here are the various REXXxxx DLLs I have on my system, all present in the \os2\dll :

Directory of G:\os2\dll

 9-06-00  12:42p    266031           0  REXX.DLL
 9-06-00  12:42p     40995           0  REXXAPI.DLL
 9-06-00  12:42p     79348           0  REXXCRT.DLL
 9-06-00  12:42p      8360           0  REXXINIT.DLL
 9-06-00  12:42p     68119           0  REXXUTIL.DLL

REXXAPI.DLL is only present in that single location.

711
Storage / Re: RSYNC - what to put in EXCLUDE list?
« on: January 02, 2020, 04:04:52 pm »
Hi Tom!

(...)  I regularly delete parent.lock to stop ff popping up the 'do you want to renew' message.

Deleting parent.lock is only a temporary solution, as you have discxovered: it needs to be repeated from time to time.

A permanent solution is to create a new boolean key with the name

browser.disableResetPrompt

through about:config and give it the value True .

OK, excellent reminder. I have put that very key in my FF install quite some time ago to avoid that repeated reminder, but...I did not physically delete the file. Checking up on it right now I find it has the following date/time stamp:

 7-14-17   3:16p         0           0  parent.lock

Which I'm assuming is maybe the original install file given that I only have about 3 other files with that very same date/time stamp.

I will give this a try by re-naming the file and see if it ends up being re-created. I believe it should not given the current date/time stamp I see on my system, although just about every on-line note on this topic states that the file is automatically re-created each time FF starts (it enforces a single profile use).

Thanks!

712
Storage / Re: RSYNC - what to put in EXCLUDE list?
« on: January 02, 2020, 03:49:02 pm »
Hi Doug!

This is my Exclude list:
Code: [Select]
- $live$
- Cache/
- Cache.Trash/
...snip...

Ahh...excellent idea, toss the EXCLUDE items in a file as opposed to passing them in the command line. You are absolutely right about what should and should not go there, these are all very "system specific", no doubt. For now the three I listed are what is being rejected. Since this is a LOCAL rsync run, disk=>disk, the speed is fast so I'm actually thinking of doing basically everything that isn't being a problem for rsync to handle.

...mua.mtx is new, and it can be omitted...

OK, good to know that. I will exclude.

Thanks Doug!

713
Storage / RSYNC - what to put in EXCLUDE list?
« on: January 01, 2020, 06:43:26 pm »
Alright...so 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:

1) SWAPPER.DAT
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/mozilla.org/userprofiles/Mozilla/Firefox/Profiles/p5gjgk21.Testing/parent.lock) failed with error 32 at lib/sysxattrs.c(426)
2020/01/01 00:48:36 [587] rsync: get_xattr_names: llistxattr("g:/HOME/mozilla.org/userprofiles/Mozilla/Firefox/Profiles/p5gjgk21.Testing/parent.lock",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...

714
Article Discussions / Re: Community Ideas BrainStorm for 2020
« on: January 01, 2020, 04:23:42 pm »
Martin, everyone...: Happy New Year to all!

Hmm, excellent question you pose. Here are a few wishes I have (some of this I've voiced in the past as well):

1) Development
- can we pick-up from where EDM/2 left-off?
- I know some effort has been made, but does anyone today really know "who knows what" (from a technical/dev perspective) on our platform?
- Yes, there are a couple of core groups (BWW and AN), but who does what, who knows what?
- Along with this really comes the notion of "can anyone build/write-up instructions to create a robust OS/2 development environment?" we can all use?

2) RPM
- it feels like we would do ourselves a favour by migrating as much of what we currently have to RPMs, so is there a way for all of us to engage in the RPM-Migration effort?
- if this is doable, how do we support that effort with the right platform? I'm thinking an actual central repository of OS2World activities, say os2world-rel & os2world-exp? These should not double up on what's already being done elsewhere, instead these should be anciliary

3) Testing
- a bit of a follow-up to the RPM above, but if you take a look at everything that's sitting out there on netlabs-exp right now you've got a list of about 15 packages I think...many of them have been in the netlabs-exp repo for quite some time...so is that b/c the testing is slow to move these to -rel?
- perhaps we could help with the testing efforts?
- right now I (personally) have absolutely ZERO idea how the current team does the testing and what actually causes a package to be pushed from -exp to -rel status
- this is a lot of manual effort, which means body count matters, and that's precisely where we could all help

-Dariusz

EDIT
====
From a "who done it an how" perspective I'd be happy to sign-up for a "How to configure RSYNC" article. I am currently going through this on my machine, both LOCAL and NETWORKED runs, so I think I should be able to pull some stuff together. Do we just toss this out into OS2World Wiki => HowTo pages (https://www.os2world.com/wiki/index.php/Category:How_To)?

715
Setup & Installation / Re: Late Christmas Present - my new video
« on: December 30, 2019, 12:26:17 am »
Nice complication Sigurd!

716
Internet / Re: FF trap in Web Developer => Network function...
« on: December 27, 2019, 10:46:23 pm »
Dave!

...should be at the same level as my last releases (might have screwed up the readme slightly). The XQS files are just built from the map files using a script Rich wrote some years back, the problem was in package-manifest.in, which lists what gets packaged.

I'm curious about something. This release had all the other DLLs iincluded. I had assumed this was the case since they were built using the same AMD family optimizations.

OK, so since I did not want to leave all these DLLs in the Firefox program directory I moved them out to \usr\local\lib. For FF purposes that was OK (\usr\local\lib is the 1st directory in my LIBPATH), however, things like ANPM fail, specifically that one complains of being unable to load the NSS library:

Code: [Select]
Executing: @python G:\UTIL\ANPM\scripts\yum_populate.py
error: Failed to initialize NSS library
Traceback (most recent call last):
  File "G:\UTIL\ANPM\scripts\yum_populate.py", line 6, in <module>
    import yum
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/__init__.py", line 23, in <module>
    import rpm
  File "/@unixroot/usr/lib/python2.7/site-packages/rpm/__init__.py", line 39, in <module>
    from rpm.transaction import *
  File "/@unixroot/usr/lib/python2.7/site-packages/rpm/transaction.py", line 5, in <module>
    from rpm._rpm import ts as TransactionSetCore
ImportError: cannot import name ts
Return code: 0

Therefore, I moved the DLLs back into FF directory to avoid impacting the remainder of the system. This works so far, but begs the question of: do I not run into DLL conflicts now?

So FF will use it's own DLLs, but when things like ANPM run they will load them from the \usr\lib path, which is where they should be.

Now, maybe all this is a bit of a moot point, and maybe you built stuff like NSS from the latest releases which are currently showing up in netlabs-exp repo, and which i have not installed here?

What do you recommend as the preferred install?

FYI: I did try running just the core FF binaries with the current netlabs-rel DLLs, however that did cause some one-off crashes which i could not explain. So I am making the assumption the stuff in your FF release package must all go together and be used together.

717
Internet / Re: FF trap in Web Developer => Network function...
« on: December 21, 2019, 04:18:49 pm »
Hey Dave!

Seems to be timing related, script calling another while it is loading? I loaded cbc.ca/news about 2 dozen times and reproduced your crash twice. It's a big page and takes anywhere between 25 seconds and 210 seconds to load here and it only seemed to crash when loading faster then 25 seconds...

Hmm, makes sense, the page actually loads in under 10 sec here, so probably a combination of the hardware (although not exactly any sort of blazing speed by today's standards lol) and the network speed (due to the 1Gig Fibre hookup).

Anyways, alright sir, thank you! I appreciate the time you spent to take a peek at this.

On another note, should I keep this version of FF as production-ready code? I am not sure what's involved in getting the additional debug info baked-in, but I wanted to utilize the fixes you put out in your last i686 and Pentim-M releases, and now that you built the Phenom version should I keep it?

718
Internet / Re: FF trap in Web Developer => Network function...
« on: December 20, 2019, 10:52:22 pm »
Dave,
Same crash, which I think is good b/c now we have the additional information that was previously missing, please see attached file.

FYI, I went through the process of trying these captures one-by-one (as per my previous post), all resulted in a crash...so I'm thinking it's something at the back-end?

719
Internet / Re: FF trap in Web Developer => Network function...
« on: December 18, 2019, 05:14:14 am »
Thanks Dave...will put it through the paces next!

720
Internet / Re: FF trap in Web Developer => Network function...
« on: December 17, 2019, 08:25:34 pm »
Hey Dave!

...Guess I could rebuild it if you want to post the optimize arguments I used, they'll be under about:buildconfig...

Ohhh...like you didn't know I'be be all over that in a blink...LOL!

Here they are, and big Thank You!

Code: [Select]
about:buildconfig
Build platform
target
i386-pc-os2-emx
Build tools
Compiler Version Compiler flags
gcc.exe 5.5.0 -Wall -Wempty-body -Wpointer-to-int-cast -Wsign-compare -Wtype-limits -Wno-unused -Wcast-align -Zomf -std=gnu99 -fgnu89-inline -fno-strict-aliasing -Zomf -fno-math-errno -pthread
c++ 5.5.0 -idirafter g:/OS2TK45/h -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -Zomf -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -DNDEBUG -DTRIMMED -g -march=amdfam10 -O2 -fomit-frame-pointer
Configure arguments

--enable-application=browser '--enable-optimize=-mtune=generic -march=pentium-m -O2' '--enable-optimize=-march=amdfam10 -O2' --disable-debug --enable-debug-symbols --disable-tests --enable-os2-high-mem --without-x --enable-system-cairo --enable-system-pixman --with-intl-api --with-system-icu --with-system-zlib --with-system-nss --with-system-nspr --with-system-libvpx --disable-startupcache

Not sure how complex of an undertaking this is, but can you also include the fixes you published for the i686 and pentium4 builds a month ago (or thereabouts)?

In the meantime I'm going to try to separate out the trap to one of the elements in that capture, by default I'm picking up 'All, but that's a combination of:HTML, CSS, JS, HXR, Fonts, Images, Media, Flash & Other. Maybe it's just one of these that's the contributing factor to the crash?

Pages: 1 ... 46 47 [48] 49 50 ... 89