[tulip] On Red hat 7.3 and compaq integrated 21143 chip.

Donald Becker becker@scyld.com
Thu Jul 11 09:25:01 2002


On Thu, 11 Jul 2002, Raju wrote:

> > > Jul  9 19:56:39 Guru kernel: Linux Tulip driver version 0.9.15-pre10
> (Mar 8,
> > > 2002)
> >
> > Did you try
> >    http://www.scyld.com/network/tulip.html
> >       ftp://www.scyld.com/pub/network/tulip.c
> 
> No. The driver was the one which came with Red Hat 7.3.

You should complain to Red Hat.  They supposedly do quality control, but
continue to ship a broken tulip driver.

> I am getting compile errors on system header files. .
> I have kernel 2.4.-18 sources (the one which is in RH 7.3) in
> /usr/src/linux.

That should provide the correct header files.

> One basic question; Should I build kernel before compiling tulip.c

No, you should not recompile the kernel. You only need the kernel source
for the headers that match the exact kernel you are running.  They used
to be in the kernel-headers package, but the kernel-headers package now
contains library support.

> or just untarring it in /usr/src sufficient? Because I do not find
> /usr/src/linux/include/linux/modversions.h file. Also the compilation error
> is to he fact
> that I am including kernel files in user space. (#error).

Try running the following
mkdir /tmp/netdrivers
cd /tmp/netdrivers
ncftpget ftp://www.scyld.com/pub/network/netdrivers.tgz
tar xfv netdrivers.tgz
make
make install		# This must be done as 'root'

-- 
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