Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAepdCZ9yVvO0tAGTAKy-RSCPpV4vBpWFYfTf-xBv3Mujp34ug@mail.gmail.com>
Date: Thu, 16 May 2013 15:57:10 +0100
From: Rafael Waldo Delgado Doblas <lord.rafa@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: OpenCL

Hello,

Both libraries are in /opt/adapteva/esdk/tools/host/armv7l/lib/ but I
already add this path to the LD_LIBRARY_PATH

echo $LD_LIBRARY_PATH
/opt/adapteva/esdk/tools/host/armv7l/lib/:/usr/local/browndeer/lib:/usr/local/lib:

What I should do now, try to make bcrypt run without opencl or downgrade
the browndeer sdk?.



2013/5/16 Stephen de Mora <stephen@...ora.co.uk>

> Hi Rafael,
>
> I hope you don't mind I took a look around your home directory to
> reproduce the error.
>
> I'm not actually getting the Segmentation fault that you encountered
> however I do get the other two errors (like you said even while running
> under sudo).
>
> Reading on the forums it appears they have changed a lot between SDK
> releases - I'm also finding this information a little hard to diagnose and
> what's in the example code and written in the SDK documentation might not
> be correct for the version of the SDK installed on the prototype board.
>
> Here is a post suggesting that reverting to an older SDK could solve the
> OpenCL issues:
> http://forums.parallella.org/viewtopic.php?f=18&t=248#p1450
>
> Running an ldd on the library gives the following output:
>
> ldd /usr/local/browndeer/lib/libcoprthr-e.so
>     libelf.so.0 => /usr/lib/libelf.so.0 (0xb6e98000)
>     libe-loader.so.1 => not found
>     libe-host.so.1 => not found
>     libpthread.so.0 => /lib/arm-linux-gnueabi/libpthread.so.0 (0xb6e83000)
>     libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0xb6e78000)
>     libe_platform.so => /usr/local/browndeer/lib/libe_platform.so
> (0xb6e6e000)
>     libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0xb6d8c000)
>     /lib/ld-linux.so.3 (0xb6ef8000)
>
> Hence looks like some missing dependencies - However I believe I've seen
> those two not found libraries while traversing directories - so could
> simply be a missing path.
>
> I think looking at your issue is kind of making my issue I was having with
> the SDK make a little bit more sense.
>
> Stephen
>
>   Rafael Waldo Delgado Doblas <lord.rafa@...il.com>
>  16 May 2013 00:22
> Hello,
>
> I'm Rafael, the student from GSoC, today I added a arm32-opencl option to
> the make file. In order to be able to compile it, I had to remove
> "opencl_pwsafe_fmt" because if not it returns this linker error:
>
> opencl_pwsafe_fmt.o: In function `get_salt':
> opencl_pwsafe_fmt.c:(.text+0x432): undefined reference to `alter_endianity'
>
>
> Now I have an executable of JtR but when I try to execute (as super user)
> with the --test parameter, it returns the next error:
>
> root@...allella-16:~/john-1.7.9-jumbo-7/src# ../run/john --test
> [25320] clmesg CRITICAL: libocl.c(849): Linux mmap does not support
> MAP_NOSYNC, demand a work-around
> _libocl_clproc_state 0xb6fcc000
> [25320] clmesg WARNING: libocl.c(149): cannot read ocl.conf, using ICD
> fallback (/etc/OpenCL/vendors
> Segmentation fault
>
> It looks kind of similar to other error that I got in this example
> http://forums.parallella.org/viewtopic.php?f=18&t=42
>
> ./out
> [24603] clmesg CRITICAL: libocl.c(849): Linux mmap does not support
> MAP_NOSYNC, demand a work-around
> _libocl_clproc_state 0xb6f6b000
> [24603] clmesg WARNING: libocl.c(149): cannot read ocl.conf, using ICD
> fallback (/etc/OpenCL/vendors
> coprthr-1.5.0-RC1 (Marathon)
> [24603] clmesg info: cmdsched.c(88): cmdqx0: run
> [24603] clmesg info: cmdsched.c(88): cmdqx0: run
>
> Plotting from (-2.206667, -1.280000) to (1.206667, 1.280000)
> [24603] clmesg WARNING: ../coprthr-common/ocl_program.c(215):
> clBuildProgram: warning: unsupported
> [24603] clmesg WARNING: ../coprthr-common/ocl_program.c(275):
> clBuildProgram failed with err -11
> Segmentation fault
>
> I'm awaiting for help in the forum, I suppose that this is a problem with
> the opencl sdk (libocl) and hopefully the same fix that solve the problem
> with the example would sove the problem with JtR.
>
> What I must to do now?.
>
> Best regards,
> Rafa.
>
>

Content of type "text/html" skipped

Download attachment "compose-unknown-contact.jpg" of type "image/jpeg" (770 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.