[opensuse] system-sleep/grub2.sleep fails to find the correct grub target
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I see this in the log while trying to hibernate, and a delay: <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: running /usr/lib/systemd/system-sleep/grub2.sleep for hibernate <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: Running prepare-grub .. <3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopping Deferred execution scheduler... <3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopped Deferred execution scheduler. <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - service: no such service upsd.service <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because it has the noresume option <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because it has the noresume option <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.4> 2017-01-30 20:23:25 Telcontar systemd-sleep 10697 - - /usr/lib/systemd/system-sleep/grub2.sleep failed with error code 2. <3.6> 2017-01-30 20:23:25 Telcontar systemd-sleep 10692 - - Suspending system... <0.6> 2017-01-31 12:04:55 Telcontar kernel - - - [158874.187341] PM: Syncing filesystems ... done. Then, on come back, I see the boot menu of grub waiting for a boot selection. Fortunately it is the default one and boot proceeds after some seconds correctly, and hibernation image is found. It is true that the string "/dev/sdb8" is not found on /boot/grub2/grub.cfg. It is an UUID: linux /vmlinuz-4.4.36-8-default root=UUID=c6a59497-85b9-454c-a5d1-1dcafa6eed3d splash=verbose loglevel=3 console=tty0 vga=0x31a resume=/dev/disk/by-label/Swap_0 splash=verbose showopts cer@Telcontar:~> l /dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d lrwxrwxrwx 1 root root 10 Jan 27 13:47 /dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d -> ../../sdb8 cer@Telcontar:~> How come? Bugzilla? Known issue? I might as well remove the system-sleep/grub2.sleep script as useless... - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAliQddcACgkQtTMYHG2NR9WWhgCePioF3GkkypuX/NMvQVceJx/d QhsAn2nQjwqsX3gv/hANJm/5Z9gv2H2b =8nmt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
bug report, please. Attach this log and grub.cfg. You can assign it to
mchang right on, he is the author of this script anyway :)
On Tue, Jan 31, 2017 at 2:32 PM, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I see this in the log while trying to hibernate, and a delay:
<3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: running /usr/lib/systemd/system-sleep/grub2.sleep for hibernate <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - INFO: Running prepare-grub .. <3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopping Deferred execution scheduler... <3.6> 2017-01-30 20:23:20 Telcontar systemd 1 - - Stopped Deferred execution scheduler. <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - service: no such service upsd.service <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because it has the noresume option <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sda1) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because it has the noresume option <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb2) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - Skipping grub entry #, because its root= parameter (/dev/sdb7) <3.6> 2017-01-30 20:23:20 Telcontar systemd-sleep 10692 - - does not match the current root device (/dev/sdb8). <3.4> 2017-01-30 20:23:25 Telcontar systemd-sleep 10697 - - /usr/lib/systemd/system-sleep/grub2.sleep failed with error code 2. <3.6> 2017-01-30 20:23:25 Telcontar systemd-sleep 10692 - - Suspending system... <0.6> 2017-01-31 12:04:55 Telcontar kernel - - - [158874.187341] PM: Syncing filesystems ... done.
Then, on come back, I see the boot menu of grub waiting for a boot selection. Fortunately it is the default one and boot proceeds after some seconds correctly, and hibernation image is found.
It is true that the string "/dev/sdb8" is not found on /boot/grub2/grub.cfg. It is an UUID:
linux /vmlinuz-4.4.36-8-default root=UUID=c6a59497-85b9-454c-a5d1-1dcafa6eed3d splash=verbose loglevel=3 console=tty0 vga=0x31a resume=/dev/disk/by-label/Swap_0 splash=verbose showopts
cer@Telcontar:~> l /dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d lrwxrwxrwx 1 root root 10 Jan 27 13:47 /dev/disk/by-uuid/c6a59497-85b9-454c-a5d1-1dcafa6eed3d -> ../../sdb8 cer@Telcontar:~>
How come? Bugzilla? Known issue? I might as well remove the system-sleep/grub2.sleep script as useless...
- -- Cheers
Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAliQddcACgkQtTMYHG2NR9WWhgCePioF3GkkypuX/NMvQVceJx/d QhsAn2nQjwqsX3gv/hANJm/5Z9gv2H2b =8nmt -----END PGP SIGNATURE-----
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-01-31 12:56, Andrei Borzenkov wrote:
bug report, please. Attach this log and grub.cfg. You can assign it to mchang right on, he is the author of this script anyway :)
Thanks! Done. Bug 1022880 - system-sleep/grub2.sleep fails to find the correct grub target -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)
participants (2)
-
Andrei Borzenkov
-
Carlos E. R.