can't get network card to work
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 ] Code:
FATAL: Error inserting sk98lin (/lib/modules/2.6.8-2-386/kernel/drivers/net/sk98lin/sk98lin.ko): Invalid module format it would be really nice if someone could help me with this. lg Jasmin |
There doesn't seem to be a lot of info about on this motherboard. Is it one of those new PCI Express things? You could try the command 'lspci -vv' and check the output for more details about the ethernet controller. Maybe recent kernels already have a driver?
I don't know why the manufacturer's driver doesn't work. Often they don't because they have only been tested with a particular (usually out-of-date) kernel. But the fact that you are not familiar with compiling/installing a new kernel is also a big handicap. I'd suggest getting the latest kernel source (as a Debian package if you like) and a tutorial on kernel configuration/compilation to practice with. You may also be lucky and find someone who has succeeded with the Asus driver and can tell you what to do. Note that the kernel you actually use and the driver have to be compiled from the same source. As a last resort you can always just stick an old ethernet card in and use it until linux catches up with your hardware. |
yes, the motherboard has 2 pci-express slots. it for intel 64bit processors.
lspci -vv says: Code:
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd.: Unknown device4362 (rev 15) I'll probably give up today. i have a network card which works under linux. But I use Windows XP 64bit too on this machine and there are no drivers for XP64bit. So if anyone has an idea how to fix it, i'll try it out. Thanx for your reply anyway |
searching further on the net I have found this:
http://ta.twi.tudelft.nl/DV/Staff/Le...nux_p5gd1.html I've tried it out and it worked. So it seems i had the wrong driver (though i had the one from the asus homepage) lg Jasmin |
All times are GMT -5. The time now is 12:42 AM. |