AW: (Gelöst) SuSE 10.1: Installation Netzwerkkarte Realtek 8168
Und für einen Kernel 2.6.16 oder größer muß man unter Umständen noch die Anpassungen hier machen
und ein _DESC hinter das PARM anhängen.
Aber zunächst mal ohne die Änderung probieren, da 64-Bit System, siehe auch:
http://www.pc-forum24.de/showthread.php?t=913
Greetz,
RM
Code:
Laptop:/tmp # tar -xvf r1000_v1.04.tgz
r1000_v1.04/
r1000_v1.04/release_note.txt
r1000_v1.04/README
r1000_v1.04/src/
r1000_v1.04/src/Makefile_linux24x
r1000_v1.04/src/Makefile_linux26x
r1000_v1.04/src/r1000_ioctl.c
r1000_v1.04/src/r1000.h
r1000_v1.04/src/Makefile
r1000_v1.04/src/r1000_n.c
r1000_v1.04/Makefile
Laptop:/tmp # cd r1000_v1.04/
Laptop:/tmp/r1000_v1.04 # [B]cp -R src/ /usr/src/linux/[/B]
Laptop:/tmp/r1000_v1.04 # make clean modules
make -C src/ clean
make[1]: Entering directory `/tmp/r1000_v1.04/src'
rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
make[1]: Leaving directory `/tmp/r1000_v1.04/src'
make -C src/ modules
make[1]: Entering directory `/tmp/r1000_v1.04/src'
make -C /lib/modules/2.6.13-15.12-smp/build SUBDIRS=/tmp/r1000_v1.04/src modules
make[2]: Entering directory `/usr/src/linux-2.6.13-15.12-obj/i386/smp'
make -C ../../../linux-2.6.13-15.12 O=../linux-2.6.13-15.12-obj/i386/smp modules
CC [M] /tmp/r1000_v1.04/src/r1000_n.o
CC [M] /tmp/r1000_v1.04/src/r1000_ioctl.o
LD [M] /tmp/r1000_v1.04/src/r1000.o
Building modules, stage 2.
MODPOST
CC /tmp/r1000_v1.04/src/r1000.mod.o
[B]LD [M] /tmp/r1000_v1.04/src/r1000.ko[/B]
make[2]: Leaving directory `/usr/src/linux-2.6.13-15.12-obj/i386/smp
make[1]: Leaving directory `/tmp/r1000_v1.04/src'
Laptop:/tmp/r1000_v1.04 # make install
make -C src/ install
make[1]: Entering directory `/tmp/r1000_v1.04/src'
install -m 644 -c r1000.ko /lib/modules/2.6.13-15.12-smp/kernel/drivers/net/
make[1]: Leaving directory `/tmp/r1000_v1.04/src'
Laptop:/tmp/r1000_v1.04 # depmod -ae
Laptop:/tmp/r1000_v1.04 # modprobe r1000
Laptop:/tmp/r1000_v1.04 # l[B]smod|grep r1000
r1000 17536 0[/B]
Laptop:/tmp/r1000_v1.04 # uname -a
Linux Laptop [B]2.6.13-15.12-smp[/B] #1 Thu Aug 24 11:23:58 UTC 2006 i686 i686 i386 GNU/Linux
Code:
Laptop:/tmp/r1000_v1.04/src # cat r1000_n.c| grep PARM
MODULE_PARM (speed, "1-" __MODULE_STRING(MAX_UNITS) "i");
MODULE_PARM (duplex, "1-" __MODULE_STRING(MAX_UNITS) "i");
MODULE_PARM (autoneg, "1-" __MODULE_STRING(MAX_UNITS) "i");
Aber zunächst mal ohne die Änderung probieren, da 64-Bit System, siehe auch:
http://www.pc-forum24.de/showthread.php?t=913
Greetz,
RM