Bug#928736: initramfs-tools: With plymouth print misleading resuming from hibernation

2019-05-10 Thread Ben Hutchings
Control: severity -1 minor
Control: tag -1 wontfix

On Fri, 2019-05-10 at 00:52 +0200, Cesare Leonardi wrote:
> Package: initramfs-tools
> Version: 0.133
> Severity: normal
> 
> When plymouth is installed, every time I power on my notebook the following
> message is printed on the screen:
> Resuming from hibernation
> 
> But I'm not resuming from hibernation, I'm doing a regular boot from power
> off.
> Is it possible to show that message only when actually resuming?

It's not possible to do that, because the check and resume are done by
the kernel outside of our control.

> Or, if it not feaseable, perhaps it's better to remove it completely.

Resume from hibernation may take a long time, so it is important to
show this step.  If you use plymouth in graphical mode, the message is
erased when resume doesn't happen.

Ben.

> I've verified that this message appears when RESUME=auto (my current
> setup) or when a swap device is specified. It goes away with "none".

-- 
Ben Hutchings
Lowery's Law:
If it jams, force it. If it breaks, it needed replacing anyway.



signature.asc
Description: This is a digitally signed message part


Bug#928736: initramfs-tools: With plymouth print misleading resuming from hibernation

2019-05-09 Thread Cesare Leonardi
Package: initramfs-tools
Version: 0.133
Severity: normal

When plymouth is installed, every time I power on my notebook the following
message is printed on the screen:
Resuming from hibernation

But I'm not resuming from hibernation, I'm doing a regular boot from power
off.
Is it possible to show that message only when actually resuming? Or, if it
not feaseable, perhaps it's better to remove it completely.

I've verified that this message appears when RESUME=auto (my current
setup) or when a swap device is specified. It goes away with "none".

Cesare.


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 28M Sep  1  2018 /boot/initrd.img-4.17.0-3-amd64
-rw-r--r-- 1 root root 29M Dec 16 14:29 /boot/initrd.img-4.18.0-3-amd64
-rw-r--r-- 1 root root 49M Apr 16 06:15 /boot/initrd.img-4.19.0-4-amd64
-rw-r--r-- 1 root root 50M May  9 11:17 /boot/initrd.img-4.19.0-5-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/etna2014-root ro quiet 
splash i915.fastboot=1

-- /proc/filesystems
btrfs
ext3
ext2
ext4
vfat
fuseblk

-- lsmod
Module  Size  Used by
fuse  122880  1
uas28672  0
usb_storage73728  1 uas
rfcomm 86016  4
cls_u3224576  10
sch_htb24576  1
ifb16384  0
cmac   16384  1
bnep   24576  2
ctr16384  6
ccm20480  9
ip6t_rpfilter  16384  1
nls_ascii  16384  1
nls_cp437  20480  1
vfat   20480  1
fat86016  1 vfat
nft_chain_nat_ipv6 16384  4
nf_nat_ipv616384  1 nft_chain_nat_ipv6
nft_chain_route_ipv616384  1
ath3k  20480  0
btusb  53248  0
ip6t_REJECT16384  1
intel_rapl 24576  0
nf_reject_ipv6 16384  1 ip6t_REJECT
x86_pkg_temp_thermal16384  0
intel_powerclamp   16384  0
btrtl  16384  1 btusb
coretemp   16384  0
arc4   16384  2
btbcm  16384  1 btusb
mei_wdt16384  0
btintel24576  1 btusb
kvm_intel 245760  0
ath9k 135168  0
ath9k_common   20480  1 ath9k
bluetooth 643072  32 btrtl,btintel,btbcm,bnep,ath3k,btusb,rfcomm
ipt_rpfilter   16384  1
ath9k_hw  483328  2 ath9k_common,ath9k
snd_hda_codec_hdmi 57344  1
snd_hda_codec_conexant24576  1
uvcvideo  118784  0
kvm   724992  1 kvm_intel
videobuf2_vmalloc  16384  1 uvcvideo
snd_hda_codec_generic86016  1 snd_hda_codec_conexant
ath36864  3 ath9k_common,ath9k,ath9k_hw
mac80211  815104  1 ath9k
videobuf2_memops   16384  1 videobuf2_vmalloc
videobuf2_v4l2 28672  1 uvcvideo
irqbypass  16384  1 kvm
crct10dif_pclmul   16384  0
videobuf2_common   53248  2 videobuf2_v4l2,uvcvideo
nft_chain_nat_ipv4 16384  4
nf_nat_ipv416384  1 nft_chain_nat_ipv4
crc32_pclmul   16384  0
nf_nat 36864  2 nf_nat_ipv6,nf_nat_ipv4
videodev  212992  3 videobuf2_v4l2,uvcvideo,videobuf2_common
ghash_clmulni_intel16384  0
snd_hda_intel  45056  8
media  45056  2 videodev,uvcvideo
snd_hda_codec 151552  4 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
efi_pstore 16384  0
intel_cstate   16384  0
drbg   28672  1
asus_nb_wmi28672  0
snd_hda_core   94208  5 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
intel_uncore  135168  0
ansi_cprng 16384  0
cfg80211  761856  4 ath9k_common,ath9k,ath,mac80211
joydev 24576  0
asus_wmi   32768  1 asus_nb_wmi
intel_rapl_perf16384  0
snd_hwdep  16384  1 snd_hda_codec
sparse_keymap  16384  1 asus_wmi
snd_pcm   114688  5 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
nft_chain_route_ipv416384  1
efivars20480  1 efi_pstore
serio_raw  16384  0
pcspkr 16384  0
ecdh_generic   24576  2 bluetooth
intel_pch_thermal  16384  0
sg 36864  0
snd_timer  36864  1 snd_pcm
iTCO_wdt   16384  0
iTCO_vendor_support16384  1 iTCO_wdt
mei_me 45056  1
mei   118784  3 mei_wdt,mei_me
snd94208  23 
snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
processor_thermal_device16384  0
rfkill 28672  6 asus_wmi,bluetooth,cfg80211
soundcore  16384  1 snd
intel_soc_dts_iosf 16384  1 processor_thermal_device
battery