[GH-ISSUE #2488] New fglrx package and CI failures #1642

Closed
opened 2026-10-15 04:21:44 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @ghost on GitHub (Mar 28, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2488

Scenario

  • There are new kernel and fglrx-* packages in "ubuntu-updates";
  • There is, at least, one bug in these packages;
  • You guys can workaround the bug;
  • But, the relationship between these new packages + CI + JtR OpenCL is becoming "complicated". E.,g., Clang is really unhappy.

You guys can

  • workaround the bug and keep the OpenCL tests running (for a while).
  • stop testing OpenCL (this will happen sooner or later);
  • move to Intel driver (configure needs a patch);

  • I decided to workaround and keep an eye on it for a while. So, your tests are not mandatory.
  • Also, I have one branch trying the Intel stuff.
Originally created by @ghost on GitHub (Mar 28, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2488 ### Scenario - There are new kernel and fglrx-* packages in "ubuntu-updates"; - There is, at least, one bug in these packages; - You guys can workaround the bug; - But, the relationship between these new packages + CI + JtR OpenCL is becoming "complicated". E.,g., Clang is really unhappy. ### You guys can - workaround the bug and keep the OpenCL tests running (for a while). - stop testing OpenCL (this will happen sooner or later); - move to Intel driver (configure needs a patch); **** * I decided to workaround and keep an eye on it for a while. So, your tests are not mandatory. * Also, I have one branch trying the Intel stuff.
bsakaguchi 2026-10-15 04:21:44 +07:00
Author
Owner

@magnumripper commented on GitHub (Apr 24, 2017):

For now I just allowed failures for OpenCL. Not sure how to actually get it working again.

<!-- gh-comment-id:296832463 --> @magnumripper commented on GitHub (Apr 24, 2017): For now I just allowed failures for OpenCL. Not sure how to actually get it working again.
Author
Owner

@magnumripper commented on GitHub (Apr 24, 2017):

What's the story behind "configure needs a patch"? Is it complicated?

<!-- gh-comment-id:296832691 --> @magnumripper commented on GitHub (Apr 24, 2017): What's the story behind "configure needs a patch"? Is it complicated?
Author
Owner

@ghost commented on GitHub (Apr 24, 2017):

If you want to see my CI in action (except the intel stuff, I prefer AMD), run (inside JtR main dir; I mean, above /src, /doc, ...):

$ git checkout -b your_branch
$ rm -f get_tests.sh; wget https://raw.githubusercontent.com/claudioandre/packages/master/john-the-ripper/tests/get_tests.sh; chmod +x get_tests.sh ; ./get_tests.sh 
$ git push origin your_branch

I have no idea where I put the intel stuff 🍺 😝 . Anyway, it is not hard. What I did inside the CI scripts:

  • using CentOS 7.3 docker on Travis (strange choice they did);
  • wget the intel beta software (the only thing I was able to find inside intel's site);
  • install it;
  • patch configure to be able to find the intel driver;
  • it will work and i'll show the Travis Intel CPU using list=opencl-devices

configure script (LD_FLAGS also?)

   if test -d "/opt/intel/opencl/include"; then
       ADD_CFLAGS="$ADD_CFLAGS -I/opt/intel/opencl/include"
   fi

Test / environmnet script

      yum -y groupinstall 'Development Tools'; \
      yum -y groupinstall 'c-development'; \
      yum -y install rpmdevtools openssl openssl-devel bc; \
      wget http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB4.1_linux64.zip; \
      unzip SRB4.1_linux64.zip; \
      rpm -Uvh intel-opencl-r4.1-61547.x86_64.rpm; \
<!-- gh-comment-id:296840738 --> @ghost commented on GitHub (Apr 24, 2017): If you want to see my CI in action (except the intel stuff, I prefer AMD), run (inside JtR main dir; I mean, above /src, /doc, ...): ``` $ git checkout -b your_branch $ rm -f get_tests.sh; wget https://raw.githubusercontent.com/claudioandre/packages/master/john-the-ripper/tests/get_tests.sh; chmod +x get_tests.sh ; ./get_tests.sh $ git push origin your_branch ``` ***** I have no idea where I put the intel stuff :beer: :stuck_out_tongue_closed_eyes: . Anyway, it is not hard. What I did inside the CI scripts: - using CentOS 7.3 docker on Travis (strange choice they did); - wget the intel beta software (the only thing I was able to find inside intel's site); - install it; - patch configure to be able to find the intel driver; - it will work and i'll show the Travis Intel CPU using `list=opencl-devices` configure script (LD_FLAGS also?) ``` if test -d "/opt/intel/opencl/include"; then ADD_CFLAGS="$ADD_CFLAGS -I/opt/intel/opencl/include" fi ``` Test / environmnet script ``` yum -y groupinstall 'Development Tools'; \ yum -y groupinstall 'c-development'; \ yum -y install rpmdevtools openssl openssl-devel bc; \ wget http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB4.1_linux64.zip; \ unzip SRB4.1_linux64.zip; \ rpm -Uvh intel-opencl-r4.1-61547.x86_64.rpm; \ ```
Author
Owner

@magnumripper commented on GitHub (Apr 28, 2017):

#2523 might be a simpler solution. Hopefully we can forget about fglrx and use OSX instead.

<!-- gh-comment-id:297957201 --> @magnumripper commented on GitHub (Apr 28, 2017): #2523 might be a simpler solution. Hopefully we can forget about fglrx and use OSX instead.
Author
Owner

@magnumripper commented on GitHub (Apr 28, 2017):

Done! Our OpenCL formats are now bot-tested on OSX' CPU device.

<!-- gh-comment-id:298013955 --> @magnumripper commented on GitHub (Apr 28, 2017): Done! Our OpenCL formats are now bot-tested on OSX' CPU device.
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#1642
No description provided.