← Back to team overview

kernel-packages team mailing list archive

[Bug 1449438] Re: Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro

 

Hi,
I recently bought a used Surface Pro 1 and installed Ubuntu 15.10 on it (uses kernel 4.2.0). Already during install it locked up totally two times before I tried without connecting to the wireless network. After install everything seemed to work fine, I was even able to run apt-get update, but when I started up a browser the computer froze up again. Using the USB wifi I normally have on my Raspberry Pi I started looking for a solution and even installed linux-crashdump to attempt to debug it. However, once I got the crashkernel working so I would be able to debug I realized that it was not a real kernel crash but something else that made the computer unresponsive. To limit the amount of things active I logged in through the console (ctrl+alt+F1) and used wget to generate network traffic. The computer immediately went unresponsive, but there was no kernel oops. After a while some error messages started appearing:

NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [thermalId:608]
NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [thermalId:608]
NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [thermalId:608]
INFO: task systemd:1 blocked for more than 120 seconds.
      Tainted: G        W    L  4.2.0-18-generic #22-Ubuntu
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task systemd-journal:252 blocked for more than 120 seconds.
      Tainted: G        W    L  4.2.0-18-generic #22-Ubuntu
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task sd-resolve:469 blocked for more than 120 seconds.
      Tainted: G        W    L  4.2.0-18-generic #22-Ubuntu
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task (tmpfiles).1453 blocked for more than 120 seconds.
      Tainted: G        W    L  4.2.0-18-generic #22-Ubuntu
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [thermalId:608]

(Transcribed from a photo of the screen...)

Following advice from this thread I installed the 4.3 mainline kernel,
and now everything seems to be working. I am getting a lot of "usb 1-3:
data: -ENOSR is returned" messages in the kernel log, but as far as I
can tell they do not affect performance. Playing sound through a
Creative D100 bluetooth speaker also works, with the A2DP sink mode
active and stereo output.

>From looking at the code there are quite a few changes to the mwifiex
driver between 4.2.0 and 4.3.0, it does not seem meaningful to port them
back just to make 15.10 work with the default kernel.

Hope that helps,
David

-- 
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/1449438

Title:
  Marvell 88W8797 wifi (module mwifiex) does not work on Surface Pro

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I've been running Ubuntu 14.10 on a Microsoft Surface Pro. After some
  initial problems (see
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1165938) (fixed
  by kernel updates I guess) the wifi was working fine. Since the
  upgrade to 15.04 the problems are back: I can connect to a wifi
  network, the connection is working for a few seconds but drops right
  after. I attached the relevant entries in dmes.log.

  I tried installing the marvell firmware from git://git.marvell.com
  /mwifiex-firmware.git, that didn't change anything. I also tried the
  mainline kernel from http://kernel.ubuntu.com/~kernel-
  ppa/mainline/v4.1-rc1-vivid/: the connection is again working for a
  few seconds but the whole system hangs afterwards.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.19.0-15-generic 3.19.0-15.15
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  wilk       1792 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Tue Apr 28 10:57:42 2015
  HibernationDevice: RESUME=UUID=adb12a68-9928-4181-b4e2-487010d3c501
  InstallationDate: Installed on 2014-02-19 (432 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Microsoft Corporation Surface with Windows 8 Pro
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-15-generic.efi.signed root=UUID=919f00b8-5010-46e1-b2f9-c129e17d5312 ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.19.0-15-generic N/A
   linux-backports-modules-3.19.0-15-generic  N/A
   linux-firmware                             1.143
  SourcePackage: linux
  UpgradeStatus: Upgraded to vivid on 2015-04-27 (0 days ago)
  dmi.bios.date: 01/08/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1.00.0250
  dmi.board.asset.tag: 0
  dmi.board.name: Surface with Windows 8 Pro
  dmi.board.vendor: Microsoft Corporation
  dmi.board.version: 1
  dmi.chassis.asset.tag: 0
  dmi.chassis.type: 17
  dmi.chassis.vendor: Microsoft Corporation
  dmi.chassis.version: 1
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.00.0250:bd01/08/2013:svnMicrosoftCorporation:pnSurfacewithWindows8Pro:pvr1:rvnMicrosoftCorporation:rnSurfacewithWindows8Pro:rvr1:cvnMicrosoftCorporation:ct17:cvr1:
  dmi.product.name: Surface with Windows 8 Pro
  dmi.product.version: 1
  dmi.sys.vendor: Microsoft Corporation

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


References