Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#861151: W: initramfs-tools configuration sets RESUME=UUID=... warning even though RESUME=none

1,022 views
Skip to first unread message

Arthur Marsh

unread,
Apr 24, 2017, 11:30:02 PM4/24/17
to
Package: initramfs-tools
Version: 0.129
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?

set RESUME=none in /etc/initramfs-tools/initramfs.conf but
still get messages:

W: initramfs-tools configuration sets RESUME=UUID=604db355-002c-4f41-b31c-438fe788b26d
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=0e388c35-a730-4a86-ac45-e11486b3e992)
I: Set the RESUME variable to override this.

As far as I can tell, on boot up there is no attempt to resume from that UUID.

* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 16M Mar 28 2015 /boot/initrd.img-4.0.0-rc5+119
-rw-r--r-- 1 root root 19M Feb 20 21:01 /boot/initrd.img-4.10.0
-rw-r--r-- 1 root root 20M Feb 5 13:20 /boot/initrd.img-4.10.0-rc6-amd64
-rw-r--r-- 1 root root 20M Feb 24 05:21 /boot/initrd.img-4.10.0-trunk-amd64
-rw-r--r-- 1 root root 19M Mar 7 19:33 /boot/initrd.img-4.11.0-rc1
-rw-r--r-- 1 root root 19M Mar 13 12:40 /boot/initrd.img-4.11.0-rc2
-rw-r--r-- 1 root root 19M Apr 3 15:49 /boot/initrd.img-4.11.0-rc5
-rw-r--r-- 1 root root 19M Apr 10 10:36 /boot/initrd.img-4.11.0-rc6
-rw-r--r-- 1 root root 19M Apr 16 16:32 /boot/initrd.img-4.11.0-rc6+
-rw-r--r-- 1 root root 19M Apr 18 19:26 /boot/initrd.img-4.11.0-rc7
-rw-r--r-- 1 root root 19M Apr 24 15:36 /boot/initrd.img-4.11.0-rc7+
-rw-r--r-- 1 root root 19M Apr 24 17:38 /boot/initrd.img-4.11.0-rc8
-rw-r--r-- 1 root root 19M Apr 25 12:46 /boot/initrd.img-4.11.0-rc8+
-rw-r--r-- 1 root root 18M Dec 15 05:05 /boot/initrd.img-4.9.0
-rw-r--r-- 1 root root 19M Mar 30 23:55 /boot/initrd.img-4.9.0-2-amd64
-rw-r--r-- 1 root root 25M Apr 1 11:37 /boot/initrd.img-4.9.0-2-grsec-amd64
-rw-r--r-- 1 root root 19M Mar 30 23:56 /boot/initrd.img-4.9.0-2-rt-amd64
-rw-r--r-- 1 root root 15M Mar 29 2015 /boot/initrd.img-rc5+116
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.11.0-rc8 root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro radeon.audio=1 page_owner=on

-- resume
# RESUME=/dev/sda5
RESUME='UUID=604db355-002c-4f41-b31c-438fe788b26d'
-- /proc/filesystems
btrfs
ext3
ext2
ext4
fuseblk
xfs
jfs
msdos
vfat
ntfs
minix
hfs
hfsplus
qnx4
ufs

-- lsmod
Module Size Used by
ufs 73728 0
qnx4 16384 0
hfsplus 106496 0
hfs 57344 0
minix 36864 0
ntfs 102400 0
vfat 20480 0
msdos 20480 0
fat 65536 2 msdos,vfat
jfs 176128 0
xfs 1212416 0
libcrc32c 16384 1 xfs
dm_mod 114688 0
cpuid 16384 0
arc4 16384 0
ecb 16384 0
md4 16384 0
hmac 16384 1
nls_utf8 16384 4
cifs 692224 5
ccm 20480 0
dns_resolver 16384 1 cifs
fscache 65536 1 cifs
bnep 20480 2
bluetooth 561152 7 bnep
nfc 118784 0
rfkill 28672 7 bluetooth,nfc
cpufreq_userspace 16384 0
cpufreq_conservative 16384 0
snd_hrtimer 16384 1
cpufreq_powersave 16384 0
binfmt_misc 20480 1
fuse 102400 2
snd_emu10k1_synth 20480 0
snd_emux_synth 40960 1 snd_emu10k1_synth
snd_seq_midi_emul 16384 1 snd_emux_synth
snd_seq_virmidi 16384 1 snd_emux_synth
snd_seq_midi 16384 0
snd_seq_midi_event 16384 2 snd_seq_virmidi,snd_seq_midi
snd_seq 65536 6 snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul,snd_seq_midi,snd_emux_synth
max6650 16384 0
ib_iser 49152 0
rdma_cm 61440 1 ib_iser
iw_cm 40960 1 rdma_cm
ib_cm 45056 1 rdma_cm
ib_core 200704 4 ib_iser,ib_cm,rdma_cm,iw_cm
configfs 40960 2 rdma_cm
iscsi_tcp 20480 0
libiscsi_tcp 20480 1 iscsi_tcp
libiscsi 57344 3 ib_iser,libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi 98304 4 ib_iser,libiscsi,iscsi_tcp
parport_pc 28672 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,parport_pc,ppdev
ir_lirc_codec 16384 0
lirc_dev 20480 1 ir_lirc_codec
rtl2832_sdr 36864 0
videobuf2_vmalloc 16384 1 rtl2832_sdr
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 rtl2832_sdr
videobuf2_core 40960 2 rtl2832_sdr,videobuf2_v4l2
videodev 172032 3 videobuf2_core,rtl2832_sdr,videobuf2_v4l2
media 40960 1 videodev
fc0012 16384 1
rtl2832 24576 1
i2c_mux 16384 1 rtl2832
dvb_usb_rtl28xxu 40960 1
dvb_usb_v2 40960 1 dvb_usb_rtl28xxu
dvb_core 126976 2 dvb_usb_v2,rtl2832
rc_core 36864 5 ir_lirc_codec,lirc_dev,dvb_usb_v2,dvb_usb_rtl28xxu
amdkfd 135168 1
edac_mce_amd 28672 0
edac_core 53248 0
radeon 1474560 16
snd_emu10k1 159744 5 snd_emu10k1_synth
kvm_amd 2179072 0
snd_util_mem 16384 2 snd_emu10k1,snd_emux_synth
snd_hda_codec_hdmi 45056 1
snd_hda_intel 40960 1
snd_ac97_codec 131072 1 snd_emu10k1
snd_hda_codec 126976 2 snd_hda_intel,snd_hda_codec_hdmi
kvm 602112 1 kvm_amd
snd_hda_core 81920 3 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi
snd_rawmidi 32768 3 snd_emu10k1,snd_seq_virmidi,snd_seq_midi
snd_seq_device 16384 5 snd_emu10k1,snd_seq,snd_emu10k1_synth,snd_rawmidi,snd_seq_midi
snd_hwdep 16384 3 snd_emu10k1,snd_hda_codec,snd_emux_synth
snd_pcm_oss 49152 0
irqbypass 16384 1 kvm
pcspkr 16384 0
ttm 94208 1 radeon
snd_mixer_oss 24576 1 snd_pcm_oss
ac97_bus 16384 1 snd_ac97_codec
snd_pcm 102400 8 snd_pcm_oss,snd_hda_intel,snd_emu10k1,snd_hda_codec,snd_hda_core,snd_ac97_codec,snd_hda_codec_hdmi
snd_timer 32768 4 snd_emu10k1,snd_seq,snd_hrtimer,snd_pcm
snd 77824 25 snd_pcm_oss,snd_hda_intel,snd_emu10k1,snd_seq_virmidi,snd_hwdep,snd_mixer_oss,snd_seq,snd_hda_codec,snd_ac97_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_seq_device,snd_pcm,snd_emux_synth
evdev 24576 10
emu10k1_gp 16384 0
k10temp 16384 0
drm_kms_helper 143360 1 radeon
gameport 16384 2 emu10k1_gp
serio_raw 16384 0
soundcore 16384 1 snd
drm 344064 14 radeon,ttm,drm_kms_helper
i2c_algo_bit 16384 1 radeon
acpi_cpufreq 20480 1
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
sg 32768 0
sp5100_tco 16384 0
wmi 20480 0
tpm 49152 2 tpm_tis,tpm_tis_core
asus_atk0110 20480 0
button 16384 0
ext4 598016 3
mbcache 16384 1 ext4
crc16 16384 2 bluetooth,ext4
jbd2 106496 1 ext4
crc32c_generic 16384 2
btrfs 1093632 0
raid6_pq 114688 1 btrfs
xor 24576 1 btrfs
uas 24576 0
usb_storage 69632 3 uas
sr_mod 24576 1
sd_mod 49152 7
cdrom 61440 1 sr_mod
ata_generic 16384 0
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
ohci_pci 16384 0
ahci 36864 4
libahci 32768 1 ahci
firewire_ohci 40960 0
ehci_pci 16384 0
firewire_core 65536 1 firewire_ohci
ohci_hcd 53248 1 ohci_pci
ehci_hcd 77824 1 ehci_pci
pata_atiixp 16384 0
crc_itu_t 16384 1 firewire_core
libata 241664 4 pata_atiixp,ahci,libahci,ata_generic
scsi_mod 221184 10 ib_iser,sd_mod,libiscsi,usb_storage,libata,scsi_transport_iscsi,uas,sr_mod,iscsi_tcp,sg
i2c_piix4 24576 0
usbcore 245760 10 usbhid,usb_storage,ehci_hcd,ohci_pci,dvb_usb_v2,rtl2832_sdr,uas,ohci_hcd,dvb_usb_rtl28xxu,ehci_pci
r8169 81920 0
mii 16384 1 r8169

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# This is a sample /etc/kernel-img.conf file
# See kernel-img.conf(5) for details

# If you want the symbolic link (or image, if move_image is set) to be
# stored elsewhere than / set this variable to the dir where you
# want the symbolic link. Please note that this is not a Boolean
# variable. This may be of help to loadlin users, who may set both
# this and move_image. Defaults to /. This can be used in conjunction
# with all above options except link_in_boot, which would not make
# sense. (If both image_dest and link_in_boot are set, link_in_boot
# overrides).
image_dest = /

# This option manipulates the build link created by recent kernels. If
# the link is a dangling link, and if a the corresponding kernel
# headers appear to have been installed on the system, a new symlink
# shall be created to point to them.
#relink_build_link = YES

# If set, the preinst shall silently try to move /lib/modules/version
# out of the way if it is the same version as the image being
# installed. Use at your own risk.
#clobber_modules = NO

# If set, does not prompt to continue after a depmod problem in the
# postinstall script. This facilitates automated installs, though it
# may mask a problem with the kernel image. A diag‐ nostic is still
# issued. This is unset be default.
# ignore_depmod_err = NO

# These setting are for legacy postinst scripts only. newer postinst
# scripts from the kenrel-package do not use them
do_symlinks = yes
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
RESUME=none

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

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

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


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

Kernel: Linux 4.11.0-rc8 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

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

initramfs-tools recommends no packages.

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

-- debconf-show failed

Sven Joachim

unread,
Apr 25, 2017, 11:30:03 AM4/25/17
to
On 2017-04-25 12:52 +0930, Arthur Marsh wrote:

> Package: initramfs-tools
> Version: 0.129
> Severity: normal
>
> Dear Maintainer,
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
> * What led up to the situation?
>
> set RESUME=none in /etc/initramfs-tools/initramfs.conf but
> still get messages:
>
> W: initramfs-tools configuration sets RESUME=UUID=604db355-002c-4f41-b31c-438fe788b26d

That may be coming from a stale file /etc/initramfs-tools/conf.d/resume,
which is the location where the RESUME variable had to be set in
versions prior to 0.129.

AFAICS mkinitramfs sources /etc/initramfs-tools/initramfs.conf before
any files in /etc/initramfs-tools/conf.d which does not look quite
right, but maybe there are reasons for that.

> W: but no matching swap device is available.
> I: The initramfs will attempt to resume from /dev/sda4
> I: (UUID=0e388c35-a730-4a86-ac45-e11486b3e992)
> I: Set the RESUME variable to override this.
>
> As far as I can tell, on boot up there is no attempt to resume from that UUID.

Did you hibernate first?

Cheers,
Sven

Debian Bug Tracking System

unread,
Apr 25, 2017, 11:20:02 PM4/25/17
to
Processing control commands:

> tag -1 moreinfo
Bug #861151 [initramfs-tools] W: initramfs-tools configuration sets RESUME=UUID=... warning even though RESUME=none
Added tag(s) moreinfo.

--
861151: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861151
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Ben Hutchings

unread,
Apr 25, 2017, 11:20:02 PM4/25/17
to
Control: tag -1 moreinfo

On Tue, 25 Apr 2017 17:18:28 +0200 Sven Joachim <sven...@gmx.de> wrote:
> On 2017-04-25 12:52 +0930, Arthur Marsh wrote:

> > Package: initramfs-tools
> > Version: 0.129
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > *** Reporter, please consider answering these questions, where appropriate ***
> >
> >    * What led up to the situation?
> >
> > set RESUME=none in /etc/initramfs-tools/initramfs.conf but
> > still get messages:
> >
> > W: initramfs-tools configuration sets RESUME=UUID=604db355-002c-4f41-b31c-438fe788b26d

> That may be coming from a stale file /etc/initramfs-tools/conf.d/resume,
> which is the location where the RESUME variable had to be set in
> versions prior to 0.129.

> AFAICS mkinitramfs sources /etc/initramfs-tools/initramfs.conf before
> any files in /etc/initramfs-tools/conf.d which does not look quite
> right, but maybe there are reasons for that.
[...]

Yes, that's what it does - and this is documented at the top of
initramfs.conf(5).

Arthur, please confirm whether RESUME is set somewhere else.

Ben.

--
Ben Hutchings
All extremists should be taken out and shot.

signature.asc

Arthur Marsh

unread,
Apr 26, 2017, 9:20:02 PM4/26/17
to


Ben Hutchings wrote on 26/04/17 12:41:
Thanks for your help, /etc/initramfs-tools/conf.d/resume did exist.

After removing it, there was no longer any warning message on running
update-initramfs and the machine rebooted without attempting a resume.

Please close the bug report.

Arthur.

Arthur Marsh

unread,
Apr 26, 2017, 9:20:02 PM4/26/17
to


Sven Joachim wrote on 26/04/17 00:48:
There was an old /etc/initramfs-tools/conf.d/resume file.

I had never used hibernation.

Removing the /etc/initramfs-tools/conf.d/resume file fixed things.

Thanks for your help!

Arthur.

Debian Bug Tracking System

unread,
May 2, 2017, 12:10:02 AM5/2/17
to
Your message dated Tue, 02 May 2017 04:59:05 +0100
with message-id <1493697545.2...@decadent.org.uk>
and subject line Re: Bug#861151: W: initramfs-tools configuration sets RESUME=UUID=... warning even though RESUME=none
has caused the Debian Bug report #861151,
regarding W: initramfs-tools configuration sets RESUME=UUID=... warning even though RESUME=none
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 ow...@bugs.debian.org
immediately.)
signature.asc
0 new messages