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 - Andi B.

Pages: [1] 2 3 4
1
Applications / LarsenCommander - new test version
« on: May 19, 2023, 12:07:08 pm »
Since a while I'm working on some problems in LarsenCommander again. There is still one problem I want to resolve before I make an official release. But as I'm preparing for holiday vacation I think it may be good to spread the current version to the public.

Main difference to older releases is - I reenabled big buffers for file copy operations. The advantage is much faster copy speed especially with big files. Copy speed is still not as fast as the copy command from a 4os2 command prompt but the difference is not as dramatic than before. I had to rework and extend the original dynamic buffer adaption code for this. It seems current copy speed is the maximum you can get when copying with an PM application.

The max. copy buffer size in old releases was determined by a simple algorithm and based on the setting in Options - Various - File Copy/move tab. I had to limit the buffer in some 1.7. release to 60k cause there was a subtle bug in ndfs DAV plugin which leads to some zero bytes in large files copied with the help of big buffers. The side effect was a limited copy speed at about 30MBytes/s I just discovered a few months ago. There's an old ticket about the ndpdav bug which is resolved in newer releases I think. So I think it's save to reenable big buffers again. For convenience I include my fixed ndpdav.dll in this lcmd*zip. But you probably don't need it. Current ndfs 3.1.6 also has changed in a way that such subtle plugin bugs shouldn't show up anymore. But be warned if you use old ndfs/ndpdav versions.

Lcmd also uses high memory for the copy buffer now. So if you watch your memory consumption (f.i. with above512.cmd or theseus) you may find a bit less memory usage from the scarce lower shared mem. Unfortunately this does not fix another long standing problem - copying big trees of directories sometimes leads to eat up a lot (sometimes all) lower shared memory. This may eventually bring your system down until you kill lcmd. Finally I can reproduce this problem but unfortunately I don't have a fix for this right now. If you ever run into this bug in the past, sorry there's no fix in this release for that.

In this archive I've also included the current available translations. When you want to use lcmd with another language or make your own translation look into the locale directory.

I've also checked in all current sources at the official home of LarsenCommander - https://sourceforge.net/projects/lcmd/

Have fun :-)

2
Anyone running Injoys Firewall VPN feature?

Or how to you connect securely into your home LAN from outside world?

It seems to be possible to configure an AVM Fritzbox for this task. Is there a simple how to to get this working? I mean connection from the outside with a notebook running OS/2 (or Linux or Win) to my internal OS/2 server and ...



3
I can start the daemon 'git daemon --reuseaddr --base-path=/git_repositories/ /git_rerepositories/', I can sort of connect from the other machine with 'git clone git@server:/git_repositories/test' but get
Code: [Select]
Cloning into 'test'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

My goal is to have git repositories on my server running OS/2. At first I started with ssh which seems to be the usual way to connect to a git server. But can't get this running. See the other thread - https://www.os2world.com/forum/index.php/topic,3175.0.html

Now I tried with git daemon which is in netlabs.exp. But can't get this to work either. Seems I've to setup a linux server instead...

4
I'm thinking about buying a HP OfficeJet Pro 7740 printer but it only supports 'HP PCL 3 GUI, HP PCL 3 Enhanced'. Usually I have printers with postscript and/or PCL5(+) support. No I wonder if I can use the features of this A3 printing engine. I guess scanner will work the same way as it does with my HP OfficeJet Pro 475dw (smb, ftp?, email). Working fax isn't that important. But I need high resolution print outs on A3 page sizes (11 x 17"). Color, duplex and tray selection.

I'm pretty sure ported programs will work good enough with the help of cups. But how about the standard OS/2 drivers? PCL 3 seems pretty old but back at the days when OS/2 drivers where written I fear it was limited to 300dpi and maybe even color didn't work work PCL3. Any knows?

5
Applications / OpenOffice default Font Arial -> Calibri?
« on: January 29, 2023, 10:41:37 am »
How can I set the default font to Calibri? Usually f.i. in Calc font is set to Arial. I think this is the same for all platforms. Is there a way to set the default to Arial? Do I have to change the default templates for that?

6
I just had a curious problem with my T540p. I've different eCS / OS/2 / ArcaOS installation next to Win10/7 on this Thinkpad. I now decided to make an additional NTFS partition available for Win and never thought this will lead to such catastrophic problem. Steps I did -
- booted OS/2 and with DFSee I created a new NTFS partition in den middle of the disk where there was some free space
- booted W10 and formated the newly partition with NTFS

A few days afterwards I wanted to boot one of the OS/2 partitions. But booting hangs after checking drive E:. Drive D: was checked before but the other JFS partitions afterwards were not checked (M: V: L: T: O: R: P: ...). The system simply hangs.

As all my installations do have JFS /autocheck:* I can't start any of the installed systems. Moreover this system can't be booted by the ArcaOS stick (known issue for this T540p). I can't boot from an old eCS CD too. I also didn't find any ALT-F1 cmd line working. What works was booting DOS from DFSee stick and changes partition type of the partition AFTER the new NTFS partition from 06 (FAT) to 07 and fix/align the one partition AFTER the NTFS one.

I think when I formated the NTFS partition from W10 this does also overwrite some stuff of the next partition behind. Or at least crippled some of the partition info of all these logical partitions. And afterwards OS/2 can't handle that and simply stopped booting. Although I do all my partitioning stuff with DFSee, Win always finds some way to destroy something. Or say it in other words, does some alignment on the disk which OS/2 can't deal with.

Now I've my systems booting again as usual. But I can't access the partition after the NTFS one anymore. Probably I've to delete it. Never thought that a simple format from W10 of an already aligned partition (with DFSee running from OS/2) can make such damage. Maybe I should let some gap around OS/2 partitions in future whenever I prepare a partition for Win.

7
Applications / 4OS2 Location Discussion
« on: January 10, 2023, 08:52:54 am »
....
4OS2 is at https://github.com/StevenLevine/4os2.
...
Gregg
Interesting. Then http://trac.netlabs.org/4os2 is outdated and should not be used anymore.

8
After uninstalling some .i686 libs I reinstalled successfully a lot of packages but can't install cups anymore -
Code: [Select]
{0}[m:\] yum install cups
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cups.pentium4 1:2.2.13-1.oc00 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch            Version                   Repository          Size
================================================================================
Installing:
 cups        pentium4        1:2.2.13-1.oc00           netlabs-rel        2.0 M

Transaction Summary
================================================================================
Install       1 Package

Total size: 2.0 M
Installed size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:cups-2.2.13-1.oc00.pentium4                                1/1
Error unpacking rpm package 1:cups-2.2.13-1.oc00.pentium4
error: unpacking of archive failed on file /@unixroot/var/run/cups/certs: cpio: unlink


Failed:
  cups.pentium4 1:2.2.13-1.oc00

Complete!

{1}[m:\]
Any ideas?

in @unixroot/var/run/cups/certs there is a file created which is read only. Does not help when I delete it, it will be recreated. Reboot doesn't help either.

9
Applications / ssh - sshd
« on: October 30, 2022, 06:58:59 pm »
I want to set up a ssh server on my system. I've not much experience with SSH until now. I installed the openssh packages (yum install openssh-servers ..) but can't start the daemon.

I tried all combinations with or without path like p:\usr\sbin\sshd.exe or P:/usr/sbin/sshd.exe ... but I get always -
Code: [Select]
sshd re-exec requires execution with an absolute path

Anyone running successfully an ssh server on OS/2?

10
As some of you may know I'm not very satisfied with startup speed of the calendar on our platform. It may depend on the number of (repeating) entries I have in my calendars, or the number of calendars (2-6), or ...

Problem is when starting the calendar it takes about a minute or more to populate. For this time part of the system hangs (seems so). If I activate Lightning in SM then SM hangs and the whole WPS including the mouse pointer. When using Thunderbird (and disable Lightning in SM) only TB hangs for that long time. WPS (and other programs) works after a few seconds.

Now I added another calendar to TB and see this message at the bottom of TB window 'Checking Calendar 3 of 4294967299'. Maybe there is some problem with signedness? If TB really wants to check 4294967299 calendars this may be another reason why it takes so long.

I've to say in this case the real problem seems to be that our TB port can't handle a new authentication for the new calendar. As this is what I would expect at that time. It's the 4. (not the 3.) calendar that I added and this one does not have authentication information yet. Calendar location is something like 'https://kalender.gmx.de/begenda/dav/emailaddress@gmx.net/calendar' if this is of interest.

One side not - gmx.de cause I discovered with TB38 on Win that TB38 is not able to handle two authentications to calendars at the same domain (gmx.net). So I choice gmx.net, gmx.at, gmx.de. A general problem of TB38 not our port. Also the time delay at startup maybe a general TB38 problem that only is not so much annoying on other platforms than on ours.

Anyway, I'll try my best to keep my email and calendars working as good as possible on OS/2. And until now, most works still astonishing well. THANKS Dave (and bww and...). Maybe there are some hints for others in this thread.

11
Programming / gcc - building libarchive
« on: February 04, 2022, 07:11:22 pm »
I try to build *nix library libarchive and get the following error about unresolved '_pthread_mutex_unlock'.

Code: [Select]
....
  CC       libarchive/archive_write_set_passphrase.lo
  CC       libarchive/filter_fork_posix.lo
  CC       libarchive/xxhash.lo
  CCLD     libarchive.la
./libtool: 2643: ./libtool: func__fatal_error: not found
weakld: error: Unresolved symbol (UNDEF) '_pthread_mutex_unlock'.
weakld: info: The symbol is referenced by:
    P:\dev\ports\libarchive-3.3.3\libarchive\.libs\archive_random.o
weakld: error: Unresolved symbol (UNDEF) '_pthread_mutex_lock'.
weakld: info: The symbol is referenced by:
    P:\dev\ports\libarchive-3.3.3\libarchive\.libs\archive_random.o
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _pthread_mutex_lock is an undefined reference
Error! E2028: _pthread_mutex_unlock is an undefined reference
file P:\dev\ports\libarchive-3.3.3\libarchive\.libs\archive_random.o(archive_random.o): undefined symbol _pthread_mutex_lock
file P:\dev\ports\libarchive-3.3.3\libarchive\.libs\archive_random.o(archive_random.o): undefined symbol _pthread_mutex_unlock
make.exe[1]: *** [libarchive.la] Error 1
make.exe[1]: Leaving directory `P:/dev/ports/libarchive-3.3.3'
make.exe: *** [all] Error 2

"P:\usr\lib\pthread.a" includes these functions. Seems this file isn't linked.

Any ideas?

12
I see an application crash but only this short exceptq report
Code: [Select]
______________________________________________________________________

 Exception Report - created 2022/01/21 14:28:40
______________________________________________________________________

 Hostname:         NUC-J3160
 OS2/eCS Version:  2.45
 # of Processors:  4
 Physical Memory:  2994 mb
 Virt Addr Limit:  2048 mb
 Exceptq Version:  7.11.5-shl BETA8 (Jun  1 2020 18:37:02)

______________________________________________________________________

 Exception C0000005 - Access Violation
______________________________________________________________________

 Process:  P:\UTIL\PCM9362_ANETCOM.EXE (07/17/2020 16:00:11 121,227)
 PID:      78 (120)
 TID:      02 (2)
 Priority: 200

 Filename: P:\UTIL\PCM9362_ANETCOM.EXE (07/17/2020 16:00:11 121,227)
 Address:  005B:0002ADA6 (0002:0000ADA6)
 Cause:    Attempted to read from 00000000
           (not a valid address)
No more data.

As stated in the docs there is the matching xqs file in the same directory -
Code: [Select]
{0}[p:\util] dir pcm*

 Volume in drive P is Apps           Serial number is 92FC:A5C3
 Directory of  P:\util\pcm*

17.07.20  16.00         121.227      0   ___A_  PCM9362_AnetCom.exe
17.07.20  15.59          11.662      0   ___A_  PCM9362_AnetCom.xqs
         132.889 bytes in 2 files and 0 dirs
         135.168 bytes allocated
  18.281.160.704 bytes (17GB) free

{0}[p:\util]
At the same time there was a popuplog.os2 entry written -
Code: [Select]
------------------------------------------------------------

01-21-2022  14:28:40  SYS3171  PID 0078  TID 0002  Slot 00a8
P:\UTIL\PCM9362_ANETCOM.EXE
c0000005
0002ada6
P1=00000001  P2=00000000  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=01000e48  EBX=01000b20  ECX=0000000a  EDX=00000014
ESI=01000b20  EDI=00ffffec 
DS=0053  DSACC=d0f3  DSLIM=7fffffff 
ES=0053  ESACC=d0f3  ESLIM=7fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1dc6058c  CSACC=d0df  CSLIM=7fffffff
SS:ESP=0053:00ffffec  SSACC=d0f3  SSLIM=7fffffff
EBP=01000b90  FLG=00010206

PCM9362_ANETCOM.EXE 0002:0000ada6

I didn't see traps in this application since a long time and considered it quite stable. At the same time it wrote the usual message in it's log file so I guess it's some problem in the serial communication library I use. But the question here is not why my program crashes, I'm wondering why the exceptq report is not that helpful as usual. Any hints?

13
Hardware / Yanling - XSK NUC Intel Celeron J3160 with OS/2 - ArcaOS 5.0.7
« on: December 18, 2021, 02:39:17 pm »
Just installed ArcaOS 5.0.7 on this little toy - https://www.banggood.com/XSK-NUC-Intel-Celeron-J3160-4GB+64GB-or-128GB-SSD-Mini-PC-Quad-Core-1_6GHz-to-2_24GHz-Pfsense-AES-NI-p-1620981.html?rmmds=myorder&cur_warehouse=CN&ID=6135319

Installation went flawless which was a big surprised to me. Only problem - this NUC does have only 2 USB connectors. So when installing from ArcaOS stick there is no connector left for a mouse. You have to do it with the keyboard only.

This NUC has 4 Intel LAN ports on the back which was one reason I bought it. Installer detects them and installs the drivers. I've to test if this NUC works stable with at least 2 NICs and heavy network traffic. Another Advantech board with 2 NICs which I'm using now for my firewall crashes now and then with heavy network load.

14
Internet / Problems with our browsers (SM & FF) with bitbucket.org
« on: July 11, 2021, 12:36:41 pm »
Is bitbucket.org now unusable with our browsers too?

It worked when I tested some weeks/months ago. But this was on another OS/2 system. Now pages are left blank. I can log in and some direct links from my history work. But navigating to root projects or workspaces don't work anymore :-(

15
Applications / Unofficial xwp XWorkplace 1.0.13
« on: June 22, 2021, 11:19:59 am »
I've uploaded my own version of xwp here - ftp://ftp.netlabs.org/pub/xworkplace/

This version is very similar to the ones Rich released a while ago. Differences are described in the included .txt file
Quote
1) Power off/shutdown delay (apm.c) is set to 250ms in official builds. This
time is known to be too short for some systems. One of my system sporadically
does not fully switch off with this setting. 500ms works most of the time but it
needs 700ms to shut down reliable. My XWP builds defaults to 700ms. But you can
configure your own value by setting XWP_SHUTDOWN_DELAY environment variable.
F.i. adding 'SET XWP_SHUTDOWN_DELAY=1500' in config.sys increases the delay to
1500ms. Values from 250 to 3100 are allowed. Check setting 'Write XSHUTDWN.LOG
file' (Desktop - Properties - XShutdown) and an entry will be created for that
in this file in your %LOG% directory.

2) My XWP builds still uses the standard shutdown dialog with configurable names
for reboot options.

Maybe 1) is of interest for Doug.

Unfortunately I'm not a trac/xwp admin. So I can't add a proper ticket category. When you create a ticket at netlabs please specify exactly which build you're using.

Pages: [1] 2 3 4