Ask Your Question
1

GRUB2 won't start after suspending and resuming

asked 2012-10-01 00:18:40 -0500

Andrew gravatar image

updated 2012-10-06 03:57:20 -0500

When doing suspend-resume cycle and after that rebooting the system - then grub2 won't load. There is just a blinking cursor on a black screen after POST waiting for something. What helps there is turning power off and removing AC power and battery to clean up RAM. After that notebook won't start at all ( lil' joke here :) ). Actually when battery inserted back - everything starts as usual.

Can anyone please help me understand what exactly locks boot process and how to fix that? Thank you.

Device: ASUS EeePC 1215B Netbook; Kernel: 3.5.4-2.fc17.x86_64; GRUB2: 2.00~beta6;

UPD#2: I looked through pm-utils scripts on suspending and resuming grub. And actually that script does nothing at all because of arguments passed to it. If we pass 'suspend suspend' - then second string will prevent the function working and if we pass 'resume suspend' - the first argument of that type is simply not implemented..

Here's /var/log/pm-suspend.log:

Initial commandline parameters:                                                                                                                                         
Чт. окт.  4 18:25:02 MSK 2012: Running hooks for suspend.                                                                                                               
Running hook /usr/lib64/pm-utils/sleep.d/00logging suspend suspend:                                                                                                     
Linux eee1215b 3.5.4-2.fc17.x86_64 #1 SMP Wed Sep 26 21:58:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux                                                                   
Module                  Size  Used by                                                                                                                                   
fuse                   77952  3                                                                                                                                         
hidp                   23885  1                                                                                                                                         
lockd                  89250  0                                                                                                                                         
sunrpc                255336  1 lockd                                                                                                                                   
rfcomm                 68709  8                                                                                                                                         
bnep                   19584  2 
ip6t_REJECT            12939  2 
nf_conntrack_ipv6      14341  3 
nf_conntrack_ipv4      14744  2 
nf_defrag_ipv6         18177  1 nf_conntrack_ipv6
nf_defrag_ipv4         12673  1 nf_conntrack_ipv4
xt_state               12578  5 
ip6table_filter        12815  1 
nf_conntrack           83563  3 xt_state,nf_conntrack_ipv4,nf_conntrack_ipv6
ip6_tables             26942  1 ip6table_filter
snd_hda_codec_realtek    77778  1 
snd_hda_codec_hdmi     36103  1 
snd_hda_intel          37587  9 
snd_hda_codec         126728  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              17650  1 snd_hda_codec
snd_seq                64844  0 
snd_seq_device         14136  1 snd_seq
lib80211_crypt_tkip    17662  0 
snd_pcm                97292  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
kvm_amd                55517  0 
uvcvideo               76826  0 
snd_page_alloc         18101  2 snd_pcm,snd_hda_intel
wl                   2573484  0 
btusb                  23870  0 
snd_timer              28690  3 snd_pcm,snd_seq
videobuf2_vmalloc      12967  1 uvcvideo
videobuf2_memops       13354  1 videobuf2_vmalloc
videobuf2_core         31992  1 uvcvideo
videodev              116207  2 uvcvideo,videobuf2_core
media                  20444  2 uvcvideo,videodev
bluetooth             298929  29 bnep,hidp,btusb,rfcomm
fglrx                2698578  91 
snd                    79242  25 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
kvm                   412517  1 kvm_amd
eeepc_wmi              13109  0 
asus_wmi               23931  1 eeepc_wmi
soundcore              14491  1 snd
sp5100_tco             13697  0 
amd_iommu_v2           18744  1 fglrx
i2c_piix4              13694  0 
i2c_core               38177  2 i2c_piix4,videodev
atl1c                  45919  0 
sparse_keymap          13526  1 asus_wmi
rfkill                 21384  3 bluetooth,asus_wmi
lib80211               13968  2 wl,lib80211_crypt_tkip
microcode              23435  0 
k10temp                13126  0 
uinput                 17673  0 
video                  18936  0 
wmi                    18697  1 asus_wmi
             total       used       free     shared    buffers     cached
Mem:       3659900    1461580    2198320          0      42668     526980
-/+ buffers/cache:     891932    2767968
Swap:      8387580          0    8387580
/usr/lib64/pm-utils/sleep.d/00logging suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib64/pm-utils/sleep.d/00powersave suspend suspend: success.

Running hook /usr/lib64/pm-utils/sleep.d/01grub suspend suspend:
+ case "$1" in
+ default_resume_kernel suspend
+ local g2reboot
+ '[' suspend = suspend ']'
+ return 254
/usr/lib64 ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2012-10-04 13:56:52 -0500

Iki gravatar image

The log says it resumed fine so you have to look at /var/log/messages for some clue.

Also this may help: http://fedoraproject.org/wiki/Commonkernelproblems#Suspend.2FResume_failure

edit flag offensive delete link more
1

answered 2012-10-04 07:55:27 -0500

zoltanh721 gravatar image

Sometimes help to check the /var/log suspend.log, and messages files, and if some ACPI quirks are missing or wrong in setups, that can be fixed. If you find some traces in log files, please provide more information here, and we try to aid with advices.

PS: Try out all modes, eg. suspend, sleep, hibernate. If only one of them not working only, that means quirks are missing.

PS2: Current kernel is 3.5.4-2.fc17.x86_64, so maybe there are some diff. Please check updates too.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-10-01 00:18:40 -0500

Seen: 866 times

Last updated: Oct 06 '12