-   Debian (
-   -   Make install fails for Intel NIC on Debian (

didi167 04-30-2008 07:24 AM

Make install fails for Intel NIC on Debian
I've installed à Linux Debian etch r0 with the kernel 2.6.18-4-686 with the DVD on a DELL VOSTRO 200.
But I had a problem, the network card is not recognized.
I saw on a thread that I had to download and install the intel driver.
I downloaded the only driver it has for Linux.
It is said to support Linux* with 2.4.18 to 2.6.x kernels.
I folowed this instructions from the readme file:

1. Move the base driver tar file to the directory of your choice. For
example, use /home/username/e1000 or /usr/local/src/e1000.
2. Untar/unzip archive:
tar zxf e1000-x.x.x.tar.gz
3. Change to the driver src directory:
cd e1000-x.x.x/src/
4. Compile the driver module:
make install

But when I do "make install" I got this message:

*** Linux kernel source not found in any of these locations:)

*** Install the appropriate kernel development package, e.g.

*** kernel-devel, for building kernel modules and try again Stop.

Where did I go wrong?
I saw on threads thaht I have to recompile the kernel with the driver can I do that????
Can somebody help me please?!!!!!

thveillon 04-30-2008 01:32 PM

You don't have to recompile your kernel (not just yet...), but to compile any piece of code you need to install first gcc, make, and the kernel sources or headers that matches your kernel (if your kernel is linux-image-2.6.18-4-686 then you need linux-source-2.6.18-4-686).

But I think the driver you are looking for is already a built-in of the kernel, it should have been built as a module. Try :


find /lib/modules/$(uname -r)/* -name e1000*
to see if you have a module already compiled, if so just use the command :


modprobe e1000
as root to load it.

farslayer 05-01-2008 08:49 AM

I agree that driver module should already be available.. that is the driver for an intel Gig network card, which is quite common

To answer your other question the easiest way I have found to get your build environment setup is this..

aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare

That will install everything you need to compile, as well as download install the proper kernel headers for your running kernel.

didi167 05-03-2008 06:01 AM

Finaly I've installed the linux-header with the command: dpkg --install (aptitude is not install because i'm not connected to internet)
But when I run the install of the driver, I get this :
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/novauser/e1000- modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
LD [M] /home/novauser/e1000-
Building modules, stage 2.
CC /home/novauser/e1000-
LD [M] /home/novauser/e1000-
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
gzip -c ../e1000.7 > e1000.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.18-4-686 -name e1000.ko -exec rm -f {} \; || true
find /lib/modules/2.6.18-4-686 -name e1000.ko.gz -exec rm -f {} \; || true
install -D -m 644 e1000.ko /lib/modules/2.6.18-4-686/kernel/drivers/net/e1000/e1000.ko
/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
impossible d'écrire vers /var/cache/man/cat7/e1000.7.gz en mode catman

I've executed the comand in root.

jlinkels 05-03-2008 09:05 AM


There should be no need to compile the e1000 driver in Debian as it is included.

Hvae you tried the command "modprobe e1000" as pointed out by thveillon? What was the result?

The best way to ruin Debian's packaging system is to install software using make/make install etc. In that way you are installing software which the packaging system does not know about, and in the long run you'll get into problems.

If the e1000 module really was not included, compile it using "m-a" as indicated by farslayer.


All times are GMT -5. The time now is 04:58 PM.