Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: can't init network (on PWS433a 21x4x)
Date: Thu, 24 Apr 1997 16:40:55 -0400	[thread overview]
Message-ID: <199704242040.QAA10046@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <3.0.1.32.19970424133416.00726e0c@sc.netus.com>

>>> Christopher McCrory said:
> 
> 	I am using a pci ether card with the same chip.  These are the errors
>  I am
> getting...
>
> Apr 24 11:45:32 morticia kernel: tulip.c:v0.73 4/16/97
> becker@cesdis.gsfc.nasa.gov
> Apr 24 11:45:32 morticia kernel: eth0: DEC 21140 Tulip at 0xb000, 00 00 92
> 96 8d 24, IRQ 19
> Apr 24 11:45:32 morticia kernel: eth0: Using user-specified media .
> Apr 24 11:45:32 morticia kernel: kernel: unaligned trap at
> fffffc0000364994: fffffc0003b7e046 28 2
> Apr 24 11:45:47 morticia kernel: netstat(179): unaligned trap at
> 00000155556ba83c: 000000011ffff89c 2d 10
> 
> 	These seem to come from the tcp part of the tcp/ip protocol.with netsat
> udp shows up fine but the errors are with tcp. ? ? ?
>  	Has anyone else seen this problem.  I am using a eb164 board. 2.0.30,
> tulip v .74

Well, its not exactly the same board; yours has a 21140 chip on it, the
MIATA has a builtin 21142.

If the 21140 is on a DEC-made board, ie the DE500, you could try the
de4x5 driver instead.

The unaligned traps are because, in Donald Becker's words:

> Most hardware/drivers can align received frames on arbitrary byte
> boundaries.  The Tulip hardware can only align receive frames on 4 byte
> boundaries, so the 14 byte header misaligns the IP header.  There are
> comments about this in the driver. 
> 
> The only way around this to always copy the rx frame to align the Rx buffer.
> You can do this in the current driver by setting the COPYBREAK value to less
> than the minimum packet size.  Could you do that and let me know what
> happens? 
> 
> There must be a better solution, especially considering that both chips are
> from DEC.  Someone must have considered this problem...

Unfortunately, there is no "better" solution; if you look at the de4x5
driver, it uses the "copy" method described above, to get rid of the
unaligned accesses at the cost of some performance.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  reply	other threads:[~1997-04-24 20:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199704241519.LAA02116@linux03.amt.tay1.dec.com>
1997-04-24 20:34 ` can't init network (on PWS433a 21x4x) Christopher McCrory
1997-04-24 20:40   ` jestabro [this message]
1997-04-24 19:52 Tom Quinn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox