thanks in advance for help.
"I've been able to update to the latest forcedeth 0.60 in the following
way I'm going to describe.
Before all:
-I'm using kernel 2.6.15-27-amd64-k8, so change version numbers
accordingly to yours;
1)Download latest nvidia nforce package
2)For Dapper, I suggest you using forcedeth.c file contained under
Fedora5 folder of the downloaded package
3)Install build-essential plus linux-headers-2.6.15-27-amd64-k8
4)Copy forcedeth.c into some folder, e.g. /home/willytp/forcedeth
5)Into this folder, make a file called "Makefile" containing the
following line:
obj-m := forcedeth.o
6)Into this folder, execute the following command:
make -C /usr/src/linux-headers-2.6.15-27-amd64-k8/ SUBDIRS=$PWD modules
7)Copy the just created forcedeth.ko module into
/lib/modules/2.6.15-27-amd64-k8/kernel/drivers/net/
overwriting the old one
8)Execute this command: sudo depmod -a
9)Make a new initrd image: go into /boot/ folder, locate your initrd
image, save it name, delete the file, and execute the following command:
mkinitramfs -o initrd.img-2.6.15-27-amd64-k8
10)Cross fingers and reboot ;)
"
Well you could create a makefile, or you could just do
gcc forcedeth.c -o forcedeth
and compile it directly. (That is presumably all the makefile would do.)
Once you knowit works,
cp forcedeth /usr/local/bin
chmos a+rx /usr/local/bin/forcedeth
(assuming you want anyone to be able to run it)
Its is not a an executable by itself.
Sorry I cannot be a better help.:
Azeem
I think that
gcc forcedeth.c -o forcedeth
is enough..
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4014 (20090416) __________
The message was checked by ESET NOD32 Antivirus.
It's usually not that easy. The source must fit to the kernel you use as
details in the interface changes from version to version. I would
rather suggest to pull the sources from a new kernel from www.kernel.org
and re-compile that for your needs, including the forcedeth driver in
the configuration.
So long,
Thomas
If the code is in the source tree for the CentOS kernel, you should get
the relevant src.rpm, edit the config, and build a binary rpm for the
whole kernel. It is also possible to compile just a module but it's
rather more complicated.
Bob T.
If the project only contains the one c file then you probably don't
need such a complicated build. Just compile it after viewing it to
see if there are comments at the top describing how to build.
cc -o forcedeth forcedeth.c
> If the project only contains the one c file then you probably don't
> need such a complicated build. Just compile it after viewing it to
> see if there are comments at the top describing how to build.
>
> cc -o forcedeth forcedeth.c
if that's the case, just type
make forcedeth
Sounds like trouble. You're gonna need to do a lot of doc reading;)
Peace and Cheer