Public bug reported: I'm using oneiric's linux-image-2.6.39-3-generic on a machine that's in other regards running natty, trying to work on bug 745112. This machine has in other regards been working very well.
When I run a 'make -j' kernel build, I get a lot of dmesg errors like shown below, and also many compiler errors indicating it's seeing sytax errors in various files. When I open the files, I do indeed see random garbage in them. I have rebooted the machine, checked the underlying filesystem and also run badblocks across the disk without finding any problems. Dropping all the caches gets the correct file contents back. A non-parallel kernel build works ok, so I suspect an ecryptfs bug that's only tweaked by heavy concurrent io. Jun 6 15:20:25 joy kernel: [ 4378.725022] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.725977] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.725991] Valid eCryptfs headers not found in file header region or xattr region Jun 6 15:20:25 joy kernel: [ 4378.725994] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO Jun 6 15:20:25 joy kernel: [ 4378.767623] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.767679] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.767724] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.771110] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.771518] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.774501] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.806394] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:25 joy kernel: [ 4378.840615] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.909862] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.909866] ecryptfs_readpage: Error decrypting page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.924757] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.924762] ecryptfs_readpage: Error decrypting page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.925508] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.932156] ecryptfs_decrypt_page: Error attempting to read lower page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.932161] ecryptfs_readpage: Error decrypting page; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.949513] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Jun 6 15:20:26 joy kernel: [ 4378.950009] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/793367 Title: ecryptfs corruption during make -j -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs