Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: AMD driver issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(01-06-2014, 01:07 PM)tuxthepenguin Wrote: [ -> ]
(01-06-2014, 12:49 PM)tuxthepenguin Wrote: [ -> ]
(01-06-2014, 12:04 AM)The Mechanic Wrote: [ -> ]
(01-05-2014, 04:49 PM)tuxthepenguin Wrote: [ -> ]any help with The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) linux? i have 3.7-trunk kernel. older version of oclhashcat is refusinf to work claiming that there is newer version and i should use it.
i tried using newer driver version with older patch that here was on net, but it didn't work claiming that dkms couldn't build the driver.
any suggestion anyone ?


Download the new version of oclhashcat

I did, and with old drivers it refuses to work and i can't add patch from previous version to new drivers

this is what i am getting :
Quote:STOP! Unsupported or incorrect installed GPU driver detected!

You are STRONGLY encouraged to use the official supported GPU driver for good reasons
See oclHashcat's homepage for official supported GPU drivers
You can use --force to override this but do not post error reports if you do so

by the way : the "force" option doesn't work

and here is the log after install :
Quote:Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/12.104/source ->
/usr/src/fglrx-12.104

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/12.104/build; sh make.sh --nohints --uname_r=3.7-trunk-amd64 --norootcheck....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-12.104 with DKMS
[Error] Kernel Module : Removing fglrx-12.104 from DKMS

------------------------------
Deleting module version: 12.104
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs
(01-06-2014, 01:22 PM)tuxthepenguin Wrote: [ -> ]
(01-06-2014, 01:07 PM)tuxthepenguin Wrote: [ -> ]
(01-06-2014, 12:49 PM)tuxthepenguin Wrote: [ -> ]
(01-06-2014, 12:04 AM)The Mechanic Wrote: [ -> ]
(01-05-2014, 04:49 PM)tuxthepenguin Wrote: [ -> ]any help with The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) linux? i have 3.7-trunk kernel. older version of oclhashcat is refusinf to work claiming that there is newer version and i should use it.
i tried using newer driver version with older patch that here was on net, but it didn't work claiming that dkms couldn't build the driver.
any suggestion anyone ?


Download the new version of oclhashcat

I did, and with old drivers it refuses to work and i can't add patch from previous version to new drivers

this is what i am getting :
Quote:STOP! Unsupported or incorrect installed GPU driver detected!

You are STRONGLY encouraged to use the official supported GPU driver for good reasons
See oclHashcat's homepage for official supported GPU drivers
You can use --force to override this but do not post error reports if you do so

by the way : the "force" option doesn't work

and here is the log after install :
Quote:Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/12.104/source ->
/usr/src/fglrx-12.104

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/12.104/build; sh make.sh --nohints --uname_r=3.7-trunk-amd64 --norootcheck....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-12.104 with DKMS
[Error] Kernel Module : Removing fglrx-12.104 from DKMS

------------------------------
Deleting module version: 12.104
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs


We [SOLVED] it
thanks to philsmd i was able, to find solution to my issue. this case was combination of kernel, kernel headers and 2 patches that we added to the driver 13.251.
first problem was that version.h and uname -a were not matching(version was claiming that i have 3.12 kernel while i had only 3.7-trunk and its headers). because of that i had to upgrade kernel and its kernel-headers, and libc-devel files.
[coder] aptitude upgrade linux-image linux-image-headers[/code]
After that we extracted the the catalyst folder from the driver that we downloaded from amd web page :
Code:
amd-driver-installer-catalyst-13.251-x86.x86_64.run --extract  catalyst

afterwards downloaded new patch from the link (just copy the file from the pastebin, put in to any file with no ending --- call it NEWpatch)

LINK::::::::>>>
Code:
https://pastebin.com/YW2XtTpq
file that needs to be patched is file that is located at :
Quote:/catalyst/common/lib/modules/fglrx/build_mod

file named kcl_acpi.c

basically what you need to do is:
Code:
patch -Np1 --verbose < NEWpatch

after that in that folder of build_mod: you'll need to add manually a small function called "KCL_GetEffectiveUid"
Code:
return current_euid();
change it to -->
Code:
return __kuid_val(current_euid());

then go back to catalyst folder and run
Code:
./ati-install.13.251 --install
this solved my problem. hope it will help you too.
i'd like to express my gratitude to philsmd for his help and guidance.
Thank you a lot - it wouldn't work with out our help.
Pages: 1 2 3