[tulip-bug] Kingston kne111tx and recompiling tulip on Mandrake
8.0
Donald Becker
becker@scyld.com
Wed, 11 Jul 2001 21:53:56 -0400 (EDT)
On Wed, 11 Jul 2001, Keith Warno wrote:
> Austin Gilbert wrote:
> >
> > Like many of you I received the Kingston kne111tx
> > ethernet card with my DSL package from Southwestern
> > Bell. I have heard that it can be made to work with
> > the most current versions of tulip.
> >
> > However, when I tried to recompile the lastest version
> > of tulip it reported errors.
> >
> > The command line used was for the red hat package that
> > I downloaded: rpm -i --force
> > RPMS/i386/netdriver-2.1-*.i386.rpm
> >
>
> Hmm, this would not, by chance, be on a box with a 2.4.x kernel? I had
> the same issue just last night when upgrading to 2.4.6 from 2.2.19. My
> solution, originally, was to grab the 'test' versions of both tulip.c
> and kern_compat.h (not sure if a more recent kern_compat.h was required)
> from ftp://ftp.scyld.com/pub/network/test/. tulip.c then compiled
> fine. I used it for a little bit before noticing a slew of syslog
> messages:
>
> Jul 10 16:48:16 foo kernel: Warning: kfree_skb on hard IRQ d88818c4
Could you please try exactly the same test, making the following source
code change around line 2742:
/* Free the original skb. */
- dev_free_skb(tp->tx_skbuff[entry]);
+ dev_kfree_skb_irq(tp->tx_skbuff[entry]);
tp->tx_skbuff[entry] = 0;
}
This should avoid the message.
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