DLPI in 802.3 mode problem using Solaris 2.1

DLPI in 802.3 mode problem using Solaris 2.1

Post by Jens-Uwe Mag » Fri, 07 May 1993 05:28:57



I am attempting to bind SAP 0xaa on two Ethernet cards through the
/dev/le clone device.  The first bind on the stream attached to
unit 0 works fine, I receive packets in 802.3 mode without
problems.  The second one (which is bound to unit 1) gets back on
the DL_BIND_REQ a DL_ERROR_ACK with error code DL_NOAUTO.  From the
sys/dlpi.h file this means no automatic XID and TEST frames are
supported.  I am not able to see a connection between what I am
trying to do and what the driver is signalling as an error.  What
do have 802.3 frames to SAP 0xaa to do with LLC XID and TEST
frames?  Any clues anyone?
--
Jens-Uwe Mager
HELIOS Software GmbH, Lavesstr. 80, 3000 Hannover 1, Germany

Tel.:  +49-511-3681093, FAX:   +49-511-3681095
 
 
 

DLPI in 802.3 mode problem using Solaris 2.1

Post by Jens-Uwe Mag » Fri, 07 May 1993 23:15:48


False alarm, I have found the reason myself. I was used to the DLPI 1.0 spec
and I have overlooked the new filed that requests XID and TEST service. The
field was not initialized and contained random garbage when configuring the
second interface...

How embarassing.
--
Jens-Uwe Mager
HELIOS Software GmbH, Lavesstr. 80, 3000 Hannover 1, Germany

Tel.:  +49-511-3681093, FAX:   +49-511-3681095

 
 
 

1. Help: DLPI. SAP 0 not receiving, 802.3 mode

I'm programming using DLPI over Ethernet using /dev/le & /dev/qe
drivers on SPARC Solaris 2.3.

I need to use 802.3 mode (Ethertype is actually length of LLC PDU).

The man page le(7) states that a SAP of 0..1500 may be used when
DL_BIND_REQ for 802.3 mode.

The man pages qe(7) state that a SAP of 0 should be used for when
DL_BIND_REQ for 802.3 mode.

The problem is SAP 0 does not work: nothing is received (though the
frames are sent). This is the same when using netperf (using
DLPI stream mode), dltest and my own code.

If I use other SAPS (eg SAP 8), it works (although man qe(7) implies
that it shouldn't, only 0).

Note that netstat(1M) and snoop(1M) detect the packets. The man
pages le(7) & qe(7) say that multiple streams can be bound to
the same SAP and that frames will be duplicated. But is something
else (eg IP) also bound to SAP 0, and it is this that causes the
problems?

Has anyone else had this problems or know of any explanations,
known bugs, patches, features.

--

+-------------------------------------------------------------+

| Alcatel Bell Telephone,    phone: +32 3 829 5130            |
| Space Dept. RS31,          fax:   +32 3 829 5502            |
| Berkenrodelei 33,                                           |
| 2660 Hoboken, Belgium.                                      |
+-------------------------------------------------------------+

2. Desktop

3. Using pty's and pckt mode in Solaris 2.1

4. ANNOUNCE: XCd 1.2

5. Solaris 2.1 printing sucks (was Re: problem with lpstat with Solaris 2.1)

6. CD Player for X

7. Using Standard Ethernet V2 and IEEE 802.3 simultaneously

8. where have YAMAHA 724 XG driver for Linux?

9. Mush curses mode problems on Solaris 2.1

10. Strange problem in Solaris 2.1 compatibility mode

11. Problems using f2c on Solaris 2.1....

12. Problems using f2c on Solaris 2.1...

13. Using XF86_S3 2.1 with a #9GXE-level-11 in pixel multiplexing mode