[HP ProBook 4740s] Kernel dead after suspend/resume at i915

Bug #1397277 reported by olegon.ru
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

HP ProBook 4740s, new installation of Ubuntu

lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10

Linux HP 3.16.0-25-generic #33-Ubuntu SMP Tue Nov 4 12:06:54 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

xserver-xorg-video-intel:
  Installed: 2:2.99.914-1~exp1ubuntu4.1
  Candidate: 2:2.99.914-1~exp1ubuntu4.1

lshw -c video
  *-display
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:48 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:3000(size=64)

Suspend by menu at right upper corner. Waits... Wake up by button. Wallpaper and logon screen is appeared, periodically I can login and begin work, but not more than 5 seconds and system completely freezed. I can stay at login screen without keypress and its freezed too after some seconds.
No mouse, keyboard, led or ssh activity is allowed. Kernel dead.
Using fglrx or fglrx-updates it's no problem with suspend and resume, while using discrete card (not workaround for me).

I disabled Radeon card (in BIOS) and using i915. All fglrx and fglrx-updates is completely removed, xorg-radeon too.

kernel option i915.modeset=0 resumed without hangs (but with black screen), and nomodeset too.

tried to create xorg.conf with uxa

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "screen" 0 0
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
    Option "AccelMethod" "uxa"
    BusID "PCI:0@0:2:0"
EndSection

Section "Monitor"
    Identifier "monitor"
    Option "VendorName" "HP"
    Option "ModelName" "HP Monitor"
    Option "DPMS" "true"
EndSection

Section "Screen"
    Identifier "screen"
    Device "intel"
    Monitor "monitor"
    DefaultDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth 24
    EndSubSection
EndSection

but hangs too :(

Hibernation works without any problem.

Tried latest Linux Mint (booting with usb-stick) - hangs on suspend/resume too. Sometimes ago can suspend/resume at Windows 7, but I hate this OS.

I suffered to resolve this problem last three days...
---
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tanya 2021 F.... pulseaudio
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=UUID=78c29686-130c-464e-8bac-ed2e2c92f55f
InstallationDate: Installed on 2014-11-23 (5 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: Hewlett-Packard HP ProBook 4740s
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=ru
 TERM=xterm
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-generic root=UUID=40874dc3-d1cb-41b8-910e-a79ceaeb4855 ro noplymouth enable_mtrr_cleanup=1 resume=/dev/sda2 acpi_sleep=nonvs
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-25-generic N/A
 linux-backports-modules-3.16.0-25-generic N/A
 linux-firmware 1.138
Tags: utopic
Uname: Linux 3.16.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 07/16/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68IRR Ver. F.42
dmi.board.name: 1846
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 58.1F
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68IRRVer.F.42:bd07/16/2013:svnHewlett-Packard:pnHPProBook4740s:pvrA1009D11:rvnHewlett-Packard:rn1846:rvrKBCVersion58.1F:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP ProBook 4740s
dmi.product.version: A1009D11
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
olegon.ru (olegon) wrote :

Wow... If I switch to console (ctrl-alt-f1), login, run pm_suspend, it's resumed very well... And I can do anything till ... switch to Ctlr-Alt-F7... Hangs immediately...

Revision history for this message
penalvch (penalvch) wrote :

olegon.ru, thank you for reporting this and helping make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1397277

affects: xserver-xorg-video-intel (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
olegon.ru (olegon) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected utopic
description: updated
Revision history for this message
olegon.ru (olegon) wrote : BootDmesg.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : CRDA.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : CurrentDmesg.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : IwConfig.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : Lspci.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : Lsusb.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : ProcInterrupts.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : ProcModules.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : RfKill.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : UdevDb.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : UdevLog.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : WifiSyslog.txt

apport information

Revision history for this message
olegon.ru (olegon) wrote : Re: Kernel dead after suspend/resume at i915

It's not low importance... Impossible to use notebook without sleep. It's too long hibernation time and no idea to save environment while moving...

Tried simple switch tty1-tty7 - no problem...

penalvch (penalvch)
tags: added: bios-outdated-f.50
Revision history for this message
olegon.ru (olegon) wrote :

sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
68IRR Ver. F.50
08/04/2014

upgrade is successfull... If previous BIOS allowed work 3-5 seconds, this hangs immediately, when resume :(

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

olegon.ru, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test 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 bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested exactly shown as:
kernel-fixed-upstream-3.18-rc6

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
tags: added: latest-bios-f.50
removed: bios-outdated-f.50
Revision history for this message
olegon.ru (olegon) wrote :

tried 3.17, 3.18 - affected
Only kernel developer may fix this bug and no workaround, isn't it?

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.18-rc6
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

olegon.ru, does anything change if you remove the non-default kernel parameters:
noplymouth enable_mtrr_cleanup=1 resume=/dev/sda2 acpi_sleep=nonvs

As well, could you please comment on why you would be using them?

Also, with the default kernel parameters, could you please provide the missing information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
olegon.ru (olegon) wrote :

Nothing changes, if I remove this parameters. I added this parameter after notebook began hangs, while testing, because would like to find workaround. I tried acpi_sleep=s3_bios,s3_mode,nonvs and nowaday removed this parameter completely.
Today this is GRUB_CMDLINE_LINUX_DEFAULT="noplymouth enable_mtrr_cleanup=1 resume=/dev/sda2"
enable_mtrr_cleanup=1 resume=/dev/sda2 - to hibernation work (see it at some documentation), without resume parameter it's impossible to resume from hibernation.
noplymouth - to see boot output.

Revision history for this message
olegon.ru (olegon) wrote :

cat /proc/acpi/wakeup
Device S-state Status Sysfs node
LANC S0 *disabled
EHC1 S3 *enabled pci:0000:00:1d.0
EHC2 S3 *enabled pci:0000:00:1a.0
XHC S3 *enabled pci:0000:00:14.0
PCIB S5 *disabled
RP02 S4 *disabled
ECF0 S4 *disabled
RP03 S4 *disabled pci:0000:00:1c.2
RP04 S5 *disabled pci:0000:00:1c.3
WNIC S5 *disabled pci:0000:03:00.0
RP06 S0 *disabled pci:0000:00:1c.5
NIC S0 *enabled pci:0000:04:00.0
RP07 S4 *disabled
RP08 S4 *disabled
HST1 S5 *disabled

Revision history for this message
olegon.ru (olegon) wrote :

#!/bin/bash
uname -r > wakeup ; date >> wakeup ; cat /proc/acpi/wakeup >> wakeup ; echo 1 > /sys/power/pm_trace ; sync && pm-suspend;echo >>wakeup ; date >> wakeup ; cat /proc/acpi/wakeup >> wakeup
sync

run it, notebook goes to sleep, wake up it, hangs... cold reboot, dmesg > dmesg.txt

wakeup contents:
3.16.0-25-generic
Вс. нояб. 30 09:59:02 MSK 2014
Device S-state Status Sysfs node
LANC S0 *disabled
EHC1 S3 *enabled pci:0000:00:1d.0
EHC2 S3 *enabled pci:0000:00:1a.0
XHC S3 *enabled pci:0000:00:14.0
PCIB S5 *disabled
RP02 S4 *disabled
ECF0 S4 *disabled
RP03 S4 *disabled pci:0000:00:1c.2
RP04 S5 *disabled pci:0000:00:1c.3
WNIC S5 *disabled pci:0000:03:00.0
RP06 S0 *disabled pci:0000:00:1c.5
NIC S0 *enabled pci:0000:04:00.0
RP07 S4 *disabled
RP08 S4 *disabled
HST1 S5 *disabled

Вс. нояб. 30 09:59:17 MSK 2014
Device S-state Status Sysfs node
LANC S0 *disabled
EHC1 S3 *enabled pci:0000:00:1d.0
EHC2 S3 *enabled pci:0000:00:1a.0
XHC S3 *enabled pci:0000:00:14.0
PCIB S5 *disabled
RP02 S4 *disabled
ECF0 S4 *disabled
RP03 S4 *disabled pci:0000:00:1c.2
RP04 S5 *disabled pci:0000:00:1c.3
WNIC S5 *disabled pci:0000:03:00.0
RP06 S0 *disabled pci:0000:00:1c.5
NIC S0 *enabled pci:0000:04:00.0
RP07 S4 *disabled
RP08 S4 *disabled
HST1 S5 *disabled

dmesg attached, I can't find any device name or number :(

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

olegon.ru, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (linux-acpi) 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: Confirmed → Triaged
summary: - Kernel dead after suspend/resume at i915
+ [HP ProBook 4740s] Kernel dead after suspend/resume at i915
Revision history for this message
olegon.ru (olegon) wrote :

As metioned above, I can switch to tty1, pm-suspend it, resume and work, hangs is occured, when I switch to tty7, Xorg. May be exists some workaround, such as device option?

Revision history for this message
penalvch (penalvch) wrote :

olegon.ru, while this is duly noted, suspend/resume is handled by the kernel. If your setup is working before you suspend, and not after, the kernel is highest on the list of root causes. If you want your issue addressed as soon as possible, you will want to do as previously requested of you in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1397277/comments/26 .

Revision history for this message
olegon.ru (olegon) wrote :

I'm sorry, but this is not my notebook and I can't constantly test and reboot it, so I revert to Ubuntu kernel and can't continue massive test upstream kernel and dialog with kernel team. If any ideas to workaround - please post it here...

Revision history for this message
Wihola IT (wihola) wrote :

I have default ubuntu 14.04 LTS and problem do exist.

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.