Bug 710571

Summary: Dell Studio 17 Laptop hangs after Suspend; suspect insufficient access may be the problem.
Product: [Fedora] Fedora Reporter: Bill Norman <billnorman>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: billnorman, bluevox.inc, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, steven.chapel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 13:51:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill Norman 2011-06-03 18:09:50 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17

Dell Studio 17 laptop running Fedora 14 appears to suspend properly. But when I attempt to resume the screen remains blank and the keyboard is unresponsive. The only way I can recover is to reboot the machine.

Note that the Hibernate feature works fine.

Inspection of the /var/log/pm-suspend.log file reveals a number of messages indicating:

mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).

I have included the contents of this file in the Additional Details section.
(e.g. laptop shuts down, power indicator cycles as it should to indicate
suspension). When the laptop is opened, it starts to resume, then hangs with a
text-mode cursor on a black screen. The keyboard is unresponsive and the only
way to get the laptop working again is to hold the power button for 30 seconds
and do a reboot.


Reproducible: Always

Steps to Reproduce:
1.Select System-Shut Down ...
2.Click the Suspend button
3.Observe apparent Suspend process; i.e. keyboard lights cycle, screen blanks out, hardware operation is suspended.
4.Attempt to recover by pressing keys, closing/opening lid, press power button.
 
Actual Results:  
Machine is hung, no display, keyboard operation. I can hear fan operating and keyboard control lights are on.

Can only recover by holding power button for about 15 seconds. Then machine reboots.

Expected Results:  
I expect the machine to resume to the state it was in prior to suspension. Just like when I recover from Hibernate. 

Fedora Release 14
Kernal Linux 2.6.35.13-91.fc14x86_64
GNOME 2.32.0

/var/log/pm-suspend.log
Initial commandline parameters: 
Fri Jun  3 10:05:23 EDT 2011: Running hooks for suspend.
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend:Linux MrRoboto.BlueVox 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Module                  Size  Used by
hidp                   18253  1 
fuse                   61934  3 
michael_mic             2122  0 
arc4                    1449  0 
ecb                     2119  0 
rfcomm                 67058  4 
sco                    17196  2 
bnep                   15390  2 
l2cap                  51240  21 hidp,rfcomm,bnep
sunrpc                201276  1 
cpufreq_ondemand        9278  8 
acpi_cpufreq            7345  1 
freq_table              3955  2 cpufreq_ondemand,acpi_cpufreq
mperf                   1481  1 acpi_cpufreq
ip6t_REJECT             4279  2 
nf_conntrack_ipv6      18078  19 
ip6table_filter         1687  1 
ip6_tables             17497  1 ip6table_filter
ipv6                  286354  46 ip6t_REJECT,nf_conntrack_ipv6
uinput                  7368  0 
snd_hda_codec_atihdmi     2727  1 
snd_hda_codec_idt      55754  1 
snd_hda_intel          24495  2 
snd_hda_codec          86743  3 snd_hda_codec_atihdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               6392  1 snd_hda_codec
snd_seq                53791  0 
snd_seq_device          6191  1 snd_seq
snd_pcm                80190  2 snd_hda_intel,snd_hda_codec
snd_timer              19892  2 snd_seq,snd_pcm
snd                    64032  12 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
soundcore               6576  1 snd
lib80211_crypt_tkip     7987  0 
r8169                  37443  0 
wl                   2555141  0 
btusb                  15514  5 
bluetooth              89276  12 hidp,rfcomm,sco,bnep,l2cap,btusb
mii                     4310  1 r8169
i7core_edac            16210  0 
i2c_i801               11088  0 
snd_page_alloc          7559  2 snd_hda_intel,snd_pcm
dell_laptop             6477  0 
dell_wmi                3323  0 
edac_core              41336  1 i7core_edac
uvcvideo               56105  0 
videodev               69118  1 uvcvideo
rfkill                 17622  4 bluetooth,dell_laptop
joydev                  9785  0 
iTCO_wdt               11256  0 
iTCO_vendor_support     2610  1 iTCO_wdt
wmi                     8138  1 dell_wmi
v4l2_compat_ioctl32     7665  1 videodev
lib80211                5095  2 lib80211_crypt_tkip,wl
dcdbas                  8540  1 dell_laptop
microcode              18662  0 
sdhci_pci               7871  0 
firewire_ohci          21314  0 
sdhci                  18464  1 sdhci_pci
firewire_core          45817  1 firewire_ohci
mmc_core               64209  1 sdhci
crc_itu_t               1563  1 firewire_core
video                  21637  0 
output                  2253  1 video
radeon                637552  0 
ttm                    55166  1 radeon
drm_kms_helper         25961  1 radeon
drm                   178014  3 radeon,ttm,drm_kms_helper
i2c_algo_bit            5205  1 radeon
i2c_core               27212  6 i2c_i801,videodev,radeon,drm_kms_helper,drm,i2c_algo_bit
             total       used       free     shared    buffers     cached
Mem:       4047548     722112    3325436          0     125516     181888
-/+ buffers/cache:     414708    3632840
Swap:      6160380          0    6160380
success.
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/01grub suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/49bluetooth suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/55NetworkManager suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/56atd suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/56dhclient suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/75modules suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/90clock suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/94cpufreq suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/95led suspend suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/95packagekit suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:success.
/usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook suspend suspend:saving level 128 for device sda
success.
/usr/lib64/pm-utils/sleep.d/99video suspend suspend:kernel.acpi_video_flags = 0
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
success.
Fri Jun  3 10:05:24 EDT 2011: performing suspend
Fri Jun  3 10:05:39 EDT 2011: Awake.
Fri Jun  3 10:05:39 EDT 2011: Running hooks for resume
/usr/lib64/pm-utils/sleep.d/99video resume suspend:mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
mmap /dev/mem: Permission denied
Failed to initialise LRMI (Linux Real-Mode Interface).
success.
/usr/lib64/pm-utils/sleep.d/99hd-apm-restore.hook resume suspend:restoring level 128 for device sda

/dev/sda:
 setting Advanced Power Management level to 0x80 (128)
 APM_level	= 128
success.
/usr/lib64/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:success.
/usr/lib64/pm-utils/sleep.d/95packagekit resume suspend:method return sender=:1.52 -> dest=:1.83 reply_serial=2
success.
/usr/lib64/pm-utils/sleep.d/95led resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/94cpufreq resume suspend:success.
/usr/lib64/pm-utils/sleep.d/90clock resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/75modules resume suspend:success.
/usr/lib64/pm-utils/sleep.d/56dhclient resume suspend:success.
/usr/lib64/pm-utils/sleep.d/56atd resume suspend:Stopping atd: [  OK  ]

Starting atd: [  OK  ]
[  OK  ]

success.
/usr/lib64/pm-utils/sleep.d/55NetworkManager resume suspend:success.
/usr/lib64/pm-utils/sleep.d/49bluetooth resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/01grub resume suspend:not applicable.
/usr/lib64/pm-utils/sleep.d/00powersave resume suspend:success.
/usr/lib64/pm-utils/sleep.d/00logging resume suspend:success.
Fri Jun  3 10:05:40 EDT 2011: Finished.

Comment 1 Josh Boyer 2011-09-06 17:00:40 UTC
Is this still happening on the latest f14 or f15 kernel, and did it start happening with 2.6.35.13-91.fc14 or some kernel before that?

Comment 2 Bill Norman 2011-09-09 15:11:23 UTC
This is still happening on 2.6.35.14-96.fc14.x86_64. Same behavior since I started using Fedora on this machine about 1 year ago. I may have started with fc12 on this machine and then upgraded to fc14. I don't remember exactly. But I do know that the Suspend function never worked properly.

Comment 3 Fedora End Of Life 2012-08-16 13:51:10 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping