Ubuntu :: Losetup Disk Encryption - Ioctl: LOOP_SET_STATUS: Invalid Argument, Requested Cipher Or Key Length (128 Bits) Not Supported By Kernel
Dec 14, 2010
In 10.04 I was using the following commands to mount an encrypted disk image:
Code: sudo losetup -f Which tells what loop back device block is available Then I'd type:
Code: sudo losetup -e aes /dev/loop0 /home/user/crypt.img and then enter the device's password
Code: sudo mount -t ext4 /dev/loop0 /media/crypt I've tried this in 10.10 and it hasn't been working (I can't remember if I did anything in 10.04 to make it work). I've installed the loop-aes-utils package and restarted my machine. Every time I try the 2nd step, after entering the password I get: Code: ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key length (128 bits) not supported by kernel
I'm having some difficulities with truecrypt and cannot figure out what's wrong since this is my first attempt to create hidden encrypted partition. I'm using ubuntu 9.10 64b with latest 6.3a truecrypt. After using truecrypt gui (just command truecrypt) I've tried: create volume-->create volumne within a partition/drive-->hidden trucrypt volume --> select some /dev/sdX by my choice --> select aes & sha512 --> password --> and format it.
when formating finished message "wrong ss, swith or wrong superblock of /dev/loop0" appeared. I've got no idea what could I do with it neither know whats program trying to do! Ok formating's done, then if you're trying to mount that partition then I would expect prompt for password, but that did not happen ...
EDIT: sudo mount /dev/loop0 /media/tmp/ also complaint about wrong superblock, but that does not ring any bell since i've got no idea what /dev/loop0 is or is for...
Basically, I just installed Ubuntu over Windows Vista because I was getting fed up with the performance on it. During install I set up a partition, one for Ubuntu and one for data. However, my second, larger partition gives this error when I try to mount it... Error mounting: mount exited with exit code 12: Failed to read last sector (976764927): Invalid argument
Hints: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda1': Invalid argument The device '/dev/sda1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I'm running Kubuntu Karmic on my Dell Inspiron laptop - about 200 bug fixes behind because my only available internet is a cellular connection on a crappy wi-fi router - and last night, I suspended it, but it shut down instead. Not a problem, it does this fairly often, figure the RAM gets jostled or something.
But when I go to boot it up, it gets stuck at the pre-loading screen before getting garbled and dropping to the shell, where it says "mount: mounting /dev/disk/by-uuid/[insert hex code here] failed: invalid argument". Of course, mounting /root/sys, /root/dev and /root/proc fails, (directory does not exist) and it gives me the busybox initramfs prompt.
I installed Debian 5.03 Lenny successfully on my machine. I got this error during boot: ACPI : invalid PBLK length [5]. After that the Operating System boots properly and starts normally. What does this error statement mean? Is it safe to work with this installation despite this error?
How do you find what typs of crypto ciphers are supported.? I've dumped out /proc/crypto, which lists out a bunch of types, but none of the names listed seem to work. So far I have only got a couple types to work, the default(when I don't supply cryptsetup any cipher type) aes-cbc-plain and aes-ecb.
Since I don't even see aes-cbc-plain in /proc/crypto
1. Fedora 14 has a user friendly disk encryption setup.However, there doesn't seem to be an option to change the encryption parameters during setup. Since I can handle the overhead, I would like to change the encryption algorithm and the key length for the default install.
2. I have created an additional encrypted drive (the entire HD) which claims to have its own encryption functionality (Seagate Constellation 1TB). Does Fedora use the built-in encryption mechanism by default? Is there any way to tell?
3. I can't seem to find any utility to tell me what the actual key size is for different HD's I have encrypted. "cryptsetup --help" seems to print out only the information for the default encrypted O/S which is the default 256 bit.
My problem is whether the -s option work when set to a 2,048 bit key length? Or, does it fall back to a 256 bit key length if it fails to do so? Or, does it automatically use the built-in encryption of the hardware? If the -s option doesn't work with a 2,048 bit key setting, can the kernel be recompiled to do so?
I have message: error 12: invalid device requested.It happen when i choose ubuntu partition. before this error message the netbook run perfectly with dual boot. ubuntu is 1st option winXP is 2nd option from the list(maybe grub ?) Since i want winxp as the 1st option instead ubuntu,i change the file /boot/grub/menu.lst. what exactly i change is just cut and copy the winxp part to above ubuntu part.
I'm working right now with a newly installed Lucid 64-bit. Everything it's fine, but I would like to use the dual monitor for my work, and so I decided to ask to buy me a video card, since what I have now is an onboard graphic that doesn't allow me to do it. I don't need to play games (well I don't think my boss will be happy about it ), and I would rather go for a not expensive solution. But I have some doubts regarding the compatibility with my linux. I found several things on the web, but nothing regarding the video cards that I individuated. If the card is auto detected, it would be better of course.
The cards I was interested are:
ASUS RADEON HD4350 1GB DDR2 SAPPHIRE RADEON HD5450 512MB DDR3
But then i've seen on the web you might have problems with ATI in linux and so I went looking also for Nvidia which I found is generally better implemented under linux: ASUS GEFORCE GT 210 512MB DDR2
PALIT GEFORCE GT 220 SUPER 512MB DDR2 I don't have many models among which to choose, because of some conventions at my workplace. The tables of compatibility with ubuntu that I found are all related with much more expensive models, or models that I don't have in my lists. Could somebody tell me if one (or more) of the cards mentioned above work under ubuntu 10.6 64-bit? I have a Hewlett Packard system with:
HP 3674h motherboard Intel core2 duo 3.16 GHz 8Gb RAM 250 HD
I have had for a test installed Feodora but was so silly checking the box for encryption the HD. Now I tested all for removing Feodora (no data anymore on the disc) but even the test unlocking this from my ubuntu system failed with the following error:Error unlocking device: cryptsetup exited with exit code 251: Command failed: Failed to setup dm-crypt key mapping.Check kernel for support for the aes-xts-plain64 cipher spec and verify that /dev/sdb2 contains at least 508 sectorsI installed some encryption packages in the meantime - but non was helpful.Would some kind person - who understands this better than I - please provide the detailed steps needed to mount and unlock the encrypted Feodora installed hard disc. Maybe one of you know which packege I have to install.
I have installed Windows 7 followed by Fedora 11. Everytime I install Fedora 11 with Win 7, the first to boot, I get BOOTMGR missing. Later I used "df -h" command to see the disk file usage fdisk -l" to see the info regarding Disk Partitions. Went into the /boot/grub/menu.lst and modified the order. I set the partition where I find the bootmgr.exe.mui, there was another file named "memtest.exe.mui in the same file.
I navigated to the above said through Fedora 11. Located inside the Win 7 installed directory /boot/en-US/
When I changed the menu.lst file, I get a new error Error 12: Invalid device requested when I tried to boot Win 7. Does that mean that Fedora 11 GRUB is not getting the bootmgr.exe.mui since its 2 levels inside the boot directory ??
I'm trying to install Fedora 12 from a DVD created by an iso I downloaded. When the install gets to the point of actually installing files, I get a message saying that it can't find 'authconfig-gtk-6.0.0.-2.fc12.i686.rpm'. I looked at the DVD for that file and it isn't there. I found 'authconfig-gtk-5.4.13-1.fc12.i686.rpm'. Any ideas how to fix this? The DVD passed the media check at the beginning of the install. I'm not exactly a newbie in Linux as I have some experience with it.
I have a something.gz file. When I type gunzip -c something.gz this commend open the file but at the end of the file I get an error message invalid compressed data--length error. Also if I type more at the and of this commend like gunzip -c something.gz | more, file would not open. It gives some meaningless characters.I want to open this file with more.
i downloaded baldurs gate II shadows of amn iso's, because i lost one of the CD's to the box, but anyways, I went to mount the third .ISO for installation, and BAM! my computer froze, so i waited five minutes, came back, and still frozen. shut it down for 20 minutes, pulled it back up, and it's got this error as follows; "Mount: mounting /dev/disk/by-uuid/65b0a6a-a366-435a-a086-58428cfe2bd1 on /root Failed: invalid argument
I am running Red Hat with 2.6.18-194.8.1.el5PAE kernel version. I am trying to run encryptfs to encrypt a partition on my hard drive. One of the kernel modules necessary is the md5.ko. I noticed it wasn't loaded in when doing an lsmod. I tried running modprobe md5 and it fails to load:
I'm having troubles installing ubuntu on my "Acer one 522" netbook, I have made a pendrive with unetbootin and ubuntu 11.04 natty and upon booting into the usb i get the boot loader displayed properly, start to load ubuntu, then about halfway through i get some screen tearing with a really small shot of the boot loader screen in the top left hand corner followed by some command lines saying "cannot mount /dev/loop0 :invalid argument".
I am trying to connect to a wireless network. I got a problem with network manager. So I try to connect manually
I found wireless network around by using "iwlist scan" command.
I want to connect to a network with ESSID "MCC(Mandalay)" and Key "mdymcctraining"
Here is my problem The output of "iwconfig" command is
Code:
What does it mean "invalid argument"? It means that my wireless pre-sharedkey is not correct? I am sure the key is valid. It is used by any others with window 7.
I've a problem when I try to run arpd program to support my honeyd software but when I try to execute it then it shows this error message ./arpd 10.0.0.0/8 arpd: intf_get: Invalid argument My arpd installation based on this tutorial [URL].
When i type 'ifconfig eth0 192.168.25.1 255.255.255.0' the outcome is 'SIOCSIFADDR : invalid argument', but when i check the ip address using /sbin/ifconfig i see the ip address is updated to 192.168.25.1 and is up. When i restart the linux box,the /sbin/ifconfig is reset to 192.168.100.1 .what should i do so that the linux box /sbin/ifconfig should not change when am rebooting.
iam having a problem while using the urlwatch utility in linux
/usr/bin/urlwatch --urls=/home/etika/Desktop/etikaa.txt file pathname is /home/etika/Desktop/etikaa.txt
when ownership is tomcat it doesnot run when ownership is etika(which is the user on the system through which iam running my script why the file which is passed to urlwatch is not accepted if that's file owner is tomcat6 it gives the following error
Traceback (most recent call last):
File "/usr/bin/urlwatch", line 221, in <module> for job in handler.parse_urls_txt(urls_txt): File "/usr/share/urlwatch/urlwatch/handler.py", line 128, in parse_urls_txt shelljob_errors.append('%s not owned by %s' % (urls_txt, os.getlogin())) OSError: [Errno 22] Invalid argument
but when the ownership of the file is changed to etika it run smoothly why urlwatch does not run when the file containing the urls is owned by tomcat with full 777 permission but run with etika (user on the system) through this iam running my shell script
I am trying to get the hello world example to work on my fedora box I have all the compilers etc I have followed the example [URL]... it all goes fine untill 5 I type in the command: java HelloServer -ORBInitialPort 1050 -ORBInitialHost localhost& and it says invalid arugment helloserer
I want to modify ioctl TIOCMWAIT to return the same thing that ioctl TIOCMGET returns. Currently wait returns an int of zero or -1 when a change in status occurs. Why not make it return the new status?
This will make the operation faster by not requiring another call to ioctl.The extra call requires 2 to 16 uSeconds to complete on my x64 laptop. How would I make this proposal to the kernal people?
I'm running ubuntu 9.04 and trying to pull over some files via the GUI from a XP box over locally. I'm getting this error:"error while copying file into /volcano/tunes invalid argument" (under show more details)If I just copy over a mp3 file it works fine but the when I copy the entire directory I get this error.
My hard drives kept dropping out of the raid array, so I finally identified the problem as a bad sata cable. I redid the wires and now when I try to assemble I get this:
Code:
mdadm -v --assemble --scan /dev/md0 mdadm: looking for devices for /dev/md0 mdadm: no recogniseable superblock on /dev/sde4