VOGONS


mTCP hangs..

Topic actions

First post, by appiah4

User metadata
Rank l33t++
Rank
l33t++

I have a 3Com 3C905, and the packet driver (3C90XPD.COM) loads successfully at boot. This is my CFG for running with a STATIC IP:

PACKETINT 0x60
IPADDR 192.168.1.23
NETMASK 255.255.255.0
GATEWAY 192.168.1.1
NAMESERVER 192.168.1.35
MTU 1500

Regardless of whatever mTCP software I call, the computer locks up. The cursor keeps flashing on screen but I can't even CTRL-ALT-DEL anymore, needs a hard reset. What could it be? The NIC works fine in Win95.

Retronautics: A digital gallery of my retro computers, hardware and projects.

Reply 1 of 21, by mkarcher

User metadata
Rank l33t
Rank
l33t
appiah4 wrote on 2022-03-27, 22:05:
I have a 3Com 3C905, and the packet driver (3C90XPD.COM) loads successfully at boot. This is my CFG for running with a STATIC I […]
Show full quote

I have a 3Com 3C905, and the packet driver (3C90XPD.COM) loads successfully at boot. This is my CFG for running with a STATIC IP:

PACKETINT 0x60
IPADDR 192.168.1.23
NETMASK 255.255.255.0
GATEWAY 192.168.1.1
NAMESERVER 192.168.1.35
MTU 1500

Regardless of whatever mTCP software I call, the computer locks up. The cursor keeps flashing on screen but I can't even CTRL-ALT-DEL anymore, needs a hard reset. What could it be? The NIC works fine in Win95.

The more recent 3Com 3C905 packet packet drivers are broken. If your card is a 905b or older, try an older packet driver. I investigated whether the recent drivers is an easy fix and gave up being horrified by the quality of that code.

Reply 2 of 21, by appiah4

User metadata
Rank l33t++
Rank
l33t++
mkarcher wrote on 2022-03-27, 22:12:
appiah4 wrote on 2022-03-27, 22:05:
I have a 3Com 3C905, and the packet driver (3C90XPD.COM) loads successfully at boot. This is my CFG for running with a STATIC I […]
Show full quote

I have a 3Com 3C905, and the packet driver (3C90XPD.COM) loads successfully at boot. This is my CFG for running with a STATIC IP:

PACKETINT 0x60
IPADDR 192.168.1.23
NETMASK 255.255.255.0
GATEWAY 192.168.1.1
NAMESERVER 192.168.1.35
MTU 1500

Regardless of whatever mTCP software I call, the computer locks up. The cursor keeps flashing on screen but I can't even CTRL-ALT-DEL anymore, needs a hard reset. What could it be? The NIC works fine in Win95.

The more recent 3Com 3C905 packet packet drivers are broken. If your card is a 905b or older, try an older packet driver. I investigated whether the recent drivers is an easy fix and gave up being horrified by the quality of that code.

Can you recommend a driver version? What I am using is v5.2.6

EDIT: Packet driver v2.0c works flawlessly, thank you!

Retronautics: A digital gallery of my retro computers, hardware and projects.

Reply 3 of 21, by mwdmeyer

User metadata
Rank Oldbie
Rank
Oldbie

Thanks I might try this. I had some cases where it worked for the first few calls and then the driver wouldn't work anymore. So maybe I need to try an older driver.

Vogons Wiki - http://vogonswiki.com

Reply 4 of 21, by Grzyb

User metadata
Rank Oldbie
Rank
Oldbie

Re: Getting a 3COM Fast Etherlink XL 10/100Mb TX (3C905-TX) Card to run in DOS?

Żywotwór planetarny, jego gnijące błoto, jest świtem egzystencji, fazą wstępną, i wyłoni się z krwawych ciastomózgowych miedź miłująca...

Reply 5 of 21, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

when I did loads of testing of the 905 packet drivers, turning off Full Duplex solved my problems with dos packet drivers + mtp.

(I've ran these cards at full duplex without issues under linux and freebsd, so I know FD is not a problem outside of the combination of dos, packetdrivers and mtp)

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 7 of 21, by Grzyb

User metadata
Rank Oldbie
Rank
Oldbie

AFAIR 3C90XPD.COM 5.2.6 is necessary for 3C905C and 3C905CX
3C900 and 3C905B worked fine for me with 3C90XPD.COM 4.0d

Żywotwór planetarny, jego gnijące błoto, jest świtem egzystencji, fazą wstępną, i wyłoni się z krwawych ciastomózgowych miedź miłująca...

Reply 8 of 21, by mbbrutman

User metadata
Rank Member
Rank
Member

mTCP author here ...

Just to be very clear, mTCP doesn't care if your card is full duplex or half duplex. But it is totally dependent on the packet driver.

To send a packet mTCP uses a software interrupt, which in DOS is just a fancy function call to something outside of your program. To receive a packet the packet driver "calls" mTCP to tell it to copy the packet to an mTCP buffer. The packet driver does all of the work of talking to the card to get it to actually send and receive packets. If something works under Windows or Linux but not under DOS, then the packet driver is probably to blame.

On a side note, I'm working on a web page with links to known good packet drivers and hardware combinations. If you'd like to contribute to make it easier for other people, please send me a ZIP file with the packet driver you are using, and related files (TXT files?), and what specific card you are using it with. I'll add it to the list and give you credit.

Mike

Reply 9 of 21, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie
mbbrutman wrote on 2022-03-28, 16:09:

Just to be very clear, mTCP doesn't care if your card is full duplex or half duplex. But it is totally dependent on the packet driver.

my suspicion back in when I tested this was that the packet driver couldnt elegantly handle full duplex at 100mbit with IRQ's fast enough that my linux ftp server was throwing at it, and that 100mbit half duplex was better than downgrading to a 10mbit duplex link state.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 10 of 21, by mkarcher

User metadata
Rank l33t
Rank
l33t
mbbrutman wrote on 2022-03-28, 16:09:

Just to be very clear, mTCP doesn't care if your card is full duplex or half duplex. But it is totally dependent on the packet driver.

And just to support mbbrutman: The issues with the 3c905 packet driver and mTCP are clearly rooted in multiple bugs in the packet driver. mTCP would work perfectly fine if the packet driver worked fine. As one of the issues is different variables in the packet driver overwriting each other, the behaviour in specific situations is difficult to predict. Running certain tasks in specific order might put the driver in a state where it works by chance. One suggestion can be found in Re: Getting a 3COM Fast Etherlink XL 10/100Mb TX (3C905-TX) Card to run in DOS? . For 3c905C owners, it's worth a try.

Reply 11 of 21, by Deunan

User metadata
Rank Oldbie
Rank
Oldbie

DOS packet driver from 3c90x-ethercd_v5.4.zip package works on 3C905B-TX, including the NM version (no WoL). But it doesn't like 900 series cards at all. Will work with 900B but only on coax, hangs on receive with TP. On 900 non-B it'll not even send any data on the wire.

Reply 13 of 21, by Joseph_Joestar

User metadata
Rank l33t
Rank
l33t
appiah4 wrote on 2022-03-28, 14:56:

Full duplex works with PD 2.0c

Can you provide a link to the packet driver version 2.0c?

I have a 3C905B-TX card and would like to try it, since I'm getting craptastic speeds with packet driver 5.2.6.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Athlon64 3400+ / Asus K8V-MX / 5900XT / Audigy2
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 15 of 21, by Grzyb

User metadata
Rank Oldbie
Rank
Oldbie
Joseph_Joestar wrote on 2023-02-01, 17:55:

Can you provide a link to the packet driver version 2.0c?

I have a 3C905B-TX card and would like to try it, since I'm getting craptastic speeds with packet driver 5.2.6.

These are the drivers I got with a 3C900 card, the 3C90XPD.COM is 2.0c - it seems to support 905 as well, but I'm not sure about 905B
For 905B, it may be a good idea to try version 4.0d - hopefully easy to find, but if not, I have them somewhere...

Edit:

EtherDisk XL For The Fast EtherLink XL PCI
and EtherLink XL PCI NICs (3c90x Family)
Version 2.11
Copyright 1997 3Com Corporation. All rights reserved.

Attachments

  • Filename
    3c90x.rar
    File size
    1.68 MiB
    Downloads
    80 downloads
    File license
    Fair use/fair dealing exception
Last edited by Grzyb on 2023-02-02, 04:56. Edited 1 time in total.

Żywotwór planetarny, jego gnijące błoto, jest świtem egzystencji, fazą wstępną, i wyłoni się z krwawych ciastomózgowych miedź miłująca...

Reply 16 of 21, by Joseph_Joestar

User metadata
Rank l33t
Rank
l33t
Grzyb wrote on 2023-02-01, 21:33:

These are the drivers I got with a 3C900 card, the 3C90XPD.COM is 2.0c - it seems to support 905 as well, but I'm not sure about 905B
For 905B, it may be a good idea to try version 4.0d - hopefully easy to find, but if not, I have them somewhere...

Thank you!

If you are able to find it, please post version 4.0d as well.

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Athlon64 3400+ / Asus K8V-MX / 5900XT / Audigy2
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi

Reply 17 of 21, by Grzyb

User metadata
Rank Oldbie
Rank
Oldbie
Joseph_Joestar wrote on 2023-02-01, 22:18:

If you are able to find it, please post version 4.0d as well.

Here you are:

EtherDisk XL For The Fast EtherLink XL PCI
and EtherLink XL PCI NICs (3c90x Family)
Version 4.01b
Copyright 1999 3Com Corporation. All rights reserved.

The PD version is 4.0d

Attachments

  • Filename
    3c90x_401b.rar
    File size
    2.7 MiB
    Downloads
    86 downloads
    File license
    Fair use/fair dealing exception

Żywotwór planetarny, jego gnijące błoto, jest świtem egzystencji, fazą wstępną, i wyłoni się z krwawych ciastomózgowych miedź miłująca...

Reply 19 of 21, by Joseph_Joestar

User metadata
Rank l33t
Rank
l33t
Grzyb wrote on 2023-02-02, 04:53:
Here you are: […]
Show full quote

Here you are:

EtherDisk XL For The Fast EtherLink XL PCI
and EtherLink XL PCI NICs (3c90x Family)
Version 4.01b
Copyright 1999 3Com Corporation. All rights reserved.

The PD version is 4.0d

Awesome, this packet driver version seems to be working best for my particular card. Thanks again!

On topic, I really appreciate the effort that went into mTCP. For me, its FTP server component provides the simplest, most hassle-free way for transferring files to my DOS machine over the network. Kudos to the author!

PC#1: Pentium MMX 166 / Soyo SY-5BT / S3 Trio64V+ / Voodoo1 / YMF719 / AWE64 Gold / SC-155
PC#2: AthlonXP 2100+ / ECS K7VTA3 / Voodoo3 / Audigy2 / Vortex2
PC#3: Athlon64 3400+ / Asus K8V-MX / 5900XT / Audigy2
PC#4: i5-3570K / MSI Z77A-G43 / GTX 970 / X-Fi