first, hello everyone
i set up a debian sarge with kernel 2.6 last week. i use the asus motherboard p5gdi with onboard lan.
for linux did not automaticly install a driver, I downloaded one from the asus homepage. it's the sk98lin driver. i'm quite sure this is the right one, cause i found it on the corresponding download page to my motherboard.
i'm trying to install this since last week but i think i'm getting nowhere. when i install it in user mode i always get an error. first i got the error that in /usr/src/linux/include/linux the file version.h is missing. this is true, there is no such file. the kernel sources are from www_kernel_org. version 2.6.8, i have version 2.6.8-2-386 installed.
this file (version.h) exists in the kernel headers but using the headers in /usr/src/linux installation says .config is missing (which is also true. but anyway i'm pretty sure i need the sources).
after compiling the kernel the missing file exists (the compiled kernel didn't work on first try i got fatal: could not load /lib/modules/2.6.8/modules.dep, on second it didn't want to load due to wrong format or so. I know this is not a good sign anyway but i have never compiled a kernel before so i didn't worry).
when i try to install the driver now there is a error while compiling the kernel:
Code:
Create tmp dir (/tmp/Sk98IWBojJdZJSrpcJBOdoPAr) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.8-2-386) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SP) [ OK ]
Check architecture (found) [ OK ]
Set architecture (i386) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (32bit) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (3.3.5) (Kernel:3.3.5 == gcc:3.3.5) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Check the mem address space (lowmem) [ OK ]
Unpack the sources (done) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Check kernel header version (Kernel:2.6.8-2-386 == Header:2.6.8-2-386[ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (error) [ failed ]
somehow i have now a module sk98lin
, but trying modprobe i get:
Code:
FATAL: Error inserting sk98lin (/lib/modules/2.6.8-2-386/kernel/drivers/net/sk98lin/sk98lin.ko): Invalid module format
i thought, that i maybe messed up with kernel-sources but the check while installation of sk98lin said its ok.
it would be really nice if someone could help me with this.
lg
Jasmin