Messages in this thread Patch in this message | | | Date | Sat, 9 Aug 2003 22:48:54 +0200 | From | Thomas Themel <> | Subject | cryptoloop data corruption (was Re: Device-backed loop broken in 2.6.0-test2?) |
| |
Andrew Morton (akpm@osdl.org) wrote on 2003-08-07: > Thomas Themel <themel@iwoars.net> wrote: > > it seems that device backed loopback is broken in the 2.6.0-test2 series. > > doh.
Hm, it seems that this patch doesn't apply to 2.6.0-test3, so I assume that the 'other fix' from -mm5 is included?
I still get data corruption on cryptoloop, but now it is a bit more subtle... One bit of every byte at multiples of 0x200 is flipped, starting with the one at 0x1000.
See this for a short example (xxd output of file before and after copy to cryptoloop):
--- good.xxd 2003-08-09 22:33:21.000000000 +0200 +++ b0rk.xxd 2003-08-09 22:32:59.000000000 +0200 @@ -256,3 +256,3 @@ 0000ff0: ffff ffff ffff ffff ffff ffff ffff ffff ................ -0001000: ffff ffff ffff ffff ffff ffff ffff ffff ................ +0001000: f7ff ffff ffff ffff ffff ffff ffff ffff ................ 0001010: ffff ffff ffff ffff ffff ffff ffff ffff ................ @@ -288,3 +288,3 @@ 00011f0: 0ae0 004b 0000 0000 0000 0960 0000 0000 ...K.......`.... -0001200: 0001 2c00 0000 0000 0025 8000 0000 ffff ..,......%...... +0001200: 0801 2c00 0000 0000 0025 8000 0000 ffff ..,......%...... 0001210: ffff ffff ffff ffff ffff ffff ffff ffff ................ @@ -320,3 +320,3 @@ 00013f0: ffff ffff ffff ffff ffff ffff ffff ffff ................ -0001400: ffff ffff ffff ffff ffff ffff ffff ffff ................ +0001400: f7ff ffff ffff ffff ffff ffff ffff ffff ................ 0001410: ffff ffff ffff ffff ffff ffff ffff ffff ................ @@ -352,3 +352,3 @@ 00015f0: ffff ffff ffff ffff ffff ffff ffff ffff ................ -0001600: ffff ffff ffff ffff ffff ffff ffff ffff ................
Any ideas what's causing this? The files are ext3 on an AES cryptoloop backed by an IDE partition. ciao, -- [*Thomas Themel*] US law prohibits boycotting Israel [extended contact] [info provided in] <http://news.bbc.co.uk/2/hi/business/2403303.stm> [*message header*] <http://www.bxa.doc.gov/AntiboycottCompliance/Default.htm> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |