1286:2044 [Microsoft Surface Pro 2] Marvell 88W8797 not working in 14.04 kernel 3.13.0-24-generic

Bug #1319366 reported by Keyvan Mir Mohammad Sadeghi
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Marvell WiFi on Surface Pro 2 does not work in a fresh install of 14.04 with 3.13.0-24 kernel. I had the same issue in 12.04, but others reported that this was resolved in Raring http://askubuntu.com/questions/257600/marvells-wireless-driver-not-recognized/262010 . The drivers mentioned in the post are already in place:
$ modinfo mwifiex_usb
filename: /lib/modules/3.13.0-24-generic/kernel/drivers/net/wireless/mwifiex/mwifiex_usb.ko
firmware: mrvl/usb8797_uapsta.bin
license: GPL v2
version: 1.0
description: Marvell WiFi-Ex USB Driver version1.0
author: Marvell International Ltd.
srcversion: 68371BE7AAF1BE02463ED67
alias: usb:v1286p2044d*dc*dsc*dp*icFFiscFFipFFin*
alias: usb:v1286p2043d*dc*dsc*dp*ic*isc*ip*in*
depends: mwifiex
intree: Y
vermagic: 3.13.0-24-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 69:B0:D0:A7:9B:85:D9:06:21:70:6E:8D:06:60:4D:73:0B:35:9F:C0
sig_hashalgo: sha512

/lib/firmware/mrvl$ ls
pcie8897_uapsta.bin sd8688.bin sd8688_helper.bin sd8787_uapsta.bin sd8797_uapsta.bin sd8897_uapsta.bin usb8797_uapsta.bin

And system surely recognises the Marvell WiFi:
$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 007: ID 045e:0795 Microsoft Corp.
Bus 002 Device 006: ID 045e:0794 Microsoft Corp.
Bus 002 Device 005: ID 03eb:8209 Atmel Corp.
Bus 002 Device 004: ID 045e:079a Microsoft Corp.
Bus 002 Device 010: ID 1286:2044 Marvell Semiconductor, Inc.
Bus 002 Device 025: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 023: ID 07d1:3c16 D-Link System DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]
Bus 002 Device 020: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But when creating a new WiFi connection using network manager, the only mac address it sees is that of my external D-Link receiver.

---
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: keyvan 1525 F.... pulseaudio
 /dev/snd/controlC0: keyvan 1525 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=823ecc1c-67d4-48fc-b2c6-a744cd103957
InstallationDate: Installed on 2014-05-12 (2 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Microsoft Corporation Surface Pro 2
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic.efi.signed root=UUID=7ed6c4f4-96f3-4247-ba41-5dd16f0dd998 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic N/A
 linux-firmware 1.127.2
Tags: trusty
Uname: Linux 3.13.0-24-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/14/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2.04.0450
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Surface Pro 2
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 1
dmi.chassis.asset.tag: 0
dmi.chassis.type: 11
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: 1
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2.04.0450:bd01/14/2014:svnMicrosoftCorporation:pnSurfacePro2:pvr1:rvnMicrosoftCorporation:rnSurfacePro2:rvr1:cvnMicrosoftCorporation:ct11:cvr1:
dmi.product.name: Surface Pro 2
dmi.product.version: 1
dmi.sys.vendor: Microsoft Corporation

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
Joseph Salisbury (jsalisbury) wrote : Re: Marvell 88W8797 not working in 14.04 kernel 3.13.0-24-generic

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.15 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'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-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/v3.15-rc5-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote :

Joseph,

The mainline kernel didn't fix the issue.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote : Re: [Microsoft Surface Pro 2] Marvell 88W8797 not working in 14.04 kernel 3.13.0-24-generic

Keyvan Mir Mohammad Sadeghi, as per http://www.microsoft.com/surface/en-us/support/install-update-activate/pro-2-update-history an update to your BIOS is available. If you update to this following https://help.ubuntu.com/community/BiosUpdate does it change anything? If it doesn't, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Please note your current BIOS is already in the Bug Description, so posting this on the old BIOS would not be helpful.

For more on BIOS updates and linux, please see https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette .

Thank you for your understanding.

summary: - Marvell 88W8797 not working in 14.04 kernel 3.13.0-24-generic
+ [Microsoft Surface Pro 2] Marvell 88W8797 not working in 14.04 kernel
+ 3.13.0-24-generic
tags: added: bios-outdated kernel-bug-exists-upstream-v3.15-rc5
removed: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
description: updated
summary: - [Microsoft Surface Pro 2] Marvell 88W8797 not working in 14.04 kernel
- 3.13.0-24-generic
+ 1286:2044 [Microsoft Surface Pro 2] Marvell 88W8797 not working in 14.04
+ kernel 3.13.0-24-generic
Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : ProcEnviron.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote :

Christopher,

I updated my bios as you suggested. Tried to attach new info, but apport complains about using a mainstream kernel. Shall I revert back to the ubuntu kernel? The issue still holds, there is no mac address other than D-Link's.

BTW, I noticed the below error while booting:
i8042 controller not found

A Google search tells me this is about keyboard and mouse, might it be the WiFi in my case?

Cheers

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote :

Here's the output you requested:

2.04.0450
01/14/2014

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : AlsaInfo.txt

apport information

description: updated
Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : BootDmesg.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : CRDA.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : IwConfig.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : Lspci.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : Lsusb.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : ProcEnviron.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : ProcModules.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : PulseList.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : RfKill.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : UdevDb.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : UdevLog.txt

apport information

Revision history for this message
Keyvan Mir Mohammad Sadeghi (keyvan-m-sadeghi) wrote : WifiSyslog.txt

apport information

penalvch (penalvch)
description: updated
tags: added: latest-bios-2.04.0450
removed: bios-outdated
tags: added: precise
Revision history for this message
penalvch (penalvch) wrote :

Keyvan Mir Mohammad Sadeghi, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
crickert (crickert) wrote :

I managed to get the wifi running (again), after very many annyoing month with Ubuntu.
So far I haven't experienced any any freezes. And this is what I did:

1. Download the latest wifi driver from Marvel:
http://git.marvell.com/?p=mwifiex-firmware.git;a=blob;f=mrvl/usb8797_uapsta.bin;h=0ce6c4ec307880d34bbef3b6ccd359617914f156;hb=e92f8b3f65443764297b947b1843955d9a65dde7

2. Backup and replace the outdated firmware file with the driver you just downloaded:
sudo mv /lib/firmware/mrvl/usb8797_uapsta.bin /lib/firmware/mrvl/usb8797_uapsta.bin.bak
sudo cp ./mrvl_usb8797_uapsta.bin /lib/firmware/mrvl/usb8797_uapsta.bin

3. Update Ubuntu's kernel to the latest stable mainline version:
https://wiki.ubuntu.com/Kernel/MainlineBuilds#Installing_upstream_kernels_.28manually.29
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-wily/

4. Restart your system and boot the latest kernel.

Revision history for this message
Saladien (saladien) wrote :

why didnt they push this newer driver upstream?

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.