Bug#403426: kernel corrupts LUKS partition header on arm

2007-04-28 Thread Gordon Farquharson
Hi Martin On 4/26/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote: Gordon, can you check if LUKS still doesn't work under heavy load with 2.6.21 (I can give you .debs if you want)? Unfortunately, I can still trigger the problem, although instead of cryptsetup asking me for the passphrase three

Bug#403426: kernel corrupts LUKS partition header on arm

2007-04-26 Thread Gordon Farquharson
Hi Martin On 4/26/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote: Gordon, can you check if LUKS still doesn't work under heavy load with 2.6.21 (I can give you .debs if you want)? I should be able to build the debs (I need to set up my machine to do that anyway). I'll let you know if I have p

Bug#403426: kernel corrupts LUKS partition header on arm

2007-04-26 Thread Martin Michlmayr
* Gordon Farquharson <[EMAIL PROTECTED]> [2007-01-05 01:36]: > Ok, so here are some interesting results... > > I am able to access the LUKS partition on the NSLU2 running 2.6.18 > from subversion (which includes flush_anon_page-generic.patch and > flush_anon_page-arm.patch) with both cryptsetup-1.

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-06 Thread Gordon Farquharson
On 1/5/07, Gordon Farquharson <[EMAIL PROTECTED]> wrote: However, I have found that I am unable to access the LUKS partition when the system is under heavy load and swapping. Martin, I wonder if this has anything to do with the virtual memory bug in the kernel that we experienced with apt. It c

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-05 Thread Gordon Farquharson
On 1/5/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote: * Gordon Farquharson <[EMAIL PROTECTED]> [2007-01-05 01:36]: > However, I have found that I am unable to access the LUKS partition > when the system is under heavy load and swapping. Interesting. Can you check whether you see the same probl

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-05 Thread Martin Michlmayr
* Gordon Farquharson <[EMAIL PROTECTED]> [2007-01-05 01:36]: > However, I have found that I am unable to access the LUKS partition > when the system is under heavy load and swapping. Interesting. Can you check whether you see the same problems with FUSE (see #402876)? > Martin, I wonder if this

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-05 Thread Gordon Farquharson
On 1/4/07, Martin Michlmayr <[EMAIL PROTECTED]> wrote: * Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-04 12:56]: > So, can we close the bug against cryptsetup in this case? #403426 is really about the header corruption which you have fixed in SVN. It should be closed when the Debian maintain

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-04 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-04 12:56]: > > corruption. At least FUSE doesn't work on ARM without those patches, > > so it seems likely that luksOpen is also affected. > > So, can we close the bug against cryptsetup in this case? #403426 is really about the header corruption

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-04 Thread Clemens Fruhwirth
At Wed, 3 Jan 2007 20:37:22 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > Well, it seems to fix the problem and according to the thread on lkml > the lack of flush_anon_page() on ARM is associated with some > corruption. At least FUSE doesn't work on ARM without those patches, > so it se

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-03 Thread Clemens Fruhwirth
At Wed, 3 Jan 2007 20:14:42 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-03 17:59]: > > After a bit of debugging on Gordon's slug, I found out that we have > > some kind of read race/read corruption when reading the encrypted > > master ke

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-03 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-03 20:32]: > > I just applied the two patches from that thread and successfully ran > > 'cryptsetup luksClose' on ARM. > > "cryptsetup luksClose" is just an alias for "cryptsetup remove". This > should never fail. What's with luksOpen after the patc

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-03 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-03 17:59]: > After a bit of debugging on Gordon's slug, I found out that we have > some kind of read race/read corruption when reading the encrypted > master key from a key slot. ... > As far as I understand page caching comes after dm-crypt, so mayb

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-03 Thread Clemens Fruhwirth
At Tue, 2 Jan 2007 19:04:41 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-02 18:00]: > > Does luksDump report the same things on both architecture? > > Yes. After a bit of debugging on Gordon's slug, I found out that we have some kind of

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-02 Thread Clemens Fruhwirth
At Tue, 2 Jan 2007 19:04:41 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-02 18:00]: > > Does luksDump report the same things on both architecture? > > Yes. Strange. Can I somehow gain access to your test box? I'm not entirely out of gues

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-02 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2007-01-02 18:00]: > Does luksDump report the same things on both architecture? Yes. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#403426: kernel corrupts LUKS partition header on arm

2007-01-02 Thread Clemens Fruhwirth
At Sat, 30 Dec 2006 14:13:42 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-30 11:50]: > > > Is there anything else I should try? > > > foobar:~# cryptsetup luksOpen /dev/sda5 x > > > Enter LUKS passphrase: > > > device-mapper: table: 254:0:

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-30 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-30 11:50]: > > Is there anything else I should try? > > foobar:~# cryptsetup luksOpen /dev/sda5 x > > Enter LUKS passphrase: > > device-mapper: table: 254:0: crypt: Device lookup failed Strange. I haven't changed cryptsetup but now I don't get this

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-30 Thread Clemens Fruhwirth
At Fri, 29 Dec 2006 21:24:34 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-29 11:52]: > > Please try the version from subversion > > http://luks.endorphin.org/svn/cryptsetup > > With 1.0.4 plus the attached 2 patches from SVN I no longer g

Bug#403426: [Pkg-cryptsetup-devel] Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-30 Thread Martin Michlmayr
* Jonas Meurer <[EMAIL PROTECTED]> [2006-12-30 04:49]: > I'm currently preparing a new upload of cryptsetup 1.0.4+svn22, which is > identical with the current upstream svn snapshot. does this version fix > bug #403426, or does it still occur? It still doesn't work on ARM, but with SVN (or 03_no_he

Bug#403426: [Pkg-cryptsetup-devel] Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-29 Thread Jonas Meurer
On 29/12/2006 Martin Michlmayr wrote: > * Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-29 11:52]: > > I just added the r!=bsize case to error checking and an error message > > as well. > ... > > The changes are also in subversion. > > This particular change didn't make any difference. I still g

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-29 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-29 11:52]: > Please try the version from subversion > http://luks.endorphin.org/svn/cryptsetup With 1.0.4 plus the attached 2 patches from SVN I no longer get any corruption but I also cannot access my encrypted data. Is there anything else I shoul

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-29 Thread Martin Michlmayr
* Clemens Fruhwirth <[EMAIL PROTECTED]> [2006-12-29 11:52]: > I just added the r!=bsize case to error checking and an error message > as well. ... > The changes are also in subversion. This particular change didn't make any difference. I still get the header conversion message when I only apply t

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-29 Thread Clemens Fruhwirth
At Wed, 20 Dec 2006 17:15:29 +0100, Martin Michlmayr <[EMAIL PROTECTED]> wrote: > We're seeing corruption of LUKS partition headers on ARM. I've > confirmed this on two different ARM platforms (IXP4xx and IOP32x) and > with 2.6.17 and 2.6.18. > > Basically, when you create a LUKS partition on a

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-21 Thread Martin Michlmayr
We're seeing corruption of LUKS partition headers on ARM. I've confirmed this on two different ARM platforms (IXP4xx and IOP32x) and with 2.6.17 and 2.6.18. Basically, when you create a LUKS partition on a PC and then connect it to an ARM box and open it, you get an "automatic header conversion f

Bug#403426: kernel corrupts LUKS partition header on arm

2006-12-20 Thread Martin Michlmayr
We're seeing corruption of LUKS partition headers on ARM. I've confirmed this on two different ARM platforms (IXP4xx and IOP32x) and with 2.6.17 and 2.6.18. Basically, when you create a LUKS partition on a PC and then connect it to an ARM box and open it, you get an "automatic header conversion f