ATUALIZAÇÃO: Depois de atualizar para o Ubuntu 14.04, o problema desapareceu. Talvez algo mude no módulo ou o módulo tenha mudado. Talvez seja importante que alguém dê uma olhada nisso, já que o 12.04 LTS é suportado até 2017.
aqui está minha configuração: - S.O .: Ubuntu 12.04 - Kernel: 3.5.0-25 - Laptop: Sony Vaio VGN-FZ21E - Carro WiFi: Intel PRO / Wireless 3945ABG [Golan] - motorista: iwl3945
Após a suspensão, meu WiFi não está funcionando, mesmo reiniciando os módulos de rede ou recarregamento. Parece simplesmente que o cartão está desligado e o Ubuntu não consegue se comunicar com ele. Pensei nisso quando analisei / var / log / syslog e descobri o seguinte:
Mar 11 17:33:25 pablo-laptop kernel: [ 5225.608061] sky2 0000:08:00.0: eth0: disabling interface
Mar 11 17:33:25 pablo-laptop kernel: [ 5225.619189] sky2 0000:08:00.0: eth0: enabling interface
Mar 11 17:33:25 pablo-laptop kernel: [ 5225.619706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.637161] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.637171] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.764525] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.764531] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.891926] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:26 pablo-laptop kernel: [ 5226.891932] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:26 pablo-laptop kernel: [ 5227.019321] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:26 pablo-laptop kernel: [ 5227.019326] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:26 pablo-laptop kernel: [ 5227.146696] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:26 pablo-laptop kernel: [ 5227.146701] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:26 pablo-laptop kernel: [ 5227.147044] iwl3945 0000:06:00.0: Unable to initialize device after 5 attempts.
Mar 11 17:33:31 pablo-laptop kernel: [ 5231.965726] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:31 pablo-laptop kernel: [ 5231.965735] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:31 pablo-laptop kernel: [ 5232.093091] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:31 pablo-laptop kernel: [ 5232.093097] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:31 pablo-laptop kernel: [ 5232.220442] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:31 pablo-laptop kernel: [ 5232.220447] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:32 pablo-laptop kernel: [ 5232.347782] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:32 pablo-laptop kernel: [ 5232.347787] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:32 pablo-laptop kernel: [ 5232.475196] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:32 pablo-laptop kernel: [ 5232.475201] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:32 pablo-laptop kernel: [ 5232.475555] iwl3945 0000:06:00.0: Unable to initialize device after 5 attempts.
Mar 11 17:33:36 pablo-laptop kernel: [ 5236.981027] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:36 pablo-laptop kernel: [ 5236.981040] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:36 pablo-laptop kernel: [ 5237.111258] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:36 pablo-laptop kernel: [ 5237.111267] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.241510] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.241517] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.371699] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.371706] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.501865] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.501873] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:37 pablo-laptop kernel: [ 5237.502352] iwl3945 0000:06:00.0: Unable to initialize device after 5 attempts.
Mar 11 17:33:44 pablo-laptop kernel: [ 5245.165294] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:44 pablo-laptop kernel: [ 5245.165302] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.292676] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.292681] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.420165] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.420171] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.547518] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.547523] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.675049] iwl3945 0000:06:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xffffffff, s/b 0xf802020
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.675054] iwl3945 0000:06:00.0: Unable to set up bootstrap uCode: -5
Mar 11 17:33:45 pablo-laptop kernel: [ 5245.675425] iwl3945 0000:06:00.0: Unable to initialize device after 5 attempts.
Após atualizar o kernel para 3.5.0-25, notei um novo módulo chamado iwlwifi , que também está presente no syslog e ele parece ter um diálogo com a placa wireless:
Mar 12 09:48:16 pablo-laptop kernel: [ 209.569037] iwlwifi: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
Mar 12 09:48:16 pablo-laptop kernel: [ 209.569044] iwlwifi: Copyright(c) 2003-2012 Intel Corporation
Mar 12 09:49:05 pablo-laptop kernel: Kernel logging (proc) stopped.
Alguma ideia?!
2013.03.12
Aqui está a saída de lspci -nn | grep 0280 :
06:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
Comando ls /etc/modprobe.d | grep iwl deu qualquer coisa ....
2013.03.13
O iwlwifi não estava presente em / etc / modules e foi adicionado com sucesso ao /etc/modprobe.d/blacklist.conf.
Eu tentei suspender e continuar por três vezes, mas na quarta vez o problema ocorreu.
p.s. O mesmo problema aconteceu com o Kernel 3.2, onde o iwlwifi não estava presente.
IMPORTANTE: O Upgrade Manager está me aconselhando a instalar a 'estrutura de gerenciamento de rede (arquivos comuns para wifi e celular)' e 'estrutura de gerenciamento de rede (caixas de diálogo do GNOME para wifi e celular)'. Devo instalá-los? O que eles fazem exatamente? Pode afetar meu problema?
2013.03.14
Adicionada a seguinte linha no arquivo /etc/pm/config.d/config
SUSPEND_MODULES="iwl3945"
Após alguns testes bem-sucedidos, o problema ocorreu com novas mensagens de erro no Syslog:
iwl3945 0000:06:00.0: bad EEPROM signature,EEPROM_GP=0x00000007
iwl3945 0000:06:00.0: EEPROM not found, EEPROM_GP=0xffffffff
iwl3945 0000:06:00.0: Unable to init EEPROM
iwl3945: probe of 0000:06:00.0 failed with error -2
Então eu fiz outro teste, que foi bem sucedido, e estas são as mensagens no syslog:
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
iwl3945: Copyright(c) 2003-2011 Intel Corporation
iwl3945 0000:06:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
iwl3945 0000:06:00.0: Detected Intel Wireless WiFi Link 3945ABG
iwl3945 0000:06:00.0: irq 48 for MSI/MSI-X
Registered led device: phy0-led
cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
iwl3945 0000:06:00.0: loaded firmware version 15.32.2.9
2013.03.18
O problema ocorreu novamente e notei um traço chamado no Syslog:
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] Pid: 3535, comm: modprobe Tainted: P O 3.5.0-25-generic #39~precise1-Ubuntu
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] Call Trace:
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c1045c62>] warn_slowpath_common+0x72/0xa0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887d986>] ? _il_grab_nic_access+0x96/0xa0 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887d986>] ? _il_grab_nic_access+0x96/0xa0 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c1045d33>] warn_slowpath_fmt+0x33/0x40
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887d986>] _il_grab_nic_access+0x96/0xa0 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887dac2>] il_wr_prph+0x32/0x90 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887dc79>] il_apm_init+0x159/0x1d0 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f88c44b5>] il3945_apm_init+0x15/0x130 [iwl3945]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f887f085>] il_eeprom_init+0x45/0x1b0 [iwlegacy]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c12f2daa>] ? pci_bus_write_config_byte+0x5a/0x70
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f88c2e9d>] il3945_pci_probe+0x19d/0x4b0 [iwl3945]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13bdbe5>] ? pm_runtime_enable+0x45/0x70
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c12fa4b7>] local_pci_probe+0x47/0xb0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c12fba08>] pci_device_probe+0x68/0x90
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c11b3077>] ? sysfs_create_link+0x17/0x20
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b5201>] really_probe+0x51/0x1c0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13bf099>] ? pm_runtime_barrier+0x49/0xb0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b54aa>] driver_probe_device+0x3a/0x60
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b5561>] __driver_attach+0x91/0xa0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b54d0>] ? driver_probe_device+0x60/0x60
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b3c12>] bus_for_each_dev+0x42/0x70
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b4ee1>] driver_attach+0x21/0x30
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b54d0>] ? driver_probe_device+0x60/0x60
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b4b47>] bus_add_driver+0x187/0x260
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c12fba30>] ? pci_device_probe+0x90/0x90
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c13b5a16>] driver_register+0x66/0x110
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c12fb7d2>] __pci_register_driver+0x42/0xa0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f8853050>] il3945_init+0x50/0x1000 [iwl3945]
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c103b80f>] ? set_memory_nx+0x5f/0x70
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c1003034>] do_one_initcall+0x34/0x170
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<f8853000>] ? 0xf8852fff
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c10a544d>] sys_init_module+0xad/0x210
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c11519d3>] ? sys_close+0x73/0xc0
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] [<c15ea8df>] sysenter_do_call+0x12/0x28
Mar 18 09:39:31 pablo-laptop kernel: [18048.564008] ---[ end trace f7ec9f13abaf4b1b ]---
Mar 18 09:39:31 pablo-laptop kernel: [18048.692242] iwl3945 0000:06:00.0: bad EEPROM signature,EEPROM_GP=0x00000007
Mar 18 09:39:31 pablo-laptop kernel: [18048.692249] iwl3945 0000:06:00.0: EEPROM not found, EEPROM_GP=0xffffffff
Mar 18 09:39:31 pablo-laptop kernel: [18048.692283] iwl3945 0000:06:00.0: Unable to init EEPROM
Mar 18 09:39:31 pablo-laptop kernel: [18048.692467] iwl3945: probe of 0000:06:00.0 failed with error -2
ATUALIZAÇÃO: Depois de atualizar para o Ubuntu 14.04, o problema desapareceu. Talvez algo mude no módulo ou o módulo tenha mudado. Talvez seja importante que alguém dê uma olhada nisso, já que o 12.04 LTS é suportado até 2017.
Aqui está uma técnica que às vezes funciona:
gksudo gedit /etc/pm/config.d/config
Adicione uma única linha:
SUSPEND_MODULES="iwl3945"
Revise, salve e feche o gedit. Reinicie, suspenda e deixe-nos ter seu relatório.
O driver iwl3945 está correto para o seu dispositivo; iwlwifi não é. Vamos ver porque ele está carregando e parar. Por favor, faça:
gksudo gedit /etc/modules
Se o iwlwifi estiver lá, remova-o. Revise, salve e feche o gedit. Agora faça:
sudo su
echo "blacklist iwlwifi" >> /etc/modprobe.d/blacklist.conf
exit
Agora reinicie e diga como está funcionando.
até que este bug seja corrigido, o que eu uso melhor é:
sudo service network-manager restart
digite no terminal após a suspensão
Eu ainda não tentei o suficiente para ter certeza de que funcionaria sempre, mas espero que isso aconteça