[pkg-cryptsetup-devel] Bug#587501: [cryptsetup] cryptsetup luksDump /dev/mapper/sda2_crypt fails
Georg Gast
schorsch_76 at gmx.de
Tue Jun 29 10:26:50 UTC 2010
Package: cryptsetup
Version: 2:1.1.2-1
Severity: normal
The following happens if i try "cryptsetup luksDump /dev/sda2_crypt"
[code]
cryptsetup luksDump /dev/mapper/sda2_crypt
Device /dev/mapper/sda2_crypt is not a valid LUKS device.
[/code]
But see the following:
[code]
cryptsetup status /dev/mapper/sda2_crypt
/dev/mapper//dev/mapper/sda2_crypt is active:
cipher: aes-cbc-essiv:sha256
keysize: 256 bits
device: /dev/sda2
offset: 2056 sectors
size: 624945144 sectors
mode: read/write
[/code]
cryptsetup isLuks /dev/mapper/sda2_crypt && echo "Ok" does not report
sda2_crypt as a luks device
The partition was installed with the standard Debian/Squeeze Netinstall
CD. Totally overwritten and then attached LVM on that partition.
/dev/sda1 is ext2 bootpartition with the kernel.
Please feel free to contact me for more information.
Best Regards
Georg Gast
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.32-5-amd64
Debian Release: squeeze/sid
500 testing security.debian.org
500 testing ftp.de.debian.org
500 squeeze www.lamaresh.net
--- Package information. ---
Depends (Version) | Installed
=====================================-+-===============
libc6 (>= 2.3) | 2.11.1-3
libdevmapper1.02.1 (>= 2:1.02.36) | 2:1.02.48-2
libpopt0 (>= 1.16) | 1.16-1
libuuid1 (>= 2.16) | 2.17.2-3.1
dmsetup | 2:1.02.48-2
Package's Recommends field is empty.
Suggests (Version) | Installed
===================================-+-===========
udev | 157-1
initramfs-tools (>= 0.91) | 0.94.4
OR linux-initramfs-tool |
busybox | 1:1.15.3-1
dosfstools | 3.0.9-1
--- Output from package bug script ---
-- /proc/cmdline
root=/dev/mapper/vg-root ro
-- /etc/crypttab
sda2_crypt UUID=cdfd5ebb-8843-4e85-9020-c5124a7aca66 none luks
-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' 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
/dev/mapper/vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=c00bc69c-aa3d-4a7e-94e7-a2730039b24c /boot ext2
defaults 0 2
/dev/mapper/vg-home /home ext4 defaults 0 2
/dev/mapper/vg-usr /usr ext4 defaults 0 2
/dev/mapper/vg-swap none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
-- lsmod
Module Size Used by
ppdev 5030 0
lp 7462 0
parport 27954 2 ppdev,lp
acpi_cpufreq 5555 0
cpufreq_conservative 5162 0
cpufreq_powersave 902 0
cpufreq_stats 2659 0
cpufreq_userspace 1992 0
sco 7209 2
bridge 39598 0
stp 1440 1 bridge
bnep 9427 2
rfcomm 29581 4
l2cap 24736 16 bnep,rfcomm
vboxnetadp 4193 0
vboxnetflt 12415 0
vboxdrv 1723686 2 vboxnetadp,vboxnetflt
binfmt_misc 6431 1
uinput 6376 1
fuse 50190 1
ext2 52969 1
loop 11783 0
firewire_sbp2 11514 0
snd_hda_codec_realtek 235506 1
arc4 1274 2
ecb 1841 2
snd_hda_intel 19907 1
iwlagn 71756 0
snd_hda_codec 54244 2 snd_hda_codec_realtek,snd_hda_intel
uvcvideo 51743 0
iwlcore 77442 1 iwlagn
snd_hwdep 5380 1 snd_hda_codec
videodev 29993 1 uvcvideo
snd_pcm_oss 32591 0
snd_mixer_oss 12606 1 snd_pcm_oss
btusb 9785 2
v4l1_compat 11442 2 uvcvideo,videodev
snd_pcm 60471 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 4400 0
snd_rawmidi 15515 1 snd_seq_midi
snd_seq_midi_event 4628 1 snd_seq_midi
acer_wmi 12640 0
snd_seq 42881 2 snd_seq_midi,snd_seq_midi_event
joydev 8411 0
v4l2_compat_ioctl32 8538 1 videodev
bluetooth 41827 9 sco,bnep,rfcomm,l2cap,btusb
led_class 2433 2 iwlcore,acer_wmi
mac80211 136844 2 iwlagn,iwlcore
snd_timer 15582 2 snd_pcm,snd_seq
nvidia 10670090 30
cfg80211 101432 3 iwlagn,iwlcore,mac80211
psmouse 49777 0
snd_seq_device 4493 3 snd_seq_midi,snd_rawmidi,snd_seq
tpm_tis 7336 0
i2c_i801 7830 0
tpm 9917 1 tpm_tis
rfkill 13044 4 acer_wmi,bluetooth,cfg80211
processor 30231 3 acpi_cpufreq
button 4650 0
video 17445 0
ac 2192 0
i2c_core 15712 3 videodev,nvidia,i2c_i801
pcspkr 1699 0
serio_raw 3752 0
battery 4998 0
evdev 7352 26
wmi 4323 1 acer_wmi
output 1692 1 video
snd 46446 13
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
tpm_bios 4521 1 tpm
soundcore 4598 1 snd
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm
ext4 285611 3
mbcache 5050 2 ext2,ext4
jbd2 66919 1 ext4
crc16 1319 2 l2cap,ext4
sha256_generic 8692 2
aes_x86_64 7340 4
aes_generic 25714 1 aes_x86_64
cbc 2539 1
dm_crypt 10507 1
dm_mod 53754 15 dm_crypt
sg 18744 0
sr_mod 12602 0
sd_mod 29777 3
cdrom 29415 1 sr_mod
crc_t10dif 1276 1 sd_mod
ata_generic 2983 0
uhci_hcd 18521 0
tg3 95663 0
ahci 32358 2
ata_piix 21012 0
firewire_ohci 19468 0
firewire_core 36736 2 firewire_sbp2,firewire_ohci
crc_itu_t 1307 1 firewire_core
thermal 11674 0
thermal_sys 11942 3 processor,video,thermal
libphy 14054 1 tg3
libata 133520 3 ata_generic,ahci,ata_piix
ehci_hcd 31039 0
scsi_mod 122117 5 firewire_sbp2,sg,sr_mod,sd_mod,libata
usbcore 121959 5 uvcvideo,btusb,uhci_hcd,ehci_hcd
nls_base 6361 1 usbcore
More information about the pkg-cryptsetup-devel
mailing list