From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19830 invoked from network); 16 Sep 1998 18:01:04 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Sep 1998 18:01:04 -0000 Received: from mea.tmt.tele.fi (root@mea.tmt.tele.fi [194.252.70.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA02938 for ; Wed, 16 Sep 1998 14:01:41 -0400 Received: by mea.tmt.tele.fi id <92252-447>; Wed, 16 Sep 1998 20:59:01 +0300 Subject: Re: ANA-6944A/TX In-Reply-To: from "B. James Phillippe" at "Sep 16, 98 10:33:12 am" To: axp-list@redhat.com Date: Wed, 16 Sep 1998 20:59:00 +0300 (EEST) From: Matti Aarnio Phone: +358-20402082 (office, with redirection to cellular) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19980916175910Z92252-447+6@mea.tmt.tele.fi> "B. James Phillippe" 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 > Linux Software Engineer, WGTI. /Matti Aarnio