You are not logged in.

#1 2012-03-17 15:29:56

klios
Member
Registered: 2012-03-17
Posts: 22

My laptop dont associate after suspend

Hi, im having a problem with my laptop, I have networkmanager and iwlwifi driver installed, and when i suspend, it dosnt associate or connect to any network. I have a HP Pavilion dv6, with intel wireless-n 1000.
Everything works fine except that, i have tried almost everything I read from this forum, also editing /etc/pm/config.d/modules and adding SUSPEND_MODULES, and it still dosnt work..

Please help me.
Thanks.

Excuse me for my poor english.

Offline

#2 2012-03-17 16:09:05

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: My laptop dont associate after suspend

Please add exact information about your card from "lspci", any relevant output you see in dmesg after resume and also say what kind of network authentication you use (unencrypted, wep, wpa).

What happens when you

sudo rc.d restart networkmanager

manually after resume? Does it connect then?

Offline

#3 2012-03-17 16:58:34

klios
Member
Registered: 2012-03-17
Posts: 22

Re: My laptop dont associate after suspend

lspci

0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000

dmesg | grep Intel

[    0.062562] CPU0: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz stepping 07
[    0.167863] Performance Events: PEBS fmt1+, SandyBridge events, Intel PMU driver.
[    4.748310] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.07
[    4.998421] agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset
[    5.388143] Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[    5.388145] Copyright(c) 2003-2011 Intel Corporation
[    5.388343] iwlwifi 0000:0d:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[    6.828416] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    6.828591] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    6.828744] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14

dmesg | grep iwlwifi

[    5.388180] iwlwifi 0000:0d:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    5.388189] iwlwifi 0000:0d:00.0: setting latency timer to 64
[    5.388219] iwlwifi 0000:0d:00.0: pci_resource_len = 0x00002000
[    5.388220] iwlwifi 0000:0d:00.0: pci_resource_base = ffffc900110c0000
[    5.388222] iwlwifi 0000:0d:00.0: HW Revision ID = 0x0
[    5.388308] iwlwifi 0000:0d:00.0: irq 49 for MSI/MSI-X
[    5.388343] iwlwifi 0000:0d:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[    5.388406] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[    5.410084] iwlwifi 0000:0d:00.0: device EEPROM VER=0x15d, CALIB=0x6
[    5.410087] iwlwifi 0000:0d:00.0: Device SKU: 0X50
[    5.410088] iwlwifi 0000:0d:00.0: Valid Tx ant: 0X1, Vali d Rx ant: 0X3
[    5.410095] iwlwifi 0000:0d:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[    5.476859] iwlwifi 0000:0d:00.0: loaded firmware version 39.31.5.1 build 35138
[   11.309633] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[   11.371395] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S

of

Im using unencrypted authetication with mac address filter. I can connect to any network until I suspend the laptop. Then i can not connect to any.

I restarted networkmanager and still not working at all.. Wired networks works but i cant connect to wireless networks.

Last edited by klios (2012-03-17 17:02:10)

Offline

#4 2012-03-17 17:04:07

klios
Member
Registered: 2012-03-17
Posts: 22

Re: My laptop dont associate after suspend

dmesg show me this after resume

dmesg | grep iwlwifi

[    5.388180] iwlwifi 0000:0d:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    5.388189] iwlwifi 0000:0d:00.0: setting latency timer to 64
[    5.388219] iwlwifi 0000:0d:00.0: pci_resource_len = 0x00002000
[    5.388220] iwlwifi 0000:0d:00.0: pci_resource_base = ffffc900110c0000
[    5.388222] iwlwifi 0000:0d:00.0: HW Revision ID = 0x0
[    5.388308] iwlwifi 0000:0d:00.0: irq 49 for MSI/MSI-X
[    5.388343] iwlwifi 0000:0d:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[    5.388406] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[    5.410084] iwlwifi 0000:0d:00.0: device EEPROM VER=0x15d, CALIB=0x6
[    5.410087] iwlwifi 0000:0d:00.0: Device SKU: 0X50
[    5.410088] iwlwifi 0000:0d:00.0: Valid Tx ant: 0X1, Valid Rx ant: 0X3
[    5.410095] iwlwifi 0000:0d:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[    5.476859] iwlwifi 0000:0d:00.0: loaded firmware version 39.31.5.1 build 35138
[   11.309633] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[   11.371395] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[ 6208.844460] iwlwifi 0000:0d:00.0: PCI INT A disabled
[ 6215.239312] iwlwifi 0000:0d:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6215.239325] iwlwifi 0000:0d:00.0: setting latency timer to 64
[ 6215.239391] iwlwifi 0000:0d:00.0: pci_resource_len = 0x00002000
[ 6215.239393] iwlwifi 0000:0d:00.0: pci_resource_base = ffffc9001108c000
[ 6215.239395] iwlwifi 0000:0d:00.0: HW Revision ID = 0x0
[ 6215.239492] iwlwifi 0000:0d:00.0: irq 51 for MSI/MSI-X
[ 6215.239527] iwlwifi 0000:0d:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[ 6215.239590] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[ 6215.261075] iwlwifi 0000:0d:00.0: device EEPROM VER=0x15d, CALIB=0x6
[ 6215.261076] iwlwifi 0000:0d:00.0: Device SKU: 0X50
[ 6215.261078] iwlwifi 0000:0d:00.0: Valid Tx ant: 0X1, Valid Rx ant: 0X3
[ 6215.261083] iwlwifi 0000:0d:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[ 6215.264264] iwlwifi 0000:0d:00.0: loaded firmware version 39.31.5.1 build 35138
[ 6216.872552] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[ 6216.932778] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[ 6221.941210] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6235.704155] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6243.949886] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6246.748080] iwlwifi 0000:0d:00.0: L1 Enabled; Disabling L0S
[ 6251.789209] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6259.968304] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6268.160788] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6276.349909] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6284.552357] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6292.731481] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6300.927231] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6309.116385] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6317.302181] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6325.484612] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6336.139151] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6344.331568] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues
[ 6352.520722] iwlwifi 0000:0d:00.0: fail to flush all tx fifo queues

dmesg | grep intel

[    0.895525] intel_idle: MWAIT substates: 0x21120
[    0.895526] intel_idle: v0.4 model 0x2A
[    0.895528] intel_idle: lapic_timer_reliable_states 0xffffffff
[    4.998421] agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset
[    4.998521] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
[    4.999445] agpgart-intel 0000:00:00.0: detected 32768K stolen memory
[    4.999560] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xb0000000
[    5.752382] fbcon: inteldrmfb (fb0) is primary device
[    5.976288] fb0: inteldrmfb frame buffer device
[    6.231008] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    6.231105] snd_hda_intel 0000:00:1b.0: irq 51 for MSI/MSI-X
[    6.231133] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 6210.273466] snd_hda_intel 0000:00:1b.0: PCI INT A disabled
[ 6211.623562] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 6211.624717] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 6211.624726] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 6211.624784] snd_hda_intel 0000:00:1b.0: irq 50 for MSI/MSI-X

Offline

#5 2012-03-18 01:04:18

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: My laptop dont associate after suspend

Thanks for the log output. I googled on the errors you have in your resume dmesg to not much avail. As you will have seen from other posts, a lot of users have problems with iwlwifi in recent kernels. But for some cards, there was a fix in January.
What happens when you resume and then unload and load the module again manually?

rmmod iwlwifi 
modprobe iwlwifi 11n_disable=1 swcrypto=1

Offline

#6 2012-03-18 14:19:46

arys
Member
Registered: 2012-02-02
Posts: 5

Re: My laptop dont associate after suspend

Strike0 wrote:

Thanks for the log output. I googled on the errors you have in your resume dmesg to not much avail. As you will have seen from other posts, a lot of users have problems with iwlwifi in recent kernels. But for some cards, there was a fix in January.
What happens when you resume and then unload and load the module again manually?

rmmod iwlwifi 
modprobe iwlwifi 11n_disable=1 swcrypto=1

I have the same problem, and this solution works for me.
I use it as script in /etc/pm/sleep.d/75wifi (don't forget to chmod +x) with the content:

#!/bin/bash
# Reload wifi driver
case "$l" in
    thaw|resume)
        sudo rmmod iwlwifi
        sudo modprobe iwlwifi 11n_disable=1 swcrypto=1
    ;;
    *) exit $NA
    ;;
esac

Offline

Board footer

Powered by FluxBB