[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854791: marked as done (initramfs-tools: does not wait for "resume" device to come up)



Your message dated Sun, 09 Apr 2017 00:04:16 +0000
with message-id <E1cx0L2-000D3p-8F@fasolo.debian.org>
and subject line Bug#854791: fixed in initramfs-tools 0.128
has caused the Debian Bug report #854791,
regarding initramfs-tools: does not wait for "resume" device to come up
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
854791: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854791
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.127
Severity: normal

Dear Maintainer,

My nvme device in my laptop is a bit slow to enumerate its partitions
(it takes upto 0.3 sec). This causes the initramfs script to fail to
resume from hibernation. The resume script in local-premount just
checks if the resume device exists, but it doesn't wait for it to
become available, like with the root device.


With a quick hack where i just add a "sleep 1" before
"[ ! -e "${resume}" ] && exit 0"
in the resume script, my laptop is able to resume.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 4.7M Feb 10 12:02 /boot/initrd.img-4.9.0-1-amd64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-1-amd64 root=UUID=3724fe6e-df2c-453c-80e5-219fb9fd6a23 ro debug

-- resume
RESUME=/dev/nvme0n1p8
-- /proc/filesystems
	ext3
	ext2
	ext4
	vfat

-- lsmod
Module                  Size  Used by
cmac                   16384  1
bnep                   20480  2
btusb                  45056  0
btrtl                  16384  1 btusb
cpuid                  16384  0
ctr                    16384  6
ccm                    20480  3
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  40960  2 uvcvideo,videodev
snd_hda_codec_hdmi     45056  1
snd_hda_codec_generic    69632  1
joydev                 20480  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
snd_soc_skl            65536  0
snd_soc_skl_ipc        45056  1 snd_soc_skl
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
snd_soc_sst_dsp        28672  1 snd_soc_skl_ipc
snd_hda_ext_core       28672  1 snd_soc_skl
snd_soc_sst_match      16384  1 snd_soc_skl
kvm_intel             192512  0
snd_soc_core          212992  1 snd_soc_skl
nls_ascii              16384  1
kvm                   589824  1 kvm_intel
nls_cp437              20480  1
snd_compress           20480  1 snd_soc_core
vfat                   20480  1
fat                    69632  1 vfat
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
intel_cstate           16384  0
arc4                   16384  2
xhci_pci               16384  0
efi_pstore             16384  0
snd_hda_intel          36864  0
xhci_hcd              188416  1 xhci_pci
i915                 1236992  7
snd_hda_codec         135168  3 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic
intel_uncore          118784  0
psmouse               135168  0
intel_rapl_perf        16384  0
ahci                   36864  0
efivars                20480  1 efi_pstore
snd_hda_core           81920  6 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic
pcspkr                 16384  0
snd_hwdep              16384  1 snd_hda_codec
iwlmvm                245760  0
drm_kms_helper        155648  1 i915
mac80211              671744  1 iwlmvm
usbcore               249856  4 uvcvideo,xhci_pci,btusb,xhci_hcd
drm                   360448  5 i915,drm_kms_helper
snd_pcm               110592  7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
libahci                32768  1 ahci
iwlwifi               151552  1 iwlmvm
usb_common             16384  1 usbcore
i2c_i801               24576  0
snd_timer              32768  1 snd_pcm
snd                    86016  9 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_soc_core,snd_pcm
i2c_smbus              16384  1 i2c_i801
soundcore              16384  1 snd
cfg80211              589824  3 iwlmvm,iwlwifi,mac80211
libata                249856  2 ahci,libahci
mei_me                 36864  0
scsi_mod              225280  1 libata
intel_pch_thermal      16384  0
mei                   102400  1 mei_me
processor_thermal_device    16384  0
int340x_thermal_zone    16384  1 processor_thermal_device
i2c_algo_bit           16384  1 i915
intel_soc_dts_iosf     16384  1 processor_thermal_device
ideapad_laptop         24576  0
wmi                    16384  1 ideapad_laptop
battery                16384  0
ac                     16384  0
hci_uart               98304  0
btbcm                  16384  2 hci_uart,btusb
intel_vbtn             16384  0
btqca                  16384  1 hci_uart
sparse_keymap          16384  2 intel_vbtn,ideapad_laptop
btintel                16384  2 hci_uart,btusb
video                  40960  2 i915,ideapad_laptop
bluetooth             552960  28 btrtl,hci_uart,btintel,btqca,bnep,btbcm,btusb
i2c_hid                20480  0
intel_lpss_acpi        16384  0
intel_lpss             16384  1 intel_lpss_acpi
rfkill                 24576  7 bluetooth,ideapad_laptop,cfg80211
int3400_thermal        16384  0
mfd_core               16384  1 intel_lpss
hid                   122880  1 i2c_hid
tpm_crb                16384  0
acpi_thermal_rel       16384  1 int3400_thermal
button                 16384  1 i915
acpi_pad               24576  0
fjes                   28672  0
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
tpm                    45056  3 tpm_tis,tpm_crb,tpm_tis_core
efivarfs               16384  1
ip_tables              24576  0
x_tables               36864  1 ip_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  2 bluetooth,ext4
jbd2                  106496  1 ext4
crc32c_generic         16384  0
fscrypto               28672  1 ext4
ecb                    16384  0
mbcache                16384  2 ext4
crc32c_intel           24576  2
aesni_intel           167936  8
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
evdev                  24576  12
nvme                   28672  3
nvme_core              40960  5 nvme
serio_raw              16384  0
shpchp                 36864  0
thermal                20480  0

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = no
do_bootloader = no
do_initrd = yes
link_in_boot = no

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- /sys/block
nvme0n1

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
dmsetup
fsck
fuse
intel_microcode
keymap
klibc-utils
kmod
ntfs_3g
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=nl_NL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools depends on:
ii  initramfs-tools-core  0.127
ii  linux-base            4.5

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.1-4.3

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.128

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 854791@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 08 Apr 2017 21:01:30 +0100
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.128
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
 initramfs-tools - generic modular initramfs generator (automation)
 initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 854791 855094
Changes:
 initramfs-tools (0.128) unstable; urgency=medium
 .
   * [cd352e8] debian/control: Add Breaks against older versions of busybox
     (Closes: #855094)
   * [e5c68ce] Include the unmkinitramfs(8) manual page in initramfs-tools-core
   * [dc22177] scripts/local: local_device_setup should not assume devices hold
     file systems
   * [033c948] scripts/local: Apply a single time limit to all device discovery
   * [f3a61b3] scripts/local: Add option for local_device_setup to return failure
   * [2be97ee] scripts/local-premount/resume: Check for kernel resume interface
     earlier
   * [25837a1] scripts/local-premount/resume: Use local_device_setup for resume
     device (Closes: #854791)
Checksums-Sha1:
 6a8576ad1e34d77c52569fb9ea6ae771ae5514b9 1831 initramfs-tools_0.128.dsc
 9379145516709272c9053c399e04e7317233dd57 86024 initramfs-tools_0.128.tar.xz
 fce8bbfa0cee55d10ee4944be2fd745f111b803a 5692 initramfs-tools_0.128_source.buildinfo
Checksums-Sha256:
 326c0afbddda37ccd3de816dae308a58add7816cc9f961b6d7bf8b346a91f677 1831 initramfs-tools_0.128.dsc
 c408b66dfc6e4edab6e1a8f41954d85c795b9011b0a84b0d9bb39d9204c25e9a 86024 initramfs-tools_0.128.tar.xz
 d2516536fd367851d4ec7db1e728ed19896cfcf43026dce0e417233c982cb7d0 5692 initramfs-tools_0.128_source.buildinfo
Files:
 d64600ee1f11a5f658459d49a4fe6744 1831 utils optional initramfs-tools_0.128.dsc
 e07fb671dace4194a5c6d4718f5b1d6c 86024 utils optional initramfs-tools_0.128.tar.xz
 e1a4b63d15a87f0879ae6009baeed461 5692 utils optional initramfs-tools_0.128_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAljpdCgACgkQ57/I7JWG
EQlWCw//ashd+VllOdh0eXLl2fGSxYJU84bvWUiIymCbfG+RDaLZa7aWs9GV2SM5
tsaRgPqFQ5MQLq+7wb/ViHX4BbkXZ7TsPZmwrT+BM8S1RYwUmrTndefi5sUQoMTr
ukrdt3KdaOcYPWydnRzyUnpkS4OOyxpkpUFr2wPLFoPCoUZAac5zNHMnX+18eAnb
mfxl9KnFkXymLv3jJqXCB250pWcvRwNvhMsEeNm8VvLN5obfEJ7YyFhKkQZ5VEcO
RY5FjzytOW2sxTrlrowZhkLbfSaMGTXJXJ4mAOaBT+bAhOdHT4cUSYU4V5nMa4tD
0J5BXqf5UKSWQAQjjB5iaZw3mFwbpWGQt6hYz+PaCl+0Y3qx6EJSfRH1kV0bOXgg
fO5NcZYu40FdIT1491JtcKiUmhZPi8BDjwU8ZbpVvbX0QL5M7Mx1hqJhKlf0fxxI
6i8L+NMUe+MAvdGmMgElIa9ym/fJBZHo+LUlQo2Kp7GLKpl2+OwkStC95zCGLsvP
FsjgexMMS6KmULEsi/6VysOP+AJUDnu3AOSB75aT8weFjmrZ3RTEBxpD8DV4kXSr
ynhaS1J7ACHS4iK6hBZK4BhCer55YLV4tsaod3oroWrqJDecOit2SNZQrU+iHIkU
AzFBjieoW6KfMPqMVQVfXtgD7Bc6hvsLNSb1txJ0CuWuIc9FZh8=
=Kmp3
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: