Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 28 Feb 2012 19:48:00 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Re: OpenCL errors

Hi, below (and attached) more information.

The error only happens while testing with ./john --test or ./john --test=0.

It works fine if i test only one format.
- ./john -test -fo:raw-sha1-opencl or ./john -test=0 -fo:raw-sha1-opencl

JtR-TestSuite fails too, but i'm not sure what king of test was done by 
jtrts

Kernel: Linux ceudutra-HP-G42-Notebook-PC 3.0.0-16-generic #28-Ubuntu 
SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
GCC: gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
Compile: make clean linux-x86-64-opencl
OpenCL: see clinfo.txt

Sources: i get the sources today and nothing was changed. Attached the 
md5 for *.c e *.cl files.
Catalyst: 11.11, driver: 8.911, more detais on the image.

Claudio


Em 28-02-2012 16:39, Samuele Giovanni Tonon escreveu:
> hello claudio,
> i don't think the problem is related to the poor
> or not GPU, but that's something troubling because i
> can't reproduce your bug.
>
> could you tell me which version of john you are using
> and could you do a md5sum of all the .c and cl kernel
> of the jtr you are using ?
>
> does the problem come out from time to time or it always
> happens?
> does it happens if you go with
> ./john -test -fo:raw-sha1-opencl
> or
> ./john -test=0 -fo:raw-sha1-opencl
> and if you try to crack some hashes instead of using
> -test ?
>
> - unfortunately sem_wait bug is not only related to amd+nvidia,
> as many reported but there's something more which i can't find,
> also distro are starting to put opencl as package and that is where most
> have problem at the moment, that is why i think 2.6 at the moment is to
> be avoided or used with precautions
>
> - i'm aware amd 2.6 is now AMDAPPSDKROOT, i'm keeping
> atistreamsdkroot because many have not yet upgraded to 2.6.
> i'm planning on adding some check on the makefile about that
> but also i'm delaying it due to the point above.
>
>
> Many thanks for your test
> Samuele
>


Number of platforms:				 1
  Platform Profile:				 FULL_PROFILE
  Platform Version:				 OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
  Platform Name:				 AMD Accelerated Parallel Processing
  Platform Vendor:				 Advanced Micro Devices, Inc.
  Platform Extensions:				 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


  Platform Name:				 AMD Accelerated Parallel Processing
Number of devices:				 2
  Device Type:					 CL_DEVICE_TYPE_GPU
  Device ID:					 4098
  Board name:					 AMD Radeon HD 6300M Series
  Device Topology:				 PCI[ B#1, D#5, F#0 ]
  Max compute units:				 2
  Max work items dimensions:			 3
    Max work items[0]:				 128
    Max work items[1]:				 128
    Max work items[2]:				 128
  Max work group size:				 128
  Preferred vector width char:			 16
  Preferred vector width short:			 8
  Preferred vector width int:			 4
  Preferred vector width long:			 2
  Preferred vector width float:			 4
  Preferred vector width double:		 0
  Native vector width char:			 16
  Native vector width short:			 8
  Native vector width int:			 4
  Native vector width long:			 2
  Native vector width float:			 4
  Native vector width double:			 0
  Max clock frequency:				 500Mhz
  Address bits:					 32
  Max memory allocation:			 134217728
  Image support:				 Yes
  Max number of images read arguments:		 128
  Max number of images write arguments:		 8
  Max image 2D width:				 8192
  Max image 2D height:				 8192
  Max image 3D width:				 2048
  Max image 3D height:				 2048
  Max image 3D depth:				 2048
  Max samplers within kernel:			 16
  Max size of kernel argument:			 1024
  Alignment (bits) of base address:		 32768
  Minimum alignment (bytes) for any datatype:	 128
  Single precision floating point capability
    Denorms:					 No
    Quiet NaNs:					 Yes
    Round to nearest even:			 Yes
    Round to zero:				 Yes
    Round to +ve and infinity:			 Yes
    IEEE754-2008 fused multiply-add:		 Yes
  Cache type:					 None
  Cache line size:				 0
  Cache size:					 0
  Global memory size:				 268435456
  Constant buffer size:				 65536
  Max number of constant args:			 8
  Local memory type:				 Scratchpad
  Local memory size:				 32768
  Kernel Preferred work group size multiple:	 32
  Error correction support:			 0
  Unified memory for Host and Device:		 0
  Profiling timer resolution:			 1
  Device endianess:				 Little
  Available:					 Yes
  Compiler available:				 Yes
  Execution capabilities:				 
    Execute OpenCL kernels:			 Yes
    Execute native function:			 No
  Queue properties:				 
    Out-of-Order:				 No
    Profiling :					 Yes
  Platform ID:					 0x7f3ed718b2a0
  Name:						 Cedar
  Vendor:					 Advanced Micro Devices, Inc.
  Device OpenCL C version:			 OpenCL C 1.1 
  Driver version:				 CAL 1.4.1607
  Profile:					 FULL_PROFILE
  Version:					 OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
  Extensions:					 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt 


  Device Type:					 CL_DEVICE_TYPE_CPU
  Device ID:					 4098
  Board name:					 
  Max compute units:				 2
  Max work items dimensions:			 3
    Max work items[0]:				 1024
    Max work items[1]:				 1024
    Max work items[2]:				 1024
  Max work group size:				 1024
  Preferred vector width char:			 16
  Preferred vector width short:			 8
  Preferred vector width int:			 4
  Preferred vector width long:			 2
  Preferred vector width float:			 4
  Preferred vector width double:		 0
  Native vector width char:			 16
  Native vector width short:			 8
  Native vector width int:			 4
  Native vector width long:			 2
  Native vector width float:			 4
  Native vector width double:			 0
  Max clock frequency:				 2500Mhz
  Address bits:					 64
  Max memory allocation:			 2147483648
  Image support:				 Yes
  Max number of images read arguments:		 128
  Max number of images write arguments:		 8
  Max image 2D width:				 8192
  Max image 2D height:				 8192
  Max image 3D width:				 2048
  Max image 3D height:				 2048
  Max image 3D depth:				 2048
  Max samplers within kernel:			 16
  Max size of kernel argument:			 4096
  Alignment (bits) of base address:		 1024
  Minimum alignment (bytes) for any datatype:	 128
  Single precision floating point capability
    Denorms:					 Yes
    Quiet NaNs:					 Yes
    Round to nearest even:			 Yes
    Round to zero:				 Yes
    Round to +ve and infinity:			 Yes
    IEEE754-2008 fused multiply-add:		 No
  Cache type:					 Read/Write
  Cache line size:				 64
  Cache size:					 65536
  Global memory size:				 3885453312
  Constant buffer size:				 65536
  Max number of constant args:			 8
  Local memory type:				 Global
  Local memory size:				 32768
  Kernel Preferred work group size multiple:	 1
  Error correction support:			 0
  Unified memory for Host and Device:		 1
  Profiling timer resolution:			 1
  Device endianess:				 Little
  Available:					 Yes
  Compiler available:				 Yes
  Execution capabilities:				 
    Execute OpenCL kernels:			 Yes
    Execute native function:			 Yes
  Queue properties:				 
    Out-of-Order:				 No
    Profiling :					 Yes
  Platform ID:					 0x7f3ed718b2a0
  Name:						 AMD Turion(tm) II P560 Dual-Core Processor
  Vendor:					 AuthenticAMD
  Device OpenCL C version:			 OpenCL C 1.1 
  Driver version:				 2.0
  Profile:					 FULL_PROFILE
  Version:					 OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
  Extensions:					 cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt 



87b01f4913469a9eb546f4b4b6c3b0e7  AFS_fmt.c
fbf0a250c39edc1b32f80620fe3a1432  base64.c
164c58ca5e5a93b5bf563093ac56e6d1  batch.c
fc1e4b31fac0071cf8348601a756710d  bench.c
f6638c97fff72215b3460bd3cd9b613f  best.c
9027225f352f7716754699f94a8ad703  BFEgg_fmt_plug.c
1e04411fa1ac623a74e750108ee608b9  BF_fmt.c
e5059496065df19a78fef3a3b9469be4  BF_std.c
1776a82ae17c84bf05fc12916f871c7d  blowfish.c
a2b2bc7a8b7ab5dc95310a4881f2fc4e  BSDI_fmt.c
237d7c51cc4eab604b60292c948d4f49  c3_fmt.c
50fc8377657d6b3e8fcaf2edb12df4ca  calc_stat.c
b4ee401c4583b48583874eaa72c8c155  charset.c
4c5053765b0957ee6d030793b2214553  common.c
a40ae4031754c3df05f121706a652a1a  common-opencl.c
f268d60dc449974acfc4149401c9ed2f  compiler.c
5196c311f9ca15c26665f1eec8382fad  config.c
459ff08ac95e5e1c80613a5c11126898  cracker.c
d8e8c64f0575503010d9335ffdf12e58  crc32.c
3fc389ae1eec49d6590af5ace942dee5  crc32_fmt_plug.c
d67eb2518c498f352e512a64714b9bd5  cryptmd5_opencl_fmt.c
20cd93d535f7f90c88bf29c77ec7d2dd  cryptsha256_fmt.c
517b169b708aa821c28812dc12c74a07  cryptsha512_fmt.c
061c20bec2c611a0df27bd7816af95ae  cuda_cryptmd5_fmt.c
459e2e7d44db45e1bd99ebaf1eb436ad  cuda_cryptsha256_fmt.c
6d2f01af1084cb97e2aab92408b047bf  cuda_cryptsha512_fmt.c
795d16bb5d37d4142bcb4782b0693e1f  cuda_mscash2_fmt.c
6e5673e6cf15fcfbd24b8f28f155dfa6  cuda_mscash_fmt.c
2a33ff74bcedf851fd723cb675ee4381  cuda_phpass_fmt.c
21b3631cb15dfdd36b1fb35c7e3130f1  cuda_rawsha256_fmt.c
f8f836b7697feb84943315461e9ac2e8  DES_bs_b.c
95afa00cf22d57559f33c8de3f8e003e  DES_bs.c
cd813211db5f85bfd635478cc3409677  DES_fmt.c
0d05f10adb6515403d994e9e4caaf04b  DES_std.c
c5a2e1b986d577290a1fbf829117df25  detect.c
dd81fe6ebf679f53d1080c10452a05d3  DMD5_fmt_plug.c
3155174abc17d5906fd02b28ccffaeb3  DOMINOSEC_fmt_plug.c
8d35394b7f8d083d80c5b0f7bdeeb291  dragonfly3_fmt.c
6adbd4077ed14dfe1eaef1d1046c24ad  dragonfly4_fmt.c
1f2ba524d0ab020084f81f92fa5ec716  drupal7_fmt.c
4bea1c196bdc88ef306e55e036c2b948  dummy.c
201f67c261ecd5e016ec5da461eb3c60  dynamic_fmt.c
2ec3764671db53ef3aacede2229c2a12  dynamic_parser.c
dbdcdb304e6e3c13fbac0a557c19ab96  dynamic_preloads.c
707bb9f95dcf16050371cd0eea3a3c01  dynamic_utils.c
25641e82c3df0e60f2ab27c1d15ac3e0  EPI_fmt_plug.c
9391e3b6797b6ec4cd17cab6ef4d0a85  external.c
fc7b0c2abdf1dd98f4550d62abfae0a4  formats.c
bfae6afb218220d4864207fb2cac39e5  genmkvpwd.c
cdb1dbcedc991a8cc3b4b31b416a43e1  getopt.c
639dc1ab168b66a2ea12777f124d682f  gladman_hmac.c
3d8b858eca24bfba5792c9de10d352cf  gladman_pwd2key.c
cf94b88c757dceea198616258d5ffebc  HDAA_fmt_plug.c
430de9782226a2ceceb13a7ddadb6790  hmacmd5.c
38ecc627c2eb9d307f8bc4193a2fb30e  hmacMD5_fmt_plug.c
423403e0373b8f6cec52740135559f3c  hmacSHA1_fmt_plug.c
573a21e6942ceb7794193dd5079c33f7  hmacSHA224_fmt.c
a4c080c2cefe9b04f5dae3b2763fe13d  hmacSHA256_fmt.c
9d500fb7d5c46623f6b2887b2cb9b502  hmacSHA384_fmt.c
8ebc93d4fd82b3144b6d006dfa6ce158  hmacSHA512_fmt.c
24394bcb7713061db38e0a539601757f  hmailserver_fmt.c
072ce6dacd0246af5d23b98a655a889e  idle.c
0b68b9e7284a10dc0d7a7a17254f79e3  inc.c
afef64b3839f70733aeb969b99be9054  IPB2_fmt_plug.c
ea288a6d6ca1453e950cfa5aa4afa8bd  john.c
9efdb7da0860f7fc13dfad2adc2c1bd9  john-mpi.c
9aaf2e2083644504944e0ea8172d259c  KRB4_fmt_plug.c
68e61d7496dd15027673dbbea1fccea5  KRB4_std_plug.c
d0d3e9d19b5bd18b3565ea7f8bf0e58f  KRB5_fmt_plug.c
3aebb343c7f97e7ef8099a595c05b31a  KRB5_std_plug.c
fbf9cb447f0a2dd74965c012801b4472  list.c
d480db669d824da2bad8ec13c74cfd08  LM_fmt.c
30c5bc2ce0a4394a059ec9e130f9d551  loader.c
5d2ba1cf27adb1426fe5fa35fbd79ffe  logger.c
55b6717878c6a5b4cad63c6828638c90  lotus5_fmt_plug.c
dbf907fb74a4c410d9ffe567d915f0aa  math.c
583ee16c92f434bdde93e700d1eb9f18  md4.c
d7b584571b0f06e75f07b97b07f90226  md4_gen_fmt_plug.c
732a5731e35420672fea367be8eb4dd3  md5.c
52f53519c1281470dd12b3df82caca45  md5_eq.c
4e470b5f741ad11f2f4fc4b2c4273420  MD5_fmt.c
2189dac6940aac8c206d9e1586abee2d  md5_go.c
b5502676c9b12d6eb2f418609cd60433  MD5_std.c
3120eabff33aa9b5c604cc402796e590  mediawiki_fmt_plug.c
c049f05dbfbf28a488eaf1b83327b3c4  memory.c
2a0ad1d883b3b7e3ca42fabf8aa4ee9d  misc.c
a2efb6873811e4b00d1a1e26cbd58c09  mkv.c
8170cb3712fab5af893166232cbd4fcc  mkvcalcproba.c
11791a04cc71205cc3c0370122c44546  mkvlib.c
cf0acaf00c4f266dc333e5a22002e2a9  mscash1_fmt_plug.c
bd35244c2d3cb226933c810a8da19025  mscash2_fmt_plug.c
15445eafba0c40b393b01390aa04775e  MSCHAPv2_fmt_plug.c
e1cb99351a278510f23b9185564e4417  mskrb5_fmt_plug.c
a7dc9b388d4e47c732ff0344a4d30b6f  mssql05_fmt_plug.c
c2ce7c604cfea888b342349c6e485569  mssql-old_fmt_plug.c
1a4a06e77b108561ecef162019a891af  MYSQL_fast_fmt_plug.c
783c5db073caf89ee0c1b811898c01ea  MYSQL_fmt_plug.c
946d5877d33a1cdf0f53913a2d27346a  mysqlSHA1_fmt_plug.c
a24793909d96ed8cb8fa0c93b03c37d6  NETLM_fmt_plug.c
5aec6374bd14f20da4422bb5a3995ecb  NETLMv2_fmt_plug.c
c2dfa6b77d4281d0df894adf1acb0f78  NETNTLM_fmt_plug.c
658abe0075282ac7b311732349ab639c  NETNTLMv2_fmt_plug.c
da96e6a4f76e89f81283115446fde1ed  NETSPLITLM_fmt_plug.c
21af264c36f93acafbc3a6b1afb8bc4a  nonstd.c
ca999a01ac1b0a80891bc8b5b67fe0fd  NS_fmt_plug.c
2274870aec5bc95c9f5a7487840610ea  nsldap_fmt_plug.c
41b810634f3f6ec7e7d336ac56795e2d  nt2_fmt_plug.c
b65056a6d2e4b44b8d14b47dac1e04cd  NT_fmt_plug.c
e2d790cc93295bec5ea0785259feff23  opencl_mysqlsha1_fmt.c
9cf07bf6dfcdd44631ad724a64a939de  opencl_nsldaps_fmt.c
9882c87e536e8e3a873bd65ebed18824  opencl_nt_fmt.c
dd1c37361b641ae50dc970586c6e5536  opencl_rawmd5_fmt.c
8ad3587e935b235d703b589a2a7ef304  opencl_rawsha1_fmt.c
58cf8dc0db32b6906432cca4b22b7b84  options.c
bd8b3f77ffa009929d01aea02cd60f7a  oracle11_fmt_plug.c
20fae21addfdd2e34b0ce1e3a09cb5cd  oracle_fmt_plug.c
ac2fcf9f454c264938873bd927957093  para-best.c
60ecac42b01649141a02b9c8360c6fdb  params.c
e47fbbd13826e1a14dee7375ed81789f  path.c
b078a391148626a0f7364bc7a2444eea  pdf2john.c
0048e30fdd4698d40360f528a1808eaf  pdfcrack.c
d632d8eda6caf42806ab62226fc5e469  pdfcrack_common.c
03431215fb6043dc2e2c3c4bd8e09923  pdfcrack_md5.c
470bd7484ee37b50cfc0a8b1cb41dda6  pdfcrack_rc4.c
6810599688200d3e245d466047171c98  pdf_fmt.c
76342c65bd228e1aea548e5d5be14fad  pdfparser.c
07637afa9220ca5f23c6c49fcfe71049  phpassMD5_fmt_plug.c
02d392825009e066c365fb1d7ad22770  phpass_opencl_fmt.c
511a4fde199147475710421da6fbe156  PHPS_fmt_plug.c
91ec361eec5fbb4c7db3b49210a3a750  pixMD5_fmt_plug.c
5cc163fba4d7ef2d7d8f7f2994679a6c  pkzip_fmt_plug.c
320095bed08d326878197edce6078154  plugin.c
7032d499e31e109d44b74e2eef27f0fb  PO_fmt_plug.c
113391f4534d9808eb90e0e7633236c5  rar2john.c
53164992acebf3c790496351bb3413f4  rar_fmt.c
5474c06c1acd13b3022d0ef9af7d7555  rawMD4_fmt_plug.c
7ea8ff8e361abead81ae068ef27877ee  rawMD5_fmt_plug.c
754d3ab61e65702b66661818ce49ade6  rawmd5u_fmt_plug.c
8947d009b6b67ef41cf8ca8aa8592946  rawSHA1_fmt_plug.c
8cbd26997d4260e430c0695eecefd71d  rawSHA224_fmt.c
26cc899e0ed27a8f0e439a1fede8bdc9  rawSHA256_fmt.c
fc3b21b589728355c9ccdbc3b870f831  rawSHA384_fmt.c
525d09944c8bb0ef712e26eb58e1a2f1  rawSHA512_fmt.c
a5da282f878fe1eb1cea3cb7bbba691f  rawSHA_fmt_plug.c
5df78e7cf9e4f48db7f54d20e00d4778  rc4.c
6c5622b664fa2ce68dde476e52ddf0be  recovery.c
81aa32fc0f6b91a41dc447e6ce0e0a19  rpp.c
7a429d4f1c87e5e51e259d202733d9ff  rules.c
00adfd607fc2d72783108ed30605a43b  salted_sha1_fmt_plug.c
6ef3a56992761690a10425db575e1998  sapB_fmt_plug.c
299c00afdd5f8f96660ab585c39b4e2d  sapG_fmt_plug.c
292a3c55d7a7471febaa929f16fe8ad3  sboxes.c
01c4fea8011ef4976b3b90cd53028e2a  sboxes-s.c
da30a5fddffc0baa9454b1726cad5ef4  sha1_gen_fmt_plug.c
2c780da479391bc9a69825d8347e3324  signals.c
b3e3591bb40a171241983273c1d9c818  single.c
49038cedaf91ed387a0e9925140f0618  SKEY_fmt.c
b050b43432dbbb107912f622c0586c2f  sse-intrinsics.c
9d91209802680602632b81e97d66af9f  ssh2john.c
1b4a71720c923f257ea5c10a733bd098  ssh_fmt.c
047b567f86b1638e3171fbfaad0a59db  status.c
4c80a7b400a35b65adc52cae1e669173  SybaseASE_fmt.c
4c405b3a9ad5873e0a4f0a0adabbac3c  symlink.c
a5648106c7cf8c4fe14fa6c143679883  tgtsnarf.c
acf5008e8db69d798c7025702430cf68  timer.c
e7456552310c6669c96ecc032fb14054  trip_fmt.c
5b37e3a338cbd26f9d7b1670c9b80539  tty.c
966c103d355b89c1bcc0eb4fbd262080  unafs.c
9138c80cff9b60b621e362c7630e4edd  undrop.c
287e15eedc7befe22afb96725a915477  unicode.c
6649d4d5d4bb0cf538a46c75da54548e  unique.c
8ebb00bd3edabe3e85d9d1a340729f28  unshadow.c
18c6b55ca12941b6e44016930aef74c2  wordlist.c
161a91c400757023b4da8bc53123c8f1  XSHA512_fmt.c
8a2ca3991cd0256f64b97167f2230613  XSHA_fmt_plug.c
42dcfdae4c99d21c9090baa95c0da9ae  zip2john.c
f8a167eb6b757a56eb0a0a3e7376f691  zip_fmt.c

24cf8f0367004b6d06a54f0f707a56fa  opencl/cryptmd5_opencl_kernel.cl
6e5602d4056a4ed7cc0bf3d2e2455507  opencl/md4_opencl_kernel.cl
2b8e2742a61e361fae29fbcaad5e5589  opencl/md5_opencl_kernel.cl
5041bac20e8175042659810ac1d61144  opencl/msha_opencl_kernel.cl
791e793517b1738075572ec9645501f8  opencl/nt_opencl_kernel.cl
f3a550923861967caef8991f8434b416  opencl/phpass_opencl_kernel.cl
3119a164ff8f6eb8bbab372fb5d957a0  opencl/sha1_opencl_kernel.cl
e98887f6f3bb15c16832edab19d799b8  opencl/ssha_opencl_kernel.cl

[ CONTENT OF TYPE image/jpeg SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ