[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Support for Linux Driver for the Pro/1000 MT NIC -- Debian bf2.4 Woody -- Dell Optiplex 260



I downloaded the e1000-5.1.13.tar file for the driver.

e1000-5.1.13/
e1000-5.1.13/src/
e1000-5.1.13/src/Makefile
e1000-5.1.13/src/e1000.h
e1000-5.1.13/src/e1000_ethtool.c
e1000-5.1.13/src/e1000_hw.c
e1000-5.1.13/src/e1000_hw.h
e1000-5.1.13/src/e1000_main.c
e1000-5.1.13/src/e1000_osdep.h
e1000-5.1.13/src/e1000_param.c
e1000-5.1.13/src/kcompat.c
e1000-5.1.13/src/kcompat.h
e1000-5.1.13/LICENSE
e1000-5.1.13/README
e1000-5.1.13/ldistrib.txt
e1000-5.1.13/e1000.spec
e1000-5.1.13/e1000.7
e1000-5.1.13/SUMS

I am building on a vanilla Debian 2.4.18-bf2.4 distro.

The PC hardware is Dell Optiplex 260.

The driver builds successfully with gcc-3.0.

Build trace:

gcc-3.0 -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -I. -DMODVERSIONS
-DEXPORT_SYMTAB -include
/usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h    -c
-o e1000_main.o e1000_main.c
gcc-3.0 -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -I. -DMODVERSIONS
-DEXPORT_SYMTAB -include
/usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h    -c
-o e1000_hw.o e1000_hw.c
gcc-3.0 -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -I. -DMODVERSIONS
-DEXPORT_SYMTAB -include
/usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h    -c
-o e1000_param.o e1000_param.c
gcc-3.0 -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -I. -DMODVERSIONS
-DEXPORT_SYMTAB -include
/usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h    -c
-o e1000_ethtool.o e1000_ethtool.c
gcc-3.0 -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -I. -DMODVERSIONS
-DEXPORT_SYMTAB -include
/usr/src/kernel-headers-2.4.18-bf2.4/include/linux/modversions.h    -c
-o kcompat.o kcompat.c


**************************************************
** e1000.o built for 2.4.18-bf2.4
** SMP               Disabled
**************************************************

gzip -c ../e1000.7 > e1000.7.gz
# remove all old versions of the driver
find /lib/modules/2.4.18-bf2.4 -name e1000.o -exec rm {} \; \
 || true
install -D -m 644 e1000.o
/lib/modules/2.4.18-bf2.4/kernel/drivers/net/e1000.o
/sbin/depmod -a || true
install -D -m 644 e1000.7.gz /usr/share/man/man7/e1000.7.gz
man -c -P'cat > /dev/null' e1000 || true

The next step also goes without problems:

insmod e1000

Recognizes -- Using /lib/modules/2.4.18-bf2.4/kernel/drivers/net/e1000.o

However when I try to configure the interface:

ifconfig eth0 xx:xx:xx:xx netmask 255.255.252.0 up

I am getting a segmentation fault and message of trying to dereference a
null pointer.
Also:
SIOCSIFADDR: No buffer space available

Please help. Similar problems/issues with the 4.3.15 driver. Also any
commands such as rmmod, route ifconfig issued after this which refer to
the eth0 interface completely hangs the system. Thanks for your help
with debugging this.

Regards,

Basab



Reply to: