Intel graphics timeout, possibly caused wifi network to fail

Bug #1748678 reported by Lucy Llewellyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

My wifi network device stopped responding, unable to list any local wifi networks, which required turning off the adapter in settings and back-on again. while investigating I found the following in the dmesg output from the time the network device stopped responding. This is the only relevant message in recent history so I'm working on the assumption that somehow the intel gfx timeout knocked-onto the wifi device or the pci bus.

=== lcpsi of wifi card ===
03:00.0 Network controller: Broadcom Limited BCM4331 802.11a/b/g/n (rev 02)
 Subsystem: Apple Inc. AirPort Extreme
 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: 256 bytes
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at a0500000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: wl
 Kernel modules: bcma, wl

=== lspci of gfx ===
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Apple Inc. 3rd Gen Core processor Graphics Controller
 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
 Interrupt: pin A routed to IRQ 32
 Region 0: Memory at a0000000 (64-bit, non-prefetchable) [size=4M]
 Region 2: Memory at 90000000 (64-bit, prefetchable) [size=256M]
 Region 4: I/O ports at 2000 [size=64]
 [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
 Capabilities: <access denied>
 Kernel driver in use: i915
 Kernel modules: i915

=== relevant dmesg output ===
[ 7450.338278] pipe A vblank wait timed out
[ 7450.338321] ------------[ cut here ]------------
[ 7450.338380] WARNING: CPU: 2 PID: 29153 at /build/linux-UKCsxy/linux-4.13.0/drivers/gpu/drm/i915/intel_display.c:12848 intel_atomic_commit_tail+0xf7d/0xf90 [i915]
[ 7450.338380] Modules linked in: rfcomm scsi_transport_iscsi binfmt_misc veth ebtable_filter ebtables ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 xt_CHECKSUM xt_comment xt_tcpudp iptable_mangle unix_diag ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype xt_conntrack nf_nat nf_conntrack libcrc32c l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox mmc_block cmac bnep joydev applesmc input_polldev snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq_midi snd_seq_midi_event snd_rawmidi bcm5974 kvm_intel
[ 7450.338405] btusb btrtl uvcvideo btbcm btintel kvm bluetooth irqbypass videobuf2_vmalloc videobuf2_memops snd_seq ecdh_generic videobuf2_v4l2 videobuf2_core videodev intel_cstate intel_rapl_perf media wl(POE) input_leds snd_seq_device snd_timer mei_me lpc_ich cfg80211 mei snd soundcore thunderbolt sbs shpchp sbshc apple_gmux acpi_als kfifo_buf industrialio apple_bl mac_hid iptable_filter ip6table_filter ip6_tables br_netfilter bridge stp llc arp_tables parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor raid6_pq algif_skcipher af_alg hid_generic hid_apple usbhid hid dm_crypt crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 sdhci_pci ahci aesni_intel libahci sdhci i2c_algo_bit aes_x86_64 drm_kms_helper crypto_simd glue_helper syscopyarea cryptd sysfillrect sysimgblt fb_sys_fops
[ 7450.338442] drm video
[ 7450.338445] CPU: 2 PID: 29153 Comm: kworker/u8:6 Tainted: P OE 4.13.0-32-generic #35-Ubuntu
[ 7450.338446] Hardware name: Apple Inc. MacBookPro10,2/Mac-AFD8A9D944EA4843, BIOS MBP102.88Z.010B.B00.1708080805 08/08/2017
[ 7450.338478] Workqueue: events_unbound intel_atomic_commit_work [i915]
[ 7450.338479] task: ffff9873194445c0 task.stack: ffffb24909028000
[ 7450.338506] RIP: 0010:intel_atomic_commit_tail+0xf7d/0xf90 [i915]
[ 7450.338507] RSP: 0018:ffffb2490902bd90 EFLAGS: 00010286
[ 7450.338508] RAX: 000000000000001c RBX: 0000000000000000 RCX: 0000000000000000
[ 7450.338509] RDX: 0000000000000000 RSI: ffff98732f316578 RDI: ffff98732f316578
[ 7450.338509] RBP: ffffb2490902be48 R08: 0000000000000001 R09: 00000000000004b1
[ 7450.338510] R10: ffffb2490902bd90 R11: 0000000000000000 R12: 0000000000066ddd
[ 7450.338511] R13: ffff98731ab20000 R14: ffff98731a7ea000 R15: 0000000000000001
[ 7450.338512] FS: 0000000000000000(0000) GS:ffff98732f300000(0000) knlGS:0000000000000000
[ 7450.338512] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 7450.338513] CR2: 000007ee6fce1000 CR3: 00000001e440a006 CR4: 00000000001606e0
[ 7450.338514] Call Trace:
[ 7450.338519] ? dequeue_task_fair+0x49f/0x640
[ 7450.338521] ? wait_woken+0x80/0x80
[ 7450.338545] intel_atomic_commit_work+0x12/0x20 [i915]
[ 7450.338547] process_one_work+0x1e7/0x410
[ 7450.338550] worker_thread+0x4b/0x420
[ 7450.338553] kthread+0x125/0x140
[ 7450.338554] ? process_one_work+0x410/0x410
[ 7450.338556] ? kthread_create_on_node+0x70/0x70
[ 7450.338558] ret_from_fork+0x1f/0x30
[ 7450.338560] Code: ff ff ff 48 83 c7 08 e8 52 f0 67 e0 4c 8b 85 70 ff ff ff 4d 85 c0 0f 85 7b fa ff ff 8d 73 41 48 c7 c7 20 95 71 c0 e8 24 a3 69 e0 <0f> ff e9 65 fa ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[ 7450.338585] ---[ end trace 25a68c51a0b339ee ]---

=== dmesg after turning wifi off and on subsequent to failure ===
[ 8693.378637] ERROR @wl_dev_intvar_get :
[ 8693.378639] error (-1)
[ 8693.378641] ERROR @wl_cfg80211_get_tx_power :
[ 8693.378642] error (-1)

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-4.13.0-32-generic 4.13.0-32.35
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 10 23:55:17 2018
InstallationDate: Installed on 2017-12-27 (45 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
MachineType: Apple Inc. MacBookPro10,2
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-32-generic root=UUID=7cb29c7e-8fcd-46be-b0ef-765c9272df16 ro rootflags=subvol=@ quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-32-generic N/A
 linux-backports-modules-4.13.0-32-generic N/A
 linux-firmware 1.169.2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/08/2017
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP102.88Z.010B.B00.1708080805
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-AFD8A9D944EA4843
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro10,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-AFD8A9D944EA4843
dmi.modalias: dmi:bvnAppleInc.:bvrMBP102.88Z.010B.B00.1708080805:bd08/08/2017:svnAppleInc.:pnMacBookPro10,2:pvr1.0:rvnAppleInc.:rnMac-AFD8A9D944EA4843:rvrMacBookPro10,2:cvnAppleInc.:ct10:cvrMac-AFD8A9D944EA4843:
dmi.product.family: Mac
dmi.product.name: MacBookPro10,2
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
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 v4.16 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.16-rc1/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :

I've tentatively marked it as fixed upstream, but as the bug occurs sporadically I might not have tested long enough to recreate the conditions which trigger the bug. I don't have reliable reproduction steps (read: any steps) so I will continue testing the upstream kernel in case I do hit it.

tags: added: kernel-fixed-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :

Further, I've managed to cause two system lock-ups, which I do not have logs for because the lock-ups were so severe that the logging system didn't record the kernel logs before death. I therefore cannot attribute those two lockups to this issue for now. I've set-up netconsole now to try to gather logs from these lock-ups so that I can definitively attribute or rule them out.

tags: added: kernel-bug-exists-upstream
removed: kernel-fixed-upstream
Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :

I think the bug is still present upstream following more thorough usage. It seems sensitive to ambient light levels; using the computer in a darkened room (night) causes more intense and regular symptoms. It seems related to a bug I swear I filed a few years ago but didn't get any traction with, but I can't find any references to it. I recorded a video showing the screen flickering back then which I shared to show the physical manifestation - it's the same machine with similar behaviour but not as pronounced: https://youtu.be/zSP2EIAkkJg

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.