Skip to contentSkip to conversation

Filesystem corruption with 2.6.36-rc1-wl+ and ecryptfs

DISCUSSION Kalle Valo 1 participant 2 messages Aug 17, 2010 – Aug 26, 2010

lore
Share & tools
lore

Kalle Valo

author
#0 lore raw

Hi,

I just installed my first 2.6.36 kernel, 2.6.36-rc1-wl+ from wireless-testing, and immeadialy (during first boot) got major corruption in the filesystem. For example, gnome lost it's settings, ~/.ssh was empty etc. Now, with an older kernel, my directory structure has duplicate entries, like this:

$ ls -ald D*
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Desktop/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Desktop/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Documents/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Documents/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Downloads/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Downloads/

I'm using ecryptfs and that's my major suspect for the corruption, but naturally I can't be sure because I'm just guessing here.

Some info about my system:

Samsung X120 laptop
Ubuntu 10.04
amd64, 2 CPUs
ext4, /home/kvalo encrypted with ecryptfs
ath9k

Signature · 1 line
Kalle Valo
author
#1 lore raw
Quoted 14 lines · Kalle Valo

I just installed my first 2.6.36 kernel, 2.6.36-rc1-wl+ from wireless-testing, and immeadialy (during first boot) got major corruption in the filesystem. For example, gnome lost it's settings, ~/.ssh was empty etc. Now, with an older kernel, my directory structure has duplicate entries, like this:

$ ls -ald D*
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Desktop/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Desktop/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Documents/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Documents/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Downloads/
drwxr-xr-x 2 kvalo kvalo 4096 2010-08-17 19:21 Downloads/
Quoted 2 lines

I'm using ecryptfs and that's my major suspect for the corruption, but naturally I can't be sure because I'm just guessing here.

(For the archives)

It was ecryptfs, bug report here:

https://bugs.launchpad.net/ecryptfs/+bug/623087

And fix here:

http://git.kernel.org/?p=linux/kernel/git/ecryptfs/ecryptfs-2.6.git;a=commitdiff;h=b4ef26e06ce0c4877bd5a736b0dfb318a4fb9002

Signature · 1 line
Kalle Valo