You are not logged in.

#1 2012-02-03 12:28:58

gnidov
Member
Registered: 2012-02-03
Posts: 5

Pm-suspend kills my grub [Asus Eee Pc 1215B]

PROBLEM DESCRIPTION

Pm-suspend works nicely, the system goes to sleep, after waking it up, everything works. (I had to disable C6 state in the BIOS to work around a previous issue where resume from suspend didn't work). Now only one problem persists: after a pm-suspend my grub doesn't load.

Instead of grub I get the following error message:
Reboot and Select proper Boot device

Screenshot:
cOl60.jpg

At this point, booting into arch setup environtment using a pendrive and issuing

grub-install /dev/sda

command fixes my grub and everything works again.

WHAT I HAVE TRIED SO FAR
1. Before shutting down my system I have issued a the grub-install /dev/sda
command, but I still get the same error message. Seems like grub-install
only fixes the problem when issued from the arch setup environment. Very strange.

2. Tried to disable one of the hooks using:

touch /usr/lib/pm-utils/sleep.d/01grub

to no avail. Afterwards I have reinstalled pm-utils using pacman -S pm-utils in order to restore the 01grub file.

LOG FILES AFTER SUSPEND

/var/log/pm-suspend.log:

Initial commandline parameters: 
Fri Feb  3 12:41:27 CET 2012: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux myhost 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 AMD E-450 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux
Module                  Size  Used by
aes_generic            26138  2 
ipv6                  288511  12 
fuse                   66922  6 
snd_hda_codec_realtek   194997  1 
snd_hda_codec_hdmi     24121  1 
joydev                  9895  0 
uvcvideo               64311  0 
videodev               82101  1 uvcvideo
v4l2_compat_ioctl32     8316  1 videodev
media                  10597  2 videodev,uvcvideo
snd_hda_intel          23343  2 
snd_hda_codec          89160  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
snd_hwdep               6389  1 snd_hda_codec
snd_pcm                74780  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
radeon                754158  2 
drm_kms_helper         26137  1 radeon
ttm                    54904  1 radeon
eeepc_wmi               2420  0 
asus_wmi               15049  1 eeepc_wmi
pci_hotplug            25454  1 asus_wmi
cpufreq_ondemand        6164  2 
powernow_k8            13347  0 
mperf                   1275  1 powernow_k8
freq_table              2515  2 powernow_k8,cpufreq_ondemand
drm                   188362  4 ttm,drm_kms_helper,radeon
psmouse                61311  0 
arc4                    1410  2 
sparse_keymap           3120  1 asus_wmi
processor              25582  3 powernow_k8
wmi                     8475  1 asus_wmi
pcspkr                  1819  0 
evdev                   9530  9 
serio_raw               4429  0 
battery                 6453  0 
atl1c                  32564  0 
i2c_piix4               8224  0 
button                  4470  0 
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
snd_timer              19544  1 snd_pcm
ac                      2344  0 
video                  11164  0 
snd                    59214  11 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
soundcore               6210  1 snd
i2c_algo_bit            5263  1 radeon
i2c_core               20492  6 i2c_algo_bit,i2c_piix4,drm,drm_kms_helper,radeon,videodev
k10temp                 2883  0 
sp5100_tco              4568  0 
brcmsmac              533480  0 
cordic                  1073  1 brcmsmac
crc8                    1186  1 brcmsmac
brcmutil                3617  1 brcmsmac
mac80211              228367  1 brcmsmac
cfg80211              172260  2 mac80211,brcmsmac
rfkill                 15498  2 cfg80211,asus_wmi
ext4                  417116  1 
crc16                   1359  1 ext4
jbd2                   71243  1 ext4
mbcache                 5881  1 ext4
sd_mod                 28307  5 
ohci_hcd               21631  0 
xhci_hcd               79242  0 
ahci                   20037  4 
libahci                19559  1 ahci
libata                166654  2 libahci,ahci
ehci_hcd               40698  0 
usbcore               146241  5 ehci_hcd,xhci_hcd,ohci_hcd,uvcvideo
usb_common               954  1 usbcore
scsi_mod              133443  2 libata,sd_mod
             total       used       free     shared    buffers     cached
Mem:       2681236     389092    2292144          0      27684     146844
-/+ buffers/cache:     214564    2466672
Swap:      2000088          0    2000088

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

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:

/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Feb  3 12:41:28 CET 2012: performing suspend
Fri Feb  3 12:41:41 CET 2012: Awake.
Fri Feb  3 12:41:41 CET 2012: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:

/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:

/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:

/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /etc/pm/sleep.d/90alsa resume suspend:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: No such file or directory

/etc/pm/sleep.d/90alsa resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.

/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg resume suspend:

/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:

/usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:

/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:

/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Fri Feb  3 12:41:44 CET 2012: Finished.

/var/log/pm-powersave.log

Running hook /usr/lib/pm-utils/power.d/hal-cd-polling false:

/usr/lib/pm-utils/power.d/hal-cd-polling false: success.
Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.

/usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/journal-commit false:
Setting journal commit time for / to 0...Done.

/usr/lib/pm-utils/power.d/journal-commit false: success.
Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.

/usr/lib/pm-utils/power.d/laptop-mode false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation not permitted

/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/readahead false:
Setting readahead for /dev/sda4 to 256...Done.
Setting readahead for /dev/sda2 to 256...Done.
Setting readahead for /dev/sda1 to 256...Done.

/usr/lib/pm-utils/power.d/readahead false: success.
Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
Setting SATA APLM on host0 to max_performance...Done.

/usr/lib/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF

/usr/lib/pm-utils/power.d/sched-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:
Turning powersave for wlan0 off...Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not supported.
Failed.

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: success.
Running hook /usr/lib/pm-utils/power.d/hal-cd-polling false:

/usr/lib/pm-utils/power.d/hal-cd-polling false: success.
Running hook /usr/lib/pm-utils/power.d/intel-audio-powersave false:
Setting power savings for snd_hda_intel to 0...Done.

/usr/lib/pm-utils/power.d/intel-audio-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/journal-commit false:
Setting journal commit time for / to 0...Done.

/usr/lib/pm-utils/power.d/journal-commit false: success.
Running hook /usr/lib/pm-utils/power.d/laptop-mode false:
Laptop mode disabled.

/usr/lib/pm-utils/power.d/laptop-mode false: success.
Running hook /usr/lib/pm-utils/power.d/pcie_aspm false:
/usr/lib/pm-utils/power.d/pcie_aspm: line 9: echo: write error: Operation not permitted

/usr/lib/pm-utils/power.d/pcie_aspm false: success.
Running hook /usr/lib/pm-utils/power.d/readahead false:
Setting readahead for /dev/sda4 to 256...Done.
Setting readahead for /dev/sda2 to 256...Done.
Setting readahead for /dev/sda1 to 256...Done.

/usr/lib/pm-utils/power.d/readahead false: success.
Running hook /usr/lib/pm-utils/power.d/sata_alpm false:
Setting SATA APLM on host0 to max_performance...Done.

/usr/lib/pm-utils/power.d/sata_alpm false: success.
Running hook /usr/lib/pm-utils/power.d/sched-powersave false:
**sched policy powersave OFF

/usr/lib/pm-utils/power.d/sched-powersave false: success.
Running hook /usr/lib/pm-utils/power.d/wireless false:
Turning powersave for wlan0 off...Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not supported.
Failed.

/usr/lib/pm-utils/power.d/wireless false: success.
Running hook /usr/lib/pm-utils/power.d/xfs_buffer false:

/usr/lib/pm-utils/power.d/xfs_buffer false: success.

SYSTEM INFO

lspci

00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9806
00:01.1 Audio device: ATI Technologies Inc Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: ATI Technologies Inc SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: ATI Technologies Inc SB900 PCI to PCI bridge (PCIE port 2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
01:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
02:00.0 Ethernet controller: Atheros Communications AR8152 v2.0 Fast Ethernet (rev c1)
07:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

lsmod

Module                  Size  Used by
aes_generic            26138  2 
ipv6                  288511  22 
fuse                   66922  6 
snd_hda_codec_realtek   194997  1 
joydev                  9895  0 
snd_hda_codec_hdmi     24121  1 
usb_storage            44519  0 
uas                     8120  0 
uvcvideo               64311  0 
videodev               82101  1 uvcvideo
v4l2_compat_ioctl32     8316  1 videodev
media                  10597  2 videodev,uvcvideo
snd_hda_intel          23343  2 
snd_hda_codec          89160  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
snd_hwdep               6389  1 snd_hda_codec
snd_pcm                74780  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc          7153  2 snd_pcm,snd_hda_intel
snd_timer              19544  1 snd_pcm
snd                    59214  11 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_realtek
psmouse                61311  0 
soundcore               6210  1 snd
radeon                754158  2 
drm_kms_helper         26137  1 radeon
atl1c                  32564  0 
cpufreq_ondemand        6164  2 
powernow_k8            13347  0 
mperf                   1275  1 powernow_k8
freq_table              2515  2 powernow_k8,cpufreq_ondemand
arc4                    1410  2 
eeepc_wmi               2420  0 
asus_wmi               15049  1 eeepc_wmi
ttm                    54904  1 radeon
pci_hotplug            25454  1 asus_wmi
pcspkr                  1819  0 
serio_raw               4429  0 
battery                 6453  0 
evdev                   9530  9 
sparse_keymap           3120  1 asus_wmi
wmi                     8475  1 asus_wmi
drm                   188362  4 ttm,drm_kms_helper,radeon
i2c_piix4               8224  0 
i2c_algo_bit            5263  1 radeon
processor              25582  3 powernow_k8
ac                      2344  0 
button                  4470  0 
video                  11164  0 
i2c_core               20492  6 i2c_algo_bit,i2c_piix4,drm,drm_kms_helper,radeon,videodev
sp5100_tco              4568  0 
k10temp                 2883  0 
brcmsmac              533480  0 
cordic                  1073  1 brcmsmac
crc8                    1186  1 brcmsmac
brcmutil                3617  1 brcmsmac
mac80211              228367  1 brcmsmac
cfg80211              172260  2 mac80211,brcmsmac
rfkill                 15498  2 cfg80211,asus_wmi
ext4                  417116  1 
crc16                   1359  1 ext4
jbd2                   71243  1 ext4
mbcache                 5881  1 ext4
sd_mod                 28307  5 
ohci_hcd               21631  0 
ahci                   20037  4 
xhci_hcd               79242  0 
libahci                19559  1 ahci
libata                166654  2 libahci,ahci
ehci_hcd               40698  0 
usbcore               146241  7 ehci_hcd,xhci_hcd,ohci_hcd,uvcvideo,uas,usb_storage
scsi_mod              133443  4 libata,sd_mod,uas,usb_storage
usb_common               954  1 usbcore

lscpu

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             AuthenticAMD
CPU family:            20
Model:                 2
Stepping:              0
CPU MHz:               825.000
BogoMIPS:              3294.18
Virtualization:        AMD-V
L1d cache:             32K
L1i cache:             32K
L2 cache:              512K
NUMA node0 CPU(s):     0,1

uname -a

Linux myhost 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 AMD E-450 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux

Last edited by gnidov (2012-02-03 12:50:54)

Offline

#2 2012-02-03 19:25:56

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

This may be too obvious too ask, but did you add the proper 'resume' parameter to your kernel line in grub?


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-02-03 19:56:37

gnidov
Member
Registered: 2012-02-03
Posts: 5

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Yes, I did. The resume line points to my swap partition. By the way, why does suspending to ram has to temper with the boot record of the hdd?

Offline

#4 2012-02-03 20:46:31

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

gnidov wrote:

Yes, I did. The resume line points to my swap partition. By the way, why does suspending to ram has to temper with the boot record of the hdd?

Hmm as far as i know it shouldn't, are you sure your pm config isn't set to hibernate by default?

Last edited by litemotiv (2012-02-03 20:57:08)


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-02-03 21:50:24

gnidov
Member
Registered: 2012-02-03
Posts: 5

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I have always issued pm-suspend. Going to suspend and returning from it is very fast. The led on the power button blinks as it does duing a suspend from windows. After starting from hibernation I should have seen some early part of the boot process which did not happen. So, for these reasons I think it is really suspending.

Offline

#6 2012-02-03 22:01:23

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

This is really weird, almost sounds like you have a stale / persistent hibernate image that it's trying to boot from. You could try formatting your swap just in case or remove the RESUME parameter altogether, but it's a long shot, so sorry for not providing you with better ideas...


ᶘ ᵒᴥᵒᶅ

Offline

#7 2012-02-03 22:17:15

gnidov
Member
Registered: 2012-02-03
Posts: 5

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Update

This seem to have nothing to do with the pm-utils scripts. After digging through /usr/bin/pm-suspend, I have found that pm-suspend uses the command

echo -n "mem">/sys/power/state

to put the computer to sleep.

Issuing this command alone was enough to screw up my grub. Now I am looking for what exactly happens when you echo "mem" into /sys/power/state. Any help appreciated.

Update again
The strangest of the strange happened. Instead of restoring grub, it is possible to fix the boot issue simply by removing and reattaching the battery. So, all in all this seems to be some nasty bug in the BIOS.

Last edited by gnidov (2012-02-03 23:04:45)

Offline

#8 2012-02-15 15:22:47

3cHeLoN
Member
Registered: 2009-08-05
Posts: 4

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Maybe I can add to this:  I have an eee pc 1015bx, which is similar. I've noticed that, although I've only suspended the laptop to RAM, it might go to hibernation by itself after several hours (or minutes, I don't know exactly).
This is the BIOS trying to save your battery-life. So are you really sure that the laptop was in suspend mode and not in hybernation?

Offline

#9 2012-02-21 16:39:32

mcmilton
Member
Registered: 2011-11-14
Posts: 12

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I also have the same issue with rebooting after suspend to ram on my Asus Eee Pc 1215b. No idea how to fix it! Just to add some info which I recently discovered: if I add the kernel booting parameter acpi_osi="Linux", then the suspend to ram works regardless of the state of C6 flag in BIOS. But if the system is booted without this parameter and the C6 flag is on, the laptop does not wake after the suspend to ram.

Offline

#10 2013-01-02 13:43:40

godie
Member
Registered: 2013-01-02
Posts: 6

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I have the same issue. Asus 1215b E-450 apu.I installed Archlinux last week, with latest kernel and the netbook doesn't boot after suspend. It boots only removing AC power and battery OR leaving some hours turned off (it happend to me yesterday).
I cant understand what can it be. I know it happends with other distros, but don't know if this is a problem related to ASUS or FUSION APU or any other thing...
I have almost 2 years with this problem.. Has anyone have luck with this ?????

(What exactly does with the MBR / GRUB / "restart-fairy" when the PC restart ??)

Edit: A minutes ago I suspend the PC, after I tried to restart and doesnt work. I holded the power button to shutdown and 10 minutes after I power on the PC and it boots!. So i think it means you have to plug the battery off, or wait a few minutes to properly restart the pc after a suspend.

Last edited by godie (2013-01-02 15:52:05)

Offline

#11 2013-01-03 03:14:51

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Please don't necro-bump threads. A lot has changed in Arch since this thread was originally posted. You would be much better off starting a new one and linking to this one if it seems relevant. (Though I'm not sure why you think it is relevant or why you think you are experiencing the same problem since yours sounds quite different.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-01-03 12:15:59

godie
Member
Registered: 2013-01-02
Posts: 6

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

cfr, thanx for replying. I have THE SAME gnidov had. as he said:

"Pm-suspend works nicely, the system goes to sleep, after waking it up, everything works. (I had to disable C6 state in the BIOS to work around a previous issue where resume from suspend didn't work). Now only one problem persists: after a pm-suspend my grub doesn't load.
Instead of grub I get the following error message:
Reboot and Select proper Boot device."

I know this is a very old post, but is the exactly the problem I have, so I prefered asking people who had the same problem before starting a new one. Sorry if i shouldn't reopen old posts.

About changes in Arch, now I can say that the problem is still there, despite new kernels and changes.

Thanks!

Offline

#13 2013-01-03 13:48:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

So now I'm confused. Originally, you said the "fix" required you to wait to to disconnect AC and battery etc. and then you could reboot. Now you say that what you have to do is reinstall grub. Could you clarify this?

Are you using systemd?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2013-01-03 14:07:30

godie
Member
Registered: 2013-01-02
Posts: 6

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I did not say anything about reinstalling grub.

Yes, i'm using systemd

When I restart the netbook AFTER suspend-and-resume, instead the grub2 menu I get a blinking cursor and after a minute the following message "Reboot and select proper device..", just as the picture of the original message.

Just to clarify:

Case A:
1- power on netbook
2- grub2 menu
3- Login Archlinux
4- shutdown -r now - > netbook restart
5- grub2 menu, and everything ok
6- big_smile


Case B (restart after suspend):
1- power on netbook
2- grub2 menu
3- Login Archlinux
4- close lid -> suspend -> power led blinking
5- open lid and press button -> netbook on
6- shutdown -r now - > netbook restart
7- after bios text, instead of grub2 I get a blinking cursor and after a minute the following message "Reboot and select proper device.."
8- sad


Case C (power on after suspend):
1- power on netbook
2- grub2 menu
3- Login Archlinux
4- close lid -> suspend -> power led blinking
5- open lid and press button -> netbook on
6- shutdown -h now - > netbook powers off
7- press power button -> power on netbook
8- after bios text, instead of grub2 I get a blinking cursor and after a minute the following message "Reboot and select proper device.."
9- sad


Case D:
1- power on netbook
2- grub2 menu
3- Login Archlinux
4- close lid -> suspend -> power led blinking
5- open lid and press button -> netbook on
6- shutdown -h now - > netbook powers off
7- wait for 30 min
8- press power button -> power on netbook
9- grub2 menu, and everything ok
10- big_smile

Offline

#15 2013-01-03 21:58:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

godie wrote:

I did not say anything about reinstalling grub.

You said you had "THE SAME" issue as the OP who had "exactly the problem I have" and that you therefore "prefered [sic.] asking people who had the same problem".

But the OP's problem involved a need to reinstall grub to disk and, moreover, a need to do that via an alternative boot.

Why do you think you are experiencing the same issue as opposed to somewhat similar symptoms?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2013-01-03 23:19:22

godie
Member
Registered: 2013-01-02
Posts: 6

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I have the same PROBLEM, but the SOLUTION is not necessary reinstalling grub. If you read (I suppose you did) post #7 gnidov said :

"The strangest of the strange happened. Instead of restoring grub, it is possible to fix the boot issue simply by removing and reattaching the battery. So, all in all this seems to be some nasty bug in the BIOS."

I dont know if it is really a BIOS bug, but I know (because I tried) the solution is not reinstalling grub.

So Yes, I have the same problem. I just can add that with an updated Archlinux the problem is still there, and instead of removing and reattaching the battery (or reinstalling grub) you have to wait a few minutes to boot again.

I will be writing a new post, so you can be happy.

Offline

#17 2013-01-04 00:33:29

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Look, there are two ways of understanding "same problem". One is that the symptoms are the same. The other is that the underlying cause is the same. I agree you have similar symptoms to the OP. Maybe the underlying cause is also similar. I just don't think that's obvious given that a solution that worked for the OP does not work for you and that a solution which isn't mentioned originally does work for you.

By the way, you might want to look into moving away from pm-suspend since you are using systemd.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#18 2013-01-04 13:16:58

godie
Member
Registered: 2013-01-02
Posts: 6

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Look, maybe you dont have this problem, but I DO, and I`m very interesting on find a solution.

Please read what gnidov wrote:

gnidov wrote:

Update

This seem to have nothing to do with the pm-utils scripts. After digging through /usr/bin/pm-suspend, I have found that pm-suspend uses the command

echo -n "mem">/sys/power/state

to put the computer to sleep.

Issuing this command alone was enough to screw up my grub. Now I am looking for what exactly happens when you echo "mem" into /sys/power/state. Any help appreciated.

Update again
The strangest of the strange happened. Instead of restoring grub, it is possible to fix the boot issue simply by removing and reattaching the battery. So, all in all this seems to be some nasty bug in the BIOS.

Yes, reinstalling grub was a solution, but not the only one (neither the easyer), and it worked for me too when I tried it.
I have systemd and now I dont use pm-suspend, but when I used it I had the same problem. Maybe I have to move the post, but This is the only place I found people with the problem I have, so please leave me to ask, and I`ll leave this thread nicely.

P.D: Since English is not my mother language, let me thank  you for the writing excercise smile

Offline

#19 2013-01-04 21:56:08

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Well, if reinstalling grub also works for you then it does start to sound as though the problem might be the same and not just similar in some ways. But when I asked about grub before, you indicated that your issue had nothing to do with needing to reinstall grub. If that didn't help in your case, it wasn't obvious how similar the problems were.

So do you not have the problem now (using systemd to suspend)?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#20 2013-03-05 10:34:17

mcmilton
Member
Registered: 2011-11-14
Posts: 12

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

Let me join to your interesting discussion about THE SAME or NOT THE SAME issue :-) . I also have this latop (asus 1215b e350) and confirm the presence of the issue: the laptop does not reboot after waking from suspend to ram. Initially it was thought that the grudb becomes damaged, but now it is clear that the grub is ok and the problem is in the incorrect bios state after suspend. No body knows yet how to deal with it. Ones I tried to ignore the problem with the reboot and just suspended/waked the laptop several times. This finished bad: the laptop stopped seeing the HDD at all! Hopefully the reboot with unplugging the battery resolved the situation. So the issue is still here. I have some idea how to test it further. I use legacy bios boot and never tried to move to uefi mode which is also supported by the laptop. Since the problem appears due to the incorrect interaction of linux with bios, may be using the uefi mode will resolve it? Does anybody tried this?

Offline

#21 2013-03-22 12:42:41

hachel
Member
Registered: 2011-05-03
Posts: 25

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

That was my initial thought, maybe just try UEFI. But in my many many tries I never managed to install it the UEFI-way. it's just to darn complicated and the wiki not clear enough in what to do.
If someone tested it and found out that the problem does not persist in UEFI-mode I'm willing to give it another try

Offline

#22 2014-11-01 03:16:27

slope
Member
Registered: 2014-11-01
Posts: 1

Re: Pm-suspend kills my grub [Asus Eee Pc 1215B]

I have same problem on Asus EeePC 1215B E-450 CPU Ubuntu 14.04.1 kernel 3.13.0-39-generic.

In my environment this resolved, add kernel parameter "acpi=noirq".
My /etc/default/grub kernel paramter line is,

GRUB_CMDLINE_LINUX="acpi=noirq"

Offline

Board footer

Powered by FluxBB