Páginas: [1] 2
|
 |
|
Autor
|
Tema: Instalar driver madwifi en kubuntu, me vuelve loco.... (Leído 2326 veces)
|
PIRITEL
Desconectado
Mensajes: 21
|
Hola chicos, despues de pelearme con los drivers de la intel 2200, ahora me ha tocado el siguiente paso, la pcmcia NETGEAR WG511T chip arheros, pues bien he seguido los pasos de los tutoriales que he encontrado por ahí y no consigo dar con ello seguro k hago algo mal . pues bien descargo los ultimos madwifi de donde sabemos 100h.org, y ejecuto los siguientes comandos que recomienda el install: export KERNELPATH=/usr/src/linux-headers-`uname -r` export KERNELRELEASE=`uname -r` make y este es el resultado del make: disculpenme...... /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:501: error: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:502: error: field name not in record or union initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:502: error: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:502: warning: exc ess elements in scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:502: warning: (ne ar initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:503: error: field name not in record or union initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:503: error: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:503: warning: exc ess elements in scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:503: warning: (ne ar initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:504: error: field name not in record or union initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:504: error: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: exc ess elements in scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: (ne ar initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: bra ces around scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: (ne ar initialization for 'ath_root_table[1]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:506: warning: dat a definition has no type or storage class /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'ath _hal_sysctl_register': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:516: warning: imp licit declaration of function 'register_sysctl_table' /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:516: warning: ass ignment makes pointer from integer without a cast /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'ath _hal_sysctl_unregister': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:525: warning: imp licit declaration of function 'unregister_sysctl_table' /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'ini t_ath_hal': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:556: error: 'KERN y blablabla....... + nclude/linux/cpumask.h:89: error: syntax error before '*' token include/linux/cpumask.h:90: warning: function declaration isn't a prototype include/linux/cpumask.h: In function '__cpu_set': include/linux/cpumask.h:91: error: 'cpu' undeclared (first use in this function) include/linux/cpumask.h:91: error: 'dstp' undeclared (first use in this function) include/linux/cpumask.h: At top level: include/linux/cpumask.h:95: warning: type defaults to 'int' in declaration of 'cpumask_t' include/linux/cpumask.h:95: error: syntax error before '*' token include/linux/cpumask.h:96: warning: function declaration isn't a prototype include/linux/cpumask.h: In function '__cpu_clear': include/linux/cpumask.h:97: error: 'cpu' undeclared (first use in this function) include/linux/cpumask.h:97: error: 'dstp' undeclared (first use in this function) include/linux/cpumask.h: At top level: include/linux/cpumask.h:101: error: syntax error before '*' token include/linux/cpumask.h:102: warning: function declaration isn't a prototype include/linux/cpumask.h: In function '__cpus_setall': include/linux/cpumask.h:103: error: 'dstp' undeclared (first use in this function) include/linux/cpumask.h:103: error: 'nbits' undeclared (first use in this function) include/linux/cpumask.h: At top level: include/linux/cpumask.h:107: error: syntax error before '*' token include/linux/cpumask.h:108: warning: function declaration isn't a prototype include/linux/cpumask.h: In function '__cpus_clear': include/linux/cpumask.h:109: error: 'dstp' undeclared (first use in this function) include/linux/cpumask.h:109: error: 'nbits' undeclared (first use in this function) include/linux/cpumask.h: At top level: include/linux/cpumask.h:116: error: syntax error before 'cpumask_t' include/linux/cpumask.h:117: warning: function declaration isn't a prototype
mas.... /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:504: error: field name not in record or union initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:504: error: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: excess elements in scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: (near initialization for 'ath_root_table[0]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: braces around scalar initializer /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:505: warning: (near initialization for 'ath_root_table[1]') /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:506: warning: data definition has no type or storage class /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'ath_hal_sysctl_register': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:516: warning: implicit declaration of function 'register_sysctl_table' /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:516: warning: assignment makes pointer from integer without a cast /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'ath_hal_sysctl_unregister': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:525: warning: implicit declaration of function 'unregister_sysctl_table' /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'init_ath_hal': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:556: error: 'KERN_INFO' undeclared (first use in this function) /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:556: error: syntax error before string constant /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c: In function 'exit_ath_hal': /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:576: error: 'KERN_INFO' undeclared (first use in this function) /root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.c:576: error: syntax error before string constant make[3]: *** [/root/wireless/madwifi/madwifi-cvs-20051008/ath_hal/ah_osdep.o] Error 1 make[2]: *** [_module_/root/wireless/madwifi/madwifi-cvs-20051008/ath_hal] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.12-9-686' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/wireless/madwifi/madwifi-cvs-20051008/ath_hal' make: *** [all] Error 1
resumiendo creo que no va muy fino esto..... Alguien me puede echar una mano por favor. Salu2 a to2.
|
|
|
|
|
En línea
|
|
|
|
Hwagm
Colaborador
Desconectado
Mensajes: 7.511
|
Con atheros yo probaria el mandriva.
Respecto a los basados en Debian, es que no me gustan nada.
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
Gracias por contestar Hwagm, tu simpre ahí al pie del cañon, pues mira creo que el problema me viene porke el modulo pcmcia no me detecta la tarjeta, te paso el contenido de lspci. root@picholon:~# lspci 0000:00:00.0 Host bridge: Intel Corp. Mobile Memory Controller Hub (rev 03) 0000:00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller (rev 03) 0000:00:02.1 Display controller: Intel Corp. Mobile Graphics Controller (rev 03) 0000:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) 0000:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 0000:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 0000:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 0000:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 0000:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3) 0000:00:1e.2 Multimedia audio controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03) 0000:00:1e.3 Modem: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) 0000:00:1f.0 ISA bridge: Intel Corp. 82801FBM (ICH6M) LPC Interface Bridge (rev 03) 0000:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03) 0000:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 0000:06:05.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02) 0000:06:07.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05) 0000:06:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3) 0000:06:09.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08) 0000:06:09.2 0805: Ricoh Co Ltd: Unknown device 0822 (rev 17) 0000:06:09.3 System peripheral: Ricoh Co Ltd: Unknown device 0592 (rev 08)
y el de la pcmcia: root@picholon:~# cardctl status Socket 0: 3.3V CardBus card function 0: [ready]
no veo por ningún lado la artheros, he probado con una netgear wg511t y con una d-link dwl-650 y nada y las dos funcionan perfectamente en windows: que me pasa doctor mi problema es el kubuntu?????...... pruebo suse?...mandriva?....fedora?....
|
|
|
|
|
En línea
|
|
|
|
yadnus
Desconectado
Mensajes: 338
|
Pues parece que no la ve no , lo mismo tienes problemas con las IRQs. Mira con dmesg a ver si te sale algun mensaje de error.
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
En principio no he visto ningún problema en los irqs, que he visto en otros foros de ubuntu, a mi no me aparece ese error, a mi simplemente no me aparece nada. Esta noche igual me paso a suse para probar a ver k tal..... Gracias yadnus
|
|
|
|
|
En línea
|
|
|
|
Hwagm
Colaborador
Desconectado
Mensajes: 7.511
|
Me repito: si te atacas con el Suse no olvides el Mandriva
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
Gracias Hwagm por el consejo, de momento he puesto la suse 10, tiene muy buen pinta, ya me he tenido que pelear con la ipw2200, pero la he conseguido arrancar y funciona ok, ahora le toca a la netgear wg511t y los madwifi. Pues bien descargo los ultimos madwifi, les aplico el parche y realizo el comando export KERNELPATH=/usr/src/linux-2.6.13-15 export KERNELRELEASE=2.6.13-15 luego hago el make Makefile.inc:122: *** KERNELCONF: /usr/src/linux-2.6.13-15/.config does not exist.. Stop he observado lo siguiente: lib/modules/2.6.13-15-default/build apunta a /usr/src/linux-2.6.13-15-obj/i386/default piritel:/lib/modules/2.6.13-15-default/build # ls . .. .config Makefile Module.symvers arch include include2 scripts no deberia esta carpeta apuntar a /usr/src/linux-2.6.13-15 ????? piritel:/usr/src # ls . kernel-modules linux-2.6.13-15 linux-obj .. linux linux-2.6.13-15-obj packages piritel:/lib/modules # ls . .. 2.6.13-15-default precompiled scripts Esta esto en su sitio?..... Perdonad por el texto y los espacios no controlo este navegador aún.
|
|
|
|
|
En línea
|
|
|
|
yadnus
Desconectado
Mensajes: 338
|
Por lo que has pegado parece que tu KERNELRELEASE debería ser:
2.6.13-15-default
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
Hola Yadnus, mira al hacer uname -r me sale: linux-2.6.13-15-default y si hago esto antes de los madwifi: export KERNELPATH=/usr/src/`uname -r` export KERNELRELEASE=`uname -r` luego el mensaje que me da es que no encuentra linux-2.6.13-15-default, ya que por lo que veo en /usr/src/ no esta. La suse esta tiene muy buena pinta, espero que si soluciono lo de los sources (que creo que no lo tengo bien) puede que me vaya bien. Un problema que tenia antes kon ubunto era k no me reconocia la pcmcia wg511t, y con esta si me sale en lspci, pero bueno pasito a pasito.......
|
|
|
|
|
En línea
|
|
|
|
yadnus
Desconectado
Mensajes: 338
|
linux-2.6.13-15-default es ditinto de 2.6.13-15-default.
Asi que pon lo que te he dicho no uname -r.
Si sigue teniendo problemas con los directorios entonces create links para que apunten a donde el make esta buscando
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
oks osea que meto export KERNELPATH=/usr/src/2.6.13-15-default export KERNELRELEASE=2.6.13-15-default
|
|
|
|
|
En línea
|
|
|
|
yadnus
Desconectado
Mensajes: 338
|
No, KERNELPATH no lo toques. KERNELRELEASE si, ponlo asi.
|
|
|
|
|
En línea
|
|
|
|
PIRITEL
Desconectado
Mensajes: 21
|
Gracias por tu paciencia, esta noche lo pruebo, voy a ver si curro un poco, os cuento esta noche aver que pasa.
|
|
|
|
|
En línea
|
|
|
|
teudiss
Desconectado
Mensajes: 122
|
Yadnus, que hace export KERNELRELEASE=2.6.13-15-default ?
Crea una variable de entorno para la hora de compilar ??
|
|
|
|
|
En línea
|
|
|
|
yadnus
Desconectado
Mensajes: 338
|
Pues mira teudiss, cuando escribí esta mañana esto era temprano y estaba muy dormido porque ahora gracias a tu pregunta me acabo de dar cuenta que lo que he dicho no le va a solucionar nada. :-)
KERNELRELEASE se usa para dejar los módulos en /lib/modules/$KERNELRELEASE. Si tienes una distribución con nombre raro pues no te da error, te crea el directorio y punto pero claro, luego no te cargan los módulos, o te cargan los antiguos.
Para piritel , pon:
export KERNELPATH=/usr/src/linux-2.6.13-15-obj export KERNELRELEASE=2.6.13-15-default
A ver que tal.
|
|
|
|
|
En línea
|
|
|
|
|
Páginas: [1] 2
|
|
|
|