[pkg-cryptsetup-devel] Bug#586122: cryptsetup: initramfs-hook is generating confusing error

Stephan Windmüller windy at white-hawk.de
Wed Jun 16 15:54:31 UTC 2010


Package: cryptsetup
Version: 2:1.1.2-1
Severity: minor

When running update-initramfs, I get this error:

-----

# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
cryptsetup: WARNING: found more than one resume device candidate:
                     /dev/disk/by-uuid/340d6393-2aef-4a50-8bde-15f047154e4a
                     'UUID=340d6393-2aef-4a50-8bde-15f047154e4a'

-----

The message is confusing because this is the same partition. The error
is caused by these files:

-----

# cat /etc/initramfs-tools/conf.d/resume
# RESUME=/dev/sda6
RESUME='UUID=340d6393-2aef-4a50-8bde-15f047154e4a'

# cat /etc/uswsusp.conf                 
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both 
# resume device = /dev/sda6
resume device = /dev/disk/by-uuid/340d6393-2aef-4a50-8bde-15f047154e4a

-----

- Stephan


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=2bc7791d-bbc8-44b6-a47b-9b01298a59f8 ro vga=786

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
#sdb3 /dev/sdb3 none luks

-- lsmod
Module                  Size  Used by
ufs                    56158  0 
qnx4                    5118  0 
hfsplus                61005  0 
hfs                    33093  0 
minix                  17814  0 
ntfs                  163917  0 
vfat                    6570  0 
msdos                   5118  0 
fat                    34912  2 vfat,msdos
jfs                   134682  0 
xfs                   417013  0 
exportfs                2618  1 xfs
reiserfs              176154  0 
ext4                  254973  0 
jbd2                   56091  1 ext4
crc16                   1027  1 ext4
ext2                   46293  0 
powernow_k8             9832  0 
cpufreq_powersave        602  0 
cpufreq_userspace       1480  0 
cpufreq_conservative     4018  0 
cpufreq_stats           1940  0 
xt_multiport            1775  1 
iptable_filter          1790  1 
ip_tables               7690  1 iptable_filter
x_tables                8327  2 xt_multiport,ip_tables
ppdev                   4058  0 
lp                      5570  0 
parport                22554  2 ppdev,lp
uinput                  4796  1 
fuse                   43758  3 
adt7473                 8792  0 
k8temp                  2411  0 
hwmon_vid               1528  0 
ide_generic              801  0 [permanent]
ide_gd_mod             17171  0 
ide_cd_mod             21076  0 
ide_core               59618  3 ide_generic,ide_gd_mod,ide_cd_mod
dm_crypt                9127  0 
dm_mod                 46082  1 dm_crypt
snd_hda_codec_atihdmi     1687  1 
snd_hda_codec_realtek   163214  1 
snd_hda_intel          16703  4 
snd_hda_codec          46002  3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4054  1 snd_hda_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47214  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  1 snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34363  19 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
evdev                   5609  16 
psmouse                44653  0 
soundcore               3450  1 snd
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
serio_raw               2916  0 
fglrx                2120553  34 
tpm_tis                 5496  0 
tpm                     8137  1 tpm_tis
tpm_bios                3569  1 tpm
asus_atk0110            6770  0 
i2c_piix4               7076  0 
i2c_core               12696  2 adt7473,i2c_piix4
button                  3598  0 
processor              26599  1 powernow_k8
ext3                   94204  4 
jbd                    32169  1 ext3
mbcache                 3762  3 ext4,ext2,ext3
sg                     15968  0 
sr_mod                 10770  0 
cdrom                  26487  2 ide_cd_mod,sr_mod
sd_mod                 25869  8 
crc_t10dif              1012  1 sd_mod
ata_generic             2019  0 
usbhid                 27980  0 
hid                    50629  1 usbhid
ohci_hcd               16880  0 
ahci                   27246  6 
ehci_hcd               27763  0 
thermal                 9206  0 
pata_atiixp             2541  0 
thermal_sys             9378  2 processor,thermal
usbcore                98402  4 usbhid,ohci_hcd,ehci_hcd
atl1                   22966  0 
mii                     2714  1 atl1
libata                115665  3 ata_generic,ahci,pata_atiixp
nls_base                4541  7 hfsplus,hfs,ntfs,vfat,fat,jfs,usbcore
scsi_mod              101401  4 sg,sr_mod,sd_mod,libata


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.48-1 The Linux Kernel Device Mapper use
ii  libc6                        2.11.1-3    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.48-1 The Linux Kernel Device Mapper use
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters
ii  libuuid1                     2.16.2-0    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed
ii  dosfstools                    3.0.9-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.94.4     tools for generating an initramfs
ii  udev                          157-1      /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list