Intel WiFi Link 5300 doesn't work with kernel 3.2.0.24

Bug #997883 reported by Adam Drescher
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

A couple of days ago, I upgraded to not only Ubuntu 12.04 LTS, but also from kernel 3.0.0.17 to 3.2.0.24. This worked correctly at my friends house just fine. However, I flew home and now my computer cannot ping or connect to the internet at all. (Both of these were wireless networks). I switched to my windows partition of my computer, and it connected to the internet no issues.
So the problem was isolated to ubuntu.

My computer is a Dell Studio XPS which is about 3 years old now. The WiFi adapter is an Intel WiFi Link 5300. This will play into the game later.

After a couple of hours searching around and talking to people, a few things were unearthed. First, that a dhcp lease was obtained from the router. Other than that, the computer could not communicate with anything on the network (no ping even). All of the /etc/hosts, /etc/hostname, and /etc/network/interfaces stuff was in order. There was nothing abnormal in any of the logs that were checked.

With the help of some googling, someone pointed out that it sounded remarkably like what was happening in this thread. DHCP lease acquired, no transmission after that. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/420678
This was for the Intel Wifi Link 5300. That is my adapter. It must be conflicting between the G and N standards from the Linksys WRT310N router here at home, and it must not have had that conflict at the previous house I was at. I booted into a previous version of the kernel (3.0.0.17) and there was no issue (that's actually how I'm typing this right now). I performed a "sudo apt-get --reinstall install linux-image-3.2.0-24-generic" to make sure the kernel was correct, and the error repeated after a restart. Once again, I booted into the previous version of the kernel, and it worked correctly.

If there is any differing conclusion about what happened, feel free to let me know!

Just to verify the version claim, my "lsb_release -rd" output is:

Description: Ubuntu 12.04 LTS
Release: 12.04

Here is the "lspci -vvxxx" result for the network adapter:

04:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
 Subsystem: Intel Corporation Device 1121
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 47
 Region 0: Memory at f8000000 (64-bit, non-prefetchable) [size=8K]
 Capabilities: <access denied>
 Kernel driver in use: iwlagn
 Kernel modules: iwlagn
00: 86 80 35 42 06 01 10 00 00 00 80 02 10 00 00 00
10: 04 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 21 11
30: 00 00 00 00 c8 00 00 00 00 00 00 00 0a 01 00 00
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: adam 1833 F.... pulseaudio
 /dev/snd/controlC0: adam 1833 F.... pulseaudio
 /dev/snd/pcmC0D0p: adam 1833 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc400000 irq 47'
   Mixer name : 'IDT 92HD73C1X5'
   Components : 'HDA:111d7675,10280272,00100103'
   Controls : 16
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfeec000 irq 48'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: Dell Inc. Studio XPS 1640
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-17-generic root=UUID=F4FE6024FE5FDE04 loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-17-generic N/A
 linux-backports-modules-3.0.0-17-generic N/A
 linux-firmware 1.79
SourcePackage: linux
Tags: precise precise
Uname: Linux 3.0.0-17-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-05-06 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 03/29/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.name: 0Y536R
dmi.board.vendor: Dell Inc.
dmi.board.version: A14
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A14
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd03/29/2010:svnDellInc.:pnStudioXPS1640:pvrA143:rvnDellInc.:rn0Y536R:rvrA14:cvnDellInc.:ct8:cvrA14:
dmi.product.name: Studio XPS 1640
dmi.product.version: A143
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/997883/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 997883

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: precise
Revision history for this message
Adam Drescher (adam-r-drescher) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Adam Drescher (adam-r-drescher) wrote : AlsaDevices.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : AplayDevices.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : BootDmesg.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : CRDA.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : IwConfig.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : Lspci.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : Lsusb.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : PciMultimedia.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : ProcModules.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : PulseList.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : RfKill.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote : UdevDb.txt

apport information

Revision history for this message
Adam Drescher (adam-r-drescher) wrote :

I ran the apport-collect on the bug report

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
T T (netti+ubuntu) wrote :

As a temporary workaround disable wlan-N mode from your wifi card. This might solve your problems.
@see http://ubuntuforums.org/showthread.php?p=11886615

Running this in shell (gnome-terminal or konsole) will add comment and required iwlwidi options to /etc/modprobe.d/iwlwifi.conf file (next is a oneliner)
sudo su -c 'echo -e "## SEE http://ubuntuforums.org/showthread.php?p=11886615\n## Problem with Intel Corporation Ultimate N WiFi Link 5300\n## mising G and N protocols \noptions iwlwifi 11n_disable=1" > /etc/modprobe.d/iwlwifi.conf ; depmod -a '

OR create and edit as root this file /etc/modprobe.d/iwlwifi.conf and add
# options line below to it
options iwlwifi 11n_disable=1

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc7-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Adam Drescher (adam-r-drescher) wrote :

Joseph,

I downloaded the linux-headers.deb file from the v3.4-rc7-precise and followed the installation instructions from the KernelMainlineBuilds ink you sent.

After running "sudo dpkg -i linux-headers-3.4.0-030400rc7_3.4.0-030400rc7.201205122235_all.deb" and restarting, a new entry did not appear on my boot menu like the instructions said. So, I booted into the normal kernel and it didn't work.

Either it didn't install correctly and I'm doing something wrong, or the problem is still in the upstream headers (if they were used).

Can you clarify?

Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Salih EMIN (salih-emin) wrote :

It doesn't work either in 3.2.0.29
I will download the source kernel and check if this is enabled as a wirless card in kernel 3.2.0.29 and report back.

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Salih EMIN (salih-emin) wrote :

A follow-up comment.

For the past 3 months I was using a custom kernel (now based on 3.3.7 mainline kernel) and wifi was working. Today for project that I needed, I removed this custom kernel and rebooted to the official ubuntu kernel (3.2.0.29.46 witch is based on 3.2.24 mainline kernel). This is when I realized that wirless was not working.

To investigate why it stopped working, I downloaded the source kernel package for 3.2.0.29.46 (the latest) and checked if the modules for Intel Corporation Ultimate N WiFi Link 5300 are disabled or not. Oddly as you can see from the screenshot I have found them enabled even if it doesn't work on that kernel.

Then I downloaded again and installed the custom kernel package (3.3.7) that I was using for the past 3 months and after rebooting, wifi was working.

Just for the sake of testing, I rebooted again to the official kernel (without removing the 3.3.7 custom kernel) and oddly the wifi started to work.

I suppose that there must be a configuration file that has changed with the installation of the newer (custom) kernel and made it possible to wirk the wifi with the official (old) kernel

Revision history for this message
penalvch (penalvch) wrote :

Adam Drescher, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: bios-outdated-a15
removed: wifi
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.