Debian Bug report logs - #395414
cryptsetup: Command failed: device-mapper: reload ioctl failed: Invalid argument

version graph

Package: cryptsetup; Maintainer for cryptsetup is Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>; Source for cryptsetup is src:cryptsetup.

Reported by: Noèl Köthe <noel@debian.org>

Date: Thu, 26 Oct 2006 21:03:39 UTC

Severity: minor

Tags: moreinfo

Found in version cryptsetup/2:1.0.4-3

Done: Noèl Köthe <noel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>:
Bug#395414; Package cryptsetup. Full text and rfc822 format available.

Acknowledgement sent to Noèl Köthe <noel@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Noèl Köthe <noel@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cryptsetup: Command failed: device-mapper: reload ioctl failed: Invalid argument
Date: Thu, 26 Oct 2006 22:49:09 +0200
Package: cryptsetup
Version: 2:1.0.4-3
Severity: grave
Justification: causes non-serious data loss

Hello,

I cannot decrypt my encrypted data anymore:

# LC_ALL=C cryptsetup create data /dev/sda2
Enter passphrase:
Command failed: device-mapper: reload ioctl failed: Invalid argument
# dmesg
...
dm_crypt: disagrees about version of symbol struct_module
device-mapper: table: 254:0: crypt: unknown target type
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn't appear to be in the dev hash table.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-xen-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)

Versions of packages cryptsetup depends on:
ii  dmsetup  2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libc6    2.3.6.ds1-7                     GNU C Library: Shared libraries
ii  libdevma 2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libgcryp 1.2.3-2                         LGPL Crypto library - runtime libr
ii  libgpg-e 1.4-1                           library for common error values an
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  libuuid1 1.39+1.40-WIP-2006.10.02+dfsg-2 universally unique id library

cryptsetup recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>:
Bug#395414; Package cryptsetup. Full text and rfc822 format available.

Acknowledgement sent to David Härdeman <david@hardeman.nu>:
Extra info received and forwarded to list. Copy sent to Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #10 received at 395414@bugs.debian.org (full text, mbox):

From: David Härdeman <david@hardeman.nu>
To: Noèl Köthe <noel@debian.org>, 395414@bugs.debian.org
Subject: Re: [Pkg-cryptsetup-devel] Bug#395414: cryptsetup: Command failed: device-mapper: reload ioctl failed: Invalid argument
Date: Sat, 28 Oct 2006 14:42:06 +0200
On Thu, Oct 26, 2006 at 10:49:09PM +0200, Noèl Köthe wrote:
>I cannot decrypt my encrypted data anymore:
>...
># dmesg
>...
>dm_crypt: disagrees about version of symbol struct_module

This means the dm-crypt module wasn't loaded, most probably because it 
is not exactly the same version (same GCC, same options, etc) as the 
kernel itself. This doesn't sound like a cryptsetup problem...

What kernel are you using? Are you sure the dm-crypt module is ok? Are 
you able to manually insmod dm-crypt?

-- 
David Härdeman



Severity set to `minor' from `grave' Request was from David Härdeman <david@hardeman.nu> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: moreinfo Request was from David Härdeman <david@hardeman.nu> to control@bugs.debian.org. Full text and rfc822 format available.

Reply sent to Noèl Köthe <noel@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Noèl Köthe <noel@debian.org>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #19 received at 395414-done@bugs.debian.org (full text, mbox):

From: Noèl Köthe <noel@debian.org>
To: David Härdeman <david@hardeman.nu>
Cc: 395414-done@bugs.debian.org
Subject: Re: [Pkg-cryptsetup-devel] Bug#395414: cryptsetup: Command failed: device-mapper: reload ioctl failed: Invalid argument
Date: Sun, 29 Oct 2006 22:05:59 +0100
[Message part 1 (text/plain, inline)]
Am Samstag, den 28.10.2006, 14:42 +0200 schrieb David Härdeman:

> >dm_crypt: disagrees about version of symbol struct_module
> 
> This means the dm-crypt module wasn't loaded, most probably because it 
> is not exactly the same version (same GCC, same options, etc) as the 
> kernel itself. This doesn't sound like a cryptsetup problem...
> 
> What kernel are you using? Are you sure the dm-crypt module is ok? Are 
> you able to manually insmod dm-crypt?

It is Kernel: Linux 2.6.18-1-xen-686 (see end of bugreport).
Today without kernel-updates and a reboot later its working again.
I'm closing because I dont get the error anymore.
Thanks for your help.

-- 
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 17 Jun 2007 15:28:05 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 23:19:55 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.