[tulip] Careful with Conexant LANfinity and 2.4

Kent Hunt kenthunt@yahoo.com
Fri, 27 Jul 2001 21:15:11 -0700 (PDT)


Donald,

	No lockups so far. But there is something
wrong with the TX_RING. I can easily get an
Out-of-sync drity pointer by doing an outbound scp
of a large file. The transfer then quickly gets
staled.
This doesn't happen with 2.2 kernels.

	Another thing that I noticed that is when I try to
remove tulip.o out of the kernel I get:
Trying to free nonexistent resource
<d09dc000-d09dc07f>
by /usr/src/linux/kernel/resource.c. This also doesn't
happen with 2.2 kernels.
	
	Kent
	
--- Donald Becker <becker@scyld.com> wrote:
> On Tue, 24 Jul 2001, Kent Hunt wrote:
> 
> > Date: Tue, 24 Jul 2001 11:17:40 -0700 (PDT)
> > From: Kent Hunt <kenthunt@yahoo.com>
> > To: Donald Becker <becker@scyld.com>
> > Cc: tulip <tulip@scyld.com>
> > Subject: Re: [tulip] Careful with Conexant
> LANfinity and 2.4
> > 
> > Donald,
> > 
> > 	Any ideas why I'm getting 
> > kernel: Warning: kfree_skb on hard IRQ d09df9d0
> > 	?
> > 	This is something to worry about. I just got
> > system lockup and disk corruption. So I do not
> > recommend testing with this on a production
> system.
> 
> Here is the patch to fix the first problem.
> I'm not certain that the second problem is related.
> 
> retrieving revision 1.60
> diff -u -r1.60 tulip.c
> --- tulip.c	2001/07/10 02:04:42	1.60
> +++ tulip.c	2001/07/25 20:33:30
> @@ -24,7 +24,7 @@
>  
>  /* These identify the driver base version and may
> not be removed. */
>  static const char version1[] =
> -"tulip.c:v0.92w 7/9/2001  Written by Donald Becker
> <becker@scyld.com>\n";
> +"tulip.c:v0.92wa 7/11/2001  Written by Donald
> Becker <becker@scyld.com>\n";
>  static const char version2[] =
>  "  http://www.scyld.com/network/tulip.html\n";
>  
> @@ -2740,7 +2740,7 @@
>  				}
>  
>  				/* Free the original skb. */
> -				dev_free_skb(tp->tx_skbuff[entry]);
> +				dev_free_skb_irq(tp->tx_skbuff[entry]);
>  				tp->tx_skbuff[entry] = 0;
>  			}
> 
> 
> Donald Becker				becker@scyld.com
> Scyld Computing Corporation		http://www.scyld.com
> 410 Severn Ave. Suite 210		Second Generation Beowulf
> Clusters
> Annapolis MD 21403			410-990-9993
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/