Bug 687931

Summary: Intel 6300N chipset not recognized
Product: [Fedora] Fedora Reporter: Dan <Danzisso>
Component: kernelAssignee: John W. Linville <linville>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akira.ueno, dwmw2, gansalmon, hui.xiao, itamar, jane.lv, jonathan, jvillalo, jwilleford, kernel-maint, linville, luyu, madhu.chinakonda, sebas0, wey-yi.w.guy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 691846 703855 (view as bug list) Environment:
Last Closed: 2011-05-03 14:51:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 691846    

Description Dan 2011-03-15 18:22:21 UTC
Description of problem:

Wlan not working with an Intel 6300N wireless chipset. Could be a kernel upstream problem. If so could you warn the kernel network programmers?

Here come some useful information (dmesg and lspci)

[liveuser@localhost ~]$ dmesg | grep iw
[   57.664916] type=1400 audit(1300230619.252:246): avc:  denied  { write } for  pid=445 comm="systemd-readahe" path="/lib/modules/2.6.38-0.rc5.git1.1.fc15.x86_64/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko" dev=dm-0 ino=141016 scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=file
[   59.901371] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[   59.901375] iwlagn: Copyright(c) 2003-2010 Intel Corporation
[   59.901454] iwlagn 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   59.901463] iwlagn 0000:03:00.0: setting latency timer to 64
[   59.901511] iwlagn 0000:03:00.0: Detected Intel(R) Centrino(R) Ultimate-N 6300 AGN, REV=0x74
[   59.916474] iwlagn 0000:03:00.0: Unsupported (too old) EEPROM VER=0x423 < 0x434 CALIB=0x5 < 0x4
[   59.916496] iwlagn 0000:03:00.0: PCI INT A disabled
[   59.916513] iwlagn: probe of 0000:03:00.0 failed with error -22



[liveuser@localhost ~]$ lspci | grep Network
03:00.0 Network controller: Intel Corporation WiFi Link 6000 Series (rev 09)




Version-Release number of selected component (if applicable):

F14 of coursem and F15 alpha. Probably all Fedora releases

How reproducible:


Steps to Reproduce:
1. Start the system
2. See how you have no Wlanm either in ifconfig or in network-manager
3.
  
Actual results:

No wlan

Expected results:

Supported Wlan chipset

Additional info:

Comment 1 Dan 2011-03-15 18:23:28 UTC
Of coursem nothing in ifconfig and iwconfig

Comment 2 John W. Linville 2011-03-15 19:08:17 UTC
Was your wireless device installed by the laptop manufacturer?  Or was it an aftermarket addition?  If by the manufacturer, was it Dell?  Or someone else?

Intel seems to have had some confusion about what devices are in the field and/or what the Linux driver ought to support... :-(

Not sure how/why this got assigned to David, but I'm going to take it for now.  David, any help you can provide at the other end is greatly appreciated...

Comment 3 Dan 2011-03-15 19:56:19 UTC
It was manually installed by the manufacturer, which is Clevo France. That was one of the options, out of the three.

The computer is a Clevo X8100. If you need any further information, do not hesitate.

N.B. : back on an Ubuntu 10.10 (kernel 2.6.35) with the same problem, although Win7 recognizes it without even installing anything.
If you need me to run a command and give you the printout, please ask and your every wish will be granted.

Comment 4 sebas0 2011-03-18 00:03:38 UTC
For the record I have a similar problem.
Card was installed by a Dell (wholesaler).
My machine: a factory returned brand new Dell Precision M6500 notebook.

Linux driver complains that the firmware is too old.
Card works fine in Windows.

[root@cupri /]# dmesg | grep iw
[    9.853691] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d
[    9.853698] iwlagn: Copyright(c) 2003-2010 Intel Corporation
[    9.853852] iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    9.853896] iwlagn 0000:0c:00.0: setting latency timer to 64
[    9.854074] iwlagn 0000:0c:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[    9.883251] iwlagn 0000:0c:00.0: Unsupported (too old) EEPROM VER=0x423 < 0x434 CALIB=0x5 < 0x4
[    9.883288] iwlagn 0000:0c:00.0: PCI INT A disabled
[    9.883297] iwlagn: probe of 0000:0c:00.0 failed with error -22

Comment 5 wey-yi.w.guy 2011-03-29 21:27:56 UTC
that is really strange, base on the datasheet I have, 0x423 is engineer sample. then I need to check with our marketing and find out what happen.

I understand John send me the EEPROM dump for 0x423, once I can open the file and verify there are no major regulatory issue, I believe we can have the patch to support 0x423 version of NIC

Thanks
Wey

Comment 6 Dan 2011-04-01 13:11:50 UTC
So how shall it be adressed? 
Is the fix very easy? Is it eligible for a kernel point release (2.6.38.x) and thus be in this spring's distributions round? Or does it have to wait for a major version (as 2.6.39 window is closed, will it be for 2.6.40?) ?

Comment 7 wey-yi.w.guy 2011-04-01 15:24:06 UTC
this should not happen, we are contacting the manufacturer and try to understand what is happening now.

btw, is the NIC has "Engineer Sample" stamp? 

Thanks
Wey

Comment 8 Dan 2011-04-01 18:04:21 UTC
Can't open the whole laptop to check. Did Intel ship ESes to Clevo?

Comment 9 wey-yi.w.guy 2011-04-01 21:21:38 UTC
how about MAC address? We will like to find a way and track down where the NIC come from?

thanks
Wey

Comment 10 Dan 2011-04-02 11:29:41 UTC
00:15:00:56:51:BC

Doctor doctor, give me the news

Comment 11 sebas0 2011-04-02 22:06:39 UTC
No "Engineer Sample" stamp visible on my card.
Where exactly should this stamp be?

My MAC: 00:15:00:58:19:4C

What is the news, doctor?
Wey-yi, were you able to open the file John sent you?
What did you find out? How long do you expect until we have the patch?
thanks,

Comment 12 wey-yi.w.guy 2011-04-03 14:30:03 UTC
Hi 

I did got the file and do the comparison, it looks ok to me. 

John, what you like to do? either you or I can send the patch to address this issue, but I will not like to see this patch upstream as part of driver.

We are follow up to see why the "Engineer sample" NIC leak to the manufacturer. is any possibliy to open the notebook and look at the "serial number", it will be much easier for us to trace the source.

Thanks
Wey

Comment 13 John W. Linville 2011-04-04 13:42:17 UTC
I do not want to carry a patch in Fedora to support hardware that is not supported upstream -- sorry.

Comment 14 wey-yi.w.guy 2011-04-04 15:59:59 UTC
John, I am ok to enable 0x423 version of EEPROM support, would you like me to send the patch, or you going to do it.

Thanks
Wey

Comment 15 John W. Linville 2011-04-04 17:21:11 UTC
http://marc.info/?l=linux-wireless&m=130193757208012&w=2

Comment 16 Dan 2011-04-05 10:37:34 UTC
So the problem was just a tiny #DEFINE issue?
WIll the patch get to upstream 2.6.38 kernel? Or will it be in 2.6.39/2.6.40? Because unfortunately I'm using an Ubuntu distro right now (my graphics card is a Radeon 5870, not fully supported yet, can't wait for the radeon driver to become perfect, although I'll give it a try with F15).

Comment 17 John W. Linville 2011-04-13 13:55:18 UTC
The fix was merged for 2.6.39 with a Cc to stable.

Comment 18 Dan 2011-04-13 22:14:29 UTC
So we're not seeing it in a 2.6.38.x release, and thus not in this spring's round of distros?

Comment 19 Chuck Ebbert 2011-04-13 23:36:29 UTC
Fix is in 2.6.38.3

Comment 20 Dan 2011-05-11 09:50:38 UTC
Installed Fedora 15 Beta, kernel up-to-date (2.6.38.5).
Wifi works but is so painfully slow. My "yum update" speed unit is B/sec, and pages take ages to load. Of course, under win7, speed is normal. Speed is also normal under F15 with my TPLink wifi USB stick. 
Should I file a new bug or should the problem be continued in this one?

Comment 21 John W. Linville 2011-05-11 12:54:50 UTC
Please open a new bug specific to your current issue.

Comment 22 sebas0 2011-06-17 18:24:55 UTC
Just tried a live Ubuntu USB with kernel 3.6.38-8-generic and the driver appears to complain about the EEPROM version.

"Chuck": is the fix you reported of 2.6.38.3 only relevant for Fedora?

Here is the output of the Ubuntu session:

ubuntu@ubuntu:~$ uname -r
2.6.38-8-generic

ubuntu@ubuntu:~$ s
ubuntu@ubuntu:~$ dmesg | grep iw
[   21.438459] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[   21.438463] iwlagn: Copyright(c) 2003-2010 Intel Corporation
[   21.438559] iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   21.438590] iwlagn 0000:0c:00.0: setting latency timer to 64
[   21.438663] iwlagn 0000:0c:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[   21.454260] iwlagn 0000:0c:00.0: Unsupported (too old) EEPROM VER=0x423 < 0x434 CALIB=0x5 < 0x4
[   21.454297] iwlagn 0000:0c:00.0: PCI INT A disabled
[   21.454304] iwlagn: probe of 0000:0c:00.0 failed with error -22

Comment 23 John W. Linville 2011-06-17 18:39:48 UTC
You may want to seek support for Ubuntu on an Ubuntu-related forum...but FWIW, "-" and "." are not the same character and don't necessarily have the same meanings in version numbers...

Comment 24 wey-yi.w.guy 2011-06-18 10:47:59 UTC
(In reply to comment #22)
> Just tried a live Ubuntu USB with kernel 3.6.38-8-generic and the driver
> appears to complain about the EEPROM version.
> 
> "Chuck": is the fix you reported of 2.6.38.3 only relevant for Fedora?
> 
> Here is the output of the Ubuntu session:
> 
> ubuntu@ubuntu:~$ uname -r
> 2.6.38-8-generic
> 
> ubuntu@ubuntu:~$ s
> ubuntu@ubuntu:~$ dmesg | grep iw
> [   21.438459] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
> in-tree:
> [   21.438463] iwlagn: Copyright(c) 2003-2010 Intel Corporation
> [   21.438559] iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [   21.438590] iwlagn 0000:0c:00.0: setting latency timer to 64
> [   21.438663] iwlagn 0000:0c:00.0: Detected Intel(R) Centrino(R) Advanced-N
> 6200 AGN, REV=0x74
> [   21.454260] iwlagn 0000:0c:00.0: Unsupported (too old) EEPROM VER=0x423 <
> 0x434 CALIB=0x5 < 0x4
> [   21.454297] iwlagn 0000:0c:00.0: PCI INT A disabled
> [   21.454304] iwlagn: probe of 0000:0c:00.0 failed with error -22

(In reply to comment #22)
> Just tried a live Ubuntu USB with kernel 3.6.38-8-generic and the driver
> appears to complain about the EEPROM version.
> 
> "Chuck": is the fix you reported of 2.6.38.3 only relevant for Fedora?
> 
> Here is the output of the Ubuntu session:
> 
> ubuntu@ubuntu:~$ uname -r
> 2.6.38-8-generic
> 
> ubuntu@ubuntu:~$ s
> ubuntu@ubuntu:~$ dmesg | grep iw
> [   21.438459] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux,
> in-tree:
> [   21.438463] iwlagn: Copyright(c) 2003-2010 Intel Corporation
> [   21.438559] iwlagn 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> [   21.438590] iwlagn 0000:0c:00.0: setting latency timer to 64
> [   21.438663] iwlagn 0000:0c:00.0: Detected Intel(R) Centrino(R) Advanced-N
> 6200 AGN, REV=0x74
> [   21.454260] iwlagn 0000:0c:00.0: Unsupported (too old) EEPROM VER=0x423 <
> 0x434 CALIB=0x5 < 0x4
> [   21.454297] iwlagn 0000:0c:00.0: PCI INT A disabled
> [   21.454304] iwlagn: probe of 0000:0c:00.0 failed with error -22

where you get your NIC from?

Thanks
Wey