Thanks for reply. I modified kernel config (trat2_defconfig in linux 3.0) and I succeeded change my modified kernel to RD-PQ.
Now, I could mount -t ecryptfs /home/private /home/private commend in sdb(RD-PQ). I could select cipher and key bytes. However, an error occurs in the following steps... Below is error messages -------------------------------------------------------------------------------------------- -su-4.1# mount -t ecryptfs /home/gants/ /home/gants/ Unable to get the version number of the kernel module. Please make sure that you have the eCryptfs kernel module loaded, you have sysfs mounted, and the sysfs mount point is in /etc/mtab. This is necessary so that the mount helper knows which kernel options are supported. Make sure that your system is set up to auto-load your filesystem kernel module on mount. Enabling passphrase-mode only for now. Passphrase: Select cipher: 1) aes: blocksize = 16; min keysize = 16; max keysize = 32 2) blowfish: blocksize = 8; min keysize = 16; max keysize = 56 3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 4) twofish: blocksize = 16; min keysize = 16; max keysize = 32 5) cast6: blocksize = 16; min keysize = 16; max keysize = 32 6) cast5: blocksize = 8; min keysize = 5; max keysize = 16 Selection [aes]: 1 Select key bytes: 1) 16 2) 32 3) 24 Selection [16]: 1 Error attempting to evaluate mount options: [-22] Invalid argument Check your system logs for details on why this happened. Try updating your ecryptfs-utils package, and/or submit a bug report on https://bugs.launchpad.net/ecryptfs ---------------------------------------------------------------------------------------------- How can I solve this problem? 2014-11-06 17:31 GMT+09:00 이준민 <[email protected]>: > Thanks you all answers.. > > I tried to check kernel config. so I download kernel 3.0(I heard that > RD-PQ kernel version is 3.0) by git( > https://review.tizen.org/gerrit/#/admin/projects/kernel/linux-3.0). > > and install cross compiler(arm-2014.05-29-arm-none-linux-gnueabi.bin) and > check kernel config. > > I saw CONFIG_ECRYPT_FS and CONFIG_KEYS set is y. > > so I tried to make uImage(U-boot) and use lthor to kernel build in RD-PQ. > > > but lthor is not working.. error is below... > > > > > > > > > > > > > > > > > *root@gants-Samsung-DeskTop-System:~/tizen/kernel/linux-3.0/arch/arm/boot# > lthor arch/arm/boot/uImage usr/tmp-mod/modules.img Linux Thor downloader, > version 1.4 Authors: Jaehoon You <[email protected] > <[email protected]>>USB port is detected : > /dev/ttyACM0arch/arm/boot/uImage :line 813: failed to open > arch/arm/boot/uImageline 870: failed to open arch/arm/boot/uImageError: No > such file or > directory--------------------------------------------------------------------------------------------------root@gants-Samsung-DeskTop-System:~/tizen/kernel/linux-3.0/arch/arm/boot# > lsImage Makefile bootp compressed install.sh uImage zImage* > > uImage is exist .. but failed to open that... > > Did I download wrong kernel? Did I use wrong cross compiler? > > how to solve this problem?? > > > 2014-11-04 16:16 GMT+09:00 이준민 <[email protected]>: > >> Hi, all >> >> I know that my question is stupid. but I need a your helps. >> >> I heard that ecryptfs is good way to create private encrypted folder. >> >> I could download ecryptfs-utils.rpm from http://download.tizen.org/ >> snapshots/tizen/common/latest/repos/arm-wayland/packages/ >> armv7l/ecryptfs-utils-104-6.2.armv7l.rpm >> >> and installed that(rpm -ivh command) in rd-pq phone(sdb shell). >> >> then I create private folder and input below command in sdb. >> >> mount -t ecryptfs ~/private ~/private >> >> but, it is not working with errors... >> >> this is error message ... >> >> -------------------------------------------------------------------------------------------------------- >> Unable to get the version number of the kernel >> module. Please make sure that you have the eCryptfs >> kernel module loaded, you have sysfs mounted, and >> the sysfs mount point is in /etc/mtab. This is >> necessary so that the mount helper knows which >> kernel options are supported. >> >> Make sure that your system is set up to auto-load >> your filesystem kernel module on mount. >> >> Enabling passphrase-mode only for now. >> >> Unable to link the KEY_SPEC_USER_KEYRING into the >> KEY_SPEC_SESSION_KEYRING; there is something wrong with your kernel >> keyring. Did you build key retention support into your kernel? >> >> ---------------------------------------------------------------------------------------------------------- >> I tried to solve this problem for a week. but this error is not solved... >> >> Was it wrong way to install and use ecryptfs in RD-PQ? how to solve this >> issue? >> >> I'll wait for your answers. >> > >
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
