AMD driver issue
#22
(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:
http://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.


Messages In This Thread
AMD driver issue - by vrposter - 12-23-2013, 09:30 PM
RE: AMD driver issue - by radix - 12-23-2013, 09:34 PM
RE: AMD driver issue - by vrposter - 12-23-2013, 09:38 PM
RE: AMD driver issue - by vrposter - 12-23-2013, 09:40 PM
RE: AMD driver issue - by radix - 12-24-2013, 01:25 AM
RE: AMD driver issue - by vrposter - 12-24-2013, 02:04 AM
RE: AMD driver issue - by qweasd - 12-24-2013, 09:43 AM
RE: AMD driver issue - by vrposter - 12-26-2013, 07:00 PM
RE: AMD driver issue - by goat - 12-27-2013, 05:43 PM
RE: AMD driver issue - by vrposter - 12-27-2013, 05:56 PM
RE: AMD driver issue - by radix - 12-27-2013, 06:04 PM
RE: AMD driver issue - by vrposter - 12-27-2013, 06:08 PM
RE: AMD driver issue - by radix - 12-27-2013, 06:45 PM
RE: AMD driver issue - by vrposter - 12-27-2013, 07:34 PM
RE: AMD driver issue - by vrposter - 01-04-2014, 08:50 PM
RE: AMD driver issue - by radix - 01-04-2014, 10:41 PM
RE: AMD driver issue - by tuxthepenguin - 01-05-2014, 04:49 PM
RE: AMD driver issue - by The Mechanic - 01-06-2014, 12:04 AM
RE: AMD driver issue - by tuxthepenguin - 01-06-2014, 12:49 PM
RE: AMD driver issue - by tuxthepenguin - 01-06-2014, 01:07 PM
RE: AMD driver issue - by tuxthepenguin - 01-06-2014, 01:22 PM
RE: AMD driver issue - by tuxthepenguin - 01-06-2014, 09:42 PM