LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-30-2005, 12:36 AM   #1
Captain Harlock
LQ Newbie
 
Registered: Jun 2004
Location: Massachusetts, USA
Distribution: Debian (unstable)
Posts: 12

Rep: Reputation: 0
Question cryptsetup - command failed: invalid argument


Currently using Debian unstable, kernel 2.6.11-1-k7.
I'm not sure what happened between today and a couple days ago, but any insight would help.

I was just trying to mount my encrypted partition (/dev/hda4) and received "Command failed: Invalid argument" from cryptsetup.
I used the command properly, just like many times before:
$ sudo /sbin/cryptsetup create cryptonite /dev/hda4

I've also received this as root when running /etc/init.d/cryptdisks
Code:
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.01.03 (2005-06-13)(compat) and kernel driver
Command failed

Crisis averted. Solution found.
After downgrading to libdevmapper1.01.00-4 I was able to mount my encrypted partition.

Last edited by Captain Harlock; 07-30-2005 at 12:41 PM.
 
Old 03-23-2006, 11:38 AM   #2
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Hi - I have this same problem, but it won't go away with different versions of libdevmapper (sys-fs/device-mapper in Gentoo).

I really need a fix because all my backup partitions are encrypted - so I can't make or restore from backups until crypsetup is working again...

Please help!

/edit:
Using sys-fs/device-mapper-1.01.03 and sys-fs/cryptsetup-luks-1.0.1-r1
If anyone thinks I should ask this in a new thread, please say so and I will. (And I'll delete this post/link it to the new one)

Last edited by Napalm Llama; 03-23-2006 at 11:41 AM.
 
Old 05-09-2006, 12:18 AM   #3
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Posts: 119

Rep: Reputation: 32
Cryptsetup

I also have seen this.

cryptsetup create hda8 /dev/hda8
Command failed: Invalid aguement

Strangly however the following does work!!!

cryptsetup create x /dev/hda8
Enter passphrase:

Also x_hda8 works too!
It looks like it is reacting to something about the label!
All in all it is very very weird!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RADIUS connection. Socket connect failed. Invalid argument after running AguaGatekeer ukrainet Linux - Newbie 0 11-25-2004 04:02 AM
KDSKBENT: Invalid argument / failed to bind key 255 to value 2015 KevinAlaska Linux - Hardware 8 09-21-2004 06:59 PM
KBENT: Invalid argument failed to bind key 255 to value 3119 brynjarh Linux - Newbie 0 06-30-2004 02:40 AM
Mount Failed: Invalid Argument BoboBrazil Linux - Software 4 07-13-2003 12:57 PM
invalid numeric argument Copenhagen Cowboy Linux - General 4 03-29-2001 02:01 PM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration