Ubuntu 15.10 freezing randomly

Bug #1518566 reported by Spyros Theodoritsis
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Ubuntu 15.10 freezing randomly.

WORKAROUND: Edit in /etc/default/grub :
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1"

then execute at a terminal:
update-grub

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-4.2.0-18-generic 4.2.0-18.22
ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: spyros 3013 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Nov 21 16:15:04 2015
HibernationDevice: RESUME=UUID=3fbc151c-b9b3-492c-a1f4-c598a0b080bb
InstallationDate: Installed on 2015-09-23 (58 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 005: ID 04b4:0060 Cypress Semiconductor Corp. Wireless optical mouse
 Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
 Bus 001 Device 002: ID 0bda:57bc Realtek Semiconductor Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X751MA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-18-generic root=UUID=59242a09-40d6-4231-b79b-543e0a88dbde ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-18-generic N/A
 linux-backports-modules-4.2.0-18-generic N/A
 linux-firmware 1.149.2
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: Upgraded to wily on 2015-11-05 (15 days ago)
dmi.bios.date: 01/26/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X751MA.208
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X751MA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX751MA.208:bd01/26/2015:svnASUSTeKCOMPUTERINC.:pnX751MA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX751MA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X751MA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Spyros Theodoritsis (madmetal) wrote :
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
penalvch (penalvch)
tags: added: bios-outdated-403
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Spyros Theodoritsis (madmetal) wrote :

Updated BIOS
X751MA.403
08/10/2015

Now will wait to see if it still reproducible.

Revision history for this message
Spyros Theodoritsis (madmetal) wrote :

Ubuntu froze again after BIOS upgrade, so this is reproducible.

Changed in linux (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Spyros Theodoritsis, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-403
removed: bios-outdated-403
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Thomas Moestl (tmoestl) wrote :

I am experiencing this bug as well, on the same hardware. I have tested the mainline builds, and can confirm that the bug
exists with linux-image-4.4.0-040400rc7-generic_4.4.0-040400rc7.201512272230_amd64 as well.

After some searching, it appears that this bug is known in upstream: https://bugzilla.kernel.org/show_bug.cgi?id=109051

As such, it probably occurs on most machines with Intel BayTrail processors, and is so far unresolved in upstream,
to my knowledge.

As the bug report mentions, there is a workaround, namely to add "intel_idle.max_cstate=1" to the boot options
(using grub, add this to the GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, then run update-grub). This likely
comes at the cost of some increase in power consumption, but so far it seems to work for me. If I get any more
hangs even with this option, I will leave another comment.

tags: added: kernel-bug-exists-upsream kernel-bug-exists-upstream-4.4-rc7
tags: added: kernel-bug-exists-upstream
removed: kernel-bug-exists-upsream
Thomas Moestl (tmoestl)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Thomas Moestl, it will help immensely if you filed a new report via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.4-rc7
Revision history for this message
Janne Heikkinen (janne-m-heikkinen) wrote :

X751MA is also Bay Trail based so cause could be same as here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1531865

I built Ubuntu-4.2.0-23.28 with "drm/i915: Agressive downclocking on Baytrail" reversed and it can be found from here:

http://www.helsinki.fi/~jmoheikk/baytrail/

If you could test whether it works or not.

Revision history for this message
Spyros Theodoritsis (madmetal) wrote :

I did the workaround yesterday and up to the moment I have zero freezes. Thanks Thomas for the tip, hope this will be fixed upstream.

penalvch (penalvch)
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.