PDA

View Full Version : VIA ethernet card problems



jcesaro
12-28-2005, 12:26 PM
i recently bought this VIA Technologies, Inc. VT6105 [Rhine-III ethernet card, the diskette inside had an old version of the driver wich doesnt support 2.6 version of kernel,so i downloaded the new driver trought VIA website
Compiled it and got some errors.

here's some info

knoppix 4.0.2 from cd.

here's some info:


lspci

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO]
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
0000:00:09.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 8b)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2)

compiling the ethernet card driver:


root@p4-1800:/temp/4.39# make
make -C /lib/modules/2.6.12/build SUBDIRS=/temp/4.39 modules
make[1]: Entering directory `/usr/src/linux-2.6.12'
CC [M] /temp/4.39/rhine_main.o
/temp/4.39/rhine_main.c: En la función `rhine_ethtool_ioctl':
/temp/4.39/rhine_main.c:2751: error: structure has no member named `slot_name'
/temp/4.39/rhine_main.c: En la función `rhine_suspend':
/temp/4.39/rhine_main.c:2924: error: too many arguments to function `pci_save_state'
/temp/4.39/rhine_main.c: En la función `rhine_resume':
/temp/4.39/rhine_main.c:2958: error: too many arguments to function `pci_restore_state'
make[2]: *** [/temp/4.39/rhine_main.o] Error 1
make[1]: *** [_module_/temp/4.39] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
make: *** [default] Error 2
root@p4-1800:/temp/4.39#

i also tryed make install


root@p4-1800:/temp/4.39# make install
make -C /lib/modules/2.6.12/build SUBDIRS=/temp/4.39 modules
make[1]: Entering directory `/usr/src/linux-2.6.12'
CC [M] /temp/4.39/rhine_main.o
/temp/4.39/rhine_main.c: En la función `rhine_ethtool_ioctl':
/temp/4.39/rhine_main.c:2751: error: structure has no member named `slot_name'
/temp/4.39/rhine_main.c: En la función `rhine_suspend':
/temp/4.39/rhine_main.c:2924: error: too many arguments to function `pci_save_state'
/temp/4.39/rhine_main.c: En la función `rhine_resume':
/temp/4.39/rhine_main.c:2958: error: too many arguments to function `pci_restore_state'
make[2]: *** [/temp/4.39/rhine_main.o] Error 1
make[1]: *** [_module_/temp/4.39] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
make: *** [default] Error 2
root@p4-1800:/temp/4.39#[/code]

OErjan
12-28-2005, 04:03 PM
via rhine should be supported out of box in 99%of cases, no need to recompile