ISC TCP/IP 1.2 hangs?

Doug McCallum dougm at ico.isc.com
Fri Jun 21 00:05:59 AEST 1991


In article <1991Jun18.184744.357 at heitis1.uucp> news at heitis1.uucp (News Administrator) writes:
...
>If the WD8003 driver for TCP/IP v1.2 is the same as that supplied in the
>Network Drivers Supplement available back around march, it has one major
>problem.  (According to people at ISC).  The buffer in the WD8003 8-bit card
>is something like 128 or 256 bytes.  The buffer for the WD8003 16-bit card
>is double whatever the other one is.  The driver was written expecting the
>larger buffer, and will sometimes "overflow".  Also, you cannot use an
>8-bit card with a 16-bit card as a gateway, apparently it just loses its
>mind entirely.

This is nonsense.  The WD8003* boards have an 8K buffer.  The WD8013 cards
may have an 8 or 16K buffer depending on versions, bus, etc.  The driver
was written originally with the ability to use any buffer size.  The very
first version was written using an 8K card (serial number 6 if I remember
correctly) and makes absolutely no assumptions about a minimum or maximum
buffer size.

There is an internal "page" size of 256 bytes that is used by the hardware
but this is not something that effects performance.

An 8K card can overflow if used under heavy load or if packets are sent
at it too fast.  In this case it discards the packet that won't fit in the
receive buffer.  It doesn't lose its mind.  What you were told just sounds 
like someone making up an excuse when they don't understand a problem.

Where you will get real problems is in mixing 16-bit and 8-bit cards
on the same system.  The first Network Drivers Supplement didn't go
through the contortions necessary to work around the wonderful feature
of the AT bus where ALL memory access in the 128K region the board's
RAM appears in must be in 16 bit mode.  This is compensated for in the
second release of the drivers (I don't know if it is shipping yet or not).
To compensate requires a lot of work to avoid what happens if you don't.

If you have the bus in 16 bit mode and try to access 8 bit RAM, you get
trash (well, consistent trash of 0xFF) in the odd bytes.  This is a design
feature of the bus and is the same reason you get problems with 16 bit
VGA boards and 8 bit LAN boards at the same time.

Doug McCallum
Interactive Systems Corp
dougm at ico.isc.com



More information about the Comp.unix.sysv386 mailing list