Surface Pro 3 freezes when downloading data with high bandwith usage (e.g. 100MBit/s) via 2.4GHz wifi

Asked by Corben

I'm experiencing frequent freezes of my Surface Pro 3 running Ubuntu 16.04.2 LTS (Kernel 4.8) when downloading data with high speed (e.g. 100 MBit/s).
I was able to see a crash report from the kernel in syslog once live (via tail -f), but it didn't get written onto disk, so it was lost after a reboot. And I wasn't able to see it again yet.
When this happens, I have to power down the SP3 by holding the power button for ca. 10s.

After several tests, this seems to happen mostly when being connected to a 2.4GHz network.
I was running Ubuntu 15.10 with the "tigerite kernel" (https://launchpad.net/~tigerite/+archive/ubuntu/kernel) before, and also with Ubuntu 16.04 for a while, until I realized the tigerite kernel doesn't work with Vera Crypt (nor truecrypt). With the tigerite kernel this never happened in about 2 years of usage.

The newest mwifiex firmware blobs are installed from git.marvell.com/mwifiex-firmware.git (subdirectory mrvl).

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Corben (tobias-krummen) said :
#1

Seems this is not really related to wifi, but through this way it's very likely to happen.

I had another freeze with disabled wifi, and I realized that the home button was still reacting (it vibrates when touching the windows logo).

The surface pro 3 was still answering to pings (via usb ethernet/microsoft dock), even the ssh handshake worked, but I couldn't log in.

For testing purposes I'm on the linux-signed-image-generic-hwe-16.04-edge kernel (4.10.0.20.13)

Revision history for this message
Corben (tobias-krummen) said :
#2

Don't know if this is related, but I was able to capture a kernel bug when Firefox froze:

May 2 15:01:40 surfacepro3 kernel: [10627.357304] ------------[ cut here ]------------
May 2 15:01:40 surfacepro3 kernel: [10627.357346] kernel BUG at /build/linux-hwe-edge-kv4Jdc/linux-hwe-edge-4.10.0/include/linux/swapops.h:129!
May 2 15:01:40 surfacepro3 kernel: [10627.357399] invalid opcode: 0000 [#1] SMP
May 2 15:01:40 surfacepro3 kernel: [10627.357423] Modules linked in: nls_utf8 isofs rfcomm input_leds hid_apple bnep btusb btrtl btbcm btintel bluetooth hid_generic usbhid cdc_ether usbnet mii uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media nls_iso8859_1 hid_sensor_accel_3d joydev hid_sensor_incl_3d hid_sensor_magn_3d hid_sensor_rotation snd_soc_rt5640 hid_sensor_gyro_3d hid_sensor_als hid_sensor_trigger snd_hda_codec_hdmi industrialio_triggered_buffer snd_soc_rl6231 hid_sensor_iio_common snd_soc_core snd_hda_codec_realtek snd_compress hid_sensor_hub snd_hda_codec_generic ac97_bus elan_i2c hid_multitouch snd_pcm_dmaengine msr intel_rapl x86_pkg_temp_thermal intel_powerclamp kvm_intel mwifiex_pcie mwifiex kvm cfg80211 irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel pcbc
May 2 15:01:40 surfacepro3 kernel: [10627.357812] snd_hda_codec aesni_intel snd_hda_core snd_hwdep aes_x86_64 crypto_simd snd_pcm glue_helper cryptd intel_cstate snd_seq_midi snd_seq_midi_event intel_rapl_perf snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore mei_me shpchp mei lpc_ich snd_soc_sst_acpi snd_soc_sst_match acpi_als soc_button_array dw_dmac i2c_designware_platform tpm_crb 8250_dw surface3_button i2c_designware_core mac_hid surfacepro3_button kfifo_buf spi_pxa2xx_platform dw_dmac_core industrialio nfsd auth_rpcgss nfs_acl vhba(OE) lockd grace coretemp sunrpc parport_pc ppdev lp parport autofs4 uas usb_storage i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm ahci libahci sdhci_acpi sdhci video fjes i2c_hid hid
May 2 15:01:40 surfacepro3 kernel: [10627.358008] CPU: 0 PID: 3557 Comm: firefox Tainted: G OE 4.10.0-20-generic #22~16.04.1-Ubuntu
May 2 15:01:40 surfacepro3 kernel: [10627.358033] Hardware name: Microsoft Corporation Surface Pro 3/Surface Pro 3, BIOS 3.11.2050 11/11/2016
May 2 15:01:40 surfacepro3 kernel: [10627.358066] task: ffff9392eb33ad00 task.stack: ffffb733c2670000
May 2 15:01:40 surfacepro3 kernel: [10627.358101] RIP: 0010:__migration_entry_wait+0x167/0x180
May 2 15:01:40 surfacepro3 kernel: [10627.358122] RSP: 0000:ffffb733c2673d78 EFLAGS: 00010246
May 2 15:01:40 surfacepro3 kernel: [10627.358136] RAX: 000fffffc0048078 RBX: fffff360c64261b0 RCX: fffff360c64261b0
May 2 15:01:40 surfacepro3 kernel: [10627.358156] RDX: 0000000000000001 RSI: ffff9392d0986008 RDI: fffff360c0a18040
May 2 15:01:40 surfacepro3 kernel: [10627.358175] RBP: ffffb733c2673d90 R08: 00003ffffffff000 R09: ffff9392eb3dbe00
May 2 15:01:40 surfacepro3 kernel: [10627.358194] R10: 00003ffffffff000 R11: 0000000000000000 R12: fffff360c0a18040
May 2 15:01:40 surfacepro3 kernel: [10627.358214] R13: ffff9393089c1fd8 R14: ffffb733c2673e30 R15: ffff939308bcb960
May 2 15:01:40 surfacepro3 kernel: [10627.358234] FS: 00007f7f179bf740(0000) GS:ffff93938fa00000(0000) knlGS:0000000000000000
May 2 15:01:40 surfacepro3 kernel: [10627.358256] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 2 15:01:40 surfacepro3 kernel: [10627.358271] CR2: 00007f7ee2201108 CR3: 0000000240d8e000 CR4: 00000000001406f0
May 2 15:01:40 surfacepro3 kernel: [10627.358291] Call Trace:
May 2 15:01:40 surfacepro3 kernel: [10627.358302] migration_entry_wait+0x81/0x90
May 2 15:01:40 surfacepro3 kernel: [10627.358316] do_swap_page+0x5af/0x760
May 2 15:01:40 surfacepro3 kernel: [10627.358329] handle_mm_fault+0x85b/0x1280
May 2 15:01:40 surfacepro3 kernel: [10627.358343] __do_page_fault+0x240/0x4e0
May 2 15:01:40 surfacepro3 kernel: [10627.358356] do_page_fault+0x22/0x30
May 2 15:01:40 surfacepro3 kernel: [10627.358370] page_fault+0x28/0x30
May 2 15:01:40 surfacepro3 kernel: [10627.358381] RIP: 0033:0x560d305a50ac
May 2 15:01:40 surfacepro3 kernel: [10627.358392] RSP: 002b:00007ffd05354160 EFLAGS: 00010283
May 2 15:01:40 surfacepro3 kernel: [10627.358407] RAX: 00007f7ee2e00860 RBX: 00007f7ee1219200 RCX: 00007f7ee2201100
May 2 15:01:40 surfacepro3 kernel: [10627.358426] RDX: 00007f7ee2800998 RSI: 00007f7ee1e00050 RDI: 00007f7f16600f38
May 2 15:01:40 surfacepro3 kernel: [10627.358445] RBP: 00007f7f16600040 R08: 00007f7ee3501430 R09: 00007f7ee2800998
May 2 15:01:40 surfacepro3 kernel: [10627.358464] R10: 00007f7f16600f40 R11: 00007f7ee2800998 R12: 0000000000000200
May 2 15:01:40 surfacepro3 kernel: [10627.358483] R13: 00007f7f16600f30 R14: 00007f7ee1200000 R15: 00007f7ee1212000
May 2 15:01:40 surfacepro3 kernel: [10627.358502] Code: ff ff ff 4c 89 e7 e8 89 a5 f8 ff e9 3c ff ff ff 85 d2 0f 84 2a ff ff ff 8d 4a 01 89 d0 f0 41 0f b1 4d 00 39 c2 74 81 89 c2 eb e5 <0f> 0b 4c 89 e7 e8 ff fe f9 ff eb b8 4c 8d 60 ff 4c 8d 68 1b eb
May 2 15:01:40 surfacepro3 kernel: [10627.358565] RIP: __migration_entry_wait+0x167/0x180 RSP: ffffb733c2673d78
May 2 15:01:40 surfacepro3 kernel: [10627.369824] ---[ end trace 7da339f3bec2fd8b ]---

The Firefox window went dark, and I closed it through the x button, where I had to confirm to close Firefox and not wait for it. Firefox was still in the process list with <defunct>.
This happened today once before, where first Firefox froze, after a few secs Thunderbird, and then the complete system.

Revision history for this message
Felix Schuster (felix-schuster) said :
#3

I've also made this experience and found this bugreport:
https://askubuntu.com/questions/50833/invalid-opcode-0000

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.