Regression in mei_me.ko for 3.13.0-51

Bug #1450813 reported by Pali
62
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Kamal Mostafa
Trusty
Fix Released
High
Kamal Mostafa

Bug Description

After upgrading linux-image-3.13.0-49-generic to linux-image-3.13.0-51-generic I started getting this error message in dmesg:

[ 6.352555] mei_me 0000:00:16.0: irq 47 for MSI/MSI-X
[ 6.355708] mei_me 0000:00:16.0: version message write failed: ret = -5
[ 6.355712] mei_me 0000:00:16.0: hbm_start failed ret = -5
[ 6.355714] mei_me 0000:00:16.0: reset failed
[ 6.355716] mei_me 0000:00:16.0: link layer initialization failed.
[ 6.355717] mei_me 0000:00:16.0: init hw failure.
[ 6.355880] mei_me 0000:00:16.0: initialization failed.

Downgrading back to linux-image-3.13.0-49-generic fixed this problem. So this is regression for version 3.13.0-51.

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Note:

These two "mei" commits were added to 3.13.0 between -49.81 and -51.84:

fa90035 mei: me: release hw from reset only during the reset flow
e301eaa mei: mask interrupt set bit on clean reset bit

... and no further "mei" commits have been added since.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1450813

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Pali (pali) wrote :

here are my test results:

3.13.0-51 without fa90035 and without e301eaa => init ok
3.13.0-51 without fa90035 => init ok
3.13.0-51 without e301eaa => init error
3.13.0-51 => init error

So problem is really caused by commit fa90035.

Changed in linux (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: Incomplete → Confirmed
Changed in linux (Ubuntu Trusty):
importance: Undecided → High
Changed in linux (Ubuntu):
importance: Medium → High
Changed in linux (Ubuntu Trusty):
assignee: nobody → Kamal Mostafa (kamalmostafa)
status: New → Confirmed
penalvch (penalvch)
tags: added: bisect-done regression-update
Changed in linux (Ubuntu):
status: Confirmed → In Progress
Changed in linux (Ubuntu Trusty):
status: Confirmed → In Progress
Revision history for this message
Pali (pali) wrote :

I tested mei.ko and mei-me.ko drivers from linux-image-3.13.0-51-generic source with these two additional patches:

http://kernel.ubuntu.com/git/kamal/ubuntu-trusty.git/commit/?h=pali-1450813&id=cce32088947917cb93520b9dffc0fd4bb0b21ade

http://kernel.ubuntu.com/git/kamal/ubuntu-trusty.git/commit/?h=pali-1450813&id=845a0dc3427014d8ff74a34f90120be88e98760c

And after that mei.ko and mei-me.ko initialized without any error.

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Indeed, the backport of fa90035 is faulty (and there's another missing mei driver commit as well). Pali, please test this fix (the top two patches) and advise whether that fixes the problem:

  http://kernel.ubuntu.com/git/kamal/ubuntu-trusty.git/log/?h=pali-1450813

  845a0dc UBUNTU: Fix "mei: me: release hw from reset only during the reset flow"
  cce3208 mei: me: fix hw ready reset flow

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Attached two patches fix the regression...

Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
tags: added: patch
Changed in linux (Ubuntu Trusty):
status: In Progress → Fix Committed
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Pali (pali) wrote :

I tested 0001-mei-me-fix-hw-ready-reset-flow.patch and 0002-UBUNTU-Fix-mei-me-release-hw-from-reset-only-during-.patch on top of linux-image-3.13.0-51-generic and those two patches also fixed init mei problem.

Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Revision history for this message
Pali (pali) wrote : [Bug 1450813] Re: Regression in mei_me.ko for 3.13.0-51

I tested new kernel package linux-lts-trusty on ubuntu precise from
backports and it fixes this problem.

wjssz (malincns)
Changed in linux (Ubuntu Trusty):
status: Fix Committed → Confirmed
status: Confirmed → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Brad Figg (brad-figg)
tags: added: verification-done-trusty
removed: verification-needed-trusty
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.