Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 9 Aug 2013 22:05:31 +0200
From: Katja Malvoni <kmalvoni@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Parallella: bcrypt

Hi Yaniv, Alexander,

On Fri, Aug 9, 2013 at 4:10 PM, Katja Malvoni <kmalvoni@...il.com> wrote:

> Yes, there are two problems. For stalling problem - I'll run it until it
> stalls and try to figure out where exactly does it happen. When I identify
> where it stalls I think I'll know is it because reset fails or it's
> something else. Also, I'll try resetting cores one by one using
> e_reset_core() instead of e_reset_system().
>

For one core main is never reached. These are some non zero registers for 3
cores. Core (3, 3) stalls.

Reading from core (3,3) at offset 0xf0400.
[0x000f0400] = 0x00000000 - CONFIG
[0x000f0404] = 0x00000000 - STATUS
[0x000f0408] = 0x00000000 - PC
[0x000f0420] = 0x00000000 - IRET
[0x000f0424] = 0x00000000 - IMASK

Reading from core (0,0) at offset 0xf0400.
[0x000f0400] = 0x00080000 - CONFIG
[0x000f0404] = 0x00001000 - STATUS
[0x000f0408] = 0x000007e8 - PC
[0x000f0420] = 0x00000858 - IRET
[0x000f0424] = 0x000003ff - IMASK

Reading from core (1,0) at offset 0xf0400.
[0x000f0400] = 0x00080000 - CONFIG
[0x000f0404] = 0x00001000 - STATUS
[0x000f0408] = 0x000007e8 - PC
[0x000f0420] = 0x00000858 - IRET
[0x000f0424] = 0x000003ff - IMASK

Also for all three cores [0x000f0444] = 0x00002600, although I don't know
what is on that address, I wasn't able to find it in architecture
reference. DMA registers have some value for all three cores but values
differ - I never used DMA so I don't know what should I expect.
Yaniv, is it possible that E_SYNC gets lost and core isn't started? How
should I debug this further?

This is loader output, it's same when everything works fine and when stall
happens:
e_set_loader_verbosity(): setting loader verbosity to 1.
e_reset_system(): resetting full ESYS...
e_reset_system(): done.
e_load_group(): loading SREC file parallella_e_bcrypt.srec ...
ee_process_SREC(): loading core (0,0).
ee_process_SREC(): loading core (0,1).
ee_process_SREC(): loading core (0,2).
ee_process_SREC(): loading core (0,3).
ee_process_SREC(): loading core (1,0).
ee_process_SREC(): loading core (1,1).
ee_process_SREC(): loading core (1,2).
ee_process_SREC(): loading core (1,3).
ee_process_SREC(): loading core (2,0).
ee_process_SREC(): loading core (2,1).
ee_process_SREC(): loading core (2,2).
ee_process_SREC(): loading core (2,3).
ee_process_SREC(): loading core (3,0).
ee_process_SREC(): loading core (3,1).
ee_process_SREC(): loading core (3,2).
ee_process_SREC(): loading core (3,3).
e_load_group(): send SYNC signal to core (0,0)...
e_start(): SYNC (0xf042c) to core (0,0)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (0,1)...
e_start(): SYNC (0xf042c) to core (0,1)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (0,2)...
e_start(): SYNC (0xf042c) to core (0,2)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (0,3)...
e_start(): SYNC (0xf042c) to core (0,3)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (1,0)...
e_start(): SYNC (0xf042c) to core (1,0)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (1,1)...
e_start(): SYNC (0xf042c) to core (1,1)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (1,2)...
e_start(): SYNC (0xf042c) to core (1,2)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (1,3)...
e_start(): SYNC (0xf042c) to core (1,3)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (2,0)...
e_start(): SYNC (0xf042c) to core (2,0)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (2,1)...
e_start(): SYNC (0xf042c) to core (2,1)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (2,2)...
e_start(): SYNC (0xf042c) to core (2,2)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (2,3)...
e_start(): SYNC (0xf042c) to core (2,3)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (3,0)...
e_start(): SYNC (0xf042c) to core (3,0)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (3,1)...
e_start(): SYNC (0xf042c) to core (3,1)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (3,2)...
e_start(): SYNC (0xf042c) to core (3,2)...
e_start(): done.
e_load_group(): done.
e_load_group(): send SYNC signal to core (3,3)...
e_start(): SYNC (0xf042c) to core (3,3)...
e_start(): done.
e_load_group(): done.
e_load_group(): done loading.
e_load_group(): closed connection.
e_load_group(): leaving loader.

Katja

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

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