[pkg-cryptsetup-devel] Bug#671056: "cryptsetup: WARNING: failed to detect canonical device of /dev/sda2" on kernel installation
Ralf Jung
post at ralfj.de
Tue May 1 14:42:18 UTC 2012
Package: cryptsetup
Version: 2:1.4.1-3
Severity: minor
Dear Maintainer,
each time I install a new kernel version, I get the following message from
cryptsetup
cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
/dev/sda2 is the swap partition, as you can see in the fstab below.
/dev/sda5 is an encrypted partition opened as /dev/mapper/home and mounted to
/home, which is all working great.
The message seems fairly minor (hence the priority), but since I did nothing
out of ordinary during the setup, I wonder if something in there is not
behaving as it should. A quick google search resulted in no explanation of what
is actually going on.
Kind regards,
Ralf Jung
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.0.0 root=UUID=063a7f00-8498-4d36-ba06-e09e819487aa ro quiet
-- /etc/crypttab
# <target name> <source device> <key file> <options>
home /dev/sda5 none luks
-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=063a7f00-8498-4d36-ba06-e09e819487aa / ext4 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=fd031e64-9842-4f65-8c90-2e9c99e080cf none swap sw 0 0
/dev/mapper/home /home ext4 errors=remount-ro 0 2
-- lsmod
Module Size Used by
pci_stub 1317 1
vboxpci 12618 0
vboxnetadp 4947 0
vboxnetflt 14163 0
vboxdrv 1759386 3 vboxnetflt,vboxnetadp,vboxpci
snd_hrtimer 1492 1
powernow_k8 11886 0
mperf 1173 1 powernow_k8
cpufreq_powersave 910 0
cpufreq_stats 2706 0
cpufreq_conservative 4347 0
cpufreq_userspace 1888 0
parport_pc 18764 0
ppdev 5422 0
lp 8014 0
parport 26705 3 lp,ppdev,parport_pc
binfmt_misc 6181 1
uinput 6472 1
fuse 54541 1
loop 13252 0
sha256_generic 9557 2
aes_x86_64 7348 8
aes_generic 25898 1 aes_x86_64
cbc 2474 4
dm_crypt 13114 1
dm_mod 54883 3 dm_crypt
snd_hda_codec_idt 45542 1
snd_hda_intel 19246 2
snd_hda_codec 62326 2 snd_hda_intel,snd_hda_codec_idt
snd_hwdep 5282 1 snd_hda_codec
snd_pcm_oss 30857 0
snd_mixer_oss 12324 1 snd_pcm_oss
snd_pcm 59808 3 snd_pcm_oss,snd_hda_codec,snd_hda_intel
snd_page_alloc 5971 2 snd_pcm,snd_hda_intel
snd_seq_midi 4176 0
btusb 9534 2
joydev 8818 0
snd_seq_midi_event 4636 1 snd_seq_midi
arc4 1282 2
snd_rawmidi 15790 1 snd_seq_midi
hid_cherry 1489 0
uvcvideo 52013 0
videodev 58196 1 uvcvideo
v4l2_compat_ioctl32 6735 1 videodev
fglrx 3146579 40
b43 146641 0
mac80211 172177 1 b43
bluetooth 64314 5 btusb
cfg80211 124348 2 mac80211,b43
snd_seq 41573 3 snd_seq_midi_event,snd_seq_midi
usbhid 29291 0
hid 68960 2 usbhid,hid_cherry
snd_seq_device 4464 3 snd_seq,snd_rawmidi,snd_seq_midi
rng_core 3140 1 b43
snd_timer 15901 3 snd_seq,snd_pcm,snd_hrtimer
ssb 38850 1 b43
snd 46886 16 snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_idt
k10temp 2691 0
pcmcia 28307 2 ssb,b43
pcmcia_core 10246 1 pcmcia
hp_wmi 7033 0
sparse_keymap 2464 1 hp_wmi
rfkill 12980 4 hp_wmi,bluetooth,cfg80211
i2c_piix4 7760 0
evdev 8194 23
i2c_core 16396 2 i2c_piix4,videodev
psmouse 46392 0
serio_raw 3714 0
soundcore 4521 1 snd
pcspkr 1707 0
mmc_core 57890 2 ssb,b43
container 2333 0
video 10636 0
shpchp 21461 0
ac 2184 0
wmi 7355 1 hp_wmi
battery 5917 0
power_supply 7779 2 battery,ac
button 4201 1 fglrx
processor 23405 1 powernow_k8
ext4 302584 2
crc16 1311 1 ext4
jbd2 56734 1 ext4
mbcache 4425 1 ext4
sd_mod 29664 4
crc_t10dif 1284 1 sd_mod
sr_mod 12547 0
cdrom 30025 1 sr_mod
ahci 19729 3
libahci 15740 1 ahci
fan 2282 0
thermal 7399 0
thermal_sys 12107 4 thermal,fan,processor,video
libata 140872 2 libahci,ahci
ohci_hcd 17142 0
scsi_mod 154848 3 libata,sr_mod,sd_mod
ehci_hcd 31558 0
sky2 37929 0
usbcore 117476 6 ehci_hcd,ohci_hcd,usbhid,uvcvideo,btusb
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptsetup depends on:
ii debconf [debconf-2.0] 1.5.42
ii dmsetup 2:1.02.67-2
ii libc6 2.13-30
ii libcryptsetup4 2:1.4.1-3
ii libpopt0 1.16-3
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii busybox 1:1.19.3-6
ii dosfstools 3.0.12-1
ii initramfs-tools [linux-initramfs-tool] 0.102
ii liblocale-gettext-perl 1.05-7+b1
ii udev 175-3.1
-- debconf information:
cryptsetup/prerm_active_mappings: true
More information about the pkg-cryptsetup-devel
mailing list