[pkg-cryptsetup-devel] Bug#588749: conflict with multipath-tools

Harald Dunkel harri at afaics.de
Sun Jul 11 20:48:35 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: cryptsetup
Version: 2:1.1.3-1

If I install multipath-tools, then cryptsetup doesn't work
anymore:

# cryptsetup luksOpen /dev/sdd1 data3
Enter passphrase for /dev/sdd1:
device-mapper: reload ioctl failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sdd1.
Check that kernel supports aes-cbc-essiv:sha256 cipher (check syslog for more info).
Failed to read from key storage.


But syslog is no help:

Jul 11 22:38:24 pluto multipathd: /lib/udev/scsi_id exitted with 1
Jul 11 22:38:24 pluto kernel: [  491.100141] device-mapper: multipath: version 1.1.1 loaded
Jul 11 22:38:24 pluto kernel: [  491.122171] device-mapper: multipath round-robin: version 1.0.0 loaded
Jul 11 22:38:24 pluto kernel: [  491.122256] device-mapper: table: 253:0: multipath: error getting device
Jul 11 22:38:24 pluto kernel: [  491.122259] device-mapper: ioctl: error adding target to table
Jul 11 22:38:24 pluto kernel: [  491.124701] device-mapper: table: 253:0: multipath: error getting device
Jul 11 22:38:24 pluto kernel: [  491.124704] device-mapper: ioctl: error adding target to table
Jul 11 22:38:24 pluto kernel: [  491.127771] device-mapper: table: 253:0: multipath: error getting device
Jul 11 22:38:24 pluto kernel: [  491.127774] device-mapper: ioctl: error adding target to table
Jul 11 22:38:24 pluto kernel: [  491.129675] device-mapper: table: 253:0: multipath: error getting device
Jul 11 22:38:24 pluto kernel: [  491.129678] device-mapper: ioctl: error adding target to table
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD501LJ                         S0MUJ2FPA23710      : load table [0 976773168 multipath 0 0 1 1 round-robin 0
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD103UJ                         S13PJ1CQ717795      : load table [0 1953525168 multipath 0 0 1 1 round-robin 0
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD501LJ                         S0MUJ2FPA23710      : event checker started
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD103UJ                         S13PJ1CQ717795      : event checker started
Jul 11 22:38:24 pluto multipathd: path checkers start up
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD501LJ                         S0MUJ2FPA23710      : devmap removed
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD501LJ                         S0MUJ2FPA23710      : stop event checker thread (139730166318864)
Jul 11 22:38:24 pluto multipathd: 1ATA     SAMSUNG HD501LJ                         S0MUJ2FPA23710      : event checker exit
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: devmap not registered, can't remove
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: devmap not registered, can't remove
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: devmap not registered, can't remove
Jul 11 22:38:24 pluto multipathd: dm-1: add map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-1: devmap already registered
Jul 11 22:38:24 pluto multipathd: dm-3: add map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: add map (uevent)
Jul 11 22:38:24 pluto multipathd: uevent trigger error
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: devmap not registered, can't remove
Jul 11 22:38:24 pluto multipathd: dm-0: remove map (uevent)
Jul 11 22:38:24 pluto multipathd: dm-0: devmap not registered, can't remove
Jul 11 22:38:24 pluto multipathd: dm-3: add map (uevent)


If I deinstall multipath-tools, then cryptsetup works as expected,
so I would guess the kernel is innocent.

???


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw6Lh4ACgkQUTlbRTxpHjf5QwCeMyPaI32XYZEBkNca7moJCCvW
PiUAoImIWXSeJhypJ7q13s61SHmEa7Wn
=v6Dn
-----END PGP SIGNATURE-----





More information about the pkg-cryptsetup-devel mailing list