Portál AbcLinuxu, 20. dubna 2024 16:43
/usr/src/linux-2.6.7/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/src/linux-2.6.7/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) In file included from r8180_pci_init.c:40: r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined < command line>:11:1: warning: this is the location of the previous definition In file included from r8180_pci_init.c:40: r8180_type.h:149: error: conflicting types for `timer_t' /usr/src/linux-2.6.7/include/linux/types.h:30: error: previous declaration of `timer_t' make: *** [r8180_pci_init.o] Error 1
rtl8180_24x.o: The module you are trying to load (rtl8180_24x.o) is compiled with a gcc version 2 compiler, while the kernel you are running is compiled with a gcc version 3 compiler. This is known to not work.nebo:
rtl8180_24x.o: kernel-module version mismatch rtl8180_24x.o was compiled for kernel version 2.4.20-8 while this kernel is version 2.4.18-14.
--- Generate open part open_part.o --- --- Generate rtl8180 linux driver rtl8180_24x.o on 2.4.18-PRIV ---dmesg po pokusu o insmod rtl8180_24x.o - karta neni v pocitaci
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded******** rtl8180: No devices found, RTL8180 Wireless Lan Driver 2003-11-24 unregisteredJe nutne mit jadro zkompilovano z uvedenych zdroju, jinak system konci hromadou systemovych chyb, po prekompilovani jadra z uvedeych zdroju chyby neexistuji a vysledek je OK, alespon u me a to ted jiz na RedHat s 2.4.18-14 a Debian s 2.4.27, kde je overena i funkcnost.
******** RTL8180 Wireless Lan Driver 2003-11-24 loaded******** RTL8180: 00:11.0: region #0 IS a PIO resource! RTL8180: request_region(0x0000fc00,0x00000100) ! Unable to handle kernel NULL pointer dereference at virtual address 000006e4 Code: 89 96 08 01 00 00 89 d0 81 c2 f0 93 01 00 89 10 81 c2 04 03toto je výpis dmesg, konzole končí "Segmentation fault", takže výsledek ... ovladač je sporný a problemový, bohužel se nechová stejně na podobných konfiguracích, čili závěrem ... asi je řešením ndiswrapper, nebo zatlačit na Realtec, případně čekat na open drivery.
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.