← Back to team overview

kernel-packages team mailing list archive

[Bug 1262388] Re: 8086:08b1 [Toshiba Satellite P55-A5312] Intel 7260 Wifi regularly crashes

 

Managed to get the wifi stable by disabling n and power savings.
sudo vi /etc/modprobe.d/iwlwifi-disable11n.conf
Add this line: options iwlwifi 11n_disable=1
powertop to set Wireless Power Saving for interface wlan0 off

uname -a
Linux p55t 3.13.0-20-generic #42-Ubuntu SMP Fri Mar 28 09:56:33 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Some info from lspci (after the above config changes):

02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
	Subsystem: Intel Corporation Wireless-N 7260
	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 59
	Region 0: Memory at f7d00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee0800c  Data: 41b1
	Capabilities: [40] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop+ FLReset-
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <32us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via WAKE#
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
	Capabilities: [140 v1] Device Serial Number fc-f8-ae-ff-ff-58-32-b1
	Capabilities: [14c v1] Latency Tolerance Reporting
		Max snoop latency: 3145728ns
		Max no snoop latency: 3145728ns
	Capabilities: [154 v1] Vendor Specific Information: ID=cafe Rev=1 Len=014 <?>
	Kernel driver in use: iwlwifi

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1262388

Title:
  8086:08b1 [Toshiba Satellite P55-A5312] Intel 7260 Wifi regularly
  crashes

Status in “linux” package in Ubuntu:
  Triaged

Bug description:
  My wifi connection is rather unstable in Saucy and Trusty using the
  default firmware and kernel. Once the abort occurs, wifi becomes very
  unstable, crashing every 5 mins.

  I've also tested kernel version 3.11.8, using Firmware
  iwlwifi-7260-7-ucode (ie. version 7) for the 7260 controller.

  So far, the following commit has helped in dealing with this issue:
  http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-trusty.git;a=commitdiff;h=6960a059b2c618f32fe549f13287b3d2278c09e9

  Looking at dmesg, the failure appears to originate as:
  [ 398.780636] ieee80211 phy0: Hardware restart was requested
  [ 398.781020] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
  [ 398.781158] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
  [ 398.789161] iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.

  Then, after some register values (I can post these if you want), I get:
  [ 398.789618] iwlwifi 0000:02:00.0: Firmware error during reconfiguration! Abort.
  [ 398.789622] iwlwifi 0000:02:00.0: FW error in SYNC CMD MAC_CONTEXT_CMD

  Finally, I get the same warning in util.c:
  [ 398.789949] WARNING: CPU: 2 PID: 1474 at /home/apw/COD/linux/net/mac80211/util.c:1509 ieee80211_reconfig+0x15d9/0x1860 [mac80211]()

  Edit:  I have since upgraded to kernel 3.13, and although the crash still occurs, iwlwifi tries to restart itself.  I can see the wifi icon disconnect and then reconnect automatically a few seconds later.  This trace is from syslog:
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.310204] ieee80211 phy0: Hardware restart was requested
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.310566] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.310720] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319280] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
  ..
  ..
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319749] iwlwifi 0000:02:00.0: Firmware error during reconfiguration - reprobe!
  ..
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319778] Workqueue: events ieee80211_restart_work [mac80211]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319781]  ffff88019450b218 ffff8800d9313a98 ffffffff81757304 0000000000000000
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319786]  ffff880194508000 ffff8800d9313b28 ffffffffa02cd100 ffff880196b6c000
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319790]  ffffffff00000019 00000015d9120000 0000000000000019 ffff880000000000
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319794] Call Trace:
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319801]  [<ffffffff81757304>] dump_stack+0x46/0x58
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319813]  [<ffffffffa02cd100>] iwl_pcie_send_hcmd_sync+0x580/0x590 [iwlwifi]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319819]  [<ffffffff810ad760>] ? __wake_up_sync+0x20/0x20
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319828]  [<ffffffffa02ce53a>] iwl_trans_pcie_send_hcmd+0x2a/0x80 [iwlwifi]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319836]  [<ffffffffa0585d3e>] iwl_mvm_send_cmd+0x2e/0xa0 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319841]  [<ffffffffa0585ded>] iwl_mvm_send_cmd_pdu+0x3d/0x40 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319847]  [<ffffffffa0583ff3>] iwl_mvm_mac_ctxt_send_cmd+0x33/0x70 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319853]  [<ffffffffa0584e00>] iwl_mvm_mac_ctxt_cmd_station+0xe0/0x140 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319858]  [<ffffffffa0585526>] iwl_mvm_mac_ctx_send+0x56/0xa0 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319863]  [<ffffffffa058597e>] iwl_mvm_mac_ctxt_add+0x2e/0xc0 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319868]  [<ffffffffa058134a>] iwl_mvm_mac_add_interface+0xfa/0x2d0 [iwlmvm]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319872]  [<ffffffff81611787>] ? led_trigger_event+0x47/0x60
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319891]  [<ffffffffa04de924>] ieee80211_reconfig+0x5e4/0x1840 [mac80211]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319903]  [<ffffffffa04b9f48>] ? ieee80211_scan_cancel+0xb8/0x1b0 [mac80211]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319913]  [<ffffffffa04b11d7>] ieee80211_restart_work+0x87/0xb0 [mac80211]
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319917]  [<ffffffff810843cf>] process_one_work+0x17f/0x4c0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319920]  [<ffffffff810855fb>] worker_thread+0x11b/0x3d0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319924]  [<ffffffff810854e0>] ? manage_workers.isra.21+0x190/0x190
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319927]  [<ffffffff8108c599>] kthread+0xc9/0xe0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319932]  [<ffffffff8108c4d0>] ? flush_kthread_worker+0xb0/0xb0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319936]  [<ffffffff8176ce7c>] ret_from_fork+0x7c/0xb0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319940]  [<ffffffff8108c4d0>] ? flush_kthread_worker+0xb0/0xb0
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.319944] iwlwifi 0000:02:00.0: Failed to send MAC context (action:1): -5
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.320045] iwlwifi 0000:02:00.0: PHY ctxt cmd error. ret=-5
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.320047] iwlwifi 0000:02:00.0: Failed to add PHY context
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.320049] ------------[ cut here ]------------
  Dec 18 16:27:58 RoganJosh-JME kernel: [  407.320067] WARNING: CPU: 2 PID: 867 at /home/apw/COD/linux/net/mac80211/util.c:1531 ieee80211_reconfig+0x15b9/0x1840 [mac80211]()

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.8.0-34-generic 3.8.0-34.49~precise1
  ProcVersionSignature: Ubuntu 3.8.0-34.49~precise1-generic 3.8.13.12
  Uname: Linux 3.8.0-34-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.8.0-34-generic.
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 2: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  jamesmeast   1960 F.... pulseaudio
   /dev/snd/controlC0:  jamesmeast   1960 F.... pulseaudio
   /dev/snd/controlC1:  jamesmeast   1960 F.... pulseaudio
  CRDA:
   country CN:
    (2402 - 2482 @ 40), (N/A, 20)
    (5735 - 5835 @ 40), (N/A, 30)
  Card0.Amixer.info:
   Card hw:0 'MID'/'HDA Intel MID at 0xf7d14000 irq 60'
     Mixer name	: 'Intel Haswell HDMI'
     Components	: 'HDA:80862807,1179fa40,00100000'
     Controls      : 7
     Simple ctrls  : 1
  Card0.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Card1.Amixer.info:
   Card hw:1 'Speaker'/'           Logitech Logitech Speaker at usb-0000:00:1d.0-1.2, full speed'
     Mixer name	: 'USB Mixer'
     Components	: 'USB046d:0a10'
     Controls      : 3
     Simple ctrls  : 1
  Card2.Amixer.info:
   Card hw:2 'PCH'/'HDA Intel PCH at 0xf7d10000 irq 61'
     Mixer name	: 'IDT 92HD99BXX'
     Components	: 'HDA:111d76e5,1179fa4e,00100303'
     Controls      : 19
     Simple ctrls  : 9
  Date: Wed Dec 18 16:39:34 2013
  HibernationDevice: RESUME=UUID=24d8f789-5daa-4fd3-a941-8321de03a19c
  InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
  MachineType: TOSHIBA Satellite P55-A
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-34-generic.efi.signed root=UUID=8e841222-9826-40f5-9aba-d1949b774240 ro acpi_osi=Linux acpi_backlight=vendor quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-34-generic N/A
   linux-backports-modules-3.8.0-34-generic  N/A
   linux-firmware                            1.79.9
  SourcePackage: linux-lts-raring
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/09/2013
  dmi.bios.vendor: TOSHIBA
  dmi.bios.version: 1.40
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: VG10ST
  dmi.board.vendor: TOSHIBA
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: TOSHIBA
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnTOSHIBA:bvr1.40:bd10/09/2013:svnTOSHIBA:pnSatelliteP55-A:pvrPSPMJU-01U02J:rvnTOSHIBA:rnVG10ST:rvrTobefilledbyO.E.M.:cvnTOSHIBA:ct10:cvrToBeFilledByO.E.M.:
  dmi.product.name: Satellite P55-A
  dmi.product.version: PSPMJU-01U02J
  dmi.sys.vendor: TOSHIBA

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1262388/+subscriptions