Los problemillas de Pallacus.

Moderadores: Kravenbcn, largeroliker, fidelcastro, cerealkiller, pspCaracas, dark_sasuke, m0skit0, LnD, ka69, zacky06

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

No tiene.
PS3 - PSP 2000

Avatar de Usuario
dark_sasuke
Moderador Global
Moderador Global
Mensajes: 3380
Registrado: 03 Sep 2009, 02:13
Twitter: D4rkyt0

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por dark_sasuke »

seguro? ... todos los programas que yo he compilado, tienen un .config o .configure o algo parecido, o un scrip que lo instala solo
Imagen

Avatar de Usuario
pspCaracas
Moderador Global
Moderador Global
Mensajes: 3080
Registrado: 03 Sep 2009, 03:29
Ubicación: Buenos Aire - Argentina
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por pspCaracas »

Dark Pallacus escribió:Necesito ayuda:
Como sabéis el portátil se me sigue apagando. Si estoy usando la tarjeta Wi-Fi y no está conectado al alimentador de corriente.

Estoy usando Ubuntu 10.10 en un Asus X5DI con tarjeta Wi-Fi Atheros AR9285.

He leido un poco en la pagina de Madwifi y comentan que la versión mas compatible es la 0.9.4 . Por tanto la he descargado y he empezado por hacer un "make" pero me ha dado error y creo que esto es malo. Quizá los que tengáis mas experiencia me podéis decir si es malo o si puedo hacer algo para arreglarlo. Por si sirve de algo os dejo una captura de la consola (Los errores están en las últimas 24 o 25 lineas.):
Spoiler:

Código: Seleccionar todo

albert@albert-K50IE:~/Downloads/madwifi-0.9.4-r4133-20101223$  make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.35-24-generic/build SUBDIRS=/home/albert/Downloads/madwifi-0.9.4-r4133-20101223 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-24-generic'
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/if_ath.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/if_ath_pci.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ah_os.o
  HOSTCC  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/uudecode
  UUDECODE /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/x86_64-elf.bin
  UNMANGLE /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/x86_64-elf.hal.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/amrr.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/minstrel.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/onoe.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/sample.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/if_media.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_beacon.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_none.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_input.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_node.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_output.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_power.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_proto.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_wireless.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_linux.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_monitor.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_rate.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_acl.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_ccmp.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan_ap.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_scan_sta.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_tkip.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_crypto_wep.o
  CC [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/ieee80211_xauth.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.o
  Building modules, stage 2.
  MODPOST 14 modules
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath/ath_pci.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_hal/ath_hal.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/amrr/ath_rate_amrr.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/minstrel/ath_rate_minstrel.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/onoe/ath_rate_onoe.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/ath_rate/sample/ath_rate_sample.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_acl.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_ccmp.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_ap.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_scan_sta.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_tkip.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_wep.ko
  CC      /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.mod.o
  LD [M]  /home/albert/Downloads/madwifi-0.9.4-r4133-20101223/net80211/wlan_xauth.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic'
make -C ./tools  all || exit 1
make[1]: Entering directory `/home/albert/Downloads/madwifi-0.9.4-r4133-20101223/tools'
gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath  athstats.c
athstats.c: In function 'main':
athstats.c:285: warning: format not a string literal and no format arguments
athstats.c:287: warning: format not a string literal and no format arguments
athstats.c:307: warning: format not a string literal and no format arguments
athstats.c:309: warning: format not a string literal and no format arguments
athstats.c:344: warning: format not a string literal and no format arguments
gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I..  80211stats.c
80211stats.c: In function 'main':
80211stats.c:290: warning: format not a string literal and no format arguments
gcc -o athkey -g -O2 -Wall -I. -I../hal -I..  athkey.c
gcc -o athchans -g -O2 -Wall -I. -I../hal -I..  athchans.c
gcc -o athctrl -g -O2 -Wall -I. -I../hal -I..  athctrl.c
gcc -o athdebug -g -O2 -Wall -I. -I../hal -I..  athdebug.c
gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I..  80211debug.c
gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I..  wlanconfig.c
wlanconfig.c: In function 'if_find_unit':
wlanconfig.c:297: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
wlanconfig.c: In function 'list_keys':
wlanconfig.c:830: warning: ignoring return value of 'system', declared with attribute warn_unused_result
wlanconfig.c: In function 'ieee80211_status':
wlanconfig.c:946: warning: ignoring return value of 'system', declared with attribute warn_unused_result
make[1]: Leaving directory `/home/albert/Downloads/madwifi-0.9.4-r4133-20101223/tools'
albert@albert-K50IE:~/Downloads/madwifi-0.9.4-r4133-20101223$
Muchas gracias.

No veo que te arroje errores, solo advertencias (warnings)...haz un make install a ver...
http://farm3.static.flickr.com/2497/3983880148_f5ae0aaab2_o.png

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Lo hice i sigue igual.

Googleando por ahí he leído que podría ser que hay mas de un driver instalado y se están molestando entre ellos. En los readme de instalación y demás nunca he visto nada referente a desinstalar. Debería averiguar que drivers tengo instalados y "limpiar"? Como?

Insisto, agradezco todo el tiempo que me estáis dedicando.
PS3 - PSP 2000

Avatar de Usuario
pspCaracas
Moderador Global
Moderador Global
Mensajes: 3080
Registrado: 03 Sep 2009, 03:29
Ubicación: Buenos Aire - Argentina
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por pspCaracas »

Típicamente las cosas que se compilan tienen un "make uninstall" que te permite revertir la instalación. También típicamente vienen con un README.txt y/o un INSTALL.txt que explican como instalar y desinstalar el software. Si un driver "choca" con otro, probablemente en el README.txt te lo indique.

Para resumir, al momento de compilar e instalar algo esto es lo que se debe hacer:

Código: Seleccionar todo

more README.txt  (si hay un INSTALL.txt, también leerlo)

./configure
make
sudo make install

Para desinstalar:

Código: Seleccionar todo

sudo make uninstall

Fíjate que en las acciones de instalar y desintalar coloco sudo porque requieres ser administrador del sistema para instalar y desinstalar software.

Qué pasa si algo falla en la compilación? Hay que ver cuál es el error (típicamente que falta una librería o archivo header) y solucionarlo para que continúe la compilación.
http://farm3.static.flickr.com/2497/3983880148_f5ae0aaab2_o.png

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Y si tengo un driver anterior, como lo averiguo? Y donde hago el sudo uninstall?
PS3 - PSP 2000

Avatar de Usuario
pspCaracas
Moderador Global
Moderador Global
Mensajes: 3080
Registrado: 03 Sep 2009, 03:29
Ubicación: Buenos Aire - Argentina
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por pspCaracas »

En general para saber sobre los módulos cargados (como drivers) puedes usar la orden lsmod. Si quieres descargarlo, sudo rmmod nombre_de_modulo. Si quieres saber información de un módulo usa modinfo nombre_de_modulo.

Adicionalmente puede existir el archivo /etc/modules donde se definen los módulos a ser cargados al inicio de sistema. Si el módulo que te causa problema está allí, pues lo quitas, y para garantizar que nada ni nadie lo va a cargar adicionalmente "blacklistéalo" en el archivo /etc/modprobe.d/blacklist.conf o similar.
http://farm3.static.flickr.com/2497/3983880148_f5ae0aaab2_o.png

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

pspCaracas escribió:Si el módulo que te causa problema está allí, pues lo quitas, y para garantizar que nada ni nadie lo va a cargar adicionalmente "blacklistéalo" en el archivo /etc/modprobe.d/blacklist.conf o similar.
El prolema será identificarlo :tongue:

También he estado pensando (mala costumbre): Si cambio de distro seguiré teniendo el mismo problema? Lo que se reduce a: Son los mismos drivers para todas las distribuciones?

EDITO:

He comprobado los módulos cargados:
lista completa
Spoiler:

Código: Seleccionar todo

lsmod
Module                  Size  Used by
rfcomm                         40787  0
sco                                 9986  0
bnep                             11985  0
l2cap                            42304  4 rfcomm,bnep
btusb                            12929  0
usbhid                          42062  0
bluetooth                       59245  5 rfcomm,sco,bnep,l2cap,btusb
hid                                84710  1 usbhid
parport_pc                     30086  0
ppdev                              6804  0
snd_hda_codec_nvhdmi    15451  4
snd_hda_codec_realtek   299844  1
binfmt_misc                7984  1
nvidia                 10221046  96
joydev                      11395  0
arc4                           1497  2
snd_hda_intel            26019  2
snd_seq_midi              5932  0
ath9k                       101730  0
snd_rawmidi               22207  1 snd_seq_midi
snd_hda_codec         100919  3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep                  6660  1 snd_hda_codec
ath9k_common            6874  1 ath9k
snd_seq_midi_event      7291  1 snd_seq_midi
ath9k_hw                314699  2 ath9k,ath9k_common
ath                           10413  2 ath9k,ath9k_hw
snd_seq                    57512  2 snd_seq_midi,snd_seq_midi_event
snd_pcm                   89104  2 snd_hda_intel,snd_hda_codec
mac80211               266625  2 ath9k,ath9k_common
video                        22176  0
snd_seq_device          6912  3 snd_seq_midi,snd_rawmidi,snd_seq
output                         2527  1 video
snd_timer                  23850  2 snd_pcm,snd_seq
cfg80211                  170293  4 ath9k,ath9k_common,ath,mac80211
ndiswrapper              245044  0
asus_laptop               16668  0
sparse_keymap           3837  1 asus_laptop
snd                           64181  13 snd_hda_codec_realtek,snd_hda_intel,snd_rawmidi,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_seq_device,snd_timer
led_class                     3393  2 ath9k,asus_laptop
uvcvideo                    62379  0
videodev                    49359  1 uvcvideo
v4l1_compat               15519  2 uvcvideo,videodev
soundcore                    1240  1 snd
v4l2_compat_ioctl32    12614  1 videodev
snd_page_alloc             8588  2 snd_hda_intel,snd_pcm
i2c_nforce2                  6155  0
psmouse                    62080  0
serio_raw                     4910  0
lp                               10201  0
parport                       37032  3 parport_pc,ppdev,lp
ahci                           22210  2
r8169                         42254  0
libahci                        26052  1 ahci
mii                              5261  1 r8169

Mi lista de sospechosos:
Spoiler:

Código: Seleccionar todo

ath9k                                101730 0
ath9k_common                     6874 1 ath9k

mac80211                         266625 2 ath9k,ath9k_common
cfg80211                          170293 4 ath9k,ath9k_common,ath,mac80211

ndiswrapper                      245044 0
asus_laptop                       16668 0
i2c_nforce2                          6155 0

Supongo que de estos habrá alguno "intocable", que será mejor no desactivar.
PS3 - PSP 2000

Avatar de Usuario
m0skit0
Administrador
Administrador
Mensajes: 5585
Registrado: 03 Sep 2009, 09:35
Ubicación: 0xdeadbeef

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por m0skit0 »

¿ndiswrapper? ¿Estás usando drivers de Windows?
Imagen

Avatar de Usuario
Dark Pallacus
ViP Hordes
ViP Hordes
Mensajes: 1509
Registrado: 03 Sep 2009, 00:35
PSN ID: Pallacus
Ubicación: Barcelona
Contactar:

Re: Portatil se bloquea al activar Wi-Fi.

Mensaje por Dark Pallacus »

Sip, :oops: es el último driver que instalé.

Funciona igual que los demás :(
PS3 - PSP 2000

Responder