Page 2 sur 2

Re: [mise à jour] configuration cassée après

Publié : mer. 21 août 2013, 09:29
par gile
J'ai passé une bonne partie de ma nuit sur le problème... (^_^)

J'ai finalement réussi à passer sous netcl, mais ce n'est pas sans douleur... j'aurais encore pas mal de boulot...

Sous le noyau lts le wifi fonctionne très bien et j'obtiens ceci:

Code : Tout sélectionner

➤ dmesg |egrep -i "iwl|wifi"        
[    8.230725] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[    8.230728] iwlagn: Copyright(c) 2003-2011 Intel Corporation
[    8.230776] iwlagn 0000:02:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    8.230785] iwlagn 0000:02:00.0: setting latency timer to 64
[    8.230826] iwlagn 0000:02:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
[    8.246520] iwlagn 0000:02:00.0: device EEPROM VER=0x436, CALIB=0x6
[    8.246523] iwlagn 0000:02:00.0: Device SKU: 0Xb
[    8.246524] iwlagn 0000:02:00.0: Valid Tx ant: 0X7, Valid Rx ant: 0X7
[    8.246538] iwlagn 0000:02:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    8.246609] iwlagn 0000:02:00.0: irq 45 for MSI/MSI-X
[    8.283181] iwlagn 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532
[    8.290787] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   80.051828] iwlagn 0000:02:00.0: Queue 2 stuck for 2000 ms.
[   80.051837] iwlagn 0000:02:00.0: On demand firmware reload
[  101.668323] iwlagn 0000:02:00.0: iwlagn_tx_agg_start on ra = 10:9a:dd:8d:8d:4e tid = 0
[  933.304385] iwlagn 0000:02:00.0: iwlagn_tx_agg_start on ra = 10:9a:dd:8d:8d:4e tid = 6
➤  rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
Alors que sous le noyau normal j'ai:

Code : Tout sélectionner

➤ cat dmesg.log |egrep -i "iwl|wifi"
[    1.831403] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    1.831662] iwlwifi 0000:02:00.0: irq 41 for MSI/MSI-X
[    1.832432] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[    1.834207] iwlwifi 0000:02:00.0: failed to load module iwldvm (error 256), is dynamic loading enabled?
➤  rfkill list
➤
Le pastebin du dmesg complet d'un boot avec le noyau normal http://pastebin.archlinux.fr/469491


pour ce qui est du /etc/udev/rules.d/10-network.rules, en le supprimant, je n'obtient pas toujours le même non de périphérique après redémarage, et c'est des nom compliqués pour un usage quotidien...

Voilà... je ne sais pas trop ce que je pourrais chercher comme donnée

Merci d'avance pour tout aide!!!!

Re: [mise à jour] configuration cassée après

Publié : mer. 21 août 2013, 13:04
par FoolEcho
Si ça fonctionne avec le LTS déjà, peut-être une régression dans le noyau ? (faudrait voir les rapports de bug côté kernel)

Au cas où, démarre avec le noyau normal et montre les sorties de:

Code : Tout sélectionner

uname -a
modinfo iwldvm
gile a écrit :pour ce qui est du /etc/udev/rules.d/10-network.rules, en le supprimant, je n'obtient pas toujours le même non de périphérique après redémarage, et c'est des nom compliqués pour un usage quotidien...
Tu n'es pas le premier mais c'est très étrange vu que justement, la nomenclature utilisée fait que les noms des interfaces sont fixes et prévisibles justement... :?

Re: [mise à jour] configuration cassée après

Publié : sam. 24 août 2013, 16:12
par gile
Merci beaucoup pour ton aide!!!!
C'est vraiment sympa.

Avec LTS

Code : Tout sélectionner

uname -a ; modinfo iwldvm
Linux clevo 3.0.91-1-lts #1 SMP Thu Aug 15 13:03:23 CEST 2013 x86_64 GNU/Linux
modinfo: ERROR: Module iwldvm not found.
Mais ce qui est vraiment très très étrange... c'est que j'écris ceci via une connexion Wiffi! Pas de câble rj45 (je n'ai pas de prise là où je bosse)

Code : Tout sélectionner

#  netctl list 
  rj45
* joba
  jobb
  jobc
  jobd
  jobe
  jobf
  maison

Code : Tout sélectionner

#  cat -n /etc/netctl/joba 
     1	Description='Batiment Principal'
     2	Interface=wlan0
     3	Connection=wireless
     4	Security=wpa
     5	IP=dhcp
     6	ESSID='Eta ECYO Mobile'
     7	Key=\"ma clé qui va bien
     8	priority=1
sans LTS

Code : Tout sélectionner

{ uname -a ; modinfo iwldvm ; netctl list ; cat -n /etc/netctl/joba ; systemctl status netctl@bellu.service ; journalctl -xn } > ~/log.test
#  cat ~/log.test 
Linux clevo 3.10.7-1-ARCH #1 SMP PREEMPT Thu Aug 15 11:55:34 CEST 2013 x86_64 GNU/Linux
filename:       /lib/modules/3.10.7-1-ARCH/kernel/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko.gz
license:        GPL
author:         Copyright(c) 2003-2013 Intel Corporation <ilw@linux.intel.com>
version:        in-tree:
description:    Intel(R) Wireless WiFi Link AGN driver for Linux
srcversion:     DC5138A9C7F45625ED2AC8E
depends:        iwlwifi,mac80211,cfg80211
intree:         Y
vermagic:       3.10.7-1-ARCH SMP preempt mod_unload modversions 
  rj45
* joba
  jobb
  jobc
  jobd
  jobe
  jobf
  maison
     1	Description='Batiment Principal'
     2	Interface=wlan0
     3	Connection=wireless
     4	Security=wpa
     5	IP=dhcp
     6	ESSID='Eta ECYO Mobile'
     7	Key=\"ma clé qui va bien
     8	priority=1
netctl@joba.service - Networking for netctl profile joba
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: failed (Result: exit-code) since sam 2013-08-24 16:15:38 CEST; 2min 31s ago
     Docs: man:netctl.profile(5)
  Process: 226 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)

aoû 24 16:15:38 clevo systemd[1]: Starting Networking for netctl profile joba...
aoû 24 16:15:38 clevo network[226]: Starting network profile 'joba'...
aoû 24 16:15:38 clevo systemd[1]: netctl@joba.service: main process exited, code=exited, status=1/FAILURE
aoû 24 16:15:38 clevo systemd[1]: Failed to start Networking for netctl profile joba.
aoû 24 16:15:38 clevo systemd[1]: Unit netctl@joba.service entered failed state.
-- Logs begin at lun 2013-07-08 08:22:27 CEST, end at sam 2013-08-24 16:16:28 CEST. --
Voilà.

À noter qu'avec le noyau normal j'ai souvent des freeze complet... je suis obligé de faire un hard reset.

Je suis vraiment perdu... quand iwl est chargé je n'est pas de wifi... quand il ne l'est pas le wifi fonctionne!

Merci encore d'avance pour toutes aides!!!

Re: [mise à jour] configuration cassée après

Publié : sam. 24 août 2013, 16:54
par FoolEcho
Pas tout compris...

iwldvm n'existe pas sous le noyau lts en tous cas.
Pour info, tu peux installer hwinfo et nous donner le résultat de hwinfo --netcard avec le noyau 3.10 et le lts ? Mais je penche pour un bug sur le module iwldvm dans le 3.7.

Mmmm... Tu peux nous montrer aussi les noms des interfaces si tu ne les fixes pas ?

Re: [mise à jour] configuration cassée après

Publié : sam. 24 août 2013, 17:50
par jean_no
Salut
netctl@joba.service - Networking for netctl profile joba
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: failed (Result: exit-code) since sam 2013-08-24 16:15:38 CEST; 2min 31s ago
Docs: man:netctl.profile(5)
Process: 226 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Pour afficher les détails : en root

Code : Tout sélectionner

systemctl status netctl@bellu.service
Tu notes le n° du Process ( ex 226 ) et

Code : Tout sélectionner

journalctl -b _PID=226
A+

Re: [mise à jour] configuration cassée après

Publié : sam. 24 août 2013, 22:14
par gile
Merci à tout deux!

alors :
Noyau normal

Code : Tout sélectionner

#  hwinfo --netcard
zsh: command not found: hwinfo
clevo#  hwinfo --netcard
12: PCI 19.0: 0200 Ethernet controller                          
  [Created at pci.319]
  Unique ID: rBUF.FIsgZ3sGH8B
  SysFS ID: /devices/pci0000:00/0000:00:19.0
  SysFS BusID: 0000:00:19.0
  Hardware Class: network
  Model: "Intel Ethernet controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1502 
  SubVendor: pci 0x1558 "CLEVO/KAPOK Computer"
  SubDevice: pci 0x1300 
  Revision: 0x04
  Driver: "e1000e"
  Driver Modules: "e1000e"
  Device File: eth0
  Memory Range: 0xf7d00000-0xf7d1ffff (rw,non-prefetchable)
  Memory Range: 0xf7d39000-0xf7d39fff (rw,non-prefetchable)
  I/O Ports: 0xf080-0xf09f (rw)
  IRQ: 44 (4229 events)
  HW Address: 00:90:f5:da:66:08
  Link detected: yes
  Module Alias: "pci:v00008086d00001502sv00001558sd00001300bc02sc00i00"
  Driver Info #0:
    Driver Status: e1000e is active
    Driver Activation Cmd: "modprobe e1000e"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

23: PCI 200.0: 0280 Network controller
  [Created at pci.319]
  Unique ID: B35A.RsOE1NfnPJ8
  Parent ID: hoOk.QY76_XP2XBC
  SysFS ID: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Intel WiFi Link 6000 Series"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4238 "WiFi Link 6000 Series"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1111 
  Revision: 0x35
  Driver: "iwlwifi"
  Driver Modules: "iwlwifi"
  Memory Range: 0xf7c00000-0xf7c01fff (rw,non-prefetchable)
  IRQ: 41 (no events)
  Module Alias: "pci:v00008086d00004238sv00008086sd00001111bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlwifi is active
    Driver Activation Cmd: "modprobe iwlwifi"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #16 (PCI bridge)
et

Code : Tout sélectionner

# systemctl status netctl@sedey.service 
netctl@sedey.service - Networking for netctl profile sedey
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: failed (Result: exit-code) since sam 2013-08-24 22:11:42 CEST; 36s ago
     Docs: man:netctl.profile(5)
  Process: 824 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)

aoû 24 22:11:42 clevo systemd[1]: Starting Networking for netctl profile sedey...
aoû 24 22:11:42 clevo network[824]: Starting network profile 'sedey'...
aoû 24 22:11:42 clevo network[824]: Interface 'wlan0' does not exist
aoû 24 22:11:42 clevo network[824]: Failed to bring the network up for profile 'sedey'
aoû 24 22:11:42 clevo systemd[1]: netctl@sedey.service: main process exited, code=exited, status=1/FAILURE
aoû 24 22:11:42 clevo systemd[1]: Failed to start Networking for netctl profile sedey.
aoû 24 22:11:42 clevo systemd[1]: Unit netctl@sedey.service entered failed state.
clevo# journalctl -b _PID=824
-- Logs begin at lun 2013-07-08 08:22:27 CEST, end at sam 2013-08-24 22:11:42 CEST. --
aoû 24 22:11:42 clevo network[824]: Starting network profile 'sedey'...
aoû 24 22:11:42 clevo network[824]: Interface 'wlan0' does not exist
aoû 24 22:11:42 clevo network[824]: Failed to bring the network up for profile 'sedey'
Noyau lts

Code : Tout sélectionner

hwinfo --netcard
12: PCI 19.0: 0200 Ethernet controller                          
  [Created at pci.319]
  Unique ID: ID95.FIsgZ3sGH8B
  SysFS ID: /devices/pci0000:00/0000:00:19.0
  SysFS BusID: 0000:00:19.0
  Hardware Class: network
  Model: "Intel Ethernet controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1502 
  SubVendor: pci 0x1558 "CLEVO/KAPOK Computer"
  SubDevice: pci 0x1300 
  Revision: 0x04
  Driver: "e1000e"
  Driver Modules: "e1000e"
  Device File: enp0s25
  Memory Range: 0xf7d00000-0xf7d1ffff (rw,non-prefetchable)
  Memory Range: 0xf7d39000-0xf7d39fff (rw,non-prefetchable)
  I/O Ports: 0xf080-0xf09f (rw)
  IRQ: 43 (3296 events)
  HW Address: 00:90:f5:da:66:08
  Link detected: yes
  Module Alias: "pci:v00008086d00001502sv00001558sd00001300bc02sc00i00"
  Driver Info #0:
    Driver Status: e1000e is active
    Driver Activation Cmd: "modprobe e1000e"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

23: PCI 200.0: 0282 WLAN controller
  [Created at pci.319]
  Unique ID: qru8.THHfYwfupY6
  Parent ID: hoOk.QY76_XP2XBC
  SysFS ID: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Intel WiFi Link 6000 Series"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4238 "WiFi Link 6000 Series"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1111 
  Revision: 0x35
  Driver: "iwlagn"
  Driver Modules: "iwlagn"
  Device File: wlp2s0
  Features: WLAN
  Memory Range: 0xf7c00000-0xf7c01fff (rw,non-prefetchable)
  IRQ: 44 (289 events)
  HW Address: 00:24:d7:3e:bd:dc
  Link detected: no
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
  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 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d00004238sv00008086sd00001111bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlagn is active
    Driver Activation Cmd: "modprobe iwlagn"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #16 (PCI bridge)

Code : Tout sélectionner

systemctl status netctl@sedey.service 
netctl@sedey.service - Networking for netctl profile sedey
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: active (exited) since dim 2013-08-25 09:25:08 CEST; 1min 31s ago
     Docs: man:netctl.profile(5)
  Process: 1120 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/netctl@.service/netctl@sedey.service
           ├─1132 wpa_supplicant -B -P /run/wpa_supplicant_wlp2s0.pid -i wlp2s0 -D nl80211,wext -c/run/network/wpa_supplicant_wlp2s0.conf
           └─1349 dhcpcd -4qL -t 10 wlp2s0

aoû 25 09:24:59 clevo network[1120]: Starting network profile 'sedey'...
aoû 25 09:25:03 clevo dhcpcd[1258]: version 6.0.5 starting
aoû 25 09:25:03 clevo dhcpcd[1258]: wlp2s0: soliciting a DHCP lease
aoû 25 09:25:08 clevo dhcpcd[1258]: wlp2s0: leased 192.168.1.42 for 86400 seconds
aoû 25 09:25:08 clevo dhcpcd[1258]: wlp2s0: adding host route to 192.168.1.42 via 127.0.0.1
aoû 25 09:25:08 clevo dhcpcd[1258]: wlp2s0: adding route to 192.168.1.0/24
aoû 25 09:25:08 clevo dhcpcd[1258]: wlp2s0: adding default route via 192.168.1.1
aoû 25 09:25:08 clevo systemd[1]: Started Networking for netctl profile sedey.

Après la désactivation de /etc/udev/rules.d/10-network.rules

Code : Tout sélectionner

> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:24:d7:3e:bd:dc brd ff:ff:ff:ff:ff:ff
3: enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
    link/ether 00:90:f5:da:66:08 brd ff:ff:ff:ff:ff:ff
Voilà. Je vais faire demain matin le reste... j'ai 14h de job dans les yeux... (^_^) Je crois que je n'ai plus les idées claire...

Merci pour tout!

Re: [mise à jour] configuration cassée après

Publié : sam. 24 août 2013, 22:21
par benjarobin
Ton interface ce nomme pas wlan0

Re: [mise à jour] configuration cassée après

Publié : dim. 25 août 2013, 09:30
par gile
Merci pour ta réponse
benjarobin a écrit :Ton interface ce nomme pas wlan0
Le non était fixé, comme indiqué au dessus.
Avec lts c'était ok...

De toute façons, essais fait, ça ne change rien. au démarrage avec lts il me répond toujours qu'iwl[...] n'est pas chargé.

Donc, je vois deux voies de résolution...
1) Trouver comment charger iwl avec le noyaux lts...
2) résoudre le problème d'affichage avec le noyau normal...

Je ne vois juste pas trop comment faire.

Re: [mise à jour] configuration cassée après

Publié : dim. 25 août 2013, 14:38
par FoolEcho
gile a écrit :1) Trouver comment charger iwl avec le noyaux lts...
Tu ne peux pas puisqu'il n'existe pas: le module chargé est différent dans ton cas selon que tu utilises le lts ou le noyau courant.
Mais je ne comprends pas pourquoi tu veux faire quoi que ce soit puisque ton wifi fonctionne avec le lts ?
gile a écrit :2) résoudre le problème d'affichage avec le noyau normal...
Pour ça, je crains que ça ne soit un bug, il faudrait vérifier dans ce qui est rapporté au niveau kernel (Arch et surtout upstream).

Re: [mise à jour] configuration cassée après (résolu)

Publié : mar. 27 août 2013, 12:04
par gile
Bon ben voilà... le problème d'affichage est réglé... je ne sait vraiment pas comment!!!

la seule chose que j'ai faite là est

Code : Tout sélectionner

➤  diff /mnt/backup/clevo/racine/etc/mkinitcpio.conf /etc/mkinitcpio.conf 
7c7
< MODULES="intel_agp i915 iwlwifi"
---
> MODULES="intel_agp i915"
57,58c57,58
< COMPRESSION="cat"
< #COMPRESSION="gzip"
---
> #COMPRESSION="cat"
> COMPRESSION="gzip"
et avec:

Code : Tout sélectionner

➤ uname -a
Linux clevo 3.10.9-1-ARCH #1 SMP PREEMPT Wed Aug 21 13:49:35 CEST 2013 x86_64 GNU/Linux
j'ai maintenant l'affichage qui fonctionne, tout en ayant le wifi.

Le truc, c'est que je ne comprends pas ce qui a réglé le problème.

En tout cas, un tout gros merci à tous pour votre aide.