[GH-ISSUE #1938] "Cannot distribute work among nodes!" in gpu mask code #1289

Closed
opened 2026-10-14 03:42:54 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @crioux on GitHub (Dec 7, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1938

Originally assigned to: @magnumripper on GitHub.

If you set min-length to 2 and specify you're doing one of two nodes, it complains:

john --mask=?a --format=lm-opencl --node=1/2 --min-length=2 --max-length=7 pwfile2.txt
Device 0: Tahiti [AMD Radeon R9 200 / HD 7900 Series]
Using default input encoding: UTF-8
Using default target encoding: CP850
Node number 1 of 2
Insufficient work. Cannot distribute work among nodes!
Loaded 21 password hashes with no different salts (LM-opencl [DES BS OpenCL])
Remaining 10 password hashes with no different salts

If you set min-length to 3, however, it works fine.

(if you set min-length to 1, you get the other bug 'format internal ranges cannot be truncated!')

Originally created by @crioux on GitHub (Dec 7, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1938 Originally assigned to: @magnumripper on GitHub. If you set min-length to 2 and specify you're doing one of two nodes, it complains: > john --mask=?a --format=lm-opencl --node=1/2 --min-length=2 --max-length=7 pwfile2.txt > Device 0: Tahiti [AMD Radeon R9 200 / HD 7900 Series] > Using default input encoding: UTF-8 > Using default target encoding: CP850 > Node number 1 of 2 > Insufficient work. Cannot distribute work among nodes! > Loaded 21 password hashes with no different salts (LM-opencl [DES BS OpenCL]) > Remaining 10 password hashes with no different salts If you set min-length to 3, however, it works fine. (if you set min-length to 1, you get the other bug 'format internal ranges cannot be truncated!')
bsakaguchi 2026-10-14 03:42:54 +07:00
Author
Owner

@magnumripper commented on GitHub (Dec 7, 2015):

This is related to #1782, at least from a user perspective.

As a user, I'd like the ability to just mpirun (...) ./john -min-len=0 -max-len=7 -mask:(...) even if it would mean the shortest lengths would just run on one of the nodes (and possibly with suboptimal size for GPU-side mask).

<!-- gh-comment-id:162612400 --> @magnumripper commented on GitHub (Dec 7, 2015): This is related to #1782, at least from a user perspective. As a user, I'd like the ability to just `mpirun (...) ./john -min-len=0 -max-len=7 -mask:(...)` even if it would mean the shortest lengths would just run on one of the nodes (and possibly with suboptimal size for GPU-side mask).
Author
Owner

@magnumripper commented on GitHub (Mar 15, 2018):

I believe this is fixed now

<!-- gh-comment-id:373288531 --> @magnumripper commented on GitHub (Mar 15, 2018): I believe this is fixed now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1289
No description provided.