I am using Linux lapp 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
I have a encrypted fs mounted under ~/Private. I can browse files and most of the time everything works just fine. The only anomaly I have found is that sometimes git will discover changes in files that I have not touched. A "git diff" shows no changes in the file and I have been content by solving it using git checkout. However, today I create a new file under ~/Private/dokument. When I later tried to open the newly created file, emacs freezed and dmesg reports the following:
I can still access other files on the encrypted file system (and today git status does not show any mysterious changes :-)).. Please let me know what I can do to help..
I am using Linux lapp 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
I have a encrypted fs mounted under ~/Private. I can browse files and most of the time everything works just fine. The only anomaly I have found is that sometimes git will discover changes in files that I have not touched. A "git diff" shows no changes in the file and I have been content by solving it using git checkout. However, today I create a new file under ~/Private/dokument. When I later tried to open the newly created file, emacs freezed and dmesg reports the following:
[ 198.390073] ecryptfs_ init_crypt_ ctx: cryptfs: init_crypt_ctx(): Error initializing cipher [aes] new_file_ context: Error initializing cryptographic context for cipher [aes]: rc = [-4] initialize_ file: Error creating new file context; rc = [-4] buildd/ linux-2. 6.32/fs/ ecryptfs/ read_write. c:239! LNXSYSTM: 00/LNXSYBUS: 00/PNP0C0A: 00/power_ supply/ BAT0/voltage_ now codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi tpm_infineon fbcon tileblit font bitblit softcursor vga16fb vgastate snd_rawmidi snd_seq_midi_event uvcvideo pcmcia arc4 iwlagn nouveau snd_seq joydev iwlcore snd_timer videodev ttm i915 snd_seq_device yenta_socket tpm_tis sdhci_pci snd drm_kms_helper v4l1_compat btusb psmouse rsrc_nonstatic mac80211 sdhci tpm soundcore v4l2_compat_ioctl32 drm video bluetooth lp parport serio_raw i2c_algo_bit pcmcia_core dummy snd_page_alloc tpm_bios led_class intel_agp cfg80211 output sony_laptop ohci1394 e1000e ieee1394 ahci [last unloaded: kvm] ffffffff8122b37 d>] [<ffffffff8122b 37d>] ecryptfs_ read_lower+ 0xad/0xc0 3bfbc8 EFLAGS: 00010246 0(0000) GS:ffff88002820 0000(0000) knlGS:000000000 0000000 36c>] ecryptfs_ read_metadata+ 0x7c/0x240 991>] ecryptfs_ setattr+ 0x151/0x220 c3b>] notify_ change+ 0x16b/0x350 30f>] ? security_ inode_permissio n+0x1f/ 0x30 bd4>] do_truncate+ 0x64/0xa0 30f>] ? security_ inode_permissio n+0x1f/ 0x30 745>] ? get_write_ access+ 0x45/0x70 2a6>] may_open+ 0x1e6/0x220 000>] do_filp_ open+0x160/ 0xba0 bbc>] ? init_fpu+0x5c/0xc0 cfa>] ? alloc_fd+ 0x10a/0x150 919>] do_sys_ open+0x69/ 0x170 a60>] sys_open+0x20/0x30 1b2>] system_ call_fastpath+ 0x16/0x1b 37d>] ecryptfs_ read_lower+ 0xad/0xc0
[ 198.390086] ecryptfs_
[ 198.390093] ecryptfs_
[ 198.390493] ------------[ cut here ]------------
[ 198.390500] kernel BUG at /build/
[ 198.390507] invalid opcode: 0000 [#1] SMP
[ 198.390515] last sysfs file: /sys/devices/
[ 198.390522] CPU 0
[ 198.390527] Modules linked in: cryptd aes_x86_64 aes_generic rfcomm sco bnep binfmt_misc l2cap ppdev ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp hso snd_hda_
[ 198.390694] Pid: 2477, comm: emacs Not tainted 2.6.32-23-generic #37-Ubuntu VGN-Z21WN_B
[ 198.390700] RIP: 0010:[<
[ 198.390718] RSP: 0018:ffff88011e
[ 198.390724] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88012b992c00
[ 198.390730] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88012b992e60
[ 198.390735] RBP: ffff88011e3bfc08 R08: ffff880028212180 R09: 0000000000001000
[ 198.390741] R10: 0000000000000000 R11: 0000000000000200 R12: ffff88012b992e60
[ 198.390747] R13: ffff8801068326c0 R14: ffff880138f66000 R15: 0000000000001000
[ 198.390754] FS: 00007fb4bcec67e
[ 198.390760] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 198.390766] CR2: 00007fd18c186000 CR3: 0000000115c78000 CR4: 00000000000006f0
[ 198.390772] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 198.390778] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 198.390785] Process emacs (pid: 2477, threadinfo ffff88011e3be000, task ffff88012c068000)
[ 198.390790] Stack:
[ 198.390793] ffff88011e3bfbf8 ffff88012b992c00 ffff88011e3bfbf8 ffff880138f66000
[ 198.390803] <0> ffff88012b992c00 ffff8801068326c0 ffff88012b992e80 ffff880106b780d0
[ 198.390813] <0> ffff88011e3bfc48 ffffffff8122c36c ffff88011e3bfc78 ffff88012b992c00
[ 198.390824] Call Trace:
[ 198.390833] [<ffffffff8122c
[ 198.390845] [<ffffffff81228
[ 198.390855] [<ffffffff8115c
[ 198.390864] [<ffffffff81253
[ 198.390874] [<ffffffff81142
[ 198.390882] [<ffffffff81253
[ 198.390891] [<ffffffff8114d
[ 198.390899] [<ffffffff8114e
[ 198.390907] [<ffffffff81152
[ 198.390919] [<ffffffff8101b
[ 198.390926] [<ffffffff8115d
[ 198.390936] [<ffffffff81141
[ 198.390944] [<ffffffff81141
[ 198.390953] [<ffffffff81013
[ 198.390958] Code: 4c 89 ab 48 e0 ff ff 49 89 c6 4c 89 e7 e8 1c 69 31 00 44 89 f0 48 8b 5d d8 4c 8b 65 e0 4c 8b 6d e8 4c 8b 75 f0 4c 8b 7d f8 c9 c3 <0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
[ 198.391044] RIP [<ffffffff8122b
[ 198.391053] RSP <ffff88011e3bfbc8>
[ 198.391060] ---[ end trace 8a4b62ae26fd3966 ]---
I can still access other files on the encrypted file system (and today git status does not show any mysterious changes :-)).. Please let me know what I can do to help..