12.10: Wifi is unstable, disconnect once a minute

Bug #997774 reported by Torstein Bø
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
network-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Once every minute the wifi disconnect and then reconnect. I have tried different networks, all with the same results.

Here is some of the output from dmesg:

[ 1131.645672] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1139.322167] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1143.518989] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1152.629460] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1159.385516] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1162.334816] wlan0: deauthenticating from 00:21:29:c6:64:82 by local choice (reason=3)
[ 1162.371668] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 1162.371682] cfg80211: Restoring regulatory settings
[ 1162.371695] cfg80211: Calling CRDA to update world regulatory domain
[ 1162.380448] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[ 1162.380457] cfg80211: World regulatory domain updated:
[ 1162.380461] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1162.380468] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1162.380474] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1162.380479] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1162.380484] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1162.380489] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1168.364776] wlan0: authenticate with 00:21:29:c6:64:82
[ 1168.371440] wlan0: send auth to 00:21:29:c6:64:82 (try 1/3)
[ 1168.374398] wlan0: authenticated
[ 1168.377634] wlan0: associate with 00:21:29:c6:64:82 (try 1/3)
[ 1168.381704] wlan0: RX AssocResp from 00:21:29:c6:64:82 (capab=0x411 status=0 aid=7)
[ 1168.381707] wlan0: associated
[ 1180.370191] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1188.457094] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1195.110835] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1200.229042] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1205.859130] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1215.788450] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1222.339402] wlan0: deauthenticating from 00:21:29:c6:64:82 by local choice (reason=3)
[ 1222.362122] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 1222.362138] cfg80211: Restoring regulatory settings
[ 1222.362150] cfg80211: Calling CRDA to update world regulatory domain
[ 1222.368767] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[ 1222.368771] cfg80211: World regulatory domain updated:
[ 1222.368772] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1222.368775] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1222.368777] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1222.368779] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1222.368781] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1222.368783] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1228.349116] wlan0: authenticate with 00:21:29:c6:64:82
[ 1228.353431] wlan0: send auth to 00:21:29:c6:64:82 (try 1/3)
[ 1228.356477] wlan0: authenticated
[ 1228.359911] wlan0: associate with 00:21:29:c6:64:82 (try 1/3)
[ 1228.364234] wlan0: RX AssocResp from 00:21:29:c6:64:82 (capab=0x411 status=0 aid=7)
[ 1228.364243] wlan0: associated
[ 1232.474032] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1240.560662] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1248.648051] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1253.868127] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1259.088798] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1262.466777] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1268.813498] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1275.159997] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1282.349072] wlan0: deauthenticating from 00:21:29:c6:64:82 by local choice (reason=3)
[ 1282.378098] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 1282.378114] cfg80211: Restoring regulatory settings
[ 1282.378127] cfg80211: Calling CRDA to update world regulatory domain
[ 1282.388214] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
[ 1282.388223] cfg80211: World regulatory domain updated:
[ 1282.388227] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1282.388234] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1282.388240] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1282.388245] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1282.388250] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1282.388255] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1288.335106] wlan0: authenticate with 00:21:29:c6:64:82
[ 1288.339419] wlan0: send auth to 00:21:29:c6:64:82 (try 1/3)
[ 1288.343622] wlan0: authenticated
[ 1288.344118] wlan0: associate with 00:21:29:c6:64:82 (try 1/3)
[ 1288.349845] wlan0: RX AssocResp from 00:21:29:c6:64:82 (capab=0x411 status=0 aid=7)
[ 1288.349855] wlan0: associated
[ 1293.790802] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1299.727550] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1309.349929] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1316.720139] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1323.786391] ICMPv6 RA: ndisc_router_discovery() failed to add default route.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.4.0-1-generic 3.4.0-1.3
ProcVersionSignature: Ubuntu 3.4.0-1.3-generic 3.4.0-rc5
Uname: Linux 3.4.0-1-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.25.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: torstein 1836 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf3920000 irq 46'
   Mixer name : 'Conexant CX20590'
   Components : 'HDA:14f1506e,17aa21ce,00100000'
   Controls : 20
   Simple ctrls : 10
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu May 10 21:43:19 2012
HibernationDevice: RESUME=UUID=f2dc33e1-9733-4245-bab0-f49e03180d13
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120510)
MachineType: LENOVO 4177CTO
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:
 0 inteldrmfb
 1 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.4.0-1-generic root=UUID=42670cd3-c56a-40d4-a799-924955cc21c9 ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.4.0-1-generic N/A
 linux-backports-modules-3.4.0-1-generic N/A
 linux-firmware 1.80
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/28/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 83ET67WW (1.37 )
dmi.board.asset.tag: Not Available
dmi.board.name: 4177CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr83ET67WW(1.37):bd11/28/2011:svnLENOVO:pn4177CTO:pvrThinkPadT420:rvnLENOVO:rn4177CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4177CTO
dmi.product.version: ThinkPad T420
dmi.sys.vendor: LENOVO

Revision history for this message
Torstein Bø (haarek) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Craig Hrabal (mathor)
Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a kernel version where you were not having this particular problem? This will help determine if the problem you are seeing is the result of the introduction of a regression, and when this regression was introduced

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Torstein Bø (haarek) wrote :

It happened after I installed a clean ubuntu 12.10 from live cd.
This is not a problem in 12.04 which I have installed on another partition.

Revision history for this message
Torstein Bø (haarek) wrote :

A workaround of the problem is to set edit the connection and in "IPv6 Settings" set method to "Ignore".

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

I'd like to perform a kernel bisect to find the commit that introduced this regression. Would it be possible for you to test a few kernels?

If so, Can you first test the following kernels to and report back which kernel(s) have the bug:

v3.2.17: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2.17-precise/
v3.3.6: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.6-precise/
v3.4-rc1 http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc1-precise/

Based on your results, we can narrow down when the regression was introduced.

Thanks in advance!

tags: added: kernel-da-key
Revision history for this message
Torstein Bø (haarek) wrote :

Thanks for all help!

I have tested the suggested kernels and only v3.2.17 works, both the other two gives the same problem as before.

I can gladly test more kernels, if that helps!

Revision history for this message
Torstein Bø (haarek) wrote :

To try to pin point it even more I also tested v3.3-rc1-precise/ and v3.3.1-precise/, both did not work.

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

Thanks for testing, Torstein.

There will be a few test kernels generated during the Bisect. I will build the first test kernel between version 3.2.17 and 3.3-rc1. I'll post a link to the kernel shortly.

Revision history for this message
Thomas Hood (jdthood) wrote :

Does it make any difference if you comment out "dns=dnsmasq" in /etc/NetworkManager/NetworkManager.conf?

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

I built the first test kernel, but to the following commit:
2ac9d7aaccbd598b5bd19ac40761b723bb675442

The test kernel can be downloaded from:
http://people.canonical.com/~jsalisbury/lp997774/

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Thomas Hood (jdthood)
summary: - 12.10: Wifi is unstable, disconnect once a minute
+ 12.10: Wifi is unstable, disconnect once a minute unless ipv6
+ method=ignore
Revision history for this message
Torstein Bø (haarek) wrote : Re: 12.10: Wifi is unstable, disconnect once a minute unless ipv6 method=ignore

I now tested both method.
It did not work to comment out "dns=dnsmasq" in /etc/NetworkManager/NetworkManager.conf

However, the kernel worked!

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

Thanks for testing that kernel, Torstein. I'll update the bisect and build the next kernel.

summary: - 12.10: Wifi is unstable, disconnect once a minute unless ipv6
- method=ignore
+ 12.10: Wifi is unstable, disconnect once a minute
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, but to the following commit:
a429638cac1e5c656818a45aaff78df7b743004e

The test kernel can be downloaded from:
http://people.canonical.com/~jsalisbury/lp997774/

Can you test that kernel and report back if it has the bug or not. I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Torstein Bø (haarek) wrote :

I have now updated the default kernel and the problem seems to have been fixed!

Thanks to everybody who have helped!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Per comment #14, I'm closing this as Fix Released against the kernel. Thanks.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Changed in network-manager (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Carnalbeast (carnalbeast) wrote :

I have the same problem i have full signal on my wifi , it connects to the wifi i have internet access for 2-3 minutes then i have no internet access , the wifi is still connected !
when im trying to disconnect and reconnect i have internet access again but only for 1-3 minutes !
This is weird !
And i like so much the new version of ubuntu.

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

@Carnalbeast,

Can you open a new bug for your issue? That will allow us to review the details of your system.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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