Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@sonera.fi>
To: axp-list@redhat.com
Subject: Re: ANA-6944A/TX
Date: Wed, 16 Sep 1998 20:59:00 +0300 (EEST)	[thread overview]
Message-ID: <19980916175910Z92252-447+6@mea.tmt.tele.fi> (raw)
In-Reply-To: <Pine.LNX.3.96.980916102853.28590B-100000@earth.terran.org> from "B. James Phillippe" at "Sep 16, 98 10:33:12 am"

"B. James Phillippe" <bryan@terran.org> wrote:
> On Tue, 15 Sep 1998, Mark Dohojda wrote:
> > It uses 4X21140 chips.  I tried the latest Tulip drivers, and they
> > work... for Intel, not for Alpha :(
> > 
> > Any ideas why?
> 
> Not particularly.  I have done extensive testing of tulip.c on x86, but
> I use the DE4X5 driver for Alpha.  Have you tried that?  If that doesn't
> work (or for whatever reason you'd rather use tulip.c), you should
> subscribe to linux-tulip@cesdis.gsfc.nasa.gov and post the driver version,
> failure symptoms and output from the tulip-diag program, which is also at
> CESDIS but in the /pub/linux/diag directory.

	I am using Becker's lattest Tulip driver at my Alpha, but I had to
	1) detect the original reason for "re-entering interrupt handler"
	   type of system death. (Luckily I have console messages logged
	   via a serial cable to another machine which writes them to
	   disk..  That is the most usefull debugging tool I have!)
	2) Fix the real problem of  skb_push()  with oversize packet
	   size:

$ diff -w -u /usr/src/linux/drivers/net/tulip.c{~,}
--- /usr/src/linux/drivers/net/tulip.c~ Mon Sep 14 14:45:11 1998
+++ /usr/src/linux/drivers/net/tulip.c  Mon Sep 14 14:45:45 1998
@@ -2395,7 +2395,8 @@
                        }
                } else {
                        /* Omit the four octet CRC from the length. */
-                       short pkt_len = (status >> 16) - 4;
+                       /* Pick only the packet length counter bits! */
+                       short pkt_len = ((status >> 16) & 0x07FF) - 4;
                        struct sk_buff *skb;


> cheers,
> -bp
> --
> B. James Phillippe <bryan@terran.org>
> Linux Software Engineer, WGTI.

/Matti Aarnio <matti.aarnio@sonera.fi>


  reply	other threads:[~1998-09-16 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-15 22:38 ANA-6944A/TX Mark Dohojda
1998-09-16 17:33 ` ANA-6944A/TX B. James Phillippe
1998-09-16 17:59   ` Matti Aarnio [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-15 19:22 ANA-6944A/TX Mark Dohojda
1998-09-15 20:41 ` ANA-6944A/TX B. James Phillippe
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