Intel Wireless 7260 often crashes

Bug #1684213 reported by Ben
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned
linux-firmware (Ubuntu)
Confirmed
Undecided
Unassigned
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hardware: Acer CB3-131 Chromebook (GNAWTY) running Ubuntu Mate natively (BIOS enabled by SeaBIOS firmware from scripts here:https://mrchromebox.tech/). Uses Intel 7260 wifi, rev. bb:
01:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)

Software: Ubuntu Mate 17.04, upgraded from 16.10. Currently, everything (kernel, firmware, etc.) is stock. Issue has persisted across multiple installations.

Bug: Wifi/Bluetooth crashes and refuses to come back up, even after multiple reboots. Issue persists across distros (Arch, Ubuntu, etc.)

When the wireless (Bluetooth and WiFi) works, it works flawlessly. However, upon boot, it is not uncommon for the wireless to stop working within two minutes of login time. Curiously, the GUI usually still shows being "connected", though trying to change anything with the wifi shows otherwise. Other times, upon system resume when wireless was previously working, the GUI will show "device not ready" and refuse to continue. Dmesg shows the following:
[ 423.814823] Bluetooth: hci0 command 0x1403 tx timeout
[ 424.172973] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
[ 424.173062] iwlwifi 0000:01:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
[ 424.173067] iwlwifi 0000:01:00.0: Scan failed! ret -5
[ 425.194487] iwlwifi 0000:01:00.0: Failed to wake NIC for hcmd
[ 425.194589] iwlwifi 0000:01:00.0: Error sending SCAN_OFFLOAD_REQUEST_CMD: enqueue_hcmd failed: -5
[ 425.194593] iwlwifi 0000:01:00.0: Scan failed! ret -5

Solution: Rebooting doesn't fix the problem. Perhaps a different firmware version will work better? Configuration settings? etc.? Unknown.

Thanks ahead of time for the help. Let me know if there's anything you need/commands I should run/solutions I can attempt.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-19-generic 4.10.0-19.21
ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8
Uname: Linux 4.10.0-19-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bmueller 1669 F.... pulseaudio
CurrentDesktop: MATE
Date: Wed Apr 19 10:34:11 2017
InstallationDate: Installed on 2017-04-13 (6 days ago)
InstallationMedia: Ubuntu-MATE 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 8087:07dc Intel Corp.
 Bus 001 Device 002: ID 0bda:57cf Realtek Semiconductor Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: GOOGLE Gnawty
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-19-generic root=UUID=45b1dd3f-10df-4a28-904c-74c694ef75a5 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-19-generic N/A
 linux-backports-modules-4.10.0-19-generic N/A
 linux-firmware 1.164
SourcePackage: linux
UpgradeStatus: Upgraded to zesty on 2017-04-16 (2 days ago)
dmi.bios.date: 08/16/2015
dmi.bios.vendor: coreboot
dmi.chassis.type: 3
dmi.chassis.vendor: GOOGLE
dmi.modalias: dmi:bvncoreboot:bvr:bd08/16/2015:svnGOOGLE:pnGnawty:pvr1.0:cvnGOOGLE:ct3:cvr:
dmi.product.name: Gnawty
dmi.product.version: 1.0
dmi.sys.vendor: GOOGLE

Revision history for this message
Ben (ben-mueller1998) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Nikas (nikaslg) wrote :

Dell xps 9333, same problem.

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

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

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'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11-rc7

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Ben (ben-mueller1998) wrote :

Some additional notes after testing for a while...

The crashing behavior doesn't occur consistently in the same way. Sometimes the Bluetooth crashes with the Wifi, while sometimes it recovers fine and continues to work while the Wifi doesn't. In addition, it seems that the Wifi crash breaks NetworkManager as well- when I try to plug in a USB WiFi card, the networks show up but give me the following error in dmesg whenever the usb adapter tries to connect:

[21857.875157] wlx002129e30688: authenticate with 8e:15:44:a9:86:22
[21857.924545] wlx002129e30688: send auth to 8e:15:44:a9:86:22 (try 1/3)
[21857.926882] wlx002129e30688: authenticated
[21863.316129] wlx002129e30688: authenticate with 8e:15:44:a9:85:f8
[21863.371861] wlx002129e30688: send auth to 8e:15:44:a9:85:f8 (try 1/3)
[21863.374438] wlx002129e30688: authenticated
[21868.376165] wlx002129e30688: aborting authentication with 8e:15:44:a9:85:f8 by local choice (Reason: 3=DEAUTH_LEAVING)
[21868.740813] wlx002129e30688: authenticate with 8e:15:44:a9:82:fa
[21868.788615] wlx002129e30688: send auth to 8e:15:44:a9:82:fa (try 1/3)
[21868.790444] wlx002129e30688: authenticated
[21873.795552] wlx002129e30688: aborting authentication with 8e:15:44:a9:82:fa by local choice (Reason: 3=DEAUTH_LEAVING)

This repeats until it gives up trying to connect. Yet, tethering to my Android phone over USB DOES usually work. Restarting the NetworkManager service has no effect on the wifi issue.

@jsalisbury: This issue has persisted across kernel versions and Ubuntu versions. I had the same issue on 16.10, as well as Arch when I used it, upgrade or not. I'm not ruling out a regression however, but frankly I have no qualifications to say what the issue is caused by. If I have time (and I get desperate enough) I'll try 16.04 and 14.04 and let you know if it's still present there.

I'll test the 4.11 kernel this weekend, in the meantime, I'll upload some more dmesg outputs.

Revision history for this message
Ben (ben-mueller1998) wrote :
Revision history for this message
Ben (ben-mueller1998) wrote :
Revision history for this message
Ben (ben-mueller1998) wrote :

It took less than 10 minutes of testing for the issue to come back up again under 4.11-rc7. Definitely NOT fixed upstream. I'll keep testing and see if I find any other unique behaviours/error messages. Thanks again, let me know if there's anything I can do!

tags: added: kernel-bug-exists-upstream
Revision history for this message
Ben (ben-mueller1998) wrote :

Issue definitely persists on 4.11/upstream. I came across an interesting output in dmesg which may explain why bluetooth works while the WiFi doesn't:

[17326.525545] iwlwifi 0000:01:00.0: Could not load the [0] uCode section
[17326.525697] iwlwifi 0000:01:00.0: Failed to start INIT ucode: -5
[17326.525702] iwlwifi 0000:01:00.0: Failed to run INIT ucode: -5
[17326.525705] iwlwifi 0000:01:00.0: Failed to start RT ucode: -5
[17391.638774] usb 1-4: USB disconnect, device number 64
[17392.015275] usb 1-4: new full-speed USB device number 65 using xhci_hcd
[17392.156505] usb 1-4: New USB device found, idVendor=8087, idProduct=07dc
[17392.156520] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[17392.179288] Bluetooth: hci0: read Intel version: 3707100180012d0d00
[17392.179426] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
[17392.367199] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated

What's interesting is that iwlwifi "can't load" the uCode/firmware, causing the internet/wifi portion to fail, but Bluetooth uses a separate firmware file on the same card, which itself works fine. So this probably explains why the bluetooth still works.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

There's a new 7260 firmware, can you try it?

1. Download https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-7260-17.ucode

2. Put 'iwlwifi-7260-17.ucode' to /lib/firmware

3. Reboot.

Revision history for this message
Seth Forshee (sforshee) wrote :

Zesty already has the latest 7260 firmware (revision 459231), and according to the attached CurrentDmesg.txt that's what being using:

[ 8.000329] iwlwifi 0000:01:00.0: loaded firmware version 17.459231.0 op_mode iwlmvm

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Seth, you are right, I didn't check it careful enough.

Ben, you probably need to file an upstream bug report.

You can also iwlwifi-core [1] as a last resort. It has some non-upstreamed fixes.

[1] https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release

Revision history for this message
Ben (ben-mueller1998) wrote :

Just a few updates which may be of use to anyone else having the same issues...

1). As this issue persists without a truly good solution, it may be a good idea to simply replace the wifi card with, say, an Atheros one which works better. You can find them relatively cheaply on ebay.

2). One of the major issues that I was having was that my main Wifi would crash internally, then whenever I tried to plug in a USB Wifi adapter they wouldn't work either, leaving me literally without any method of getting (wireless) internet. I assumed these two issues were connected, however, further research has led me to believe otherwise.

I tried entirely removing the internal wifi card to see if that would make a difference on the USB wifi cards, yet still neither of mine worked. Further looking revealed one or two strange oddities...

phy#1
 Interface wlx000f6001cb1f
  ifindex 3
  wdev 0x100000001
  addr 00:0f:60:01:cb:1f
  type managed
  txpower 20.00 dBm

The interface is WAY out of convention. As explained here (https://superuser.com/questions/1086632/wlan1-showing-as-weird-characters#1086705), interface names are limited to 16 bytes. My theory is that when network-manager tries to connect with this interface, it breaks that limit. The solution suggested in that thread works, append net.ifnames=0 to the kernel parameters in grub and suddenly all of my USB wifi adapters work fantastically.

I have a feeling this itself may warrant a separate bug report, I'll do some looking and see if anyone else is having the same issue/if someone's already reported it.

TL;DR: If your USB wifi doesn't work and you get weird/long interface names from "iw dev", use "net.ifnames=0" to fix the interface name and take back your wifi.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Chereshnovsky (joseph.chereshnovsky) wrote :
Norbert (nrbrtx)
tags: removed: zesty
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.