Bug 703855

Summary: Intel 6300N chipset now recognized but slow
Product: [Fedora] Fedora Reporter: Dan <Danzisso>
Component: kernelAssignee: Stanislaw Gruszka <sgruszka>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: akira.ueno, danw, darren, dcbw, dwmw2, gansalmon, hui.xiao, itamar, jane.lv, jonathan, jvillalo, kernel-maint, linville, luyu, madhu.chinakonda, pmehta, sebas0, sgruszka, wey-yi.w.guy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 687931 Environment:
Last Closed: 2012-06-01 13:28:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Full output
none
dmesg.debug0x43fff.txt
none
requested dmesg output for 6250
none
enable_wimax_coexist.patch none

Description Dan 2011-05-11 13:09:08 UTC
+++ This bug was initially created as a clone of Bug #687931 +++

Description of problem:

Following bug #687931, now "engineering sample" Intel 6300N Wifi chipset is recognized.
Installed Fedora 15 Beta, kernel up-to-date (2.6.38.5).

Wifi works but is painfully slow. "yum update" speed unit is B/sec (and drops to zero eventually after a min or two of decline), and
websites take ages to load. Of course, under win7, speed is normal. Speed is also
normal under F15 with my TPLink wifi USB stick.
Does this problem exist for all Intel 6300N chipsets or only for engineering samples?

If you need me to provide any info/output, please ask ans I will gladly give them to you.

Comment 1 wey-yi.w.guy 2011-05-11 14:28:48 UTC
it is certainly does not happy on all the Intel 6300N chipsets. First, I am not sure how the "engineer sample" will perform since we did not have the test data to compare with.

I will also like to collect more information on your setup, such as AP model, system configuration, channel/band; having the dmesg log also help us to understand what the possible reason for slow tpt.

Thanks
Wey

Comment 2 Dan 2011-05-11 15:20:18 UTC
It does perform perfectly fine when I boot up under Win7, so obviously it isn't a hardware problem.

My computer is a Clevo X8100 with the purest Fedora 15 (no fancy repos or packages, except RPMFusion for catalyst). For the other info you need, just give me the commands you need me to type and I will give you the output when I'm back home.

Thank you in advance

Comment 3 wey-yi.w.guy 2011-05-11 15:27:11 UTC
without know much of your setup and environment, let's start with the basic

1. what band and freq you are using?
2. Do you have Bluetooth in your system
3. Could you please collect 2 type of dmesg log
  a. sudo modprobe -r iwlagn
     sudo dmesg -c
     sudo modprobe iwlagn
     dmesg | grep iwl > output file 1

  b. sudo modprobe -r iwlagn
     sudo dmesg -c
     sudo modprobe iwlagn debug=0x43fff
     dmesg | grep iwl > output file 2

If you can help to provide me those information, it will be very helpful and get us understand what you are facing

Thanks
Wey

Comment 4 Dan 2011-05-13 18:06:27 UTC
here comes the info

1) How do I get that info? It's 802.11N standard wifi.

2) I have bluetooth but doesnt seem supported.

Right after boot :
dmesg | grep iwl
[    7.220166] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[    7.220169] iwlagn: Copyright(c) 2003-2010 Intel Corporation
[    7.220234] iwlagn 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    7.220242] iwlagn 0000:03:00.0: setting latency timer to 64
[    7.220274] iwlagn 0000:03:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
[    7.235274] iwlagn 0000:03:00.0: device EEPROM VER=0x423, CALIB=0x5
[    7.235279] iwlagn 0000:03:00.0: Device SKU: 0Xb
[    7.235283] iwlagn 0000:03:00.0: Valid Tx ant: 0X7, Valid Rx ant: 0X7
[    7.235307] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    7.235393] iwlagn 0000:03:00.0: irq 57 for MSI/MSI-X
[    7.241946] iwlagn 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532
[    7.250621] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    9.232532] NetworkManager[833]: <info> (wlan1): new 802.11 WiFi device (driver: 'iwlagn' ifindex: 3)
[   79.261777] iwlagn 0000:03:00.0: Aggregation not enabled for tid 0 because load = 0


modprobe -r iwlagn froze my computer, had to reboot

Comment 5 wey-yi.w.guy 2011-05-13 19:11:14 UTC
1. I was refer to 2.4/5.2 GHz, also what channel you are using, is it 20MHz or 40MHz
2. system freeze, that is bad :-(, what kernel version you are running?

Thanks
Wey

Comment 6 Dan 2011-05-13 19:24:57 UTC
ifconfig :

wlan1     Link encap:Ethernet  HWaddr 00:15:00:56:51:BC  
          inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: 2a01:e35:2e32:6a40:215:ff:fe56:51bc/64 Scope:Global
          inet6 addr: fe80::215:ff:fe56:51bc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1931 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1686 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1703315 (1.6 MiB)  TX bytes:341374 (333.3 KiB)

iwconfig :

wlan1     IEEE 802.11abgn  ESSID:"25avpp"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: #not needed for debug#   
          Bit Rate=72.2 Mb/s   Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=63/70  Signal level=-47 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:278  Invalid misc:89   Missed beacon:0

uname -r :

2.6.38.5-24.fc15.x86_64

Comment 7 Dan 2011-05-19 15:51:57 UTC
So do you have good news? Has the problem been located? Will there be a fix for 2.6.38.x for this issue? Because in the meantime all those configurations can be seen as having no Wifi at all.

Comment 8 wey-yi.w.guy 2011-06-08 14:44:53 UTC
Could you please help provide inforamtion in comment #3? I will like to see the dmesg log

Thanks
Wey

Comment 9 Dan 2011-06-08 22:11:38 UTC
I gave you all that info except for the modprobe part, as it still sends my PC into an unrecoverable crash (have to hard shutdown). Tested with all last updates done, still crashing, so I guess you're not getting that modprobe output (except the post-boot one I provided you). Please save me!

Comment 10 wey-yi.w.guy 2011-06-08 23:25:47 UTC
I am confuse, I did not see any attachment here. what I am looking for is if you can lod the module with following command and collect the log

$sudo modprobe iwlagn debug=0x43fff

Of cause, you will need to enable the full debugging output in the iwlagn driver

Thanks
Wey

Comment 11 Dan 2011-06-10 23:16:41 UTC
Just tell me how to do all that and I will

Comment 12 Dan 2011-06-13 16:54:41 UTC
Created attachment 504497 [details]
Full output

Added as attachment : output of dmesg after typing the following command and then surfing a little (until lock-up) :
$sudo modprobe iwlagn debug=0x43fff

Comment 13 Dan 2011-06-27 14:59:37 UTC
Did I provide you all the necessary info? Does my trace show what the problem is?
Tell me if now you can fix it, because having to plug an €10 USB Wifi dongle (and not forget it at home) into a brand-new €2000 laptop bought for performance is quite annoying. Is the fix easy now?

Comment 14 Stanislaw Gruszka 2011-06-27 15:17:21 UTC
I'll will try to reproduce this problem on devices we have in the lab.

Comment 15 wey-yi.w.guy 2011-06-28 15:06:28 UTC
the log not showing anything. Stanislaw, can you reproduce the problem?

Thanks
Wey

Comment 16 Stanislaw Gruszka 2011-07-01 12:41:44 UTC
I could not reproduce the problem, but I did not test on Fedora (we had problem to provision remote machine with Fedora) only on RHEL6 and upstream kernel. In this remote lab there were G-only capable APs. I had following results:
wpa2-psk: 500kB/s, unencrypted upstream 1MB/s unencrypted rhel6 2MB/s.
So performance is bad, but no so much as in Dan case (This issue could be AP specific). Also there is regression between RHEL6 and upstream kernel on unencrypted network.

Dan, could you try to install current upstream driver using compat-wireless
http://people.redhat.com/sgruszka/compact_wireless.html, and see if problem is fixed there. If not please also try some module parameters, i.e:
11n_disable=0, swcrypto=1, plpc_check=0 ,bt_coex_active=0

Comment 17 Stanislaw Gruszka 2011-07-01 12:59:00 UTC
Created attachment 510857 [details]
dmesg.debug0x43fff.txt

Comment 18 Dan 2011-07-03 16:35:51 UTC
"Dan, could you try to install current upstream driver using compat-wireless
http://people.redhat.com/sgruszka/compact_wireless.html"
the link talks about 2.6.37 FC14, Im on a F15. Are the most recent drivers in the repo? How can I install and tell my Fedora to use them instead of my stock driver?

"If not please also try some module parameters, i.e:
11n_disable=0, swcrypto=1, plpc_check=0 ,bt_coex_active=0"
Just tell me what to do and type in my terminal, I'm not very into debugging.

Comment 19 Dan 2011-07-03 16:37:05 UTC
(In reply to comment #18)
> "Dan, could you try to install current upstream driver using compat-wireless
> http://people.redhat.com/sgruszka/compact_wireless.html"
> the link talks about 2.6.37 FC14, Im on a F15. Are the most recent drivers in
> the repo? How can I install and tell my Fedora to use them instead of my stock
> driver?
> 
> "If not please also try some module parameters, i.e:
> 11n_disable=0, swcrypto=1, plpc_check=0 ,bt_coex_active=0"
> Just tell me what to do and type in my terminal, I'm not very into debugging.

Ok, seen F15 is also there, just tell me how to install it

Comment 20 Stanislaw Gruszka 2011-07-04 13:16:26 UTC
I believe all you need to know to install is already written on 
http://people.redhat.com/sgruszka/compact_wireless.html page.

Comment 21 Dan 2011-07-09 08:41:00 UTC
Installed compat-next, changed nothing, and a rmmod iwlagn (to add it back with your specified options) still freezes my machine to the death (hard reboot is the only way out)

Comment 22 Dan 2011-07-09 08:41:33 UTC
Installed compat-next, it changed nothing, and a rmmod iwlagn (to add it back with your specified options) still freezes my machine to the death (hard reboot is the only way out)

Comment 23 Stanislaw Gruszka 2011-07-11 15:44:58 UTC
So this probably is AP specific problem.

Regarding rmmod crash, is this happen on F15 stock driver too? I'm aware of upstream rmmod crash, which is now fixed in upstream, but perhaps not in compat wireless packages.

To not realod module and test options, you can modify modprobe config: 

> echo "options iwlagn 11n_disable=0 swcrypto=1 plpc_check=0 bt_coex_active=0" >> /etc/modprobe.d/iwlwifi.conf

Check "modinfo iwlagn" to see if options are valid.

Comment 24 Dan 2011-07-11 16:17:45 UTC
"So this probably is AP specific problem."

What do you mean by "AP specific"? It does happen on every Wifi network, and with win7 I am getting perfect speeds.

For the options, I will try them as soon as I get back to my laptop.

Comment 25 Stanislaw Gruszka 2011-07-11 16:28:17 UTC
I mean this is iwlwifi problem that happen only with some APs, but I could be wrong ...

Comment 26 Dan 2011-07-15 21:42:04 UTC
Here comes the output of a modinfo after the echo :

[root@computer ~]# modinfo iwlagn
filename:       /lib/modules/2.6.38.8-32.fc15.x86_64/extra/compat-wireless-next/drivers/net/wireless/iwlwifi/iwlagn.ko
license:        GPL
author:         Copyright(c) 2003-2011 Intel Corporation <ilw.com>
version:        in-tree:d
description:    Intel(R) Wireless WiFi Link AGN driver for Linux
firmware:       iwlwifi-5150-2.ucode
firmware:       iwlwifi-5000-5.ucode
firmware:       iwlwifi-6000g2b-5.ucode
firmware:       iwlwifi-6000g2a-5.ucode
firmware:       iwlwifi-6050-5.ucode
firmware:       iwlwifi-6000-4.ucode
firmware:       iwlwifi-100-5.ucode
firmware:       iwlwifi-1000-5.ucode
firmware:       iwlwifi-105-5.ucode
firmware:       iwlwifi-2030-5.ucode
firmware:       iwlwifi-2000-5.ucode
srcversion:     48393202C21DEFB4BFDB718
alias:          pci:v00008086d00000892sv*sd00000466bc*sc*i*
alias:          pci:v00008086d00000893sv*sd00000266bc*sc*i*
alias:          pci:v00008086d00000892sv*sd00000066bc*sc*i*
alias:          pci:v00008086d00000892sv*sd00000462bc*sc*i*
alias:          pci:v00008086d00000893sv*sd00000262bc*sc*i*
alias:          pci:v00008086d00000892sv*sd00000062bc*sc*i*
alias:          pci:v00008086d00000894sv*sd00000426bc*sc*i*
alias:          pci:v00008086d00000895sv*sd00000226bc*sc*i*
alias:          pci:v00008086d00000894sv*sd00000026bc*sc*i*
alias:          pci:v00008086d00000894sv*sd00000422bc*sc*i*
alias:          pci:v00008086d00000895sv*sd00000222bc*sc*i*
alias:          pci:v00008086d00000894sv*sd00000022bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004466bc*sc*i*
alias:          pci:v00008086d0000088Fsv*sd00004266bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004066bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004464bc*sc*i*
alias:          pci:v00008086d0000088Fsv*sd00004264bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004064bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004460bc*sc*i*
alias:          pci:v00008086d0000088Fsv*sd00004260bc*sc*i*
alias:          pci:v00008086d0000088Esv*sd00004060bc*sc*i*
alias:          pci:v00008086d00000887sv*sd00004466bc*sc*i*
alias:          pci:v00008086d00000888sv*sd00004266bc*sc*i*
alias:          pci:v00008086d00000887sv*sd00004066bc*sc*i*
alias:          pci:v00008086d00000887sv*sd00004462bc*sc*i*
alias:          pci:v00008086d00000888sv*sd00004262bc*sc*i*
alias:          pci:v00008086d00000887sv*sd00004062bc*sc*i*
alias:          pci:v00008086d00000890sv*sd00004426bc*sc*i*
alias:          pci:v00008086d00000891sv*sd00004226bc*sc*i*
alias:          pci:v00008086d00000890sv*sd00004026bc*sc*i*
alias:          pci:v00008086d00000890sv*sd00004422bc*sc*i*
alias:          pci:v00008086d00000891sv*sd00004222bc*sc*i*
alias:          pci:v00008086d00000890sv*sd00004022bc*sc*i*
alias:          pci:v00008086d00000896sv*sd00005027bc*sc*i*
alias:          pci:v00008086d00000896sv*sd00005025bc*sc*i*
alias:          pci:v00008086d00000897sv*sd00005017bc*sc*i*
alias:          pci:v00008086d00000897sv*sd00005015bc*sc*i*
alias:          pci:v00008086d00000896sv*sd00005007bc*sc*i*
alias:          pci:v00008086d00000896sv*sd00005005bc*sc*i*
alias:          pci:v00008086d000008AEsv*sd00001027bc*sc*i*
alias:          pci:v00008086d000008AEsv*sd00001025bc*sc*i*
alias:          pci:v00008086d000008AFsv*sd00001017bc*sc*i*
alias:          pci:v00008086d000008AFsv*sd00001015bc*sc*i*
alias:          pci:v00008086d000008AEsv*sd00001007bc*sc*i*
alias:          pci:v00008086d000008AEsv*sd00001005bc*sc*i*
alias:          pci:v00008086d00000084sv*sd00001316bc*sc*i*
alias:          pci:v00008086d00000084sv*sd00001216bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001326bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001226bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001306bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001206bc*sc*i*
alias:          pci:v00008086d00000084sv*sd00001315bc*sc*i*
alias:          pci:v00008086d00000084sv*sd00001215bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001325bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001225bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001305bc*sc*i*
alias:          pci:v00008086d00000083sv*sd00001205bc*sc*i*
alias:          pci:v00008086d00000886sv*sd00001317bc*sc*i*
alias:          pci:v00008086d00000886sv*sd00001315bc*sc*i*
alias:          pci:v00008086d00000885sv*sd00001327bc*sc*i*
alias:          pci:v00008086d00000885sv*sd00001325bc*sc*i*
alias:          pci:v00008086d00000885sv*sd00001307bc*sc*i*
alias:          pci:v00008086d00000885sv*sd00001305bc*sc*i*
alias:          pci:v00008086d00000089sv*sd00001316bc*sc*i*
alias:          pci:v00008086d00000089sv*sd00001311bc*sc*i*
alias:          pci:v00008086d00000087sv*sd00001326bc*sc*i*
alias:          pci:v00008086d00000087sv*sd00001321bc*sc*i*
alias:          pci:v00008086d00000087sv*sd00001306bc*sc*i*
alias:          pci:v00008086d00000087sv*sd00001301bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005226bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005225bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005221bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005207bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005206bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005205bc*sc*i*
alias:          pci:v00008086d00000091sv*sd00005201bc*sc*i*
alias:          pci:v00008086d00000090sv*sd00005216bc*sc*i*
alias:          pci:v00008086d00000090sv*sd00005215bc*sc*i*
alias:          pci:v00008086d00000090sv*sd00005211bc*sc*i*
alias:          pci:v00008086d0000008Bsv*sd00005317bc*sc*i*
alias:          pci:v00008086d0000008Bsv*sd00005315bc*sc*i*
alias:          pci:v00008086d0000008Asv*sd00005327bc*sc*i*
alias:          pci:v00008086d0000008Asv*sd00005325bc*sc*i*
alias:          pci:v00008086d0000008Asv*sd00005307bc*sc*i*
alias:          pci:v00008086d0000008Asv*sd00005305bc*sc*i*
alias:          pci:v00008086d00000085sv*sd00001316bc*sc*i*
alias:          pci:v00008086d00000085sv*sd00001311bc*sc*i*
alias:          pci:v00008086d00000082sv*sd00001326bc*sc*i*
alias:          pci:v00008086d00000082sv*sd00001321bc*sc*i*
alias:          pci:v00008086d00000082sv*sd00001307bc*sc*i*
alias:          pci:v00008086d00000082sv*sd00001306bc*sc*i*
alias:          pci:v00008086d00000082sv*sd00001301bc*sc*i*
alias:          pci:v00008086d00004239sv*sd00001316bc*sc*i*
alias:          pci:v00008086d00004239sv*sd00001311bc*sc*i*
alias:          pci:v00008086d00004238sv*sd00001111bc*sc*i*
alias:          pci:v00008086d0000422Csv*sd00001326bc*sc*i*
alias:          pci:v00008086d0000422Csv*sd00001321bc*sc*i*
alias:          pci:v00008086d0000422Csv*sd00001307bc*sc*i*
alias:          pci:v00008086d0000422Csv*sd00001306bc*sc*i*
alias:          pci:v00008086d0000422Csv*sd00001301bc*sc*i*
alias:          pci:v00008086d0000422Bsv*sd00001121bc*sc*i*
alias:          pci:v00008086d0000422Bsv*sd00001101bc*sc*i*
alias:          pci:v00008086d0000423Dsv*sd00001316bc*sc*i*
alias:          pci:v00008086d0000423Dsv*sd00001216bc*sc*i*
alias:          pci:v00008086d0000423Dsv*sd00001311bc*sc*i*
alias:          pci:v00008086d0000423Dsv*sd00001211bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001321bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001221bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001306bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001206bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001301bc*sc*i*
alias:          pci:v00008086d0000423Csv*sd00001201bc*sc*i*
alias:          pci:v00008086d0000423Bsv*sd00001011bc*sc*i*
alias:          pci:v00008086d0000423Asv*sd00001021bc*sc*i*
alias:          pci:v00008086d0000423Asv*sd00001001bc*sc*i*
alias:          pci:v00008086d00004236sv*sd00001114bc*sc*i*
alias:          pci:v00008086d00004236sv*sd00001014bc*sc*i*
alias:          pci:v00008086d00004236sv*sd00001111bc*sc*i*
alias:          pci:v00008086d00004236sv*sd00001011bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001104bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001004bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001101bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001001bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001124bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001024bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001121bc*sc*i*
alias:          pci:v00008086d00004235sv*sd00001021bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001316bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001216bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001315bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001215bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001314bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001214bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001311bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001211bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001326bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001226bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001325bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001225bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001324bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001224bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001321bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001221bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001306bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001206bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001305bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001205bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001304bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001204bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001301bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001201bc*sc*i*
depends:        mac80211,cfg80211
vermagic:       2.6.38.8-32.fc15.x86_64 SMP mod_unload 
parm:           debug:debug output mask (uint)
parm:           swcrypto:using crypto in software (default 0 [hardware]) (int)
parm:           queues_num:number of hw queues. (int)
parm:           11n_disable:disable 11n functionality (int)
parm:           amsdu_size_8K:enable 8K amsdu size (int)
parm:           fw_restart:restart firmware in case of error (int)
parm:           ucode_alternative:specify ucode alternative to use from ucode file (int)
parm:           antenna_coupling:specify antenna coupling in dB (defualt: 0 dB) (int)
parm:           bt_ch_inhibition:Disable BT channel inhibition (default: enable) (bool)
parm:           plcp_check:Check plcp health (default: 1 [enabled]) (bool)
parm:           ack_check:Check ack health (default: 0 [disabled]) (bool)
parm:           bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking (default: 0) (int)
parm:           power_save:enable WiFi power management (default: disable) (bool)
parm:           power_level:default power save level (range from 1 - 5, default: 1) (int)
parm:           no_sleep_autoadjust:don't automatically adjust sleep level according to maximum network latency (default: true) (bool)


Seems like it could stabilize my download speeds around a grand total of 2-3kb/s. At least it doesn't get zeroed, but still ridiculously low.

Here comes the dmesg log, if it shows something :
$ dmesg | grep iwl
[    7.192358] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[    7.192360] iwlagn: Copyright(c) 2003-2011 Intel Corporation
[    7.192401] iwlagn 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    7.192408] iwlagn 0000:03:00.0: setting latency timer to 64
[    7.192532] iwlagn 0000:03:00.0: irq 57 for MSI/MSI-X
[    7.192587] iwlagn 0000:03:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
[    7.207766] iwlagn 0000:03:00.0: device EEPROM VER=0x423, CALIB=0x5
[    7.207769] iwlagn 0000:03:00.0: Device SKU: 0X1f0
[    7.207771] iwlagn 0000:03:00.0: Valid Tx ant: 0X7, Valid Rx ant: 0X7
[    7.207791] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    7.211494] iwlagn 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532
[    7.217134] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[    9.685656] NetworkManager[828]: <info> (wlan1): new 802.11 WiFi device (driver: 'iwlagn' ifindex: 3)
[    9.692287] iwlagn 0000:03:00.0: Radio type=0x1-0x3-0x0
[    9.934244] iwlagn 0000:03:00.0: Radio type=0x1-0x3-0x0
[  387.767484] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  404.345617] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  419.425945] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  433.062609] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  476.739605] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  516.310235] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  542.616365] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  567.270054] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  584.860208] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  604.667557] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  624.712578] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  697.682239] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  721.832320] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  758.854764] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  772.298532] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  783.583815] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  815.845244] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  816.518596] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  834.611458] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  860.386574] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  886.872089] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0
[  913.341412] iwlagn 0000:03:00.0: Tx aggregation enabled on ra = 00:24:d4:ce:40:5c tid = 0

Comment 27 Stanislaw Gruszka 2011-07-18 09:29:03 UTC
It should be 11n_disable=1 not =0, like:

> echo "options iwlagn 11n_disable=1 swcrypto=1 plpc_check=0 bt_coex_active=0" > /etc/modprobe.d/iwlwifi.conf

Can we get rmmod crash logs (using photo camera or kdump or netconsole) ?

Comment 28 Dan 2011-07-24 11:35:21 UTC
After reboot, no more wlan detected, doesn't appear anymore in network-manager or ifconfig or iwconfig. But it didn't crash my PC. how can I get a dump?

Comment 29 wey-yi.w.guy 2011-07-24 11:58:03 UTC
$lspci   ---> show the HW still present in the system
$dmesg | grep iwl -----> see sany information on iwlwifi driver


Thanks
Wey

Comment 30 Stanislaw Gruszka 2011-07-25 08:21:26 UTC
(In reply to comment #28)
> After reboot, no more wlan detected, doesn't appear anymore in network-manager
> or ifconfig or iwconfig. But it didn't crash my PC. how can I get a dump

Probably there is something wrong in modprobe.d config, see dmesg (look for bad module options messages).

Comment 31 Dan 2011-07-25 20:53:46 UTC
dmesg was saying the option plpc_check was unknown, so I removed it from the list of options you told me to output.
Which brings us to :
echo "options iwlagn 11n_disable=1 swcrypto=1 bt_coex_active=0" > /etc/modprobe.d/iwlwifi.conf
And with that, speed seems back to normal. I'll check it more extensively (and on a longer period of time) and I'll let you know.

Comment 32 wey-yi.w.guy 2011-07-25 21:05:18 UTC
but this sitll has 11n_disable=1 which you will not see HT tpt.

Wey

Comment 33 Stanislaw Gruszka 2011-07-26 08:15:00 UTC
So this looks like generic 11n bug. We still getting quite many such bugs reports :-(

Comment 34 wey-yi.w.guy 2011-07-26 14:30:12 UTC
I am a bit confuse now, I do believe there were still 11n bugs and we still need to root cause the problem. Driver try to work around the issue is not easy.

how slow we are seeing here [comment 31]

Thanks
Wey

Comment 35 Dan 2011-07-26 17:01:03 UTC
Update on speed : it seems to be low, especially when surfing (google.com shouldn't be tat long to load, and all other websites i try to go to).
So this might have brought me to a situation similar to that one in [comment 31].
You say from now on it's a generic 11n bug and doesn't depend on my hardware?

Comment 36 Dan 2011-07-31 13:02:14 UTC
(In reply to comment #35)
> Update on speed : it seems to be low, especially when surfing (google.com
> shouldn't be tat long to load, and all other websites i try to go to).
> So this might have brought me to a situation similar to that one in [comment
> 31].
> You say from now on it's a generic 11n bug and doesn't depend on my hardware?

Sorry I meant [comment 16]

Comment 37 Dan 2011-08-03 23:42:12 UTC
I plan to switch to F16 with the first alpha (august 16th). Is the fix committed in mainline kernel, or will I have again to add wireless-compat repos, install the modules, and run them with the specific options?

Comment 38 wey-yi.w.guy 2011-08-03 23:50:44 UTC
Stanislaw, any recommendation? I don't have much inside on the Fedora release.

Thanks
Wey

Comment 39 Stanislaw Gruszka 2011-08-04 12:49:46 UTC
The fix detecting device is committed. You probably will still need to use 11n_disable=1 option to make device work (at least at low speed).

Comment 40 Dan 2011-08-04 13:36:06 UTC
Is it possible to commit also this modprobe option (at least for eng samples), to make it natively functional?

Comment 41 Stanislaw Gruszka 2011-08-04 14:40:16 UTC
No, it just workaround for a bug. What should be done is fix the bug.

Comment 42 Dan 2011-08-04 14:47:33 UTC
Oh ok, we're counting on you then.
Can I provide any additional info to accelerate the bugfix and make it easier for you?

Comment 43 wey-yi.w.guy 2011-08-04 14:56:29 UTC
I am a little confuse now, is this tpt slow issue is only for old 6300N card (with not supported EEPROM), or it is for all 6300 card in general.

Thanks
Wey

Comment 44 Stanislaw Gruszka 2011-08-05 08:17:31 UTC
We have a few bug reports, on different adapters, where users have to use 11n_disable to make device functional, I believe all these issues are related and problem is rather common.

Comment 45 Dan 2011-08-09 19:32:36 UTC
Since update, wireless is dead again : 

- "unavailable" according to network-manager

- does not appear in ifconig

- iwconfig gives me this 
wlan1     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

As  usual, dmesg | grep iwl gives me :

[    8.251491] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[    8.251495] iwlagn: Copyright(c) 2003-2011 Intel Corporation
[    8.251567] iwlagn 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    8.251576] iwlagn 0000:03:00.0: setting latency timer to 64
[    8.251618] iwlagn 0000:03:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
[    8.265898] iwlagn 0000:03:00.0: device EEPROM VER=0x423, CALIB=0x5
[    8.265902] iwlagn 0000:03:00.0: Device SKU: 0Xb
[    8.265905] iwlagn 0000:03:00.0: Valid Tx ant: 0X7, Valid Rx ant: 0X7
[    8.265921] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    8.265993] iwlagn 0000:03:00.0: irq 57 for MSI/MSI-X
[    8.409216] iwlagn 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532
[    8.416466] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   10.957996] NetworkManager[870]: <info> (wlan1): new 802.11 WiFi device (driver: 'iwlagn' ifindex: 3)
[   10.996337] iwlagn 0000:03:00.0: Microcode SW error detected.  Restarting 0x82000000.
[   10.996344] iwlagn 0000:03:00.0: Loaded firmware version: 9.221.4.1 build 25532
[   10.996350] iwlagn 0000:03:00.0: Not valid error log pointer 0x00000000 for Init uCode
[   10.996354] iwlagn 0000:03:00.0: CSR values:
[   10.996357] iwlagn 0000:03:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[   10.996365] iwlagn 0000:03:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480303
[   10.996371] iwlagn 0000:03:00.0:          CSR_INT_COALESCING: 0X00000040
[   10.996378] iwlagn 0000:03:00.0:                     CSR_INT: 0X80000000
[   10.996384] iwlagn 0000:03:00.0:                CSR_INT_MASK: 0X00000000
[   10.996391] iwlagn 0000:03:00.0:           CSR_FH_INT_STATUS: 0X40010000
[   10.996397] iwlagn 0000:03:00.0:                 CSR_GPIO_IN: 0X0000000f
[   10.996404] iwlagn 0000:03:00.0:                   CSR_RESET: 0X00000000
[   10.996410] iwlagn 0000:03:00.0:                CSR_GP_CNTRL: 0X080403c5
[   10.996417] iwlagn 0000:03:00.0:                  CSR_HW_REV: 0X00000074
[   10.996423] iwlagn 0000:03:00.0:              CSR_EEPROM_REG: 0X15f60ffd
[   10.996430] iwlagn 0000:03:00.0:               CSR_EEPROM_GP: 0X90000001
[   10.996436] iwlagn 0000:03:00.0:              CSR_OTP_GP_REG: 0X00030001
[   10.996443] iwlagn 0000:03:00.0:                 CSR_GIO_REG: 0X00080044
[   10.996449] iwlagn 0000:03:00.0:            CSR_GP_UCODE_REG: 0X00000000
[   10.996456] iwlagn 0000:03:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[   10.996462] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[   10.996468] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[   10.996475] iwlagn 0000:03:00.0:                 CSR_LED_REG: 0X00000018
[   10.996481] iwlagn 0000:03:00.0:        CSR_DRAM_INT_TBL_REG: 0X00000000
[   10.996488] iwlagn 0000:03:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[   10.996494] iwlagn 0000:03:00.0:             CSR_ANA_PLL_CFG: 0X00000000
[   10.996501] iwlagn 0000:03:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[   10.996507] iwlagn 0000:03:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[   10.996511] iwlagn 0000:03:00.0: FH register values:
[   10.996526] iwlagn 0000:03:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0ffede00
[   10.996541] iwlagn 0000:03:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00ffedf0
[   10.996555] iwlagn 0000:03:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X000000f8
[   10.996570] iwlagn 0000:03:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
[   10.996619] iwlagn 0000:03:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[   10.996635] iwlagn 0000:03:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
[   10.996649] iwlagn 0000:03:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[   10.996664] iwlagn 0000:03:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[   10.996679] iwlagn 0000:03:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[   10.996684] iwlagn 0000:03:00.0: Invalid event log pointer 0x00000000 for Init uCode
[   10.996955] iwlagn 0000:03:00.0: Failed to run INIT ucode: -5
[   10.996990] iwlagn 0000:03:00.0: Unable to initialize device.
[   11.111474] iwlagn 0000:03:00.0: Microcode SW error detected.  Restarting 0x82000000.
[   11.111478] iwlagn 0000:03:00.0: Loaded firmware version: 9.221.4.1 build 25532
[   11.111579] iwlagn 0000:03:00.0: Start IWL Error Log Dump:
[   11.111582] iwlagn 0000:03:00.0: Status: 0x00040224, count: 5
[   11.111585] iwlagn 0000:03:00.0: 0x00000005 | SYSASSERT                   
[   11.111587] iwlagn 0000:03:00.0: 0x0001E48C | uPc
[   11.111589] iwlagn 0000:03:00.0: 0x0001E46E | branchlink1
[   11.111591] iwlagn 0000:03:00.0: 0x0001E46E | branchlink2
[   11.111592] iwlagn 0000:03:00.0: 0x00000000 | interruptlink1
[   11.111594] iwlagn 0000:03:00.0: 0x00000000 | interruptlink2
[   11.111596] iwlagn 0000:03:00.0: 0x00000000 | data1
[   11.111598] iwlagn 0000:03:00.0: 0x00000BF4 | data2
[   11.111600] iwlagn 0000:03:00.0: 0x00000BF4 | line
[   11.111602] iwlagn 0000:03:00.0: 0x000134AE | beacon time
[   11.111604] iwlagn 0000:03:00.0: 0x00005B52 | tsf low
[   11.111606] iwlagn 0000:03:00.0: 0x00000000 | tsf hi
[   11.111608] iwlagn 0000:03:00.0: 0x00000000 | time gp1
[   11.111610] iwlagn 0000:03:00.0: 0x00005B56 | time gp2
[   11.111612] iwlagn 0000:03:00.0: 0x00000000 | time gp3
[   11.111613] iwlagn 0000:03:00.0: 0x000109DD | uCode version
[   11.111615] iwlagn 0000:03:00.0: 0x00000074 | hw version
[   11.111617] iwlagn 0000:03:00.0: 0x00480303 | board version
[   11.111619] iwlagn 0000:03:00.0: 0x00000000 | hcmd
[   11.111621] iwlagn 0000:03:00.0: CSR values:
[   11.111623] iwlagn 0000:03:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[   11.111628] iwlagn 0000:03:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480303
[   11.111632] iwlagn 0000:03:00.0:          CSR_INT_COALESCING: 0X00000040
[   11.111637] iwlagn 0000:03:00.0:                     CSR_INT: 0X80000000
[   11.111641] iwlagn 0000:03:00.0:                CSR_INT_MASK: 0X00000000
[   11.111646] iwlagn 0000:03:00.0:           CSR_FH_INT_STATUS: 0X40010000
[   11.111650] iwlagn 0000:03:00.0:                 CSR_GPIO_IN: 0X0000000f
[   11.111654] iwlagn 0000:03:00.0:                   CSR_RESET: 0X00000000
[   11.111659] iwlagn 0000:03:00.0:                CSR_GP_CNTRL: 0X080403c5
[   11.111663] iwlagn 0000:03:00.0:                  CSR_HW_REV: 0X00000074
[   11.111668] iwlagn 0000:03:00.0:              CSR_EEPROM_REG: 0X15f60ffd
[   11.111672] iwlagn 0000:03:00.0:               CSR_EEPROM_GP: 0X90000001
[   11.111677] iwlagn 0000:03:00.0:              CSR_OTP_GP_REG: 0X00030001
[   11.111681] iwlagn 0000:03:00.0:                 CSR_GIO_REG: 0X00080044
[   11.111685] iwlagn 0000:03:00.0:            CSR_GP_UCODE_REG: 0X00000000
[   11.111690] iwlagn 0000:03:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[   11.111694] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[   11.111699] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[   11.111703] iwlagn 0000:03:00.0:                 CSR_LED_REG: 0X00000018
[   11.111708] iwlagn 0000:03:00.0:        CSR_DRAM_INT_TBL_REG: 0X00000000
[   11.111712] iwlagn 0000:03:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[   11.111716] iwlagn 0000:03:00.0:             CSR_ANA_PLL_CFG: 0X00000000
[   11.111721] iwlagn 0000:03:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[   11.111725] iwlagn 0000:03:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[   11.111727] iwlagn 0000:03:00.0: FH register values:
[   11.111739] iwlagn 0000:03:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0ffede00
[   11.111752] iwlagn 0000:03:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00ffedf0
[   11.111764] iwlagn 0000:03:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X000000f8
[   11.111777] iwlagn 0000:03:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
[   11.111789] iwlagn 0000:03:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[   11.111802] iwlagn 0000:03:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
[   11.111814] iwlagn 0000:03:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[   11.111826] iwlagn 0000:03:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[   11.111839] iwlagn 0000:03:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[   11.111888] iwlagn 0000:03:00.0: Log capacity 1024 is bogus, limit to 512 entries
[   11.111890] iwlagn 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
[   11.111907] iwlagn 0000:03:00.0: EVT_LOGT:0000020121:0x00000000:0064
[   11.111917] iwlagn 0000:03:00.0: EVT_LOGT:0000020125:0x00000000:0064
[   11.111927] iwlagn 0000:03:00.0: EVT_LOGT:0000020128:0x00000000:0064
[   11.111937] iwlagn 0000:03:00.0: EVT_LOGT:0000020142:0x00000000:0064
[   11.111946] iwlagn 0000:03:00.0: EVT_LOGT:0000020145:0x00000000:0064
[   11.111956] iwlagn 0000:03:00.0: EVT_LOGT:0000020148:0x00000000:0064
[   11.111966] iwlagn 0000:03:00.0: EVT_LOGT:0000020151:0x00000000:0064
[   11.111976] iwlagn 0000:03:00.0: EVT_LOGT:0000020165:0x00000000:0064
[   11.111986] iwlagn 0000:03:00.0: EVT_LOGT:0000020168:0x00000000:0064
[   11.111996] iwlagn 0000:03:00.0: EVT_LOGT:0000020172:0x00000000:0064
[   11.112006] iwlagn 0000:03:00.0: EVT_LOGT:0000020175:0x00000000:0064
[   11.112016] iwlagn 0000:03:00.0: EVT_LOGT:0000020189:0x00000000:0064
[   11.112026] iwlagn 0000:03:00.0: EVT_LOGT:0000020192:0x00000000:0064
[   11.112035] iwlagn 0000:03:00.0: EVT_LOGT:0000020195:0x00000000:0064
[   11.112045] iwlagn 0000:03:00.0: EVT_LOGT:0000020199:0x00000000:0064
[   11.112055] iwlagn 0000:03:00.0: EVT_LOGT:0000020212:0x00000000:0064
[   11.112065] iwlagn 0000:03:00.0: EVT_LOGT:0000020216:0x00000000:0064
[   11.112084] iwlagn 0000:03:00.0: EVT_LOGT:0000023233:0x00000000:0064
[   11.112094] iwlagn 0000:03:00.0: EVT_LOGT:0000023236:0x00000000:0064
[   11.112104] iwlagn 0000:03:00.0: EVT_LOGT:0000023388:0x00000000:0125
[   11.112376] iwlagn 0000:03:00.0: Failed to run INIT ucode: -5
[   11.112407] iwlagn 0000:03:00.0: Unable to initialize device.
[   11.151316] iwlagn 0000:03:00.0: Microcode SW error detected.  Restarting 0x82000000.
[   11.151320] iwlagn 0000:03:00.0: Loaded firmware version: 9.221.4.1 build 25532
[   11.151389] iwlagn 0000:03:00.0: Start IWL Error Log Dump:
[   11.151392] iwlagn 0000:03:00.0: Status: 0x00040224, count: 5
[   11.151394] iwlagn 0000:03:00.0: 0x00000005 | SYSASSERT                   
[   11.151396] iwlagn 0000:03:00.0: 0x0001E48C | uPc
[   11.151398] iwlagn 0000:03:00.0: 0x0001E46E | branchlink1
[   11.151400] iwlagn 0000:03:00.0: 0x0001E46E | branchlink2
[   11.151402] iwlagn 0000:03:00.0: 0x00000000 | interruptlink1
[   11.151404] iwlagn 0000:03:00.0: 0x00000000 | interruptlink2
[   11.151406] iwlagn 0000:03:00.0: 0x00000000 | data1
[   11.151408] iwlagn 0000:03:00.0: 0x00000BF4 | data2
[   11.151410] iwlagn 0000:03:00.0: 0x00000BF4 | line
[   11.151412] iwlagn 0000:03:00.0: 0x000134AC | beacon time
[   11.151414] iwlagn 0000:03:00.0: 0x00005B53 | tsf low
[   11.151416] iwlagn 0000:03:00.0: 0x00000000 | tsf hi
[   11.151418] iwlagn 0000:03:00.0: 0x00000000 | time gp1
[   11.151420] iwlagn 0000:03:00.0: 0x00005B59 | time gp2
[   11.151421] iwlagn 0000:03:00.0: 0x00000000 | time gp3
[   11.151423] iwlagn 0000:03:00.0: 0x000109DD | uCode version
[   11.151425] iwlagn 0000:03:00.0: 0x00000074 | hw version
[   11.151427] iwlagn 0000:03:00.0: 0x00480303 | board version
[   11.151429] iwlagn 0000:03:00.0: 0x00000000 | hcmd
[   11.151431] iwlagn 0000:03:00.0: CSR values:
[   11.151433] iwlagn 0000:03:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[   11.151438] iwlagn 0000:03:00.0:        CSR_HW_IF_CONFIG_REG: 0X00480303
[   11.151442] iwlagn 0000:03:00.0:          CSR_INT_COALESCING: 0X00000040
[   11.151447] iwlagn 0000:03:00.0:                     CSR_INT: 0X80000000
[   11.151451] iwlagn 0000:03:00.0:                CSR_INT_MASK: 0X00000000
[   11.151456] iwlagn 0000:03:00.0:           CSR_FH_INT_STATUS: 0X40010000
[   11.151460] iwlagn 0000:03:00.0:                 CSR_GPIO_IN: 0X0000000f
[   11.151465] iwlagn 0000:03:00.0:                   CSR_RESET: 0X00000000
[   11.151469] iwlagn 0000:03:00.0:                CSR_GP_CNTRL: 0X080403c5
[   11.151473] iwlagn 0000:03:00.0:                  CSR_HW_REV: 0X00000074
[   11.151478] iwlagn 0000:03:00.0:              CSR_EEPROM_REG: 0X15f60ffd
[   11.151482] iwlagn 0000:03:00.0:               CSR_EEPROM_GP: 0X90000001
[   11.151517] iwlagn 0000:03:00.0:              CSR_OTP_GP_REG: 0X00030001
[   11.151523] iwlagn 0000:03:00.0:                 CSR_GIO_REG: 0X00080044
[   11.151531] iwlagn 0000:03:00.0:            CSR_GP_UCODE_REG: 0X00000000
[   11.151537] iwlagn 0000:03:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[   11.151541] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[   11.151545] iwlagn 0000:03:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[   11.151550] iwlagn 0000:03:00.0:                 CSR_LED_REG: 0X00000018
[   11.151554] iwlagn 0000:03:00.0:        CSR_DRAM_INT_TBL_REG: 0X00000000
[   11.151559] iwlagn 0000:03:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[   11.151563] iwlagn 0000:03:00.0:             CSR_ANA_PLL_CFG: 0X00000000
[   11.151568] iwlagn 0000:03:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[   11.151572] iwlagn 0000:03:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[   11.151574] iwlagn 0000:03:00.0: FH register values:
[   11.151586] iwlagn 0000:03:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0ffede00
[   11.151599] iwlagn 0000:03:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00ffedf0
[   11.151611] iwlagn 0000:03:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X000000f8
[   11.151624] iwlagn 0000:03:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819104
[   11.151636] iwlagn 0000:03:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[   11.151649] iwlagn 0000:03:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
[   11.151661] iwlagn 0000:03:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[   11.151673] iwlagn 0000:03:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[   11.151686] iwlagn 0000:03:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[   11.151735] iwlagn 0000:03:00.0: Log capacity 1024 is bogus, limit to 512 entries
[   11.151737] iwlagn 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
[   11.151754] iwlagn 0000:03:00.0: EVT_LOGT:0000020124:0x00000000:0064
[   11.151764] iwlagn 0000:03:00.0: EVT_LOGT:0000020127:0x00000000:0064
[   11.151774] iwlagn 0000:03:00.0: EVT_LOGT:0000020131:0x00000000:0064
[   11.151784] iwlagn 0000:03:00.0: EVT_LOGT:0000020144:0x00000000:0064
[   11.151794] iwlagn 0000:03:00.0: EVT_LOGT:0000020148:0x00000000:0064
[   11.151804] iwlagn 0000:03:00.0: EVT_LOGT:0000020151:0x00000000:0064
[   11.151814] iwlagn 0000:03:00.0: EVT_LOGT:0000020154:0x00000000:0064
[   11.151823] iwlagn 0000:03:00.0: EVT_LOGT:0000020168:0x00000000:0064
[   11.151833] iwlagn 0000:03:00.0: EVT_LOGT:0000020171:0x00000000:0064
[   11.151843] iwlagn 0000:03:00.0: EVT_LOGT:0000020174:0x00000000:0064
[   11.151853] iwlagn 0000:03:00.0: EVT_LOGT:0000020178:0x00000000:0064
[   11.151863] iwlagn 0000:03:00.0: EVT_LOGT:0000020191:0x00000000:0064
[   11.151873] iwlagn 0000:03:00.0: EVT_LOGT:0000020195:0x00000000:0064
[   11.151883] iwlagn 0000:03:00.0: EVT_LOGT:0000020198:0x00000000:0064
[   11.151893] iwlagn 0000:03:00.0: EVT_LOGT:0000020201:0x00000000:0064
[   11.151903] iwlagn 0000:03:00.0: EVT_LOGT:0000020215:0x00000000:0064
[   11.151913] iwlagn 0000:03:00.0: EVT_LOGT:0000020218:0x00000000:0064
[   11.151932] iwlagn 0000:03:00.0: EVT_LOGT:0000023236:0x00000000:0064
[   11.151942] iwlagn 0000:03:00.0: EVT_LOGT:0000023239:0x00000000:0064
[   11.151952] iwlagn 0000:03:00.0: EVT_LOGT:0000023390:0x00000000:0125
[   11.152209] iwlagn 0000:03:00.0: Failed to run INIT ucode: -5
[   11.152240] iwlagn 0000:03:00.0: Unable to initialize device.

Comment 46 Dan 2011-08-09 19:52:51 UTC
After rebooting on win7, it doesn't work here either. Is is possible that the commands you gave me created some hardware/microcode/firmware problem?

Comment 47 Stanislaw Gruszka 2011-08-10 13:48:06 UTC
That is rather unprobable, but can be possible.

What is new kernel version? Please repeat these steps as root and attach output.file:

modprobe -r iwlagn
dmesg -c
modprobe iwlagn debug=0x43fff
dmesg > output.file

Comment 48 Dan 2011-08-10 14:25:38 UTC
Unexplicably, this morning after starting my computer, and after NO action on my side (except possibly a yum clean all and yum update here and there), my wlan was back under both win7 and f15 (2.6.40.4 if I remember well)

Comment 49 Stanislaw Gruszka 2011-09-01 09:02:18 UTC
Dan, you might try a new F-15 kernel i.e that one:
http://koji.fedoraproject.org/koji/buildinfo?buildID=261186
It include fix/workaround discussed in bug 708747

Comment 50 Dan Winship 2011-12-06 14:59:25 UTC
after several days of successfully using a 6250 (with 11n_disable=1), I switched the hardware disable switch while on an airplane, and after switching it back, I now get the same set of errors as in comment 45 ("Microcode SW error detected", "Unable to initialize device", etc), even after rebooting. (Connected via ethernet now...)

kernel-3.1.2-1.fc16.x86_64

Comment 51 Stanislaw Gruszka 2011-12-06 15:15:40 UTC
If this is reproducible, please provide info requested in comment 47 (logs from module start to Microcode error (including the former, with EVT_LOGT CSR dump, etc...)

Comment 52 Stanislaw Gruszka 2011-12-06 15:16:38 UTC
... and "rfkill list" command output.

Comment 53 wey-yi.w.guy 2011-12-06 15:18:06 UTC
in comment#45
[   11.152209] iwlagn 0000:03:00.0: Failed to run INIT ucode: -5
[   11.152240] iwlagn 0000:03:00.0: Unable to initialize device.

it tell me something really wrong, driver can not even download the "init"
firmware to device for calibration. My guess is your HW is not stable and has
issue.

Thanks
Wey

Comment 54 Stanislaw Gruszka 2011-12-06 15:22:18 UTC
Is possible that driver do something wrong during early init or downloading ucode to device?

Comment 55 wey-yi.w.guy 2011-12-06 16:09:49 UTC
unlikely but never know, the reason I am wondering the HW issue is becuase both Linux and Win7 are not working

Wey

Comment 56 Dan Winship 2011-12-06 19:17:59 UTC
Created attachment 541534 [details]
requested dmesg output for 6250

danw@laptop:~> rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: i2400m-usb:2-1.3:1.0: WiMAX
	Soft blocked: no
	Hard blocked: no
4: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Comment 57 Stanislaw Gruszka 2011-12-12 14:14:03 UTC
I do not see any anomalies before first firmware error:
> [  724.195970] iwlagn 0000:03:00.0: Microcode SW error detected.  Restarting 0x2000000.
> [  724.195986] iwlagn 0000:03:00.0: RF is used by WiMAX

Generally these messages suggest that this is problem with wimax_coexist.

Dan W., can you try downgrade firmware to
iwlwifi-6050-ucode-9.201.4.1.tgz
from 
http://intellinuxwireless.org/?n=downloads&f=ucodes_6050

If that not help run, F-15 or F-14 from live cd and see if device start up there.

Also just for information, you have "normal" iwlwifi device, not engineering sample that RH got from Intel?

Comment 58 Dan Winship 2011-12-12 15:31:27 UTC
(In reply to comment #57)
> Also just for information, you have "normal" iwlwifi device, not engineering
> sample that RH got from Intel?

It's a card I bought on eBay hoping it would work better than the realtek card my laptop came with (bug 729618). It has the right PCI ID to be accepted by the Thinkpad BIOS, so I assume it's "normal", but maybe not?

from the label:

Model: 622ANXHMW
FCC ID: PD9622ANXHU
SPS: XXXXXX-XXX XX
11S60Y3194
Z1ZHJB04G25K

hm... those X's are suspicious...

Comment 59 Stanislaw Gruszka 2011-12-12 16:03:12 UTC
Seems to be fine. You can check if it is physically correctly installed, i.e. antennas are correctly connected (also if devices has the same number of antennas as your laptop).

Realtek suffer from bug in mac80211, which should be fixed now, but perhaps we need some more fixes of that driver.

Comment 60 Stanislaw Gruszka 2011-12-12 16:06:16 UTC
Created attachment 545804 [details]
enable_wimax_coexist.patch

Shot in the dark. Patch configure wimax coexist tables into ucode. You may give it a try, koji build with patch is here (compiling at present):
http://koji.fedoraproject.org/koji/taskinfo?taskID=3580045

Comment 61 wey-yi.w.guy 2011-12-12 16:28:56 UTC
I am not sure WiMAX_coex patch will help, sorry :-)
is WiMAX driver loaded on the system, can we try to unload WiMAX driver first?

Thanks
Wey

Comment 62 Dan Winship 2011-12-12 17:10:39 UTC
(In reply to comment #61)
> I am not sure WiMAX_coex patch will help, sorry :-)
> is WiMAX driver loaded on the system, can we try to unload WiMAX driver first?

unloading wimax (and i2400m_usb and i2400m which depended on it) seems to be making things work (at least for the last 15 minutes).

Should I still try downgrading the firmware or installing the patched kernel?

Comment 63 Stanislaw Gruszka 2011-12-13 04:54:05 UTC
Just try patched kernel, if it make things work with WiMAX modules loaded and perhaps without 11n_disable=1 option.

Comment 64 Dan Winship 2011-12-13 14:40:12 UTC
the patched kernel seems to not work with or without wimax loaded

Comment 65 Dan Williams 2012-01-16 17:12:34 UTC
What exactly does the wimax coexist stuff do?  I'm curious for NetworkManager...

On Windows you cannot use WiMAX and WiFi at the same time (since they share the radio apparently, just like BT?) and the Intel connection manager enforces that.  On Linux we dont' enforce that even though we should.

One problem is that since the WiMAX device is USB and the WiFi is PCI, we have no way of matching them up with each other except for assuming that if the system has an Intel wifi card and a WiMax device they are the same device.  Johannes said that the WiMAX firmware engineers had long ago refused to add a feature that would return the MAC address of the WiFi card, which would have been nice.  Yeah, we can kind hack around this and make sure that we disable WiMAX when WiFi is enabled, or vice-versa, but would be nice to have a better way of matching up the related wifi + wimax parts :(

I've noticed the following behavior with the WiMAX stuff so far:

5150 - single radio, firmware errors and constant firmware restarts if wimax and wifi are enabled
5350/6250 - multiple radio so no firmware errors, but whenever wimax starts scanning for networks the wifi will drop out and reconnect

so in the end, you need to  manually manage the rfkill states of wifi and wimax.  You can do this from either rfkill in the CLI or from the nm-applet menu, but since the GNOME shell menu doesn't yet support wimax, you can't do it from a GUI.

Comment 66 Parag Mehta 2012-02-28 17:32:16 UTC
i am facing this same exact issue on RHEL 6.2 and reviewing the details in this bug, compat-wireless link says RHEL 6 packages are broken at the moment. is there any way to get wireless working on RHEL 6.2 with this adapter?

Comment 67 Josh Boyer 2012-02-28 17:47:46 UTC
(In reply to comment #66)
> i am facing this same exact issue on RHEL 6.2 and reviewing the details in this
> bug, compat-wireless link says RHEL 6 packages are broken at the moment. is
> there any way to get wireless working on RHEL 6.2 with this adapter?

Please open an issue with your RHEL subscription for RHEL support.

Comment 68 Stanislaw Gruszka 2012-06-01 13:28:01 UTC
I do not feel that there is any chance to fix this issue :-(

Comment 69 Darren Hart 2012-06-13 19:44:22 UTC
Stanislaw, why do you feel it cannot be fixed? Is it just lack of information? I'm experiencing similar behavior in a Thinkpad X201 on Fedora 17. Wifi works fine in Win7, terrible in Fedora.