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 - Paul Smedley

Pages: 1 ... 149 150 [151] 152 153 ... 170
2251
Hi Guys,

Hi Karen, welcome the forum.

Sadly we don't have any news about what is happening with eComStation in some time.

I just tried "news.ecomstation.com" on Thundebird and it gives a timeout. It also gives a ping timeout.

Maybe if you ask on the forum what is the bug that you are getting with eComStation someone can give a hand.

news.ecomstation.nl responds here - it's very quiet, but it's alive.

Cheers,

Paul

2252
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 19, 2016, 04:09:45 am »
Hi Doug,

I can't reproduce here with Netdrive. The folder I tried has about 200 subfolders - either this isn't enough, or it isn't a problem with Netdrive <shrug>.

If I get a chance, I'll install a fresh eCS VM with evfs and do some testing there.

Cheers,

Paul

2253
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 18, 2016, 10:06:45 pm »
Hi Doug,

Quote
Note that installation currently requires some manual copying of files, and an existing installation of the Netdrive plugin from http://trac.netlabs.org/samba#Clients

It took some serious guessing, about where to put files, but I did get this to work with EVFSGUI and EVFSCTL (not well tested, and EVFSCTL is loaded in CONFIG.SYS). I also used the RPM packages, as installed by ANPM (RPM/YUM). Yes, it does log onto win 10, and it seems to work (although not all that well, but I think it is EVFSGUI that causes the problems).

The main "problem" is that if the user interrupts populating the file list, before it is finished doing it, the WPS will lock up, and a reboot must be forced (CADH works). This is a problem that I have seen with EVFSGUI  for ages, although later versions (if you can find the right combination of parts), work a lot better.

THANKS...

Thanks for testing. I'd be interested in logs of your scenario above if possible. Or some more detail around what you mean by user interrupting the file list before it's finished doing it, and I can try and reproduce with netdrive here. I guess you mean opening up a folder with a lot of files, and before it finishes loading details on all the files, change folder?

This could be similar to http://trac.netlabs.org/samba/ticket/153 - but that's just a guess without seeing logs.

Thanks,

Paul

2254
Hardware / Re: I need help!
« on: November 16, 2016, 03:07:10 am »
Hi Einar,

I'm giving up my desktop PC. Or the PC is giving  me up. Or I'm giving up eCs after about 25 years!!
So far I have had  desktops, but I think it is stupid to buy a new one. I need a laptop where I can install both OS2/eCs and Win10. The short question is: what do you recommend.
I am using  programs like Scribus (does not work any more under eCs), GenealogyJ and a lot of picture handling. I don't mention the programs like Thunderbird,  Firefox, OpenOffice, PMView etc. I use the PC every day and often for many hours.

In what way does Scribus not work under OS/2 any more?

Cheers,

Paul.

2255
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 15, 2016, 09:22:21 am »
Hi David,

Plugins=ndpftp,ndpntfs,ndpsmb,ndpiso,ndpdav,ndpudf

Interesting.... still unclear why it is OK for some but not others. What video/network drivers do you run?

Cheers,

Paul

2256
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 14, 2016, 08:34:56 pm »
Hi Dave,

Paul - I've been running ndctl.exe from CONFIG.SYS without any problem ever since I stopped the control program, added the new ndpsmb.dll, then started it that one time from the WPS. Maybe that is all that is needed to prevent hangs?

Interesting - what mix of plugins are you loading in ndctl.cfg?

2257
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 13, 2016, 07:42:37 pm »
Ok I managed to leave out a very important step.

For reasons still unknown, with this plugin, if ndctl.exe is started from config.sys, hangs can occur.

So, it's necessary to comment out the line that loads ndctl.exe from config.sys and add something like 'detach ndctl.exe' to startup.cmd

Apologies for missing this in the original write-up, I'll go modify the original post to reflect this as well.

Cheers,

Paul

2258
Networking / Re: Samba 4.4.x Netdrive plugin for OS/2
« on: November 13, 2016, 09:26:32 am »
Note that EVFS should in theory also work, but it's not tested.

Also, this has been tested against the following servers (off the top of my head)
  • Samba server v3.3.x running on OS/2
  • Samba Server v3.5.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x running on linux/debian
  • Netware
  • Windows 10
  • Windows Server 2008r2 and 2012 using kerberos authentication

2259
Networking / Samba 4.4.x Netdrive plugin for OS/2
« on: November 13, 2016, 09:23:06 am »
Hi All,

As many would be aware, I've been working on a Netdrive Samba plugin for OS/2 for a while now. After my presentation at Warpstock last weekend (Youtube video at https://www.youtube.com/watch?v=WfGoCsvSovQ&feature=youtu.be&a - slides at http://www.warpstock.org/filemgmt/visit.php?lid=240) I thought I should finally make some binaries more widely available.

Note that installation currently requires some manual copying of files, and an existing installation of the Netdrive plugin from http://trac.netlabs.org/samba#Clients

Firstly, download the following:
ndpsmb.dll - http://smedley.id.au/tmp/ndpsmb-3.0-20160930.zip
smbcln44.dll - http://smedley.id.au/tmp/smbcln44-4.4.7-20161028.zip
ldap.dll - http://smedley.id.au/tmp/openldap-2.4.44-os2-20160503.zip
heimdal DLL's - http://smedley.id.au/tmp/heimdal-1.5.3-os2-20160723.zip
mmap.dll - http://rpm.netlabs.org/release/00/zip/mmap-0_5-1_oc00.zip or install via rpm
libcx0.dll - http://smedley.id.au/tmp/libcx0.zip (Note this is a self built version of libcx0.dll - rpm version may work as well)

ndpsmb.dll needs to go in x:\ndfs\ndplugs - I suggest smbcln44.dll goes in the same directory.

Other dll's need to be available in the libpath.  Note that for heimdal, unless you're using a kerberos enabled share, you only need the DLL's from /heimdal/bin

To connect to a kerberos enabled server (ie Windows Server), you'll also need kinit.exe from /heimdal/bin and potentially some of the other executables

At this point, restarting ndctl.exe should result in a working Samba.

Before rebooting, it is *VERY* important that you remove the line that loads ndctl.exe from config.sys, ie 'RUN=C:\NDFS\NDCTL.EXE' and add 'detach ndctl.exe' to startup.cmd.  If you don't do this, it's VERY likely you'll get system hangs as the WPS is starting up. The causes of this are being investigated.

If problems are found, please either email me details - or raise a ticket against Client 3.0.x at http://trac.netlabs.org/samba/newticket

In particular, logs are useful - see my presentation slide 24 for details on creating logs.

Feedback appreciated.

Thanks to Lewis Rosenthal for his support for this project.

Cheers,

Paul

2260
Applications / Re: Java applications
« on: November 12, 2016, 09:07:17 pm »
FWIW - I started looking to see if I could build openjdk locally. Partly to see if it would build with GCC 6.2.0; but partly to start to look at how difficult it would be to update our JDK to the latest v6 build; then depending how that went, to see how much changed with openjdk7.

Unfortunately, my build got stick fairly early on with an error compiling some java code with javac. I'll try get back onto this when I stop being so distracted with Samba :)

2261
Events / Re: Any questions for Warpstock 2016 ??
« on: October 30, 2016, 02:08:31 am »
Thanks David.

I found the reference since I didn't remember it.
https://www.arcanoae.com/roadmap/

Quote
Enhanced printer support for OS/2 (with and without CUPS)

A new printer driver package as part of the Arca Noae subscription is in the works. This package will consist of an updated PostScript printer driver for OS/2, usable both with and without CUPS. OS/2 and eComStation users with a need to print to newer PostScript-compatible printers should be pleased with the enhancements planned for this driver package.

I'm sure this will just be Alex's psprint driver with further improvements....

2262
Storage / Re: MTP plugin for Netdrive?
« on: October 28, 2016, 10:36:51 am »
Hi Guys,

Hi Wim,

I looked into detect.log and I see starting on line 1883 :

Code: [Select]
libusb: 2.459000 debug [libusb_open] open 1.2
libusb: 2.459000 debug [os2_open] unable to open device - id= 22b8/2e82  rc= ff0c
libusb: 2.459000 debug [os2_open] open: rc = ff0c, fd -1
libusb: 2.459000 debug [os2_open] open, set device configuration: rc = ff37, fd -1

FF0C= ERROR_I24_GEN_FAILURE. The open fails because it has already been opened before.
FF37= ERROR_DEV_NOT_EXIST. The set configuration fails because of the invalid fd (-1) value.
I suspect that it would have worked with the  fd value (35651590) of the outstanding open.

I wonder about the event reported in line 43:

Code: [Select]
libusb_detach_kernel_driver() failed, continuing anyway...: Error 0

May be thIs is causing the problem?

The comment about ff0c is useful. Probably (it's been a while since I looked at libusb), os2_open is setting fd to -1 based on rc not being 0. There probably needs to be a case where there are other acceptable rc's that should not indicate an error.

http://smedley.id.au/tmp/libusb10.zip ignores ff0c - perhaps it will help with your tablet Dave?

[code
   rc = UsbOpen( (PUSBHANDLE)&usbhandle,
      (USHORT)dpriv->ddesc.idVendor,
      (USHORT)dpriv->ddesc.idProduct,
      (USHORT)dpriv->ddesc.bcdDevice,
      (USHORT)USB_OPEN_FIRST_UNUSED);

   if (rc && rc != ERROR_I24_GEN_FAILURE) {
      usbi_dbg( "unable to open device - id= %x/%x  rc= %x",
         dpriv->ddesc.idVendor,
         dpriv->ddesc.idProduct, (int)rc);
      usbhandle = -1;
      rtn = -1;
   }
[/code]

Cheers,

Paul

2263
Storage / Re: MTP plugin for Netdrive?
« on: October 28, 2016, 03:20:09 am »
Hi Wim,

I looked into detect.log and I see starting on line 1883 :

Code: [Select]
libusb: 2.459000 debug [libusb_open] open 1.2
libusb: 2.459000 debug [os2_open] unable to open device - id= 22b8/2e82  rc= ff0c
libusb: 2.459000 debug [os2_open] open: rc = ff0c, fd -1
libusb: 2.459000 debug [os2_open] open, set device configuration: rc = ff37, fd -1

FF0C= ERROR_I24_GEN_FAILURE. The open fails because it has already been opened before.
FF37= ERROR_DEV_NOT_EXIST. The set configuration fails because of the invalid fd (-1) value.
I suspect that it would have worked with the  fd value (35651590) of the outstanding open.

I wonder about the event reported in line 43:

Code: [Select]
libusb_detach_kernel_driver() failed, continuing anyway...: Error 0

May be thIs is causing the problem?

The comment about ff0c is useful. Probably (it's been a while since I looked at libusb), os2_open is setting fd to -1 based on rc not being 0. There probably needs to be a case where there are other acceptable rc's that should not indicate an error.

afair libusb_detach_kernel_driver is just a stub.

Cheers,

Paul

2264
Storage / Re: MTP plugin for Netdrive?
« on: October 27, 2016, 10:14:52 am »
Hey Dave,

I bought a Moto E (2nd gen) and once again the documentation claimed it works as a mass storage device (MSD) but there are no settings to allow it.
So first I test PTP mode, camerdarie sees photos fine on it, unlike my cheap tablet.
I then recompiled libmtp with the latest libusb and MTP mode also works, at least for one shot. I can turn off MTP mode and turn it back on and once again it seems to work for one shot.
I then retested with Paul's build and it seems to work the same. I have to figure out how to transfer a file with the example programs but it does list all the files using mtp-files.exe.
I'll continue playing it tonight.
BTW, tablet is still the same so I don't think using the latest Lars USB drivers did the trick, just slightly different implementation.
Here's the log from mtp-detect.

I need to find some time to get back onto this project.... I have 3 weeks vacation over Christmas, hopefully then :)

Cheers,

Paul

2265
Events / Re: Any questions for Warpstock 2016 ??
« on: October 23, 2016, 10:19:00 am »
Hi Dave,

In theory it may also be possible to have an ELF loader to load the Linux CUPS plugins. This is how XFree/2 loaded Linux graphic drivers and that code is available. How hard it would be, I don't know. And as usual there is the shortage of talented developers.

There is already an elfomf.exe (http://www.os2site.com/sw/dev/gcc/misc/elfomf.zip) but unfortunately source isn't available.  I guess this could convert a elf format static lib into omf format? However, most closed source plugins are in .so format....

Cheers,

Paul

Pages: 1 ... 149 150 [151] 152 153 ... 170