Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
ispmarin
Posts: 35
Joined: 2005-09-06 12:41
Contact:

Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#1 Post by ispmarin »

Hi all,

I´m using a Intel 5300AGN on a Vostro 1320, running latest Sid AMD64. After a couple updates on the firmware-nonfree package, I´ve started getting intermitent problems with my wifi - it connects on some aps, get an ip, and work for like 10 seconds, and the net flux just stops, both on wicd and network-manager-kde. The interface is still connected, but I cannot ping or access the network in any way. The card and the hotspot is fine - works without problems under Windows 7. Anyone experiencing the same behavior? I can provide more information if needed.

Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection


Thank you
Last edited by ispmarin on 2010-03-18 18:11, edited 1 time in total.

emariz
Posts: 2901
Joined: 2008-10-17 07:59

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#2 Post by emariz »

I think that card needs the firmware provided by the package firmware-iwlwifi and not one in firmware-linux-non-free.

ispmarin
Posts: 35
Joined: 2005-09-06 12:41
Contact:

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#3 Post by ispmarin »

I have both installed.

ispmarin
Posts: 35
Joined: 2005-09-06 12:41
Contact:

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#4 Post by ispmarin »

Searching more on the internet, I've found that this bug seems to be happening on several different distros, so probably is a firmware problem. Still don't know how to solve it, but got these two messages on dmesg:

iwlagn 0000:0e:00.0: Microcode SW error detected. Restarting 0x82000000.
iwlagn 0000:0e:00.0: iwl_tx_agg_start on ra

Usually after these messages I cannot initiate new TCP/ICMP connections or the internet becomes really slow. I've put, after reading this forum from Red Hat
https://bugzilla.redhat.com/show_bug.cgi?id=519154#c11

the file /etc/modprobe.d/iwlagn.conf, with

options iwlagn swcrypto=1

and will test to see if it helps the problem.

ispmarin
Posts: 35
Joined: 2005-09-06 12:41
Contact:

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#5 Post by ispmarin »

And just got this error on dmesg:

[23257.385060] iwlagn 0000:0e:00.0: iwl_tx_agg_start on ra = 00:24:b2:d5:47:0a tid = 1
[23899.868031] CE: hpet increasing min_delta_ns to 15000 nsec
[25056.459445] wlan0: deauthenticated from 00:24:b2:d5:47:0a (Reason: 2)
[25056.459468] iwlagn 0000:0e:00.0: Stopping AGG while state not ON or starting
[25056.459476] iwlagn 0000:0e:00.0: queue number out of range: 0, must be 10 to 19
[25056.459483] ------------[ cut here ]------------
[25056.459505] WARNING: at /build/mattems-linux-2.6_2.6.32-9-amd64-NYTFdD/linux-2.6-2.6.32-9/debian/build/source_amd64_none/net/mac80211/agg-tx.c:150 ___ieee80211_stop_tx_ba_session+0x72/0x76 [mac80211]()
[25056.459514] Hardware name: Vostro 1320
[25056.459518] Modules linked in: iwlagn iwlcore mac80211 cfg80211 tun cryptd aes_x86_64 aes_generic nvidia(P) vboxnetadp vboxnetflt vboxdrv microcode acpi_cpufreq cpufreq_conservative cpufreq_stats cpufreq_userspace cpufreq_powersave uinput fuse coretemp loop firewire_sbp2 snd_hda_codec_idt joydev snd_hda_intel snd_hda_codec snd_hwdep arc4 snd_pcm_oss ecb snd_mixer_oss snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq uvcvideo videodev v4l1_compat dell_laptop snd_timer snd_seq_device v4l2_compat_ioctl32 snd soundcore psmouse serio_raw snd_page_alloc i2c_i801 ac btusb bluetooth rfkill dcdbas i2c_core battery processor evdev ext4 mbcache jbd2 crc16 usbhid hid sg sd_mod sr_mod cdrom crc_t10dif uhci_hcd ahci sdhci_pci sdhci libata intel_agp video output ehci_hcd button mmc_core led_class r8169 mii scsi_mod firewire_ohci firewire_core crc_itu_t usbcore nls_base thermal fan thermal_sys [last unloaded: cfg80211]
[25056.459688] Pid: 3981, comm: phy0 Tainted: P W 2.6.32-3-amd64 #1
[25056.459694] Call Trace:
[25056.459712] [<ffffffffa0ebb448>] ? ___ieee80211_stop_tx_ba_session+0x72/0x76 [mac80211]
[25056.459728] [<ffffffffa0ebb448>] ? ___ieee80211_stop_tx_ba_session+0x72/0x76 [mac80211]
[25056.459740] [<ffffffff8104dbf0>] ? warn_slowpath_common+0x77/0xa3
[25056.459756] [<ffffffffa0ebb448>] ? ___ieee80211_stop_tx_ba_session+0x72/0x76 [mac80211]
[25056.459771] [<ffffffffa0ebb54b>] ? __ieee80211_stop_tx_ba_session+0x3f/0x54 [mac80211]
[25056.459787] [<ffffffffa0ebafae>] ? ieee80211_sta_tear_down_BA_sessions+0x1a/0x38 [mac80211]
[25056.459804] [<ffffffffa0ebd6c7>] ? ieee80211_set_disassoc+0xd9/0x1d8 [mac80211]
[25056.459820] [<ffffffffa0ebd82a>] ? ieee80211_rx_mgmt_deauth+0x64/0x95 [mac80211]
[25056.459837] [<ffffffffa0ebfb12>] ? ieee80211_sta_work+0x1ad/0xe77 [mac80211]
[25056.459849] [<ffffffff8106146b>] ? worker_thread+0x188/0x21d
[25056.459866] [<ffffffffa0ebf965>] ? ieee80211_sta_work+0x0/0xe77 [mac80211]
[25056.459875] [<ffffffff81064a56>] ? autoremove_wake_function+0x0/0x2e
[25056.459884] [<ffffffff810612e3>] ? worker_thread+0x0/0x21d
[25056.459891] [<ffffffff81064789>] ? kthread+0x79/0x81
[25056.459900] [<ffffffff81011baa>] ? child_rip+0xa/0x20
[25056.459907] [<ffffffff81064710>] ? kthread+0x0/0x81
[25056.459914] [<ffffffff81011ba0>] ? child_rip+0x0/0x20
[25056.459920] ---[ end trace 7c199de027a36d77 ]---

fresneda
Posts: 9
Joined: 2010-04-06 04:17

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#6 Post by fresneda »

Hi, I have the same card, I am also on debian sid, but my kernel is 2.6.32.2 and everything works fine
for me as long as I stick to wicd for managing my connections.
Recently I updated my system and by mistake installed network-manager (and a host of other network-manager-* packages),
and as a result, not only wicd stopped associating with my draft N router, but also my system began to freeze as soon
as I logged into kde (when network managment started, I guess).
If I remove all network-manager related files, everything works like a charm. Here is some output right before one system freeze:

Apr 6 00:06:21 malaka kernel: [ 1931.776206] BUG: Bad page state in process iwlagn pfn:a0000
Apr 6 00:06:21 malaka kernel: [ 1931.776213] page:ffffea0002300000 flags:4000000000000000 count:0 mapcount:-1 mapping:(null) index:ffff8800a0000000
Apr 6 00:06:21 malaka kernel: [ 1931.776218] Pid: 1210, comm: iwlagn Tainted: P 2.6.32.2 #1
Apr 6 00:06:21 malaka kernel: [ 1931.776221] Call Trace:
Apr 6 00:06:21 malaka kernel: [ 1931.776230] [<ffffffff8106a6e2>] ? bad_page+0x102/0x113
Apr 6 00:06:21 malaka kernel: [ 1931.776235] [<ffffffff8106bbc7>] ? get_page_from_freelist+0x36e/0x4a5
Apr 6 00:06:21 malaka kernel: [ 1931.776240] [<ffffffff8104aefa>] ? sched_clock_local+0x12/0x75
Apr 6 00:06:21 malaka kernel: [ 1931.776250] [<ffffffff8102b87a>] ? update_shares+0x1e/0x4d
Apr 6 00:06:21 malaka kernel: [ 1931.776253] [<ffffffff8106bec7>] ? __alloc_pages_nodemask+0x102/0x575
Apr 6 00:06:21 malaka kernel: [ 1931.776258] [<ffffffff81182d9f>] ? __alloc_skb+0x38/0x148
Apr 6 00:06:21 malaka kernel: [ 1931.776260] [<ffffffff81182d9f>] ? __alloc_skb+0x38/0x148
Apr 6 00:06:21 malaka kernel: [ 1931.776264] [<ffffffff8106c34c>] ? __get_free_pages+0x12/0x50
Apr 6 00:06:21 malaka kernel: [ 1931.776266] [<ffffffff81182dc8>] ? __alloc_skb+0x61/0x148
Apr 6 00:06:21 malaka kernel: [ 1931.776281] [<ffffffffa0c200e4>] ? iwl_rx_allocate+0x94/0x2b5 [iwlcore]
Apr 6 00:06:21 malaka kernel: [ 1931.776285] [<ffffffff81106f3a>] ? swiotlb_map_page+0x0/0xc9
Apr 6 00:06:21 malaka kernel: [ 1931.776290] [<ffffffffa0c3f70e>] ? iwl_bg_rx_replenish+0x0/0x3c [iwlagn]
Apr 6 00:06:21 malaka kernel: [ 1931.776297] [<ffffffffa0c2032d>] ? iwl_rx_replenish+0x11/0x3c [iwlcore]
Apr 6 00:06:21 malaka kernel: [ 1931.776301] [<ffffffffa0c3f73b>] ? iwl_bg_rx_replenish+0x2d/0x3c [iwlagn]
Apr 6 00:06:21 malaka kernel: [ 1931.776305] [<ffffffff81043ac7>] ? worker_thread+0x13d/0x1c2
Apr 6 00:06:21 malaka kernel: [ 1931.776309] [<ffffffff81046f64>] ? autoremove_wake_function+0x0/0x2a
Apr 6 00:06:21 malaka kernel: [ 1931.776312] [<ffffffff8104398a>] ? worker_thread+0x0/0x1c2
Apr 6 00:06:21 malaka kernel: [ 1931.776314] [<ffffffff81046cfc>] ? kthread+0x75/0x7d
Apr 6 00:06:21 malaka kernel: [ 1931.776318] [<ffffffff8100bcda>] ? child_rip+0xa/0x20
Apr 6 00:06:21 malaka kernel: [ 1931.776321] [<ffffffff81046c87>] ? kthread+0x0/0x7d
Apr 6 00:06:21 malaka kernel: [ 1931.776323] [<ffffffff8100bcd0>] ? child_rip+0x0/0x20

ispmarin
Posts: 35
Joined: 2005-09-06 12:41
Contact:

Re: Intel 5100AGN, iwlagn, kernel 2.6.32-3 and Debian sid

#7 Post by ispmarin »

Thanks, but even with wicd and all the network-manager packages removed I still got the same error, and now worse because the bug in the 32-4 kernel.

Post Reply