Upgrade to kmod (25-1ubuntu1.1) causes Lenovo x240 laptop to hang on boot

Bug #1802689 reported by Adam Jacobs
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kmod (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

After upgrading my Lenovo x240 laptop to kmod (25-1ubuntu1.1), it hangs on boot.

After blacklisting i2c_i801 everything works great again.

I realize that this was a fix for bug 1786574, and that helps some other folks out. I'm not sure what the right fix is but there's got to be something that works for everyone.

======

The fix for the root cause of this hang issue is tracked in bug 1804604.

Changed in kmod (Ubuntu):
assignee: nobody → AaronMa (mapengyu)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Adam, or anyone else affected,

Accepted kmod into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kmod/25-1ubuntu1.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in kmod (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Changed in kmod (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Adam, or anyone else affected,

Accepted kmod into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kmod/24-1ubuntu3.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in kmod (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed-xenial
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Adam, or anyone else affected,

Accepted kmod into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kmod/22-1ubuntu5.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Adam Jacobs (bllfr0g) wrote :

kmod 25-1ubuntu1.2 looks good on cosmic

tags: added: verification-done-cosmic
removed: verification-needed-cosmic
Revision history for this message
Anthony Wong (anthonywong) wrote :

I am opening a "linux" task for investigating the real root cause of this in kernel.

Changed in linux (Ubuntu):
assignee: nobody → AaronMa (mapengyu)
Changed in kmod (Ubuntu):
assignee: AaronMa (mapengyu) → nobody
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1802689

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
Changed in linux (Ubuntu Bionic):
status: New → Incomplete
Changed in linux (Ubuntu Cosmic):
status: New → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
Revision history for this message
AaronMa (mapengyu) wrote :

Hi Adam:

Could you try 4.19 kernel with i2c_i801 loaded?
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/

to see if it is fixed?

Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmod - 25-1ubuntu2

---------------
kmod (25-1ubuntu2) disco; urgency=medium

  * Add i2c_i801 back to d/modprobe.d/blacklist.conf again due to regressions.
    (LP: #1802689, #1802135)

 -- Michael Hudson-Doyle <email address hidden> Tue, 13 Nov 2018 10:50:02 +1300

Changed in kmod (Ubuntu):
status: New → Fix Released
Revision history for this message
AaronMa (mapengyu) wrote :

Tested on ThinkPad X240s:
ThinkPad BIOS GIET52WW (2.00 )
Lenovo ThinkPad X240s, model 3333333

Hang issue is not reproduced.

Loading i2c_i801 runtime didn't cause any issue.
Booting with touchpad in smbus which using i2c_i801 module, Ubuntu 18.04 works fine, touchpad works fine.

Log attached.

Could you provide more details, like dmesg, call trace when system hang?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmod - 24-1ubuntu3.2

---------------
kmod (24-1ubuntu3.2) bionic; urgency=medium

  * Add i2c_i801 back to d/modprobe.d/blacklist.conf again due to regressions.
    (LP: #1802689, #1802135)

 -- Michael Hudson-Doyle <email address hidden> Tue, 13 Nov 2018 10:54:37 +1300

Changed in kmod (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmod - 25-1ubuntu1.2

---------------
kmod (25-1ubuntu1.2) cosmic; urgency=medium

  * Add i2c_i801 back to d/modprobe.d/blacklist.conf again due to regressions.
    (LP: #1802689, #1802135)

 -- Michael Hudson-Doyle <email address hidden> Tue, 13 Nov 2018 10:51:29 +1300

Changed in kmod (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for kmod has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kmod - 22-1ubuntu5.2

---------------
kmod (22-1ubuntu5.2) xenial; urgency=medium

  * Add i2c_i801 back to d/modprobe.d/blacklist.conf again due to regressions.
    (LP: #1802689, #1802135)

 -- Michael Hudson-Doyle <email address hidden> Tue, 13 Nov 2018 10:55:50 +1300

Changed in kmod (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
AaronMa (mapengyu) wrote :

@Adam,
We still don't get your feedback about new kernel test.

I have verified x240s in comment #9.
This issue is not reproduced.

Because more laptops need smbus/i2c support.
i2c_i801 should be removed in this case.

If you still got issue when i2c_i801 loaded, please upload log.
Then we cat try to fix it.

Revision history for this message
Anthony Wong (anthonywong) wrote :

I have confirmed with Adam Jacobs on email that he runs latest 18.10 kernel, and his system no longer hangs after i2c_i801 is removed from blacklist.

Revision history for this message
Adam Jacobs (bllfr0g) wrote :

Yes, confirmed. On my Lenovo x240, kernel 4.18.0-15-generic, I removed i2c_i801 from the blacklist and no longer can reproduce the hang.

no longer affects: linux (Ubuntu)
no longer affects: linux (Ubuntu Xenial)
no longer affects: linux (Ubuntu Bionic)
no longer affects: linux (Ubuntu Cosmic)
description: updated
description: updated
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.