← Back to team overview

ecryptfs team mailing list archive

[Bug 277578] Re: ecryptfs does not work properly over nfs, cifs, or samba

 

** Summary changed:

- ecryptfs does not work properly over nfs
+ ecryptfs does not work properly over nfs, cifs, or samba

-- 
ecryptfs does not work properly over nfs, cifs, or samba
https://bugs.launchpad.net/bugs/277578
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: Confirmed
Status in “ecryptfs-utils” source package in Ubuntu: Confirmed

Bug description:
http://sourceforge.net/tracker/index.php?func=detail&aid=1639562&group_id=133988&atid=728799

ecryptfs over nfs: kernel BUG at fs/nfs/write.c:387!

Submitted By:
mir - mir07 	Date Submitted:
2007-01-19 13:37
Last Updated By:
mhalcrow - Comment added 	Date Last Updated:
2007-06-08 16:57
Number of Comments:
3 	Number of Attachments:
0
Category: (?)
ecryptfs (kernel module) 	Group: (?)
None
Assigned To: (?)
Michael Halcrow 	Priority: (?)
8
Status: (?)
Open 	Resolution: (?)
Accepted
Summary: (?)
ecryptfs over nfs: kernel BUG at fs/nfs/write.c:387! 	Private: (?)
No
after applying your patch from bug-report 1637031 to the 2.6.20-rc4-mm1
kernel we encounter the following kernel bug after copying about 1gb (9500
files).

Jan 19 14:53:20 hostname kernel: ------------[ cut here ]------------
Jan 19 14:53:20 hostname kernel: kernel BUG at fs/nfs/write.c:387!
Jan 19 14:53:20 hostname kernel: invalid opcode: 0000 [#1]
Jan 19 14:53:20 hostname kernel: SMP
Jan 19 14:53:20 hostname kernel: last sysfs file: /block/loop7/removable
Jan 19 14:53:20 hostname kernel: Modules linked in: cbc blowfish ecb
blkcipher ecryptfs nfs lockd nfs_acl sunrpc ipv6 button ac battery
dm_snapshot dm_mirror dm_mod loop tsdev floppy rtc parport_pc parport
serio_raw pcspkr i2c_piix4 i2c_core shpchp pci_hotplug psmouse intel_agp
agpgart evdev ext3 jbd mbcache ide_cd cdrom ide_disk generic uhci_hcd
usbcore pcnet32 mii piix ide_core thermal processor fan
Jan 19 14:53:20 hostname kernel: CPU: 0
Jan 19 14:53:20 hostname kernel: EIP: 0060:[<d0adfeda>] Not tainted
VLI
Jan 19 14:53:20 hostname kernel: EFLAGS: 00010246 (2.6.20-rc4-mm1 #1)
Jan 19 14:53:20 hostname kernel: EIP is at nfs_writepage_setup+0xea/0x3eb
[nfs]
Jan 19 14:53:20 hostname kernel: eax: ffffffef ebx: ffffffef ecx:
c75d9c00
edx: c72d03c0
Jan 19 14:53:20 hostname kernel: esi: c75d9c00 edi: ce7d9a34 ebp:
ce7d9b64
esp: ce17dbe4
Jan 19 14:53:20 hostname kernel: ds: 007b es: 007b fs: 00d8 gs: 0033
ss: 0068
Jan 19 14:53:20 hostname kernel: Process dirvish (pid: 2267, ti=ce17c000
task=c1275550 task.ti=ce17c000)
Jan 19 14:53:21 hostname kernel: Stack: 00000000 00001000 220424c6 912f9c05
00000000 c11b1120 ce7ecb00 00000000
Jan 19 14:53:21 hostname kernel: d09cd245 00000000 00001000 00000000
c11b1120 c11b1120 d0ae065f 00001000
Jan 19 14:53:21 hostname kernel: ce17dd00 c9703ff8 d09d63cc ce17dcf8
ce17dd08 00000000 cfaf6a40 ce7ecb00
Jan 19 14:53:21 hostname kernel: Call Trace:
Jan 19 14:53:21 hostname kernel: [<d09cd245>]
blkcipher_walk_done+0x12d/0x1dc [blkcipher]
Jan 19 14:53:21 hostname kernel: [<d0ae065f>] nfs_updatepage+0x13c/0x1a1
[nfs]
Jan 19 14:53:21 hostname kernel: [<d09d63cc>]
crypto_cbc_encrypt+0x132/0x146 [cbc]
Jan 19 14:53:21 hostname kernel: [<d0ad779a>] nfs_commit_write+0x26/0x35
[nfs]
Jan 19 14:53:21 hostname kernel: [<d0a9289d>]
ecryptfs_commit_lower_page+0x25/0x57 [ecryptfs]
Jan 19 14:53:21 hostname kernel: [<d0a944f3>]
ecryptfs_write_out_page+0x27/0x71 [ecryptfs]
Jan 19 14:53:21 hostname kernel: [<d0a95052>]
ecryptfs_encrypt_page+0x3db/0x449 [ecryptfs]
Jan 19 14:53:21 hostname kernel: [<d0a92fed>]
ecryptfs_commit_write+0x1f9/0x377 [ecryptfs]
Jan 19 14:53:21 hostname kernel: [<d0a92df4>]
ecryptfs_commit_write+0x0/0x377 [ecryptfs]
Jan 19 14:53:21 hostname kernel: [<c014aa44>]
generic_file_buffered_write+0x3e1/0x5ec
Jan 19 14:53:21 hostname kernel: [<c0128b59>] do_timer+0x5c1/0x711
Jan 19 14:53:21 hostname kernel: [<d0a70118>]
rpcauth_lookup_credcache+0x107/0x1f4 [sunrpc]
Jan 19 14:53:21 hostname kernel: [<c01249a1>] current_fs_time+0x4f/0x58
Jan 19 14:53:21 hostname kernel: [<c0277f3e>] tcp_v4_rcv+0x8c6/0x938
Jan 19 14:53:21 hostname kernel: [<c014b170>]
__generic_file_aio_write_nolock+0x521/0x59a
Jan 19 14:53:21 hostname kernel: [<c014b23e>]
generic_file_aio_write+0x55/0xc6
Jan 19 14:53:21 hostname kernel: [<c0163f84>] do_sync_write+0xc7/0x10a
Jan 19 14:53:21 hostname kernel: [<c015570b>]
__handle_mm_fault+0x74f/0x7a0
Jan 19 14:53:21 hostname kernel: [<c0131c1e>] wake_bit_function+0x0/0x44
Jan 19 14:53:21 hostname kernel: [<c0163ebd>] do_sync_write+0x0/0x10a
Jan 19 14:53:21 hostname kernel: [<c01647c3>] vfs_write+0xa8/0x154
Jan 19 14:53:21 hostname kernel: [<c0164dd0>] sys_write+0x41/0x67
Jan 19 14:53:21 hostname kernel: [<c0103d36>] sysenter_past_esp+0x5f/0x85
Jan 19 14:53:21 hostname kernel: =======================
Jan 19 14:53:21 hostname kernel: Code: d5 00 00 00 85 f6 0f 84 94 00 00 00
90 0f ba 6e 2c 00 19 c0 8b 56 18 8d 87 ec 00 00 00 89 f1 e8 67 76 6e ef 83
f8 ef 89 c3 75 04 <0f> 0b eb fe 85 c0 75 55 83 bf 00 01 00 00 00 75 2a 89
e8 e8 b2
Jan 19 14:53:21 hostname kernel: EIP: [<d0adfeda>]
nfs_writepage_setup+0xea/0x3eb [nfs] SS:ESP 0068:ce17dbe4