Need help with the HOWTO: Ubuntu Server guide
#1
Hi,

Ive followed the guide here for ubuntu 14.04: https://hashcat.net/wiki/doku.php?id=linux_server_howto

I used: ubuntu-14.04.5-server-amd64.iso instead of the ubuntu-14.04.4-server-amd64.iso.

I've got no errors throughout the guide, I'm right down at the bottom where it says: Finishing up, when i enter 
Code:
clinfo
i'm getting errors.


Code:
clinfo
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  156 ()
  Minor opcode of failed request:  19
  Serial number of failed request:  12
  Current serial number in output stream:  12

i tried:
Code:
sudo modprobe fglrx
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented

more info:
Code:
lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon R9 290X]
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon R9 290X]
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon R9 290X]

Code:
uname -a
Linux ubuntu 4.4.0-45-generic #66~14.04.1-Ubuntu SMP Wed Oct 19 15:05:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I tried purge & reinstall per guide again:
Code:
sudo apt-get purge fglrx*

I have 3x R9 290X's did the guide install the drivers? because the guide says so.. or do i need to install them? what steps do i need to do in order to get them visible in clinfo? Thanks

EDIT: So is 16.04 working for hashcat AMD for R9 290X's? http://phoronix.com/scan.php?page=news_i...id-16.20.3
because it looks supported: http://support.amd.com/en-us/kb-articles...Notes.aspx
Reply
#2
What is the output of aptitude when you install fglrx? after the driver install/reboot what does your xdm log show? You should be using 14.04 still too.
Reply
#3
Your problem relates to your kernel version 4.4.0-45-generic, rollback to kernel 4.2.0 and it should be all good.
Reply
#4
(11-02-2016, 11:46 PM)Si2006 Wrote: Your problem relates to your kernel version 4.4.0-45-generic, rollback to kernel 4.2.0 and it should be all good.
Hey Thanks!! i gotta figure out how to do that, as i've never rolled back a kernel before.. Smile
Reply
#5
I dont have the 4.2.0 kernel in the stock install of 14.04.5 ubuntu so i did this...

Code:
sudo su
cd /tmp
wget "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-wily/linux-headers-4.2.0-040200-generic_4.2.0-040200.201510260713_amd64.deb"
wget "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-wily/linux-headers-4.2.0-040200_4.2.0-040200.201510260713_all.deb"
wget "http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-wily/linux-image-4.2.0-040200-generic_4.2.0-040200.201510260713_amd64.deb"
sudo dpkg -i *.deb

dpkg --list | grep linux-image

sudo apt-get purge linux-image-4.4.0-31-generic
sudo apt-get purge linux-image-4.4.0-45-generic 
sudo apt-get purge linux-image-extra-4.4.0-45-generic 
sudo apt-get purge linux-image-generic-lts-xenial 

sudo update-grub

and I did:
Code:
sudo apt-get remove fglrx
sudo apt-get install fglrx

and still i get:
Code:
clinfo
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error: Fail to load fglrx kernel module!
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='fglrx'
modprobe: ERROR: could not insert 'fglrx': Function not implemented
Error: Fail to load fglrx kernel module!
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly
X Error of failed request:  BadRequest (invalid request code or no such operation)
 Major opcode of failed request:  156 ()
 Minor opcode of failed request:  19
 Serial number of failed request:  12
 Current serial number in output stream:  12

can you list me the steps to get it going in ubuntu 14.04.5? many thanks
Reply
#6
Please read this, regarding kernel 4.4: https://hashcat.net/forum/thread-5959-po...l#pid32131
Reply
#7
Nice !! So i can install 16.04 after all @atom just follow the same guide here? : https://hashcat.net/wiki/doku.php?id=linux_server_howto except replace fglrx with amd-gpu-pro 16.40 is that my understanding? any install guides? Smile
Reply
#8
i noticed the install of amdgpu-pro-16.60 requires i386 to install successfully (using ubuntu 16.10)
so i fixxed it with:

dpkg --add-architecture i386

but now i don`t know if i can remove them without causing more dmg ..
Reply
#9
I typically remove the i386 packages from the AMD installer script, that way I do not need to add the entire architecture
Reply