2011-10-15 21:22:05

by David Rientjes

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Sat, 15 Oct 2011, Toralf Förster wrote:

> With a ThinkPad T400 with "Intel Corporation PRO/Wireless 5100 AGN [Shiloh]
> Network Connection" I experienced few times in the last week that the suddenly
> the network stops to work - no messages in /var/log/messages nor any other
> outout. Only a restart of the network services helped
>
> n22 ~ # uname -a
> Linux n22 3.1.0-rc9+ #1 SMP Fri Oct 14 19:21:56 CEST 2011 i686 Intel(R)
> Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
>
> It is an almost stable Gentoo.
>
> Anybody else made similar experiences ?
>

It looks like werner is reporting a similar problem in
https://lkml.org/lkml/2011/10/15/67 but with a different laptop,
information is vague in that regression report.

Adding him, Wey-Yi Guy from Intel, and linux-wireless mailing list to the
cc.

What's the last kernel prior to 3.1-rc9 that worked for you?

What does "iwconfig" show?

What does "dmesg | grep iwlagn" show?


2011-10-19 14:40:20

by Wey-Yi Guy

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Wed, 2011-10-19 at 04:01 -0700, Toralf Förster wrote:
> wwguy wrote at 21:30:47
> > When the problem happen, could you please dump the tx_queue status in
> > debugfs and send us the information
> >
> > In order to dump the the tx_queue, please do the following
> > 1. make sure you compile your kernel with CONFIG_IWLWIFI_DEBUGFS=y
> > 2. unload and reload the "iwlagn" module
> > 3. cd to /sys/kernel/debug/ieee80211/phyX/iwlwifi/debug (phX: "X" based
> > on your system)
> > 4. "$sudo cat tx_queue" to show the current tx queue status
>
> There was an outage 15 min ago, however the network was automatically restarted, therefore not sure whether it is related to the initial reported problem
> or not :
>
> tfoerste@n22 ~/tmp $ sudo cat /sys/kernel/debug/ieee80211/phy0/iwlagn/debug/tx_queue
> hwq 00: read=182 write=182 stop=0 swq_id=0x00 (ac 0/hwq 0)
> stop-count: 0
> hwq 01: read=0 write=0 stop=0 swq_id=0x05 (ac 1/hwq 1)
> stop-count: 0
> hwq 02: read=137 write=137 stop=0 swq_id=0x0a (ac 2/hwq 2)
> stop-count: 0
> hwq 03: read=7 write=7 stop=0 swq_id=0x0f (ac 3/hwq 3)
> stop-count: 0
> hwq 04: read=116 write=116 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 05: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 06: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 07: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 08: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 09: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 10: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 11: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 12: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 13: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 14: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 15: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 16: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 17: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 18: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 19: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)

hmm, all the queues looks ok, did you see the problem when you dump the
tx_queue?


>
> /var/log/messages gave :
>
> 2011-10-19T12:30:01.000+02:00 n22 cron[8068]: (root) CMD (/usr/lib/sa/sa2 -A >/dev/null)
> 2011-10-19T12:33:31.000+02:00 n22 dhcpcd[2755]: wlan0: carrier lost
> 2011-10-19T12:33:31.494+02:00 n22 kernel: cfg80211: Calling CRDA for country: DE
> 2011-10-19T12:33:31.000+02:00 n22 wpa_cli: interface wlan0 DISCONNECTED
> 2011-10-19T12:33:31.000+02:00 n22 wpa_cli: executing 'false /etc/init.d/net.wlan0 --quiet stop' failed
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: Deleting interface #2 wlan0, 9.155.188.41#123, interface stats: received=103, sent=123,
> dropped=0, active_time=2813 secs
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 213.154.229.24 interface 9.155.188.41 -> (none)
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 193.110.251.50 interface 9.155.188.41 -> (none)
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 95.140.150.140 interface 9.155.188.41 -> (none)
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 109.75.190.27 interface 9.155.188.41 -> (none)
> 2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: peers refreshed
> 2011-10-19T12:33:34.636+02:00 n22 kernel: wlan0: authenticate with 00:21:55:ac:8b:80 (try 1)
> 2011-10-19T12:33:34.637+02:00 n22 kernel: wlan0: authenticated
> 2011-10-19T12:33:34.639+02:00 n22 kernel: wlan0: waiting for beacon from 00:21:55:ac:8b:80
> 2011-10-19T12:33:34.685+02:00 n22 kernel: wlan0: beacon received
> 2011-10-19T12:33:34.689+02:00 n22 kernel: wlan0: associate with 00:21:55:ac:8b:80 (try 1)
> 2011-10-19T12:33:34.691+02:00 n22 kernel: wlan0: RX AssocResp from 00:21:55:ac:8b:80 (capab=0x431 status=0 aid=3)
> 2011-10-19T12:33:34.691+02:00 n22 kernel: wlan0: associated
> 2011-10-19T12:33:34.000+02:00 n22 dhcpcd[2755]: wlan0: carrier acquired
> 2011-10-19T12:33:34.000+02:00 n22 wpa_cli: interface wlan0 CONNECTED
> 2011-10-19T12:33:34.000+02:00 n22 wpa_cli: executing '/etc/init.d/net.wlan0 --quiet start' failed
> 2011-10-19T12:33:34.000+02:00 n22 dhcpcd[2755]: wlan0: rebinding lease of 9.155.188.41
> 2011-10-19T12:33:39.000+02:00 n22 dhcpcd[2755]: wlan0: acknowledged 9.155.188.41 from 9.64.163.10
> 2011-10-19T12:33:39.000+02:00 n22 dhcpcd[2755]: wlan0: checking for 9.155.188.41
> 2011-10-19T12:33:44.000+02:00 n22 dhcpcd[2755]: wlan0: leased 9.155.188.41 for 14400 seconds
> 2011-10-19T12:33:44.000+02:00 n22 dnsmasq[2334]: reading /etc/resolv.conf
> 2011-10-19T12:33:44.000+02:00 n22 dnsmasq[2334]: ignoring nameserver 127.0.0.1 - local interface
> 2011-10-19T12:33:46.000+02:00 n22 ntpd[2924]: Listen normally on 4 wlan0 9.155.188.41 UDP 123
> 2011-10-19T12:33:46.000+02:00 n22 ntpd[2924]: peers refreshed
> 2011-10-19T12:35:01.000+02:00 n22 cron[8662]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)
> 2011-10-19T12:40:01.000+02:00 n22 cron[9141]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
> 2011-10-19T12:40:01.000+02:00 n22 cron[9142]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)
> 2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: reading /etc/resolv.conf
> 2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: using nameserver 9.64.162.21#53
> 2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: using nameserver 9.64.163.21#53
> 2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: ignoring nameserver 127.0.0.1 - local interface
> 2011-10-19T12:45:01.000+02:00 n22 cron[9671]: (root) CMD (/usr/lib/sa/sa2 -A >/dev/null)
> 2011-10-19T12:45:01.000+02:00 n22 cron[9672]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)
>
> After rmmod and modprobe I restarted the network again, here's the output :
>
> n22 ~ # cat /sys/kernel/debug/ieee80211/phy1/iwlagn/debug/tx_queue
> hwq 00: read=2 write=2 stop=0 swq_id=0x00 (ac 0/hwq 0)
> stop-count: 0
> hwq 01: read=0 write=0 stop=0 swq_id=0x05 (ac 1/hwq 1)
> stop-count: 0
> hwq 02: read=6 write=6 stop=0 swq_id=0x0a (ac 2/hwq 2)
> stop-count: 0
> hwq 03: read=0 write=0 stop=0 swq_id=0x0f (ac 3/hwq 3)
> stop-count: 0
> hwq 04: read=76 write=76 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 05: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 06: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 07: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 08: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 09: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 10: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 11: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 12: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 13: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 14: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 15: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 16: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 17: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 18: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
> hwq 19: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
>
>
also looks ok here

Thanks
Wey




2011-10-17 17:06:54

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


Guy, Wey-Yi wrote at 16:04:06
> when you say "stop working", but it is still associated, correct? just
> no traffic get through.
exakt - and that is the problem.

I realize it only, when I try to open a web page or when KOnversation stops
working or sth similar

--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

2011-10-17 19:36:34

by Wey-Yi Guy

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Mon, 2011-10-17 at 00:52 -0700, Toralf Förster wrote:
> Toralf Förster wrote at 09:31:58
> > > What does "iwconfig" show?
>
> And this is the state if the netwerk stops working :
>
> wlan0 IEEE 802.11abgn ESSID:"IBM"
> Mode:Managed Frequency:2.462 GHz Access Point: 00:21:55:AC:8B:80
> Bit Rate=54 Mb/s Tx-Power=15 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality=45/70 Signal level=-65 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:77 Missed beacon:0
>
>
When the problem happen, could you please dump the tx_queue status in
debugfs and send us the information

In order to dump the the tx_queue, please do the following
1. make sure you compile your kernel with CONFIG_IWLWIFI_DEBUGFS=y
2. unload and reload the "iwlagn" module
3. cd to /sys/kernel/debug/ieee80211/phyX/iwlwifi/debug (phX: "X" based
on your system)
4. "$sudo cat tx_queue" to show the current tx queue status

Thanks
Wey




2011-10-18 18:42:07

by Wey-Yi Guy

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Tue, 2011-10-18 at 10:57 -0700, Toralf Förster wrote:
> wwguy wrote at 19:13:33
> > hmm, something broken there, it should be in the .config file, what tree
> > you are using?
> >
> tfoerste@n22 ~/devel/linux $ git describe
> v3.1-rc10
> tfoerste@n22 ~/devel/linux $ grep -B2 url .git/config
> [remote "origin"]
> fetch = +refs/heads/*:refs/remotes/origin/*
> url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> --
> merge = refs/heads/master
> [remote "remote_stable"]
> url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
> stable.git
>
>
>
you did not enable MAC80211_DEBUGFS

Wey


2011-10-18 17:19:20

by Wey-Yi Guy

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Tue, 2011-10-18 at 09:47 -0700, Toralf Förster wrote:
> wwguy wrote at 21:30:47
> > In order to dump the the tx_queue, please do the following
> > 1. make sure you compile your kernel with CONFIG_IWLWIFI_DEBUGFS=y
> I'm unable to select that config option .
>
> I double checked my config file - with the information from "make menuconfig" :
>
> Symbol: IWLWIFI_DEBUGFS [=n]
> Type : boolean
> Prompt: iwlagn debugfs support
> Defined at drivers/net/wireless/iwlwifi/Kconfig:72
> Depends on: NETDEVICES [=y] && WLAN [=y] && IWLAGN [=m] && MAC80211_DEBUGFS [=n]
> Location:
> -> Device Drivers
> -> Network device support (NETDEVICES [=y])
> -> Wireless LAN (WLAN [=y])
> -> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn) (IWLAGN [=m])
> -> Debugging Options
>
>
> it looks all good (.config attached) - but the option itself isn't included in the kernel config file nor I can select it :-(
>
hmm, something broken there, it should be in the .config file, what tree
you are using?

Thanks
Wey



2011-10-17 14:54:20

by Wey-Yi Guy

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages

On Mon, 2011-10-17 at 00:52 -0700, Toralf Förster wrote:
> Toralf Förster wrote at 09:31:58
> > > What does "iwconfig" show?
>
> And this is the state if the netwerk stops working :
>
> wlan0 IEEE 802.11abgn ESSID:"IBM"
> Mode:Managed Frequency:2.462 GHz Access Point: 00:21:55:AC:8B:80
> Bit Rate=54 Mb/s Tx-Power=15 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality=45/70 Signal level=-65 dBm
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:77 Missed beacon:0
>
>
when you say "stop working", but it is still associated, correct? just
no traffic get through.

Thanks
Wey


2011-10-17 07:32:06

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


David Rientjes wrote at 23:21:59
> What's the last kernel prior to 3.1-rc9 that worked for you?
2.6.39.4 (in general that kernel version rocks, reliable, stable, no problems
AFAICS, 3.0.x have problems in the DVB-T area, 3.1 added wlan issues)

> What does "iwconfig" show?
wlan0 IEEE 802.11abgn ESSID:"IBM"
Mode:Managed Frequency:2.462 GHz Access Point: 00:21:55:AC:8B:80
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=49/70 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

> What does "dmesg | grep iwlagn" show?
n22 ~ # dmesg | grep iwlagn
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn 0000:03:00.0: pci_resource_len = 0x00002000
iwlagn 0000:03:00.0: pci_resource_base = f81f8000
iwlagn 0000:03:00.0: HW Revision ID = 0x0
iwlagn 0000:03:00.0: irq 48 for MSI/MSI-X
iwlagn 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
iwlagn 0000:03:00.0: L1 Disabled; Enabling L0S
iwlagn 0000:03:00.0: device EEPROM VER=0x11e, CALIB=0x4
iwlagn 0000:03:00.0: Device SKU: 0Xf0
iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
iwlagn 0000:03:00.0: loaded firmware version 8.83.5.1 build 33692
iwlagn 0000:03:00.0: L1 Disabled; Enabling L0S
iwlagn 0000:03:00.0: Radio type=0x1-0x2-0x0
iwlagn 0000:03:00.0: L1 Disabled; Enabling L0S
iwlagn 0000:03:00.0: Radio type=0x1-0x2-0x0


--
MfG/Sincerely
Toralf F?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

2011-10-19 11:01:09

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


wwguy wrote at 21:30:47
> When the problem happen, could you please dump the tx_queue status in
> debugfs and send us the information
>
> In order to dump the the tx_queue, please do the following
> 1. make sure you compile your kernel with CONFIG_IWLWIFI_DEBUGFS=y
> 2. unload and reload the "iwlagn" module
> 3. cd to /sys/kernel/debug/ieee80211/phyX/iwlwifi/debug (phX: "X" based
> on your system)
> 4. "$sudo cat tx_queue" to show the current tx queue status

There was an outage 15 min ago, however the network was automatically restarted, therefore not sure whether it is related to the initial reported problem
or not :

tfoerste@n22 ~/tmp $ sudo cat /sys/kernel/debug/ieee80211/phy0/iwlagn/debug/tx_queue
hwq 00: read=182 write=182 stop=0 swq_id=0x00 (ac 0/hwq 0)
stop-count: 0
hwq 01: read=0 write=0 stop=0 swq_id=0x05 (ac 1/hwq 1)
stop-count: 0
hwq 02: read=137 write=137 stop=0 swq_id=0x0a (ac 2/hwq 2)
stop-count: 0
hwq 03: read=7 write=7 stop=0 swq_id=0x0f (ac 3/hwq 3)
stop-count: 0
hwq 04: read=116 write=116 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 05: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 06: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 07: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 08: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 09: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 10: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 11: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 12: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 13: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 14: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 15: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 16: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 17: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 18: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 19: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)

/var/log/messages gave :

2011-10-19T12:30:01.000+02:00 n22 cron[8068]: (root) CMD (/usr/lib/sa/sa2 -A >/dev/null)
2011-10-19T12:33:31.000+02:00 n22 dhcpcd[2755]: wlan0: carrier lost
2011-10-19T12:33:31.494+02:00 n22 kernel: cfg80211: Calling CRDA for country: DE
2011-10-19T12:33:31.000+02:00 n22 wpa_cli: interface wlan0 DISCONNECTED
2011-10-19T12:33:31.000+02:00 n22 wpa_cli: executing 'false /etc/init.d/net.wlan0 --quiet stop' failed
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: Deleting interface #2 wlan0, 9.155.188.41#123, interface stats: received=103, sent=123,
dropped=0, active_time=2813 secs
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 213.154.229.24 interface 9.155.188.41 -> (none)
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 193.110.251.50 interface 9.155.188.41 -> (none)
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 95.140.150.140 interface 9.155.188.41 -> (none)
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: 109.75.190.27 interface 9.155.188.41 -> (none)
2011-10-19T12:33:33.000+02:00 n22 ntpd[2924]: peers refreshed
2011-10-19T12:33:34.636+02:00 n22 kernel: wlan0: authenticate with 00:21:55:ac:8b:80 (try 1)
2011-10-19T12:33:34.637+02:00 n22 kernel: wlan0: authenticated
2011-10-19T12:33:34.639+02:00 n22 kernel: wlan0: waiting for beacon from 00:21:55:ac:8b:80
2011-10-19T12:33:34.685+02:00 n22 kernel: wlan0: beacon received
2011-10-19T12:33:34.689+02:00 n22 kernel: wlan0: associate with 00:21:55:ac:8b:80 (try 1)
2011-10-19T12:33:34.691+02:00 n22 kernel: wlan0: RX AssocResp from 00:21:55:ac:8b:80 (capab=0x431 status=0 aid=3)
2011-10-19T12:33:34.691+02:00 n22 kernel: wlan0: associated
2011-10-19T12:33:34.000+02:00 n22 dhcpcd[2755]: wlan0: carrier acquired
2011-10-19T12:33:34.000+02:00 n22 wpa_cli: interface wlan0 CONNECTED
2011-10-19T12:33:34.000+02:00 n22 wpa_cli: executing '/etc/init.d/net.wlan0 --quiet start' failed
2011-10-19T12:33:34.000+02:00 n22 dhcpcd[2755]: wlan0: rebinding lease of 9.155.188.41
2011-10-19T12:33:39.000+02:00 n22 dhcpcd[2755]: wlan0: acknowledged 9.155.188.41 from 9.64.163.10
2011-10-19T12:33:39.000+02:00 n22 dhcpcd[2755]: wlan0: checking for 9.155.188.41
2011-10-19T12:33:44.000+02:00 n22 dhcpcd[2755]: wlan0: leased 9.155.188.41 for 14400 seconds
2011-10-19T12:33:44.000+02:00 n22 dnsmasq[2334]: reading /etc/resolv.conf
2011-10-19T12:33:44.000+02:00 n22 dnsmasq[2334]: ignoring nameserver 127.0.0.1 - local interface
2011-10-19T12:33:46.000+02:00 n22 ntpd[2924]: Listen normally on 4 wlan0 9.155.188.41 UDP 123
2011-10-19T12:33:46.000+02:00 n22 ntpd[2924]: peers refreshed
2011-10-19T12:35:01.000+02:00 n22 cron[8662]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)
2011-10-19T12:40:01.000+02:00 n22 cron[9141]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
2011-10-19T12:40:01.000+02:00 n22 cron[9142]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)
2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: reading /etc/resolv.conf
2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: using nameserver 9.64.162.21#53
2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: using nameserver 9.64.163.21#53
2011-10-19T12:43:01.000+02:00 n22 dnsmasq[2334]: ignoring nameserver 127.0.0.1 - local interface
2011-10-19T12:45:01.000+02:00 n22 cron[9671]: (root) CMD (/usr/lib/sa/sa2 -A >/dev/null)
2011-10-19T12:45:01.000+02:00 n22 cron[9672]: (root) CMD (/usr/lib/sa/sa1 60 5 >/dev/null)

After rmmod and modprobe I restarted the network again, here's the output :

n22 ~ # cat /sys/kernel/debug/ieee80211/phy1/iwlagn/debug/tx_queue
hwq 00: read=2 write=2 stop=0 swq_id=0x00 (ac 0/hwq 0)
stop-count: 0
hwq 01: read=0 write=0 stop=0 swq_id=0x05 (ac 1/hwq 1)
stop-count: 0
hwq 02: read=6 write=6 stop=0 swq_id=0x0a (ac 2/hwq 2)
stop-count: 0
hwq 03: read=0 write=0 stop=0 swq_id=0x0f (ac 3/hwq 3)
stop-count: 0
hwq 04: read=76 write=76 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 05: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 06: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 07: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 08: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 09: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 10: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 11: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 12: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 13: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 14: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 15: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 16: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 17: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 18: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)
hwq 19: read=0 write=0 stop=0 swq_id=0x00 (ac 0/hwq 0)


--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

2011-10-18 16:47:10

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


wwguy wrote at 21:30:47
> In order to dump the the tx_queue, please do the following
> 1. make sure you compile your kernel with CONFIG_IWLWIFI_DEBUGFS=y
I'm unable to select that config option .

I double checked my config file - with the information from "make menuconfig" :

Symbol: IWLWIFI_DEBUGFS [=n]
Type : boolean
Prompt: iwlagn debugfs support
Defined at drivers/net/wireless/iwlwifi/Kconfig:72
Depends on: NETDEVICES [=y] && WLAN [=y] && IWLAGN [=m] && MAC80211_DEBUGFS [=n]
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Wireless LAN (WLAN [=y])
-> Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlagn) (IWLAGN [=m])
-> Debugging Options


it looks all good (.config attached) - but the option itself isn't included in the kernel config file nor I can select it :-(

--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3


Attachments:
.config (69.03 kB)

2011-10-17 07:52:48

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


Toralf F?rster wrote at 09:31:58
> > What does "iwconfig" show?

And this is the state if the netwerk stops working :

wlan0 IEEE 802.11abgn ESSID:"IBM"
Mode:Managed Frequency:2.462 GHz Access Point: 00:21:55:AC:8B:80
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=45/70 Signal level=-65 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:77 Missed beacon:0


--
MfG/Sincerely
Toralf F?rster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

2011-10-18 17:57:55

by Toralf Förster

[permalink] [raw]
Subject: Re: 3.1.0-rc9+ : wlan stops working w/o any error messages


wwguy wrote at 19:13:33
> hmm, something broken there, it should be in the .config file, what tree
> you are using?
>
tfoerste@n22 ~/devel/linux $ git describe
v3.1-rc10
tfoerste@n22 ~/devel/linux $ grep -B2 url .git/config
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
--
merge = refs/heads/master
[remote "remote_stable"]
url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
stable.git



--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3