Subject: Asante ethernet card with -current
To: None <port-mac68k@NetBSD.ORG>
From: Virtually Here <sellis@rohan.sdsu.edu>
List: port-mac68k
Date: 11/11/1996 12:06:52
First, some background:

Mac IIsi with 17M RAM, and an Asante ethernet card.

Under 1.1a and 1.2, I'd get occasional errors about 'invalid packet
length' with this card.  Usually once when the card was configured
on boot, and then one every month or so after that.

Under -current (as of last Thursday), the card does not configure
on boot.  I tracked this down to the portion of if_ae.c where
the memory is cleared, and then tested to make sure it's clear.  The
config fails because the memory was not cleared correctly.

If I comment out the memory-clearing check, OR change the card to not
be double-buffered, then everything works as per 1.2 (i.e., it works,
but with errors about packet length, and corrupt NIC memory).

Any ideas? dmesg reports 32k on the card, but all actions seem to
indicate that it's either not really 32k, or there's some odd
arrangement of the buffer.

The message on boot (with the card set to single-buffer, or the
clear-test commented out) is:

ae0 at nubus0: address 00:00:94:06:94:a0, type MacNIC II/E, 32k mem.
ae0: length does not match next packet pointer
ae0: len 0000 nlen ff00 start 06 first 00 curr 19 next 00 stop 80
ae0: NIC memory corrupt - invalid packet length 65280

I don't know where to go from here.

   //////////////////////////////////////////////////////////////////////
  //  Scott Ellis   //   sellis@gi.com   //   sellis@rohan.sdsu.edu   //
 //////////////////////////////////////////////////////////////////////
// WARNING: This signature warps  time and space in its vicinity    //