[pkg-cryptsetup-devel] Bug#586286: device-mapper: ioctl: unable to remove open device temporary-cryptsetup-3433

Giorgos Pallas gpall at ccf.auth.gr
Fri Jun 18 07:01:23 UTC 2010


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


I am experiencing a reproducable behaviour everytime I unlock a LUKS
partition (unrelated with booting).

So:

aris:/home/encmp/gpall# cryptsetup luksOpen /dev/sdb4 dataspace_crypt
Enter passphrase for /dev/sdb4: 
device-mapper: remove ioctl failed: Device or resource busy

At the same time something like:
Jun 18 09:35:40 aris kernel: [ 4210.586137] device-mapper: ioctl: unable to remove open device temporary-cryptsetup-3433

appears at the kernel messages.

Same things, regardless if I unlock the LUKS volume with my passphrase or
with a keyfile.

So, I will send you a strace of the above procedure, but using a keyfile, on
a separate email so that you can take a look.

Thanks for the good job with cryptsetup!!!
Giorgos


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 root=UUID=27da5ff2-d893-4fb1-a019-25d16898ceef ro quiet vga=791

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>


-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
UUID=27da5ff2-d893-4fb1-a019-25d16898ceef       /               ext4    errors=remount-ro 0       1
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/mapper/dataspace_crypt	/media/dataspace	ext4	defaults,noauto,user	0	0
//estia1-112.ccf.auth.gr/winNoc/noc		/media/noc-shares/noc	cifs	defaults,user,noauto,noserverino,uid=1000,gid=1000,credentials=/home/encmp/gpall/Documents/samba_credentials.txt	0       0
//estia1-112.ccf.auth.gr/winHome/home/gpall	/media/noc-shares/gpall	cifs	defaults,user,noauto,noserverino,uid=1000,gid=1000,credentials=/home/encmp/gpall/Documents/samba_credentials.txt	0       0

-- lsmod
Module                  Size  Used by
nls_utf8                 908  2 
cifs                  234890  3 
sha256_generic         10748  4 
aes_i586                6816  4 
aes_generic            25738  1 aes_i586
cbc                     2047  2 
vboxnetadp              5118  0 
vboxnetflt             12579  0 
vboxdrv               126429  2 vboxnetadp,vboxnetflt
ppdev                   4058  0 
lp                      5570  0 
fuse                   43758  3 
ip6table_mangle         2559  0 
ip6table_filter         1908  1 
ip6_tables              8560  2 ip6table_mangle,ip6table_filter
xt_tcpudp               1743  6 
iptable_filter          1790  1 
iptable_nat             3551  0 
nf_nat                 10568  1 iptable_nat
nf_conntrack_ipv4       7597  3 iptable_nat,nf_nat
nf_conntrack           38067  3 iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4           779  1 nf_conntrack_ipv4
iptable_mangle          2325  0 
ip_tables               7690  3 iptable_filter,iptable_nat,iptable_mangle
x_tables                8327  4 ip6_tables,xt_tcpudp,iptable_nat,ip_tables
firewire_sbp2           9647  0 
firewire_core          31143  1 firewire_sbp2
crc_itu_t               1035  1 firewire_core
loop                    9757  0 
dm_crypt                9127  2 
dm_mod                 46082  4 dm_crypt
snd_intel8x0           19523  2 
snd_ac97_codec         79148  1 snd_intel8x0
ac97_bus                 710  1 snd_ac97_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47214  3 snd_intel8x0,snd_ac97_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
i915                  219952  2 
drm_kms_helper         18305  1 i915
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
drm                   112020  3 i915,drm_kms_helper
i2c_algo_bit            3497  1 i915
snd                    34363  13 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
video                  14605  1 i915
soundcore               3450  1 snd
output                  1204  1 video
i2c_i801                6462  0 
rng_core                2178  0 
i2c_core               12696  5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
snd_page_alloc          5045  2 snd_intel8x0,snd_pcm
tpm_tis                 5496  0 
tpm                     8137  1 tpm_tis
psmouse                44653  0 
serio_raw               2916  0 
parport_pc             15799  1 
parport                22554  3 ppdev,lp,parport_pc
tpm_bios                3569  1 tpm
evdev                   5609  10 
dcdbas                  3892  0 
pcspkr                  1207  0 
button                  3598  1 i915
processor              26599  0 
ext4                  254973  2 
mbcache                 3762  1 ext4
jbd2                   56091  1 ext4
crc16                   1027  1 ext4
sg                     15968  0 
sr_mod                 10770  0 
sd_mod                 25869  4 
cdrom                  26487  1 sr_mod
crc_t10dif              1012  1 sd_mod
usbhid                 27980  0 
hid                    50629  1 usbhid
usb_storage            30461  3 
ata_generic             2019  0 
tg3                    88273  0 
ata_piix               17640  0 
thermal                 9206  0 
uhci_hcd               16057  0 
libphy                 11638  1 tg3
libata                115665  2 ata_generic,ata_piix
thermal_sys             9378  3 video,processor,thermal
ehci_hcd               27763  0 
scsi_mod              101401  6 firewire_sbp2,sg,sr_mod,sd_mod,usb_storage,libata
usbcore                98402  5 usbhid,usb_storage,uhci_hcd,ehci_hcd
nls_base                4541  3 nls_utf8,cifs,usbcore


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

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup_strace.txt.bz2
Type: application/x-bzip2
Size: 4050 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100618/ef53771b/attachment.bin>


More information about the pkg-cryptsetup-devel mailing list