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 - Lars

Pages: [1] 2 3
1
Hardware / Virtualbox, eCS and USB 12.08
« on: April 11, 2021, 10:04:26 pm »
I am using eCS under Virtualbox (currently version 6.1.16).
I just tried to install USB 12.08, as a first test, I only enabled USB 2.0 (OHCI and EHCI) under Virtualbox.
However, when I restart the system, the desktop will hang. I attempted to repair the desktop and also tried to restart multiple times but the result is always the same. I reverted back to my own USB driver set and the desktop will properly populate. I had commented out any drivers that might cause a problem.

Anyone have any experience with USB 12.08 under Virtualbox ? Only with ArcaOS or also with eCS ?

2
Hardware / Anyone know a cheap USB audio standard 2.0 device (playback) ?
« on: February 20, 2021, 11:52:54 am »
Can anyone point me to a "audio standard 2.0" device ? The very cheap devices usually implement "audio standard 1.0" but I need "audio standard 2.0" in order to test. Hopefully, I can find something that is not overly expensive.

Here is how you can find out about what you have:
1) get lsusb.exe. This tool allows you to list the complete descriptor contents of a USB device
2) run "lsusb.exe". It will list all attached devices with their vendorid:productid. You will have to guess what is what by attaching and detaching USB devices.
3) run "lsusb.exe -v -d vendorid:productid where "vendorid" and "productid" are the numbers from step 2.Pipe the tool output into a file.
4) in that file, search for something like this:
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           38
        bInCollection           1
        baInterfaceNr( 0)       1

If "bcdADC" says 1.00 then you have an audio standard 1.0 device. If it says 2.00, then you have an audio standard 2.0 device.

The problem is that if I search in Amazon or elsewhere, they never give that level of detail in their stupid product descriptions.



3
Networking / tracing AFINETK.SYS
« on: November 14, 2020, 01:38:14 pm »
Fortunately, OS/2 provides some low level tools that allow tracing of arbitrary binaries, even if you don't have the source code.
I have now set up tracing for AFINETK.SYS for one of the more common traps that happens at EIP=xxxxx382.

What I can say is that the stack (I mean SS:ESP, not the TCPIP Stack) is being overwritten which leads to addresses to ethernet frames (where the frames memory is located in the MAC driver calling into AFINETK.SYS) being overwritten which eventually leads to a trap when accessing that address.
I am not yet clear of what driver is overwriting the stack: it's either AFINETK.SYS itself or the MAC driver that calls into AFINETK.SYS and that passes over that buffer address.
As I am currently working on FXWRAP.SYS, I'll try to add some logic to prevent the MAC from receiving interrupts during the time it calls into the protocol driver (AFINETK.SYS being the target, with FXWRAP.SYS being the "man in the middle"). Let's see if that reduces or eliminates the traps (when FXWRAP.SYS is active, if it is not, it will unfortunately be bypassed).
If it does, then that would be proof that the MAC driver is running into problems passing over ethernet frames during interrupt time and a new (frame receive) interrupt occuring while it is being busy doing that.

4
Networking / patched AFINETK.SYS: anyone willing to test ?
« on: November 08, 2020, 06:05:46 pm »
There are quite a few bug reports in the AN bug tracker regarding AFINETK.SYS crashing with a trap.

I have now taken a stab in the dark and patched AFINETK.SYS (following a suspicion that I have, it's trial and error) and would like to know from anyone having experienced traps in AFINETK.SYS if that improves the situation and reduces or removes any traps you may have with AFINETK.SYS.

Please not that I left AFINET.SYS unmodified but I guess nobody uses this driver any more (and it's superseded by AFINETK.SYS for any kernel that supports KEE which is about any kernel in use by now).

Let me know by private message where to send it to in case you are interested.

Lars

5
I am trying to use an ftp client within a OS/2 guest running on win 10 host.
Using Virtualbox, I "selected bridged networking" for the guest. The guest receives it's IP address via DHCP. By the way, I am using a WiFi connection from the host to the router and therefore, the selected adapter for the "bridged networking" connection is the WiFi adapter.

From the guest I can ping the outside world, let's say "www.microsoft.com". I can also use a web browser.
What I cannot get to work is using an ftp client from the guest. I tried the standard OS/2 ftp client and also "nftp" but both ftp clients eventually fail to communicate with port 21 (I guess that is the target port of the ftp server I attempt to connect to ?).

Can anyone tell me what I need to change either in my router or on my Win 10 host so that I can run an ftp client from the guest ?


6
I am writing a small tool (or rather, a DLL routine that integrates into the VAC workframe) to search in each archive file of a ZIP file if it contains a keyword/keystring or not.
The first approach was to unzip each archive file from the ZIP to stdout via "unzip -p" and pipe into "find" which then searches for the keyword and gives the proper return code if the keyword was found or not.
That worked but was incredibly slow (for the ZIP file size I was working on). I now decided to run "unzip -c" on the complete ZIP and pipe the output into memory. The "-c" instead of the "-p" will also add the archive names, preceding the archive content, which provides the discriminator to individually search each archive content for the keystring.
The problem is that I need to allocate enough memory for the unzipped content. I just allocated 100 MB (which is eventually freed) but that is potentially a large waste of memory.
Is there an easy and efficient way to determine the overall sum size of the UNZIPPED archive files contained in a ZIP file ?
I need something that I can integrate into an application, not a standalone solution.

7
Networking / Virtualbox, NAT and using ICAT
« on: April 20, 2020, 08:54:02 pm »
Hallo,

I have OS/2 running as a guest under Virtualbox on a Win 10 machine. Within that virtual machine I want to run ICAT in UDP mode.
Then I have a MUT which is running native OS/2 with the debug kernel.
The 2 machines are connected to my router, both use WIFI. The router has IP address 192.168.178.1.

1) the MUT has a statically assigned IP address of 192.168.178.120.
2) the MUT needs to run KDBNET.SYS t so that you can connect via UDP and KDBNET.SYS needs to know the MUTs IP address and a netmask. I have set up IP address 192.168.178.120 and netmask 255.255.255.0.
3) the OS/2 guest is using DHCP. In the past I had also configured with a static IP address in the 192.168.178.x range but occasionally I want to connect to another WIFI access point than my home network in which case this approach will fail (at least I don't know how to make that work).
4) ICAT (executing in the OS/2 guest) requires a target IP address (of the MUT) and a port for correct operation. In the past, I had been using "bridged networking" for the OS/2 guest and I specified 192.168.178.120 as the IP address and port 1000 (the default) which worked fine. Note that port 1001 is also used for the KBDNET connection.

Bridged networking works very unreliably with a WIFI connection and often fails in requesting an IP address via DHCP. Therefore I switched to NAT.
The OS/2 guest now has good network connectivity, but the IP address of my OS/2 guest now is in the range of 10.0.2.x. That results in ICAT failing to connect to the MUT.
What do I have to set up where in order for the connection to succeed ? Do I need to specify some port forwarding for the NAT and if yes which one ?
Or do I need to specify some routes ? If yes, where, in the OS/2 guest or in the MUT ?


Lars

8
Utilities / VLC traps Panorama driver
« on: April 04, 2020, 09:24:26 pm »
Hi,

when I attempt to play an AVI movie in VLC, then VLC will trap in VBE2GRAD.DLL at the very end of the movie. I am using Panorama V1.15.
Is anyone else seeing this problem and can report that as a bug to AN (I am no longer entitled to report bugs).
Here is the POPUPLOG.OS2 and also the partial TRP file from VLC:

Code: [Select]
04-04-2020  20:51:57  SYS3175  PID 0049  TID 0001  Slot 0096
Z:\VLC2\USR\LOCAL\BIN\VLC.EXE
c0000005
1ed81fe9
P1=00000001  P2=bebe25e0  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000134  EBX=bf3e25e0  ECX=000001f0  EDX=bebe25e0
ESI=bebe25e0  EDI=bf3e25e0 
DS=0053  DSACC=d0f3  DSLIM=bfffffff 
ES=0053  ESACC=d0f3  ESLIM=bfffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1ed81fe9  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:0012f06c  SSACC=d0f3  SSLIM=bfffffff
EBP=0012f088  FLG=00010297

VBE2GRAD.DLL 0001:00001fe9

Code: [Select]
______________________________________________________________________

 Exception Report - created 2020/04/04 20:51:44
______________________________________________________________________

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

______________________________________________________________________

 Exception C0000005 - Access Violation
______________________________________________________________________

 Process:  Z:\VLC2\USR\LOCAL\BIN\VLC.EXE (08/24/2019 14:13:20 10,715)
 PID:      49 (73)
 TID:      03 (3)
 Priority: 200

 Filename: D:\OS2\DLL\VBE2GRAD.DLL (09/02/2019 12:47:03 64,585)
 Address:  005B:1ED81FE9 (0001:00001FE9)
 Cause:    Attempted to read from BEBEDC80
           (unallocated memory)

______________________________________________________________________

 Failing Instruction
______________________________________________________________________

 1ED81FE0  JA        0x1ed82002         (77 20)
 1ED81FE2  MOV       ECX, [ESP]         (8b0c24)
 1ED81FE5  MOV       ESI, EDX           (89d6)
 1ED81FE7  MOV       EDI, EBX           (89df)
 1ED81FE9 >REP MOVSD                    (f3 a5)
 1ED81FEB  MOV       ESI, [ESP+0x4]     (8b7424 04)
 1ED81FEF  MOV       EAX, [0x1ed9005c]  (a1 5c00d91e)
 1ED81FF4  INC       ESI                (46)

______________________________________________________________________

 Registers
______________________________________________________________________

 EAX : 0000013A   EBX  : BF3EDC80   ECX : 00000078   EDX  : BEBEDC80
 ESI : BEBEDC80   EDI  : BF3EDC80
 ESP : 0292E720   EBP  : 0292E73C   EIP : 1ED81FE9   EFLG : 00210293
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory allocated by DRIVER
 ECX : not a valid address
 EDX : unallocated memory
 ESI : unallocated memory
 EDI : read/write memory allocated by DRIVER

______________________________________________________________________

 Stack Info for Thread 03
______________________________________________________________________

   Size       Base        ESP         Max         Top
 00100000   02930000 -> 0292E720 -> 02920000 -> 02830000

______________________________________________________________________

 Call Stack
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  1ED81FE9   VBE2GRAD  0001:00001FE9  between UpdateRect + C9 and SetMTRR - 47

 0292E73C  0000014E   Invalid address: 0000014E

The trap happens in routine "UpdateRect" on a MOVSD instruction because the source address (in register ESI) is invalid.

9
General Discussion / How to upload to Hobbes pub/incoming
« on: March 01, 2020, 03:26:35 pm »
Anyone know what is wrong with Hobbes ? I cannot upload to pub/incoming and I also can neither delete nor rename files that I downloaded but resulted in zero filelength.
Who to turn to ? How to rename or delete files that are now in the way ?


Lars

10
Utilities / symbol file for kernel 14.106 or latest XR_C006
« on: January 31, 2020, 08:29:30 am »
Can anyone provide me with the symbol file for OS2KRNL 14.106 or with the second release of the XR_C006 fixpak ?

I do have the first release of XR_C006 but XR_C006 fixpak was released twice, an initial release that contained OS2KRNL 14.105 (and the symbol file for it) and a second release that contained OS2KRNL 14.106 (and hopefully the symbol file for it). The contained file "README.1ST" will state that it is for 14.105 (for the initial release) or 14.106 (for the second release). Also file "README2" for the first release will show:
=============================
Convenience Package Release 1
V4.51 fixed APARs
Fix Pack Name= XR_C001
Build level = 14.072


where "README2" from the second release will show:
=====================================
Convenience Package Release 2 refresh
V4.52 fixed APARs
Fix Pack Name= XR_C006
Build level = 14.106
=====================================

Any help greatly appreciated.
Lars

11
Hallo Martin,

I think it would be a good idea to not upload outdated drivers to Hobbes:

1) the Hobbes incoming directory is completely clogged up with old drivers and nobody seems to have interest to move that stuff to the final destination. This leads to the problem that other apps and drivers (like DFSee or my new USB drivers and other interesting apps) also get stuck in the incoming directory and never reach their final destination

2) there is a risk that people will download outdated drivers which have long been replaced by newer ones. This leads to all kinds of questions and requests for help which are unnecessary because various problems have been solved by newer drivers.


On the other hand, if you have old source code to upload, then go ahead. Old source code is always a good place to start off to create new stuff.


Regards,
Lars

12
Hardware / USBDRV 10.230 - fixes for USBCALLS + USBRESMG
« on: September 24, 2019, 08:49:10 am »
I had to reissue the USB drivers as I was pointed to some annoying bugs when using USBCALLS + USBRESMG. There are quite a few applications that rely on the correct working of USBCALLS+USBRESMG (like for example "lsusb.exe" to show device info) so I thought it to be a good idea to fix it immediately.
I hope to thave these problems fixed now.

13
Applications / Firefox 45.9.0 can no longer play Youtube movies ?
« on: September 20, 2019, 08:09:16 am »
I can no longer get Firefox 45.9.0 to play Youtube movies. It used to work in the past but I cannot remember when that would no longer work.
Is this a known problem ? And is there a solution ?

14
Events / USB maintainer wanted!
« on: August 09, 2019, 08:40:10 am »
In October I will be working in a foreign country for 2 years.
That will also be the moment in time where I will move away from OS/2.
If there is interest to take over the USB repository and if you have the necessary skills to maintain/further develop the drivers then please let me know and I can help you to quickly pick up.

15
General Discussion / Email address of Dave McKenna ?
« on: August 04, 2019, 03:14:07 pm »
Can anyone provide me with his email address ?
If yes, please do not post it publicly on this forum but send it privately via email:
lars dot erdmann at arcor dot de

Lars

Pages: [1] 2 3