All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1000] New: file corruption using cryptoloop on ext2/ext3/other file systems
@ 2003-07-28 19:45 Martin J. Bligh
  0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-07-28 19:45 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=1000

           Summary: file corruption using cryptoloop on ext2/ext3/other file
                    systems
    Kernel Version: 2.6.0-test2
            Status: NEW
          Severity: normal
             Owner: axboe@suse.de
         Submitter: kernel@gozer.org


Distribution: unstable debian (util-linux 2.12)
Hardware Environment: AMD K7
Software Environment:
Problem Description:

Using cryptoloop, any files copied to ext2/ext3, and from what I hear anything
other than msdos/vfat (vfat verified), leaves files corrupted.

# this talks about files larger than system memory, but I see this with files
# of any size.
http://marc.theaimsgroup.com/?l=linux-kernel&m=105932373007928&w=2

http://marc.theaimsgroup.com/?l=linux-kernel&m=105873721209176&w=2

Steps to reproduce:

losetup /dev/loop0 /dev/hdX -e aes
mkfs -t ext3 /dev/loop0
mount /dev/loop0 /mnt
cp /tmp/some.mp3 /mnt
umount /mnt
losetup -d /dev/loop0

md5sum /tmp/some.mp3

losetup /dev/loop0 /dev/hdX -e aes
mount /dev/loop0 /mnt
md5sum /mnt/some.mp3

While the fs is mounted, everything checks out ok, but as soon as you unmount
and remount, it's all messed up.

I created a 10MB test file, and instead of using a drive/partition as above, I
used the file. ext2 on there worked ok, so I don't know if it's something over a
certain size or what.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-28 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 19:45 [Bug 1000] New: file corruption using cryptoloop on ext2/ext3/other file systems Martin J. Bligh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.