[wifi] Dell Inspiron N5050 - Freeze complet

Reconnaissance et configuration du matériel / kernel linux
Répondre
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

[wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Bonjour,

Je dispose d'un Dell Inspiron N5050 tout neuf. J'y ai installé une ArchLinux toute propre avec Gnome Shell.

Apparemment, ifconfig -a me trouve bien ma carte réseau :

Code : Tout sélectionner

jeoffrey@vmarch:/var/log$ ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.81  netmask 255.255.255.0  broadcast 192.168.2.255
        inet6 fe80::1a03:73ff:fe87:6bc8  prefixlen 64  scopeid 0x20<link>
        ether 18:03:73:87:6b:c8  txqueuelen 1000  (Ethernet)
        RX packets 5981  bytes 5266963 (5.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4966  bytes 959802 (937.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether cc:af:78:98:9c:cb  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 
Lorsque j'active ma carte Wifi (ifconfig wlan0 up), le PC freeze complètement, je suis obligé de couper le PC via le bouton. Voici ce que j'ai dans mes logs :

Code : Tout sélectionner

Aug 21 09:37:49 localhost dbus[584]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 21 09:37:49 localhost dbus[584]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Le lspci :

Code : Tout sélectionner

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
09:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Un petit coup de main svp ?

Bonne journée !
Jeoffrey :) .
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Salut !
Juste pour débroussailler le problème :
Tu as suivis une entrée du wiki pour l'installation du wifi? Si oui laquelle? Si non, je te conseille de commencer par .
Tu as bien installé "wireless_tools"?
Quel pilote as-tu installé pour ta carte wifi? le b43? broadcom-wl?
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Oui, j'ai lu cette page du Wiki ;).

Wireless_tools est installé depuis l'installation du système...

J'ai installé b43-firmware via yaourt, et c'est tout. L'ennui, c'est que je ne sais pas quel paquet utiliser...

Bon, selon : http://www.ubuntu.com/certification/har ... omponents/ ça a l'air d'être de l'Atheros...

Je vais essayer d'installer ath9k.
Jeoffrey :) .
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Bon, j'ai fait ceci :

sudo modprobe ath9k > qui ne m'a pas renvoyé d'erreur.

sudo ifconfig wlan0 up > qui m'a freezé le PC.
Jeoffrey :) .
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Pour l'atheros c'est bizarre, car ton lspci renvois un chipset broadcom quand même.
Sinon tu as bien blacklisté les modules que tu n'utilises pas comme indiquer dans le wiki?
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Ha, apparemment problème connu.
Cherche BCM4313, c'est ce que te donne "lspci" (je suis sceptique sur l'atheros).

EDIT : alternatives : wl/brcm80211 :)
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Alors, voici ce que j'ai fait :

J'ai supprimé le package b43-firmware.

J'ajoute mon module, ce qui donne ceci au rc.conf :

MODULES=(vboxdrv vboxnetflt brcmsmac)

Je reboot, et j'ai ceci sur mon lsmod :

Code : Tout sélectionner

Module                  Size  Used by
fuse                   68768  2 
des_generic            16203  0 
ecb                     2105  0 
md4                     3529  0 
md5                     2345  2 
hmac                    2953  1 
nls_utf8                1352  1 
cifs                  290865  2 
fscache                41059  1 cifs
snd_hda_codec_hdmi     23672  1 
snd_hda_codec_idt      55719  1 
uas                     8823  0 
uvcvideo               69437  0 
videobuf2_vmalloc       2468  1 uvcvideo
videobuf2_memops        2246  1 videobuf2_vmalloc
videobuf2_core         20415  1 uvcvideo
videodev               93086  1 uvcvideo
ums_realtek             7391  0 
usb_storage            44760  1 ums_realtek
media                  10213  2 uvcvideo,videodev
joydev                  9991  0 
snd_hda_intel          24053  3 
snd_hda_codec          94305  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
i915                  438112  3 
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                74958  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18966  1 snd_pcm
snd                    58997  13 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
i2c_algo_bit            5391  1 i915
drm_kms_helper         33051  1 i915
arc4                    1410  2 
drm                   208958  4 i915,drm_kms_helper
serio_raw               4653  0 
microcode              12345  0 
ghash_clmulni_intel     4237  0 
cryptd                  8741  1 ghash_clmulni_intel
acpi_cpufreq            5933  1 
mperf                   1299  1 acpi_cpufreq
dell_laptop            10600  0 
dcdbas                  5552  1 dell_laptop
mei                    32152  0 
r8169                  48993  0 
intel_agp              10936  1 i915
iTCO_wdt               12813  0 
dell_wmi                1517  0 
intel_gtt              14047  3 i915,intel_agp
i2c_i801                8180  0 
i2c_core               20369  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
soundcore               5410  1 snd
sparse_keymap           3056  1 dell_wmi
iTCO_vendor_support     1929  1 iTCO_wdt
psmouse                70792  0 
evdev                   9754  13 
thermal                 7959  0 
battery                 6517  0 
coretemp                5654  0 
video                  11307  1 i915
crc32c_intel            1987  0 
processor              26567  1 acpi_cpufreq
mii                     4123  1 r8169
wmi                     8475  1 dell_wmi
ac                      2376  0 
button                  4502  1 i915
brcmsmac              527843  0 
cordic                  1105  1 brcmsmac
crc8                    1186  1 brcmsmac
brcmutil                3152  1 brcmsmac
bcma                   22757  1 brcmsmac
mac80211              395712  1 brcmsmac
cfg80211              170255  2 brcmsmac,mac80211
rfkill                 15604  4 cfg80211,dell_laptop
vboxnetflt             16871  0 
vboxdrv              1792406  1 vboxnetflt
ext4                  424871  3 
crc16                   1359  1 ext4
jbd2                   73919  1 ext4
mbcache                 5977  1 ext4
usbhid                 36462  0 
hid                    85541  1 usbhid
sr_mod                 14823  0 
cdrom                  35648  1 sr_mod
sd_mod                 29239  5 
ahci                   20549  4 
libahci                20023  1 ahci
libata                167611  2 ahci,libahci
scsi_mod              132736  5 uas,usb_storage,libata,sd_mod,sr_mod
ehci_hcd               41026  0 
usbcore               147661  7 uas,uvcvideo,ums_realtek,usb_storage,ehci_hcd,usbhid
usb_common               954  1 usbcore
Donc, c'est ceci qui nous intéresse :

Code : Tout sélectionner

brcmsmac              527843  0 
cordic                  1105  1 brcmsmac
crc8                    1186  1 brcmsmac
brcmutil                3152  1 brcmsmac
bcma                   22757  1 brcmsmac
mac80211              395712  1 brcmsmac
cfg80211              170255  2 brcmsmac,mac80211
Mon module est bien chargé donc. Je tente un "ifconfig wlan0 up", et ça freeze...

J'aurais oublié quelque chose ?
Jeoffrey :) .
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Blacklister bcma?
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Selon : https://wiki.archlinux.org/index.php/Br ... 2Fbrcmfmac

Je n'ai plus besoin de blacklister bcma vu que je suis en kernel 3.4.9

Cependant :

Code : Tout sélectionner

jeoffrey@vmarch:~$ sudo rmmod bcma
Error: Module bcma is in use by: brcmsmac
Là, je bloque. Même en ajoutant "blacklist bcma" dans /etc/modprobe.d/modprobe.conf, au redémarrage j'ai toujours bcma dans le ldmod...
Jeoffrey :) .
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Effectivement il y a un problème pour toi je dirais, bcma ne marche pas avec ta carte, on conseille brcm en alternative, mais brcm utilise bcma....

Essaie toujours de désinstaller tous les drivers wifi que tu as installé et essaie le driver broadcom-wl, qui à priori devrait marcher avec ta carte.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par FoolEcho »

Tu peux installer hwinfo et nous donner la sortie de:

Code : Tout sélectionner

hwinfo --netcard
qu'on y voit (peut-être) plus clair ?
«The following statement is not true. The previous statement is true.» :nage:
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Voilà les infos demandées :

Code : Tout sélectionner

21: PCI 900.0: 0282 WLAN controller
  [Created at pci.319]
  Unique ID: y9sn.nLrGdCF7uOA
  Parent ID: Z7uZ.4GVu9j8UrFE
  SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:09:00.0
  SysFS BusID: 0000:09:00.0
  Hardware Class: network
  Model: "Broadcom WLAN controller"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4727 
  SubVendor: pci 0x1028 "Dell"
  SubDevice: pci 0x0012 
  Revision: 0x01
  Driver: "bcma-pci-bridge"
  Driver Modules: "bcma"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xf7d00000-0xf7d03fff (rw,non-prefetchable)
  IRQ: 19 (no events)
  HW Address: cc:af:78:98:9c:cb
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 2.484
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v000014E4d00004727sv00001028sd00000012bc02sc80i00"
  Driver Info #0:
    Driver Status: bcma is active
    Driver Activation Cmd: "modprobe bcma"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #14 (PCI bridge)
Hum, je veux bien tester broadcom-wl, mais d'après le Wiki US, il est fortement déconseillé de l'utiliser...
Jeoffrey :) .
Avatar de l’utilisateur
vlamy
yeomen
Messages : 268
Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par vlamy »

Ok, d'après kernel.org : tu as le bon driver pour ta carte d'installé, le problème doit alors venir d'ailleurs.

Autre question, pourquoi utilises tu l'outil "ifconfig"? Dans les wikis la configuration manuelle est faite à l'aide de "iwconfig".
Tu pourrais donner la procédure pas à pas que tu suis pour configurer l'interface?
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Bon, si j'ai le bon driver, c'est déjà pas mal...

J'ai toujours utilisé ifconfig, mais effectivement, je peux utiliser iwconfig.

Je n'ai même pas le temps de configurer l'interface, tout ce que je fais c'est un "ifconfig wlan0 up" et ça freeze...

Là, j'ai essayé un "iwlist wlan0 scan", et l'erreur renvoyée est "Failed to read scan data : Network is down". Et c'est là en général que je fais un "ifconfig wlan0 up"...
Jeoffrey :) .
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par FoolEcho »

*doute* ... est-ce que tu as différents services réseau d'activé (network, netcfg, networkmanager, wicd...), au cas où il n'en faut qu'un ?
Jeoffrey54 a écrit :Là, j'ai essayé un "iwlist wlan0 scan", et l'erreur renvoyée est "Failed to read scan data : Network is down". Et c'est là en général que je fais un "ifconfig wlan0 up"...
Et tu fais bien.
Par contre, faudrait examiner le log quand ça gèle. :?
«The following statement is not true. The previous statement is true.» :nage:
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Je n'ai qu'un service réseau lancé, "network". Pas de Wicd. NetworkManager est installé, mais pas lancé au démarrage.

Au niveau du log, je n'ai que ceci :

Code : Tout sélectionner

Aug 22 09:21:36 localhost blueman-mechanism: Starting blueman-mechanism 
Aug 22 09:21:36 localhost dbus[581]: [system] Successfully activated service 'org.blueman.Mechanism'
Aug 22 09:21:36 localhost blueman-mechanism: loading Ppp 
Aug 22 09:21:36 localhost blueman-mechanism: loading RfKill 
Aug 22 09:21:36 localhost blueman-mechanism: loading Network 
Aug 22 09:21:36 localhost blueman-mechanism: loading Config 
Aug 22 09:21:37 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:21:37 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:21:38 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:21:38 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:03 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:03 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:03 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:03 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:03 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:03 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:06 localhost blueman-mechanism: Exiting 
Aug 22 09:22:14 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:14 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:14 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:14 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:14 localhost dbus[581]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
Aug 22 09:22:14 localhost dbus[581]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
Aug 22 09:22:35 localhost shutdown[3615]: shutting down for system reboot
Jeoffrey :) .
Jeoffrey54
Hankyu
Messages : 36
Inscription : mer. 11 août 2010, 00:26

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par Jeoffrey54 »

Bonjour,

Du nouveau :S ? Je n'arrive toujours pas à faire fonctionner le wifi =/.
Jeoffrey :) .
bebel69
newbie
Messages : 5
Inscription : sam. 01 sept. 2012, 23:41

Re: [wifi] Dell Inspiron N5050 - Freeze complet

Message par bebel69 »

Bonjour Jeoffrey,
j'ai un netbook HP DM1-4136 avec le même chip wifi que toi.
Par défaut, après l'installation de Arch, le wifi fonctionnait, mais mal : mauvais réception, quelques freezes du PC comme toi...
un lspci -k me montre que le driver utilisé est bcma.
Un lsmod | grep bcma me montre que bcma est utilisé brcmsmac.

Code : Tout sélectionner

>> lsmod | grep brcmsmac
brcmsmac              527843  0 
cordic                  1105  1 brcmsmac
crc8                    1186  1 brcmsmac
brcmutil                3152  1 brcmsmac
bcma                   22757  1 brcmsmac
mac80211              395712  1 brcmsmac
cfg80211              170255  2 brcmsmac,mac80211
Bon, ça fonctionne, mais c'est loin d'être génial. J'ai essayé wl, et là, la connexion est bien plus stable, mais pour l'instant, je blogue sur le chargement de wl au démarrage, j'ai le droit à un beau Kernel Panic....

EDIT : Pour info, j'utilise wicd comme gestionnaire réseau.
et voic le contenu de rc.conf

Code : Tout sélectionner

DAEMONS=(syslog-ng dbus slim wicd rpcbind nfs-common crond)
et de /etc/modprobe.d/blacklist.conf

Code : Tout sélectionner

install wl /bin/false
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
Voilà, j'espère quee ça peut t'aider.

Bebel69
Dernière modification par FoolEcho le dim. 02 sept. 2012, 09:08, modifié 1 fois.
Raison : [code]
Répondre