All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
@ 2009-09-13 22:19 Salatiel Filho
  2009-09-14  3:35 ` Arno Wagner
  0 siblings, 1 reply; 8+ messages in thread
From: Salatiel Filho @ 2009-09-13 22:19 UTC (permalink / raw)
  To: dm-crypt

Where should i report that i get lots of corruption when using
cryptsetup on arm architecture ?

- Can not use crypted swap , cause page allocator will fail and my
programs will start to seg fault.
- Some files just get corrupted on copying...

Anyone can help me  debug it , so i can report  developers and they
can fix this.

-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-13 22:19 [dm-crypt] Data Corruption using cryptsetup luks on ARM arch Salatiel Filho
@ 2009-09-14  3:35 ` Arno Wagner
  2009-09-14  9:25   ` Salatiel Filho
  0 siblings, 1 reply; 8+ messages in thread
From: Arno Wagner @ 2009-09-14  3:35 UTC (permalink / raw)
  To: dm-crypt

On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
> Where should i report that i get lots of corruption when using
> cryptsetup on arm architecture ?
> 
> - Can not use crypted swap , cause page allocator will fail and my
> programs will start to seg fault.
> - Some files just get corrupted on copying...
> 
> Anyone can help me  debug it , so i can report  developers and they
> can fix this.

If it generally works, but sometimes corrupts, then this 
very likely has nothing to to with dm-crypt. In fact it 
sounds like you have defective hardware, but more detail 
is needed for even a rough guess.

Arno 
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-14  3:35 ` Arno Wagner
@ 2009-09-14  9:25   ` Salatiel Filho
  2009-09-14  9:59     ` Milan Broz
  2009-09-14 21:10     ` Arno Wagner
  0 siblings, 2 replies; 8+ messages in thread
From: Salatiel Filho @ 2009-09-14  9:25 UTC (permalink / raw)
  To: dm-crypt

On Mon, Sep 14, 2009 at 00:35, Arno Wagner <arno@wagner.name> wrote:
> On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
>> Where should i report that i get lots of corruption when using
>> cryptsetup on arm architecture ?
>>
>> - Can not use crypted swap , cause page allocator will fail and my
>> programs will start to seg fault.
>> - Some files just get corrupted on copying...
>>
>> Anyone can help me  debug it , so i can report  developers and they
>> can fix this.
>
> If it generally works, but sometimes corrupts, then this
> very likely has nothing to to with dm-crypt. In fact it
> sounds like you have defective hardware, but more detail
> is needed for even a rough guess.
>
I do not think  it is a hardware problem since the disk is  fine and
it works fine in other architectures with no corruption at all. And
the page allocator failure always happens when using crypted swap but
there is no problem when using uncrypted swap.


> Arno
> --
> Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
> GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
> ----
> Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
>
> If it's in the news, don't worry about it.  The very definition of
> "news" is "something that hardly ever happens." -- Bruce Schneier
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>



-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-14  9:25   ` Salatiel Filho
@ 2009-09-14  9:59     ` Milan Broz
  2009-09-14 21:10     ` Arno Wagner
  1 sibling, 0 replies; 8+ messages in thread
From: Milan Broz @ 2009-09-14  9:59 UTC (permalink / raw)
  To: Salatiel Filho; +Cc: dm-crypt

Salatiel Filho wrote:
> I do not think  it is a hardware problem since the disk is  fine and
> it works fine in other architectures with no corruption at all. And
> the page allocator failure always happens when using crypted swap but
> there is no problem when using uncrypted swap.

There was some problems with O_DIRECT on ARM architectures
(search archive, I think I posted some links).

Anyway, problem is with using already mapped volume (e.g. swap) or
with using cryptsetup (LUKS header/keyslot corruption)?

I do not thing that it is problem in dm-crypt
Do you have some reproducer? kernel version, syslog messages etc?

Milan

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-14  9:25   ` Salatiel Filho
  2009-09-14  9:59     ` Milan Broz
@ 2009-09-14 21:10     ` Arno Wagner
  2009-09-15 10:48       ` Salatiel Filho
  1 sibling, 1 reply; 8+ messages in thread
From: Arno Wagner @ 2009-09-14 21:10 UTC (permalink / raw)
  To: dm-crypt

On Mon, Sep 14, 2009 at 06:25:10AM -0300, Salatiel Filho wrote:
> On Mon, Sep 14, 2009 at 00:35, Arno Wagner <arno@wagner.name> wrote:
> > On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
> >> Where should i report that i get lots of corruption when using
> >> cryptsetup on arm architecture ?
> >>
> >> - Can not use crypted swap , cause page allocator will fail and my
> >> programs will start to seg fault.
> >> - Some files just get corrupted on copying...
> >>
> >> Anyone can help me ?debug it , so i can report ?developers and they
> >> can fix this.
> >
> > If it generally works, but sometimes corrupts, then this
> > very likely has nothing to to with dm-crypt. In fact it
> > sounds like you have defective hardware, but more detail
> > is needed for even a rough guess.
> >
> I do not think  it is a hardware problem since the disk is  fine and
> it works fine in other architectures with no corruption at all. And
> the page allocator failure always happens when using crypted swap but
> there is no problem when using uncrypted swap.

Determine the exact nature of the corruption. It is really
a waste of time to speculate before you have that. Best 
option is a binary compare of a corrupted file with the 
uncorrupted version. Use something like

cmp -b -l <file1> <file2>


Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-14 21:10     ` Arno Wagner
@ 2009-09-15 10:48       ` Salatiel Filho
  2009-09-15 11:53         ` Arno Wagner
  0 siblings, 1 reply; 8+ messages in thread
From: Salatiel Filho @ 2009-09-15 10:48 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]

On Mon, Sep 14, 2009 at 18:10, Arno Wagner <arno@wagner.name> wrote:
> On Mon, Sep 14, 2009 at 06:25:10AM -0300, Salatiel Filho wrote:
>> On Mon, Sep 14, 2009 at 00:35, Arno Wagner <arno@wagner.name> wrote:
>> > On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
>> >> Where should i report that i get lots of corruption when using
>> >> cryptsetup on arm architecture ?
>> >>
>> >> - Can not use crypted swap , cause page allocator will fail and my
>> >> programs will start to seg fault.
>> >> - Some files just get corrupted on copying...
>> >>
>> >> Anyone can help me ?debug it , so i can report ?developers and they
>> >> can fix this.
>> >
>> > If it generally works, but sometimes corrupts, then this
>> > very likely has nothing to to with dm-crypt. In fact it
>> > sounds like you have defective hardware, but more detail
>> > is needed for even a rough guess.
>> >
>> I do not think  it is a hardware problem since the disk is  fine and
>> it works fine in other architectures with no corruption at all. And
>> the page allocator failure always happens when using crypted swap but
>> there is no problem when using uncrypted swap.
>
> Determine the exact nature of the corruption. It is really
> a waste of time to speculate before you have that. Best
> option is a binary compare of a corrupted file with the
> uncorrupted version. Use something like
>
> cmp -b -l <file1> <file2>
I tried two corrupted files ...
Attached the cmp -b -l 'corrupted' 'ok' :

-rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file1.ori
-rw-r--r-- 1 root root 50000000 2009-09-15 06:21 file1.corrupted

-rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file2.ori
-rw-r--r-- 1 root root 50000000 2009-09-15 06:22 file2.corrupted

>
>
> Arno
> --
> Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
> GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
> ----
> Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
>
> If it's in the news, don't worry about it.  The very definition of
> "news" is "something that hardly ever happens." -- Bruce Schneier
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>



-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".

[-- Attachment #2: cmp1 --]
[-- Type: application/octet-stream, Size: 17958 bytes --]

10942386   0 ^@   135 ]
10942387   0 ^@   266 M-6
10942388   0 ^@   311 M-I
10942389   0 ^@   213 M-^K
10942390   0 ^@   120 P
10942391   0 ^@   300 M-@
10942392   0 ^@   350 M-h
10942393   0 ^@   331 M-Y
10942394   0 ^@   361 M-q
10942395   0 ^@    71 9
10942396   0 ^@   244 M-$
10942397   0 ^@   203 M-^C
10942398   0 ^@   162 r
10942399   0 ^@   113 K
10942400   0 ^@   156 n
10942497   0 ^@    46 &
10942498   0 ^@   202 M-^B
10942499   0 ^@   151 i
10942500   0 ^@     1 ^A
10942501   0 ^@   374 M-|
10942502   0 ^@   134 \
10942503   0 ^@   231 M-^Y
10942504   0 ^@    15 ^M
10942505   0 ^@    45 %
10942506   0 ^@   370 M-x
10942507   0 ^@   376 M-~
10942508   0 ^@   255 M--
10942509   0 ^@   105 E
10942510   0 ^@   305 M-E
10942511   0 ^@    16 ^N
10942512   0 ^@   212 M-^J
10942513   0 ^@    74 <
10942514   0 ^@   377 M-^?
10942515   0 ^@   365 M-u
10942516   0 ^@   324 M-T
10942517   0 ^@   316 M-N
10942518   0 ^@   352 M-j
10942519   0 ^@    54 ,
10942520   0 ^@   316 M-N
10942521   0 ^@   162 r
10942522   0 ^@   362 M-r
10942523   0 ^@    50 (
10942524   0 ^@    26 ^V
10942525   0 ^@   147 g
10942526   0 ^@    51 )
10942527   0 ^@   341 M-a
10942528   0 ^@   172 z
10942625   0 ^@   216 M-^N
10942626   0 ^@   203 M-^C
10942627   0 ^@   226 M-^V
10942628   0 ^@   353 M-k
10942629   0 ^@   336 M-^
10942630   0 ^@   141 a
10942631   0 ^@   137 _
10942632   0 ^@    50 (
10942633   0 ^@   121 Q
10942634   0 ^@   172 z
10942635   0 ^@   140 `
10942636   0 ^@   215 M-^M
10942637   0 ^@    47 '
10942638   0 ^@   343 M-c
10942639   0 ^@   212 M-^J
10942640   0 ^@   311 M-I
10942641   0 ^@   302 M-B
10942642   0 ^@    30 ^X
10942643   0 ^@    22 ^R
10942644   0 ^@   104 D
10942645   0 ^@    21 ^Q
10942646   0 ^@    73 ;
10942647   0 ^@   271 M-9
10942648   0 ^@   245 M-%
10942649   0 ^@    26 ^V
10942650   0 ^@   250 M-(
10942651   0 ^@   321 M-Q
10942652   0 ^@   123 S
10942653   0 ^@    45 %
10942654   0 ^@   366 M-v
10942655   0 ^@   227 M-^W
10942656   0 ^@   133 [
10942657   0 ^@   123 S
10942658   0 ^@   112 J
10942659   0 ^@   107 G
10942660   0 ^@    72 :
10942661   0 ^@   344 M-d
10942662   0 ^@   243 M-#
10942663   0 ^@   363 M-s
10942664   0 ^@     4 ^D
10942665   0 ^@   264 M-4
10942666   0 ^@   360 M-p
10942667   0 ^@   340 M-`
10942668   0 ^@   354 M-l
10942669   0 ^@   375 M-}
10942670   0 ^@   304 M-D
10942671   0 ^@   107 G
10942672   0 ^@   127 W
10942673   0 ^@    50 (
10942674   0 ^@     4 ^D
10942675   0 ^@   223 M-^S
10942676   0 ^@   253 M-+
10942677   0 ^@   177 ^?
10942678   0 ^@   231 M-^Y
10942679   0 ^@   364 M-t
10942680   0 ^@   206 M-^F
10942681   0 ^@   207 M-^G
10942682   0 ^@   117 O
10942683   0 ^@   136 ^
10942684   0 ^@     1 ^A
10942685   0 ^@   252 M-*
10942686   0 ^@   211 M-^I
10942687   0 ^@    21 ^Q
10942688   0 ^@   110 H
10942689   0 ^@    22 ^R
10942690   0 ^@    61 1
10942691   0 ^@   174 |
10942692   0 ^@    71 9
10942693   0 ^@   166 v
10942694   0 ^@    12 ^J
10942697   0 ^@   143 c
10942698   0 ^@   201 M-^A
10942699   0 ^@   127 W
10942700   0 ^@   142 b
10942701   0 ^@   360 M-p
10942702   0 ^@   311 M-I
10942703   0 ^@   354 M-l
10942705   0 ^@   207 M-^G
10942706   0 ^@   336 M-^
10942707   0 ^@   204 M-^D
10942708   0 ^@   143 c
10942709   0 ^@    42 "
10942710   0 ^@   344 M-d
10942711   0 ^@   222 M-^R
10942712   0 ^@    11 ^I
10942713   0 ^@    32 ^Z
10942714   0 ^@    31 ^Y
10942715   0 ^@   213 M-^K
10942716   0 ^@   241 M-!
10942717   0 ^@    17 ^O
10942718   0 ^@    34 ^\
10942719   0 ^@   272 M-:
10942720   0 ^@   167 w
10942721   0 ^@   133 [
10942722   0 ^@   151 i
10942723   0 ^@    31 ^Y
10942724   0 ^@    21 ^Q
10942725   0 ^@   116 N
10942726   0 ^@   330 M-X
10942727   0 ^@   140 `
10942728   0 ^@   265 M-5
10942729   0 ^@   142 b
10942730   0 ^@   216 M-^N
10942731   0 ^@   360 M-p
10942732   0 ^@   150 h
10942733   0 ^@   304 M-D
10942734   0 ^@   320 M-P
10942735   0 ^@   127 W
10942736   0 ^@   331 M-Y
10942737   0 ^@   321 M-Q
10942738   0 ^@   234 M-^\
10942739   0 ^@   146 f
10942740   0 ^@   355 M-m
10942741   0 ^@   361 M-q
10942742   0 ^@   105 E
10942743   0 ^@   163 s
10942744   0 ^@   300 M-@
10942745   0 ^@   246 M-&
10942746   0 ^@   366 M-v
10942747   0 ^@   307 M-G
10942748   0 ^@   322 M-R
10942749   0 ^@   306 M-F
10942750   0 ^@   362 M-r
10942751   0 ^@    50 (
10942752   0 ^@   177 ^?
10942753   0 ^@   352 M-j
10942754   0 ^@   350 M-h
10942755   0 ^@   115 M
10942756   0 ^@     2 ^B
10942757   0 ^@    22 ^R
10942758   0 ^@    53 +
10942759   0 ^@   354 M-l
10942760   0 ^@    24 ^T
10942761   0 ^@   253 M-+
10942762   0 ^@    30 ^X
10942763   0 ^@   367 M-w
10942764   0 ^@   370 M-x
10942765   0 ^@    64 4
10942766   0 ^@   145 e
10942767   0 ^@   236 M-^^
10942768   0 ^@    30 ^X
10942769   0 ^@   123 S
10942770   0 ^@   161 q
10942771   0 ^@   316 M-N
10942772   0 ^@    10 ^H
10942773   0 ^@    12 ^J
10942774   0 ^@   100 @
10942775   0 ^@   276 M->
10942776   0 ^@   344 M-d
10942777   0 ^@   163 s
10942778   0 ^@   271 M-9
10942779   0 ^@    17 ^O
10942780   0 ^@   237 M-^_
10942781   0 ^@   303 M-C
10942782   0 ^@   167 w
10942783   0 ^@   305 M-E
10942784   0 ^@    75 =
10942785   0 ^@   245 M-%
10942786   0 ^@   134 \
10942787   0 ^@    32 ^Z
10942788   0 ^@   340 M-`
10942789   0 ^@   162 r
10942790   0 ^@   101 A
10942791   0 ^@   244 M-$
10942792   0 ^@   123 S
10942793   0 ^@   132 Z
10942794   0 ^@   120 P
10942795   0 ^@    63 3
10942796   0 ^@   361 M-q
10942797   0 ^@   310 M-H
10942798   0 ^@   207 M-^G
10942799   0 ^@   260 M-0
10942800   0 ^@    33 ^[
10942801   0 ^@   157 o
10942802   0 ^@    22 ^R
10942803   0 ^@    73 ;
10942804   0 ^@   174 |
10942805   0 ^@    54 ,
10942806   0 ^@   111 I
10942807   0 ^@   265 M-5
10942808   0 ^@   260 M-0
10942809   0 ^@   325 M-U
10942810   0 ^@    74 <
10942811   0 ^@   163 s
10942812   0 ^@   222 M-^R
10942813   0 ^@   125 U
10942814   0 ^@   367 M-w
10942815   0 ^@    24 ^T
10942816   0 ^@   204 M-^D
10942817   0 ^@   325 M-U
10942818   0 ^@   236 M-^^
10942819   0 ^@   360 M-p
10942820   0 ^@   122 R
10942821   0 ^@    16 ^N
10942822   0 ^@   151 i
10942823   0 ^@   364 M-t
10942824   0 ^@   270 M-8
10942825   0 ^@   323 M-S
10942826   0 ^@    76 >
10942827   0 ^@    26 ^V
10942828   0 ^@   324 M-T
10942829   0 ^@   250 M-(
10942830   0 ^@   147 g
10942831   0 ^@   370 M-x
10942832   0 ^@    66 6
10942833   0 ^@   201 M-^A
10942834   0 ^@   165 u
10942835   0 ^@   112 J
10942836   0 ^@   207 M-^G
10942837   0 ^@   340 M-`
10942838   0 ^@   236 M-^^
10942839   0 ^@   132 Z
10942840   0 ^@   267 M-7
10942841   0 ^@   111 I
10942842   0 ^@   366 M-v
10942843   0 ^@   122 R
10942844   0 ^@   173 {
10942845   0 ^@     7 ^G
10942846   0 ^@   101 A
10942847   0 ^@   350 M-h
10942848   0 ^@   303 M-C
10942849   0 ^@   161 q
10942850   0 ^@    22 ^R
10942851   0 ^@   242 M-"
10942852   0 ^@   272 M-:
10942853   0 ^@   273 M-;
10942854   0 ^@   130 X
10942855   0 ^@   113 K
10942856   0 ^@   134 \
10942857   0 ^@   220 M-^P
10942858   0 ^@   153 k
10942859   0 ^@   130 X
10942860   0 ^@    77 ?
10942861   0 ^@   375 M-}
10942863   0 ^@     1 ^A
10942864   0 ^@    10 ^H
10942866   0 ^@    20 ^P
10942867   0 ^@   353 M-k
10942868   0 ^@   143 c
10942869   0 ^@   124 T
10942870   0 ^@   365 M-u
10942871   0 ^@   354 M-l
10942872   0 ^@   267 M-7
10942873   0 ^@   156 n
10942874   0 ^@   236 M-^^
10942875   0 ^@   274 M-<
10942876   0 ^@   353 M-k
10942877   0 ^@    42 "
10942878   0 ^@   344 M-d
10942879   0 ^@    23 ^S
10942880   0 ^@    30 ^X
10942881   0 ^@     2 ^B
10942882   0 ^@   320 M-P
10942883   0 ^@    33 ^[
10942884   0 ^@   304 M-D
10942885   0 ^@   336 M-^
10942886   0 ^@   262 M-2
10942887   0 ^@   142 b
10942888   0 ^@   365 M-u
10942889   0 ^@   172 z
10942890   0 ^@   371 M-y
10942891   0 ^@   265 M-5
10942892   0 ^@   242 M-"
10942893   0 ^@   354 M-l
10942894   0 ^@   226 M-^V
10942895   0 ^@   347 M-g
10942896   0 ^@   330 M-X
10942897   0 ^@    73 ;
10942898   0 ^@   306 M-F
10942899   0 ^@    52 *
10942900   0 ^@   101 A
10942901   0 ^@   265 M-5
10942902   0 ^@   132 Z
10942903   0 ^@   103 C
10942904   0 ^@   176 ~
10942905   0 ^@    75 =
10942906   0 ^@   353 M-k
10942907   0 ^@   234 M-^\
10942908   0 ^@   110 H
10942909   0 ^@   317 M-O
10942910   0 ^@   144 d
10942911   0 ^@    32 ^Z
10942912   0 ^@   230 M-^X
10942913   0 ^@   113 K
10942914   0 ^@   146 f
10942915   0 ^@     1 ^A
10942916   0 ^@   134 \
10942917   0 ^@   206 M-^F
10942918   0 ^@   160 p
10942919   0 ^@   154 l
10942920   0 ^@    23 ^S
10942921   0 ^@   254 M-,
10942922   0 ^@   140 `
10942923   0 ^@   120 P
10942924   0 ^@    14 ^L
10942925   0 ^@    62 2
10942926   0 ^@   326 M-V
10942927   0 ^@   117 O
10942928   0 ^@   150 h
10942929   0 ^@    76 >
10942930   0 ^@   372 M-z
10942931   0 ^@   113 K
10942932   0 ^@   107 G
10942933   0 ^@    21 ^Q
10942934   0 ^@   352 M-j
10942935   0 ^@   375 M-}
10942936   0 ^@   276 M->
10942937   0 ^@   253 M-+
10942938   0 ^@   242 M-"
10942939   0 ^@   203 M-^C
10942940   0 ^@    60 0
10942941   0 ^@    24 ^T
10942942   0 ^@   310 M-H
10942943   0 ^@   146 f
10942944   0 ^@     3 ^C
10942977   0 ^@   375 M-}
10942978   0 ^@    24 ^T
10942979   0 ^@   177 ^?
10942980   0 ^@   337 M-_
10942981   0 ^@   173 {
10942982   0 ^@   364 M-t
10942983   0 ^@   174 |
10942984   0 ^@   156 n
10942985   0 ^@   155 m
10942986   0 ^@   334 M-\
10942987   0 ^@   301 M-A
10942988   0 ^@   202 M-^B
10942989   0 ^@   377 M-^?
10942990   0 ^@   374 M-|
10942991   0 ^@   310 M-H
10942993   0 ^@   377 M-^?
10942994   0 ^@   243 M-#
10942995   0 ^@   367 M-w
10942996   0 ^@   363 M-s
10942997   0 ^@   257 M-/
10942998   0 ^@   112 J
10942999   0 ^@    54 ,
10943000   0 ^@   330 M-X
10943001   0 ^@   226 M-^V
10943002   0 ^@   360 M-p
10943003   0 ^@   347 M-g
10943004   0 ^@   252 M-*
10943005   0 ^@   215 M-^M
10943006   0 ^@   122 R
10943007   0 ^@   102 B
10943008   0 ^@   117 O
10943009   0 ^@    53 +
10943010   0 ^@   250 M-(
10943011   0 ^@   103 C
10943012   0 ^@   374 M-|
10943013   0 ^@    15 ^M
10943014   0 ^@   356 M-n
10943015   0 ^@    60 0
10943016   0 ^@    74 <
10943017   0 ^@   117 O
10943018   0 ^@    66 6
10943019   0 ^@    77 ?
10943020   0 ^@   164 t
10943021   0 ^@    64 4
10943022   0 ^@    26 ^V
10943023   0 ^@   175 }
10943024   0 ^@   304 M-D
10943025   0 ^@   221 M-^Q
10943026   0 ^@   202 M-^B
10943027   0 ^@   333 M-[
10943028   0 ^@   254 M-,
10943029   0 ^@   316 M-N
10943030   0 ^@    77 ?
10943031   0 ^@   373 M-{
10943032   0 ^@    70 8
10943033   0 ^@   341 M-a
10943034   0 ^@   143 c
10943035   0 ^@   107 G
10943036   0 ^@   143 c
10943037   0 ^@   115 M
10943038   0 ^@   363 M-s
10943039   0 ^@   327 M-W
10943040   0 ^@   355 M-m
10943073   0 ^@   205 M-^E
10943074   0 ^@   207 M-^G
10943075   0 ^@   143 c
10943076   0 ^@   107 G
10943077   0 ^@   143 c
10943078   0 ^@   365 M-u
10943079   0 ^@   251 M-)
10943080   0 ^@    24 ^T
10943081   0 ^@     3 ^C
10943082   0 ^@   304 M-D
10943083   0 ^@   337 M-_
10943084   0 ^@   372 M-z
10943085   0 ^@   301 M-A
10943086   0 ^@   271 M-9
10943087   0 ^@   304 M-D
10943088   0 ^@    14 ^L
10943089   0 ^@   235 M-^]
10943090   0 ^@    31 ^Y
10943091   0 ^@   172 z
10943092   0 ^@   203 M-^C
10943093   0 ^@   311 M-I
10943094   0 ^@   332 M-Z
10943095   0 ^@   343 M-c
10943096   0 ^@   302 M-B
10943097   0 ^@   330 M-X
10943098   0 ^@   253 M-+
10943099   0 ^@   164 t
10943100   0 ^@    33 ^[
10943101   0 ^@   116 N
10943102   0 ^@   307 M-G
10943103   0 ^@   160 p
10943104   0 ^@   105 E
10943137   0 ^@   316 M-N
10943138   0 ^@    26 ^V
10943139   0 ^@   161 q
10943140   0 ^@   204 M-^D
10943141   0 ^@   255 M--
10943142   0 ^@   332 M-Z
10943143   0 ^@   277 M-?
10943144   0 ^@   332 M-Z
10943145   0 ^@   366 M-v
10943146   0 ^@    22 ^R
10943147   0 ^@    77 ?
10943148   0 ^@   134 \
10943149   0 ^@   122 R
10943150   0 ^@   132 Z
10943151   0 ^@   134 \
10943152   0 ^@   324 M-T
10943153   0 ^@   141 a
10943154   0 ^@   266 M-6
10943155   0 ^@   320 M-P
10943156   0 ^@    30 ^X
10943157   0 ^@    14 ^L
10943158   0 ^@   134 \
10943159   0 ^@   121 Q
10943160   0 ^@   161 q
10943161   0 ^@   335 M-]
10943162   0 ^@   300 M-@
10943163   0 ^@   146 f
10943164   0 ^@   245 M-%
10943165   0 ^@   176 ~
10943166   0 ^@   203 M-^C
10943167   0 ^@   375 M-}
10943168   0 ^@   100 @
10943169   0 ^@   363 M-s
10943170   0 ^@   325 M-U
10943171   0 ^@   311 M-I
10943172   0 ^@   262 M-2
10943173   0 ^@   216 M-^N
10943174   0 ^@    54 ,
10943175   0 ^@   112 J
10943176   0 ^@   262 M-2
10943177   0 ^@   270 M-8
10943178   0 ^@    65 5
10943179   0 ^@   264 M-4
10943180   0 ^@   101 A
10943181   0 ^@   270 M-8
10943182   0 ^@   365 M-u
10943183   0 ^@   260 M-0
10943184   0 ^@    56 .
10943185   0 ^@   245 M-%
10943186   0 ^@   170 x
10943187   0 ^@   303 M-C
10943188   0 ^@    51 )
10943189   0 ^@    10 ^H
10943190   0 ^@   354 M-l
10943191   0 ^@   126 V
10943192   0 ^@   347 M-g
10943193   0 ^@   243 M-#
10943194   0 ^@    32 ^Z
10943195   0 ^@   217 M-^O
10943196   0 ^@   113 K
10943197   0 ^@   255 M--
10943198   0 ^@   354 M-l
10943199   0 ^@   360 M-p
10943200   0 ^@   245 M-%
10943361   0 ^@   364 M-t
10943362   0 ^@   264 M-4
10943363   0 ^@   173 {
10943364   0 ^@    77 ?
10943365   0 ^@   111 I
10943366   0 ^@    46 &
10943367   0 ^@   167 w
10943368   0 ^@   166 v
10943369   0 ^@   361 M-q
10943370   0 ^@   111 I
10943371   0 ^@   132 Z
10943372   0 ^@    65 5
10943373   0 ^@   321 M-Q
10943374   0 ^@   225 M-^U
10943375   0 ^@    41 !
10943376   0 ^@    63 3
10943377   0 ^@   376 M-~
10943378   0 ^@   243 M-#
10943379   0 ^@   275 M-=
10943380   0 ^@   244 M-$
10943381   0 ^@   122 R
10943382   0 ^@    16 ^N
10943383   0 ^@   363 M-s
10943384   0 ^@   276 M->
10943385   0 ^@    41 !
10943386   0 ^@   337 M-_
10943387   0 ^@    66 6
10943388   0 ^@   251 M-)
10943389   0 ^@   252 M-*
10943390   0 ^@   313 M-K
10943391   0 ^@    22 ^R
10943392   0 ^@   263 M-3
10943777   0 ^@    41 !
10943778   0 ^@    74 <
10943779   0 ^@   100 @
10943781   0 ^@   322 M-R
10943782   0 ^@   243 M-#
10943783   0 ^@     1 ^A
10943784   0 ^@   270 M-8
10943785   0 ^@   250 M-(
10943786   0 ^@   315 M-M
10943787   0 ^@   314 M-L
10943788   0 ^@    15 ^M
10943789   0 ^@    77 ?
10943790   0 ^@    65 5
10943791   0 ^@    42 "
10943792   0 ^@   155 m
10943793   0 ^@   355 M-m
10943794   0 ^@    46 &
10943795   0 ^@    63 3
10943796   0 ^@   100 @
10943797   0 ^@   212 M-^J
10943798   0 ^@   355 M-m
10943799   0 ^@     3 ^C
10943800   0 ^@   334 M-\
10943801   0 ^@   346 M-f
10943802   0 ^@   322 M-R
10943803   0 ^@   257 M-/
10943804   0 ^@   157 o
10943805   0 ^@   177 ^?
10943806   0 ^@   220 M-^P
10943807   0 ^@   311 M-I
10943808   0 ^@    45 %
10943809   0 ^@   165 u
10943810   0 ^@    21 ^Q
10943811   0 ^@   150 h
10943812   0 ^@    31 ^Y
10943813   0 ^@    67 7
10943814   0 ^@    24 ^T
10943815   0 ^@   330 M-X
10943816   0 ^@    20 ^P
10943817   0 ^@    23 ^S
10943818   0 ^@   174 |
10943819   0 ^@   374 M-|
10943820   0 ^@   135 ]
10943821   0 ^@   104 D
10943822   0 ^@    25 ^U
10943823   0 ^@   223 M-^S
10943824   0 ^@    74 <
10943825   0 ^@    52 *
10943826   0 ^@   304 M-D
10943827   0 ^@    67 7
10943828   0 ^@   257 M-/
10943829   0 ^@   120 P
10943830   0 ^@   133 [
10943831   0 ^@    52 *
10943832   0 ^@    50 (
10943833   0 ^@   114 L
10943834   0 ^@   323 M-S
10943835   0 ^@   237 M-^_
10943836   0 ^@   264 M-4
10943837   0 ^@   342 M-b
10943838   0 ^@    14 ^L
10943839   0 ^@   363 M-s
10943840   0 ^@   320 M-P
10944001   0 ^@   304 M-D
10944002   0 ^@   216 M-^N
10944003   0 ^@   220 M-^P
10944004   0 ^@    50 (
10944005   0 ^@   365 M-u
10944006   0 ^@   367 M-w
10944007   0 ^@   326 M-V
10944008   0 ^@   352 M-j
10944009   0 ^@   272 M-:
10944010   0 ^@    50 (
10944011   0 ^@   255 M--
10944012   0 ^@   333 M-[
10944013   0 ^@   177 ^?
10944014   0 ^@    67 7
10944015   0 ^@   164 t
10944016   0 ^@     3 ^C
10944017   0 ^@    50 (
10944018   0 ^@    32 ^Z
10944019   0 ^@   236 M-^^
10944020   0 ^@   347 M-g
10944021   0 ^@   360 M-p
10944022   0 ^@   257 M-/
10944023   0 ^@   270 M-8
10944024   0 ^@    73 ;
10944025   0 ^@   240 M- 
10944026   0 ^@   125 U
10944027   0 ^@   265 M-5
10944028   0 ^@    26 ^V
10944029   0 ^@   204 M-^D
10944030   0 ^@   371 M-y
10944031   0 ^@   330 M-X
10944032   0 ^@   271 M-9
10944129   0 ^@     5 ^E
10944130   0 ^@    31 ^Y
10944131   0 ^@   136 ^
10944132   0 ^@   226 M-^V
10944133   0 ^@   125 U
10944134   0 ^@   325 M-U
10944135   0 ^@   302 M-B
10944136   0 ^@   167 w
10944137   0 ^@   256 M-.
10944138   0 ^@     5 ^E
10944139   0 ^@    45 %
10944140   0 ^@   310 M-H
10944141   0 ^@    34 ^\
10944142   0 ^@   366 M-v
10944143   0 ^@   135 ]
10944144   0 ^@    75 =
10944145   0 ^@   273 M-;
10944146   0 ^@    52 *
10944147   0 ^@   323 M-S
10944148   0 ^@     2 ^B
10944149   0 ^@   246 M-&
10944150   0 ^@    20 ^P
10944151   0 ^@    64 4
10944152   0 ^@   353 M-k
10944153   0 ^@   356 M-n
10944154   0 ^@    25 ^U
10944155   0 ^@   170 x
10944156   0 ^@     1 ^A
10944157   0 ^@   325 M-U
10944158   0 ^@    30 ^X
10944159   0 ^@   265 M-5
10944160   0 ^@   156 n
10944161   0 ^@    37 ^_
10944162   0 ^@   117 O
10944163   0 ^@   111 I
10944164   0 ^@     1 ^A
10944165   0 ^@   245 M-%
10944166   0 ^@    67 7
10944167   0 ^@   151 i
10944168   0 ^@    33 ^[
10944169   0 ^@   305 M-E
10944170   0 ^@   273 M-;
10944171   0 ^@    21 ^Q
10944172   0 ^@   377 M-^?
10944173   0 ^@   360 M-p
10944174   0 ^@   171 y
10944175   0 ^@    16 ^N
10944176   0 ^@   364 M-t
10944177   0 ^@   311 M-I
10944178   0 ^@   362 M-r
10944179   0 ^@   146 f
10944180   0 ^@   361 M-q
10944181   0 ^@   163 s
10944182   0 ^@   146 f
10944183   0 ^@   324 M-T
10944184   0 ^@   100 @
10944185   0 ^@   214 M-^L
10944186   0 ^@   333 M-[
10944187   0 ^@   243 M-#
10944188   0 ^@    55 -
10944189   0 ^@   115 M
10944190   0 ^@    47 '
10944191   0 ^@    51 )
10944192   0 ^@   165 u

[-- Attachment #3: cmp2 --]
[-- Type: application/octet-stream, Size: 4050 bytes --]

39198337   0 ^@   355 M-m
39198338   0 ^@   316 M-N
39198339   0 ^@   202 M-^B
39198340   0 ^@   144 d
39198341   0 ^@     6 ^F
39198342   0 ^@   344 M-d
39198343   0 ^@     6 ^F
39198344   0 ^@   352 M-j
39198345   0 ^@   163 s
39198346   0 ^@   355 M-m
39198347   0 ^@   172 z
39198348   0 ^@   134 \
39198349   0 ^@   267 M-7
39198350   0 ^@   134 \
39198351   0 ^@   221 M-^Q
39198352   0 ^@   130 X
39198353   0 ^@   212 M-^J
39198354   0 ^@   102 B
39198355   0 ^@    55 -
39198356   0 ^@   367 M-w
39198357   0 ^@    33 ^[
39198358   0 ^@   236 M-^^
39198359   0 ^@    47 '
39198360   0 ^@   326 M-V
39198361   0 ^@   326 M-V
39198362   0 ^@   171 y
39198363   0 ^@   142 b
39198364   0 ^@    66 6
39198365   0 ^@   155 m
39198366   0 ^@     5 ^E
39198367   0 ^@   245 M-%
39198368   0 ^@    57 /
39198433   0 ^@   121 Q
39198434   0 ^@    26 ^V
39198435   0 ^@   346 M-f
39198436   0 ^@    66 6
39198437   0 ^@   331 M-Y
39198438   0 ^@   331 M-Y
39198439   0 ^@   127 W
39198440   0 ^@   267 M-7
39198441   0 ^@   137 _
39198442   0 ^@   313 M-K
39198443   0 ^@   344 M-d
39198444   0 ^@   177 ^?
39198445   0 ^@    10 ^H
39198446   0 ^@   343 M-c
39198447   0 ^@   242 M-"
39198448   0 ^@    51 )
39198449   0 ^@   101 A
39198450   0 ^@   214 M-^L
39198451   0 ^@    14 ^L
39198452   0 ^@   236 M-^^
39198453   0 ^@   333 M-[
39198454   0 ^@   377 M-^?
39198455   0 ^@    37 ^_
39198456   0 ^@    14 ^L
39198457   0 ^@   175 }
39198458   0 ^@   132 Z
39198459   0 ^@   126 V
39198460   0 ^@   300 M-@
39198461   0 ^@   261 M-1
39198462   0 ^@   353 M-k
39198463   0 ^@   225 M-^U
39198464   0 ^@   265 M-5
39198593   0 ^@   335 M-]
39198594   0 ^@   172 z
39198595   0 ^@   102 B
39198596   0 ^@   205 M-^E
39198597   0 ^@   343 M-c
39198598   0 ^@    61 1
39198599   0 ^@    36 ^^
39198600   0 ^@   362 M-r
39198601   0 ^@   250 M-(
39198602   0 ^@    13 ^K
39198603   0 ^@   150 h
39198604   0 ^@   326 M-V
39198605   0 ^@   330 M-X
39198606   0 ^@   363 M-s
39198607   0 ^@   246 M-&
39198608   0 ^@    76 >
39198609   0 ^@    73 ;
39198610   0 ^@    72 :
39198611   0 ^@   311 M-I
39198612   0 ^@    52 *
39198613   0 ^@   372 M-z
39198614   0 ^@   367 M-w
39198615   0 ^@   121 Q
39198616   0 ^@   200 M-^@
39198617   0 ^@   346 M-f
39198618   0 ^@   100 @
39198619   0 ^@     2 ^B
39198620   0 ^@   305 M-E
39198621   0 ^@   371 M-y
39198622   0 ^@     4 ^D
39198623   0 ^@   331 M-Y
39198624   0 ^@   155 m
39198625   0 ^@   241 M-!
39198626   0 ^@   211 M-^I
39198627   0 ^@   373 M-{
39198628   0 ^@   317 M-O
39198629   0 ^@   161 q
39198630   0 ^@   341 M-a
39198631   0 ^@    71 9
39198632   0 ^@   277 M-?
39198633   0 ^@   274 M-<
39198634   0 ^@   156 n
39198635   0 ^@   240 M- 
39198636   0 ^@   267 M-7
39198637   0 ^@   117 O
39198638   0 ^@   277 M-?
39198639   0 ^@   356 M-n
39198640   0 ^@   114 L
39198641   0 ^@   214 M-^L
39198642   0 ^@   331 M-Y
39198643   0 ^@   377 M-^?
39198644   0 ^@   200 M-^@
39198645   0 ^@   341 M-a
39198646   0 ^@   103 C
39198647   0 ^@   253 M-+
39198648   0 ^@   373 M-{
39198649   0 ^@   311 M-I
39198650   0 ^@    12 ^J
39198651   0 ^@   175 }
39198652   0 ^@   240 M- 
39198653   0 ^@   320 M-P
39198654   0 ^@   371 M-y
39198655   0 ^@   271 M-9
39198656   0 ^@   272 M-:
39198689   0 ^@   367 M-w
39198690   0 ^@   114 L
39198691   0 ^@   260 M-0
39198692   0 ^@   166 v
39198693   0 ^@   343 M-c
39198694   0 ^@    61 1
39198695   0 ^@   373 M-{
39198696   0 ^@   330 M-X
39198697   0 ^@   174 |
39198698   0 ^@   267 M-7
39198699   0 ^@   241 M-!
39198700   0 ^@    40  
39198701   0 ^@   155 m
39198702   0 ^@    25 ^U
39198703   0 ^@   217 M-^O
39198704   0 ^@   327 M-W
39198705   0 ^@    11 ^I
39198706   0 ^@   152 j
39198707   0 ^@   255 M--
39198708   0 ^@   233 M-^[
39198709   0 ^@   114 L
39198710   0 ^@    11 ^I
39198711   0 ^@   117 O
39198712   0 ^@   355 M-m
39198713   0 ^@   364 M-t
39198714   0 ^@    41 !
39198715   0 ^@   242 M-"
39198716   0 ^@    62 2
39198717   0 ^@   107 G
39198718   0 ^@   346 M-f
39198719   0 ^@   136 ^
39198720   0 ^@   260 M-0

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-15 10:48       ` Salatiel Filho
@ 2009-09-15 11:53         ` Arno Wagner
  2009-09-18 13:40           ` Salatiel Filho
  0 siblings, 1 reply; 8+ messages in thread
From: Arno Wagner @ 2009-09-15 11:53 UTC (permalink / raw)
  To: dm-crypt

On Tue, Sep 15, 2009 at 07:48:55AM -0300, Salatiel Filho wrote:
> On Mon, Sep 14, 2009 at 18:10, Arno Wagner <arno@wagner.name> wrote:
> > On Mon, Sep 14, 2009 at 06:25:10AM -0300, Salatiel Filho wrote:
> >> On Mon, Sep 14, 2009 at 00:35, Arno Wagner <arno@wagner.name> wrote:
> >> > On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
> >> >> Where should i report that i get lots of corruption when using
> >> >> cryptsetup on arm architecture ?
> >> >>
> >> >> - Can not use crypted swap , cause page allocator will fail and my
> >> >> programs will start to seg fault.
> >> >> - Some files just get corrupted on copying...
> >> >>
> >> >> Anyone can help me ?debug it , so i can report ?developers and they
> >> >> can fix this.
> >> >
> >> > If it generally works, but sometimes corrupts, then this
> >> > very likely has nothing to to with dm-crypt. In fact it
> >> > sounds like you have defective hardware, but more detail
> >> > is needed for even a rough guess.
> >> >
> >> I do not think ?it is a hardware problem since the disk is ?fine and
> >> it works fine in other architectures with no corruption at all. And
> >> the page allocator failure always happens when using crypted swap but
> >> there is no problem when using uncrypted swap.
> >
> > Determine the exact nature of the corruption. It is really
> > a waste of time to speculate before you have that. Best
> > option is a binary compare of a corrupted file with the
> > uncorrupted version. Use something like
> >
> > cmp -b -l <file1> <file2>
> I tried two corrupted files ...
> Attached the cmp -b -l 'corrupted' 'ok' :
> 
> -rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file1.ori
> -rw-r--r-- 1 root root 50000000 2009-09-15 06:21 file1.corrupted
> 
> -rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file2.ori
> -rw-r--r-- 1 root root 50000000 2009-09-15 06:22 file2.corrupted

Ok, at a guess (assuming quite a bit of zeros in the non-corrupted
files), this looks like full sectors are written with zeros instead 
of the data they should hold.  This leaves out simple memory or
other hardware corruption. I would be inclined to assume this
is a software problem now.

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dm-crypt] Data Corruption using cryptsetup luks on ARM arch
  2009-09-15 11:53         ` Arno Wagner
@ 2009-09-18 13:40           ` Salatiel Filho
  0 siblings, 0 replies; 8+ messages in thread
From: Salatiel Filho @ 2009-09-18 13:40 UTC (permalink / raw)
  To: dm-crypt

On Tue, Sep 15, 2009 at 08:53, Arno Wagner <arno@wagner.name> wrote:
> On Tue, Sep 15, 2009 at 07:48:55AM -0300, Salatiel Filho wrote:
>> On Mon, Sep 14, 2009 at 18:10, Arno Wagner <arno@wagner.name> wrote:
>> > On Mon, Sep 14, 2009 at 06:25:10AM -0300, Salatiel Filho wrote:
>> >> On Mon, Sep 14, 2009 at 00:35, Arno Wagner <arno@wagner.name> wrote:
>> >> > On Sun, Sep 13, 2009 at 07:19:00PM -0300, Salatiel Filho wrote:
>> >> >> Where should i report that i get lots of corruption when using
>> >> >> cryptsetup on arm architecture ?
>> >> >>
>> >> >> - Can not use crypted swap , cause page allocator will fail and my
>> >> >> programs will start to seg fault.
>> >> >> - Some files just get corrupted on copying...
>> >> >>
>> >> >> Anyone can help me ?debug it , so i can report ?developers and they
>> >> >> can fix this.
>> >> >
>> >> > If it generally works, but sometimes corrupts, then this
>> >> > very likely has nothing to to with dm-crypt. In fact it
>> >> > sounds like you have defective hardware, but more detail
>> >> > is needed for even a rough guess.
>> >> >
>> >> I do not think ?it is a hardware problem since the disk is ?fine and
>> >> it works fine in other architectures with no corruption at all. And
>> >> the page allocator failure always happens when using crypted swap but
>> >> there is no problem when using uncrypted swap.
>> >
>> > Determine the exact nature of the corruption. It is really
>> > a waste of time to speculate before you have that. Best
>> > option is a binary compare of a corrupted file with the
>> > uncorrupted version. Use something like
>> >
>> > cmp -b -l <file1> <file2>
>> I tried two corrupted files ...
>> Attached the cmp -b -l 'corrupted' 'ok' :
>>
>> -rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file1.ori
>> -rw-r--r-- 1 root root 50000000 2009-09-15 06:21 file1.corrupted
>>
>> -rw-r--r-- 1 root root 50000000 2009-09-15 07:04 file2.ori
>> -rw-r--r-- 1 root root 50000000 2009-09-15 06:22 file2.corrupted
>
> Ok, at a guess (assuming quite a bit of zeros in the non-corrupted
> files), this looks like full sectors are written with zeros instead
> of the data they should hold.  This leaves out simple memory or
> other hardware corruption. I would be inclined to assume this
> is a software problem now.
which software ? cp ?
>
> Arno
> --
> Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
> GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
> ----
> Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
>
> If it's in the news, don't worry about it.  The very definition of
> "news" is "something that hardly ever happens." -- Bruce Schneier
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>



-- 
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-18 13:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-13 22:19 [dm-crypt] Data Corruption using cryptsetup luks on ARM arch Salatiel Filho
2009-09-14  3:35 ` Arno Wagner
2009-09-14  9:25   ` Salatiel Filho
2009-09-14  9:59     ` Milan Broz
2009-09-14 21:10     ` Arno Wagner
2009-09-15 10:48       ` Salatiel Filho
2009-09-15 11:53         ` Arno Wagner
2009-09-18 13:40           ` Salatiel Filho

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.