**** BEGIN LOGGING AT Fri Nov 26 02:59:58 2010 Nov 26 18:48:23 openplug.org has lots of spam Nov 26 23:46:25 so.... I'm trying to set up my sheevaplug with an encrypted filesystem on the internal flash Nov 26 23:46:45 ryan-c: what filesystem? Nov 26 23:46:56 erm Nov 26 23:47:00 it's complicated Nov 26 23:47:32 http://pastebin.com/NfhyKJRA Nov 26 23:47:40 that's what i'm trying to do Nov 26 23:48:02 but I get IO errors on /dev/mapper/root_crypt Nov 26 23:48:42 like Nov 26 23:48:52 rampant IO errors Nov 26 23:49:02 [ 7767.733251] Buffer I/O error on device dm-3, logical block 7931 Nov 26 23:49:02 [ 7767.739219] lost page write due to I/O error on dm-3 Nov 26 23:49:04 it's probably trying to access each block sequentially, when you can't do that since some of the blocks are always bad Nov 26 23:49:32 right Nov 26 23:49:40 but the backing file is on ubifs Nov 26 23:50:06 ubifs isn't giving any errors Nov 26 23:50:07 maybe you made the file too big? Nov 26 23:50:14 no Nov 26 23:50:20 it fits Nov 26 23:50:33 I have ~17MB freespace on the ubifs Nov 26 23:52:32 do those same commands work if you put the file onto another device, such as a usb drive or sd card? Nov 26 23:52:40 rebooting, it got kinda wedged :( Nov 26 23:52:43 (i mean, excluding all the ubifs ones) Nov 26 23:53:14 that is a good question Nov 26 23:53:37 let me try some of that on my SD card Nov 26 23:54:13 Erp. Nov 26 23:54:28 That would be a wee bit easier if i had free disk space Nov 26 23:54:39 lol Nov 26 23:54:55 try on a nfs or samba share to another computer Nov 26 23:55:41 i grabbed a usb flash drive Nov 26 23:55:49 that'll work too Nov 26 23:57:56 * ryan-c waits for the slow parts to run Nov 26 23:58:30 I was kinda suspecting that the aes-xts-plain mode was an issue right before you sugguested i try a different device Nov 26 23:59:18 oh joy, that's going to take a while Nov 27 00:06:22 oklay Nov 27 00:06:26 running badblocks Nov 27 00:09:42 looks like it's fine with the usb Nov 27 00:12:44 retrying the crypto device Nov 27 00:12:46 errors Nov 27 00:13:20 running badblocks against the loop device Nov 27 00:13:33 i get errors on the loop device Nov 27 00:14:05 running badblocks on the file.... Nov 27 00:15:14 weird... Nov 27 00:15:17 THat works fine Nov 27 00:21:24 hrm Nov 27 00:21:47 badblocks does *not* crap itself if I force block size of 2048 Nov 27 00:23:16 at least not so far Nov 27 00:23:36 oh Nov 27 00:23:39 spoke too soon Nov 27 01:05:43 ryan-c: if you make the file on the usb and then copy it onto the nand does it still error? Nov 27 01:05:54 What? Nov 27 01:06:01 or, i suppose it wouldn't matter; it'd already be created Nov 27 01:06:08 yes Nov 27 01:06:11 anyhow Nov 27 01:06:59 I've switched to using JFFS2 as the layer for directly talking to the MTD Nov 27 01:07:11 jffs2 is rather slow Nov 27 01:07:39 I don't really care about speed Nov 27 01:08:23 the question now is if i should use ext3 or another jffs2 filesystem on top of the crypto device **** ENDING LOGGING AT Sat Nov 27 02:59:58 2010