In the second installment of our DIY litecoin mining guide, we’ll look at how to install and configure Linux to properly mine with your GPUs at optimal settings. Don’t be dissuaded if you’ve never used Linux before—our step-by-step guide makes it easy.
Linux has a few advantages over Windows, including the ability to install to a USB stick (which means you don’t need a harddrive), lesser hardware requirements (you can get by just fine with less than 4GB of RAM), and simpler remote administration capabilities. Best of all, Linux is free! However, be aware that if you’d like to undervolt your GPUs to save power, Windows might be a better choice for you (update 10/2013: no longer true!).
If you missed the hardware portion of our guide, make sure to check it out first. Otherwise, read on.
Build a Litecoin Mining Rig, part 2: Linux Setup
So you’ve decided to use Linux to run your mining rig—a fine choice! If you’re still a bit nervous because you’ve a complete Linux newbie, don’t be. Simply follow the step-by-step instructions exactly as they’re written, and you’ll be fine. Even if you’ve never done anything like this before, you should be up and running in about an hour.
Step 1: Configure BIOS settings
Before we even get to Linux, make sure your mining computer’s BIOS settings are in order. Power on your computer, and press the “delete” key a few times immediately after power on. You should end up in the BIOS configuration area. Do the following, then save & exit:
- Change power options so that the computer automatically turns itself on whenever power is restored. The reason for this is two-fold: first, it’ll make sure that your miner automatically starts up after a power outage. Second, it makes powering the computer on much easier if you don’t happen to have a power switch connected to the motherboard.
- Make sure that your USB stick is first in the boot-up order (you may need to have a USB stick attached).
- Disable all components that you don’t plan to use. This will save a little bit of power, and since your miner will likely be running 24/7, it’ll add up. For me, that meant disabling onboard audio, the SATA controller, the USB 3.0 ports (I only had a 2.0 USB stick), the Firewire port, and the serial port.
Step 2: Install Xubuntu Desktop to your USB stick
Xubuntu is a lightweight version of Ubuntu, a popular Linux distribution. Most other distros should work just fine, but be aware that the GPU drivers require the presence of Xorg, which means server distros that don’t have a GUI will not work properly.
- Download the Xubuntu Desktop x64 v12.10 installation image.
- You’ll need to either burn the installation image onto a CD, or write the image to a second USB stick. If you use a CD, you’ll need to temporarily hook up a CD-ROM drive to your mining rig for the installation (make sure you temporarily enable your SATA controller if you disabled it in step 1!).
- Once you have the installation media prepared, you’re ready to install Xubuntu to the blank USB stick on your miner. Make sure your blank USB stick is inserted into a USB port on your mining, and then boot into your installation media. The Xubuntu installer should appear.
- Make sure to click the “auto-login” box towards the end of the installer; otherwise take all of the default installation options.
- If you’re using a USB stick that is exactly 8GB, the installer may complain about the default partition sizes being too small. Create a new partition table with these settings: 5500mb for root (/), 315mb for swap, and the remaining amount for home (/home). If you’re using a USB stick larger than 8GB, you will not have to do this.
- When the installation is complete, you should automatically boot into the Xubuntu desktop. Make sure to remove your installation media.
Step 3: Install AMD Catalyst drivers
Open a terminal session by mousing over the bottom center of the screen so that a list of icons appears. Click on “terminal” (it looks like a black box).
- Type the following commands (press “enter” at the end of each line and wait for Linux to finish doing it’s thing):
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev sudo aticonfig --lsa sudo aticonfig --adapter=all --initial sudo reboot
- After your computer reboots, you can verify that everything worked by typing:
sudo aticonfig --adapter=all --odgt
- If you see all of your GPUs listed, with “hardware monitoring enabled” next to each, you’re good to go.
Important: you may need to have something plugged into each GPU to prevent the OS from idling it. You can plug 3 monitors into your 3 GPUs, but that isn’t very practical. The easiest option is to create 3 dummy plugs, and leave them attached to your GPUs. They’ll “trick” the OS into believing that a monitor is attached, which will prevent the hardware from being idled. Check out how to create your own dummy plugs.
If you ever add or remove GPUs to your rig later, you’ll need to re-run this command: sudo aticonfig --adapter=all --initial
Step 4: Install SSH, Curl, and package updates
- Install SSH by typing:
sudo apt-get install openssh-server byobu
With SSH installed, you can unplug the keyboard/mouse/monitor (put dummy plugs into all GPUs, though) from your miner, and complete the rest of the installation from your desktop computer. Simply download Putty onto your desktop, run it, and enter the IP address of your mining rig. That should bring up a remote terminal session to your miner, which is more or less just like sitting at the keyboard in front of it.
If you plan to manage your mining rig remotely over the internet, you’ll need to forward port 22 on your router to your miner. Make sure that you use a strong Xubuntu password!
Setup should be quicker from this point, as now you can simply copy text from this webpage (highlight it and press control-C) and then paste it into your Putty session by simply right-clicking anywhere inside the Putty window. Neat, eh?
- Install Curl and package updates by typing (or copying & pasting into Putty) the following commands:
sudo apt-get install curl sudo apt-get update sudo apt-get upgrade
Step 5: Install cgminer
Cgminer is the mining software we’ll be using. If the first command doesn’t work, you’ll need to check out the cgminer website and make a note of the current release version. Substitute that in the commands below.
Update: Cgminer 3.7.2 is the last version to support scrypt—do not use any version after that! In addition, depending on which version you choose to use, you may receive an error complaining about libudev.so.1 when you try to run cgminer—you can find the fix for that here.
- Type the following:
wget http://ck.kolivas.org/apps/cgminer/2.11/cgminer-2.11.4-x86_64-built.tar.bz2 tar jxvf cgminer-2.11.4-x86_64-built.tar.bz2
- If everything was uncompressed successfully, we can delete the downloaded archive; we don’t need it anymore:
rm *.bz2
- Now check if cgminer detects all of your GPUs properly:
cd cgminer-2.11.4-x86_64-built export DISPLAY=:0 export GPU_USE_SYNC_OBJECTS=1 ./cgminer -n
Step 6: Create cgminer startup script
We’re almost done—now we just need to create a few simple scripts to control cgminer.
- If you’re still in the cgminer directory from the previous step, first return to your home directory:
cd ..
- Type the following to create a new file with nano, a Linux text editor:
sudo nano mine_litecoins.sh
- Type the following into nano (note where the places you need to substitute your own usernames!) :
#!/bin/sh export DISPLAY=:0 export GPU_MAX_ALLOC_PERCENT=100 export GPU_USE_SYNC_OBJECTS=1 cd /home/YOUR_XUBUNTU_USERNAME/cgminer-2.11.4-x86_64-built ./cgminer --scrypt -I 19 --thread-concurrency 21712 -o stratum+tcp://coinotron.com:3334 -u USERNAME -p PASSWORD
- Save the file and quit nano, then enter the following:
sudo chmod +x mine_litecoins.sh
Note that the cgminer settings we’re using in our mine_litecoins.sh script correspond to a good starting point for Radeon 7950 series GPUs. If you followed our hardware guide, these settings will give you good hashrates. If you’re using another type of GPU, you’ll want to use Google to find optimal cgminer settings for it.
Also note that you’ll need to create an account at one of the litecoin mining pools, and plug your username and password into the script (the -u and -p parameters). I have Coinotron in there as an example, but there are quite a few to choose from.
Step 7: Create auto-start scripts
We want cgminer to automatically start mining whenever the rig is powered on. That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations.
- Type the following to create a new script and open it in nano:
sudo nano miner_launcher.sh
- Enter the following text into the editor (substitute your Xubuntu username where shown!):
#!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY su YOUR_XUBUNTU_USERNAME -c "screen -dmS cgm /home/YOUR_XUBUNTU_USERNAME/mine_litecoins.sh"
- Save and quit nano, and then type:
sudo chmod +x miner_launcher.sh
- Now we need to call our new script during startup; we do that by adding it to /etc/rc.local. Type the following to open /etc/rc.local in nano:
sudo nano /etc/rc.local
- Add the following text, right above the line that reads “exit 0” (substitute your own username!):
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 30 &
Step 8: Create an alias to easily check on cgminer
We’re essentially done at this point, but you’ll probably want to manually SSH into your miner from time to time to manually check on your GPU temperatures & hashrates, etc. Creating an alias will make that easy.
- Type:
sudo nano .bashrc
- Scroll to the end of the file, and then add this text above the line that reads “# enable programmable completion…”
alias cgm='screen -x cgm'
- Save and quit out of nano.
That’s it—you’re done! You’ll probably want to test everything now. The easiest way to do that is to close your Putty session and power down your miner. Turn it back on and the following should happen:
- Your miner should boot into Xubuntu. This may take about a minute, depending on the speed of your USB stick.
- 30 seconds after Xubuntu has loaded, cgminer will automatically start and begin mining. You’ll probably notice the fans on your GPUs spin up when this happens.
- You should be able to SSH into your miner at any time and type cgm to bring up the cgminer screen. To close the screen (and leave cgminer running), type control-A, then control-D.
- If you ever need to start cgminer manually (because you quit out of it, or kill it, etc), simply type ./miner_launcher.sh
Congratulations—you have your own headless linux litecoin miner!
The next section of our guide covers setup under Windows, and then we take a look at optimizing cgminer settings for better performance.
furiannn, News Flash!! I found my carried over file in nano mine_litecoins still holding the cgm 2.11.4 reference. Changed it to 3.7.2. I HAVE A miner FUNCTIONING with all three GPU’s!
Thank you furiann for sharing on the posts and for your specific help.
Thanks again Cryptobadger for bring this community together. I think my problems are solved now, at least for the present.
Best wishes and best of luck to all miners out there!
I think a post I just made has not posted, so
furiannn, found my problem in nano mine_litecoins.sh. Changed the spec cgminer 2.11.4 to 3.7.2, and all is welllllllllllll! 3 GPU’s running as they should. Best to you and thanks much!
Glad it’s all sorted, happy mining 🙂
I’ve got 2 Sapphire 7950 21196-00-20GHD but I keep getting this message when I run with these settings. Actually, even when I adjust the settings I still keep getting this unless I set everything super low.
./cgminer –scrypt -I 20 -g 1 -w 256 –thread-concurrency 24000 –gpu-engine 1072 –gpu-memclock 1650 –gpu-vddc 1.087 –temp-target 80 –auto-fan –gpu-powertune 20 -o stratum+tcp://stratum.give-me-ltc.com:3333
Ubuntu 12.04
cgminer 3.7 – tried several versions…same results.
Any suggestions?
[2013-12-01 20:08:45] Started cgminer 3.7.0
[2013-12-01 20:08:46] Probing for an alive pool
[2013-12-01 20:08:46] Pool 0 difficulty changed to 16
[2013-12-01 20:08:47] Maximum buffer memory device 0 supports says 536870912
[2013-12-01 20:08:47] Your scrypt settings come to 1572864000
[2013-12-01 20:08:47] Error -61: clCreateBuffer (padbuffer8), decrease TC or increase LG
[2013-12-01 20:08:47] Failed to init GPU thread 0, disabling device 0
[2013-12-01 20:08:47] Restarting the GPU from the menu will not fix this.
[2013-12-01 20:08:47] Try restarting cgminer.
Great guide by the way…thanks!
Nevermind – Id10T error…forgot the export GPU_MAX_ALLOC_PERCENT=100
Hello,
First off, thank you for all the help.
Second, I have a couple questions. I already have a rig mining with windows and am going to try and build a second dedicated miner for cheap using xubuntu.
Question1: I plan on using Sapphire Radeon R9 290 GPUs, so do the commands in step 3 (install AMD catalyst drivers) apply? Do I need different commands to install the proper drivers?
Question2: In section 4 you say that “If you plan to manage your mining rig remotely over the internet, you’ll need to forward port 22 on your router to your miner”… I am not sure how to do that, any help? Also, do you have to perform this step before you can use Putty at all, or is it some kind of added security step?
Thanks again…Mt
Hi MTesla,
The commands are exactly the same. I have a few 280X’s and the commands worked flawlessly for them. However be aware that the very latest xubuntu 13.10 dont really play nice with my cards before the driver installation, so if this is your first time with linux, then stick to 13.04.
Secondly, you only need to forward ports (Which is done in your router configuration pages) if you plan on using putty from over the internet. All traffic shouldnt need forwarding if youre within the same network. With xubuntu, there is no firewall as standard, so you dont need to open those either. Just install ssh and putty in to the ip.
Thanks so much!
I made a typo, the cards are actually 290x’s. I assume that doesn’t change things.
It would be nice to check the miners status when not home via putty, but I suppose with some googling I can figure it out. Again, thanks very much. What’s your wallet address? Perhaps I can send a little thank you =)
R9 290 cards dont seem to work with above setup.
I needed to install the latest AMD Catalyst 13.11 Beta drivers to recognize these cards.
After that I can only run ‘sudo ./cgminer -n’ , it then shows 2 cards.
Running it as root gives segmentation faults.
” You should be able to SSH into your miner at any time and type cgm to bring up the cgminer screen. To close the screen (and leave cgminer running), type control-A, then control-D. ”
Crypto,
I have just completed the building of my rig and have completed the software steps that you outlined.
I think my machine is working, but I don’t know for sure.
I think I still have some small bugs.
nano mine_launcher is unhappy with “else” and the sleep “values”.
Also my pool website is constantly blocked. Anyway,
What do you mean by the above quote?
How do I SSH into my miner ?? I don’t understand SSH
could you walk me through that please
Thank you,
J
Hey guys,
I had to reinstall my os because it kept getting hung up in the boot sequence. Now when I try to run my live key and install xubuntu i just get a black screen after selecting install from the grub menu. It just hangs there forever until I restart it or shut it down with the switch. What to do? I am running 5 gigabyte 7950, sempron, and 4 gb ram. Any help is greatly appreciated i really need help :/
EDIT: If I only have one gpu connected I don’t have a problem booting xubuntu but with more than one powered gpus connected I cannot boot into xubuntu. Why is this?! So frustrated. Any help appreciated, at this point I will pay someone to skype with me and help me get my rig functional.
Skype Name: Davinatorrr
hey dude did you find a resolution for this. 13.10 is also hanging and blacl,screening for me on start up. Any ideas. i might try install 13.04
13.10 does the same for me. Use 13.04 and DO NOT UPGRADE 🙂
Joan, Refer to the steps in the guide above on installing SSH. There is a link to get “putty”. You’ve downloaded SSH to your mining rig, now go to your windows computer and download “putty” from the above link. With putty on your desktop, you will be able to open putty, type the IP address of your miner in, and connect via your router from your computer to your miner. To find the IP address of your miner, with monitor, mouse, and keyboard attached to your rig, while you’re in its terminal screen, type “/sbin/ifconfig” (without the quotation marks). The rigs IP address will be somewhere in the first few lines of the info this command brings up. Then put that IP into putty, and open a session. On successful connection, you will be inside the terminal screen of your miner. Your xubuntu user name and password will get you to the command prompt, where you can type cgm to see your miner in operation if it is connected to a pool, and mining. You will see your screen name when you type it, but when you type the password, you will not see it, just hit enter after typing it. Wait for the password prompt after you have typed your user name and entered. Good Luck!
Crypto,
you say :
“sudo aticonfig –adapter=all –odgt
If you see all of your GPUs listed, with “hardware monitoring enabled” next to each, you’re good to go ”
I can see my Radeon 7900 series, but no mention of ” harware monitoring enabled”.
What have I missed ??
-J
PS: how do I know if my rig is mining or not ?
I have keyboard /mouse /monitor attached to my rig, so I am not operating remote.
-J
Ezpacer,
Thanks,
I have “Putty” on my desktop.
but it is an .exe file
I’m in Xubuntu linux, so I don’t know what to do with it.
Hello all. I have a hard drive, what would I do differently in this process? Thanks!
I’m a complete newb to all of this. Hardware, software, crypto. I’ve been following for a couple months and made enough to purchase the hardware for mining. my experience with setting up computers is plug n play IMacs and such.
Does my keyboard, mouse, monitor need to be plugged in at all times? Do you just run Cat 5 to your router for internet or WIFI stick? how would I set up wifi on Linux?
Hi Joan, I assumed you would be using windows on your home computer. If you have xubuntu on your home computer, this may not work. I suspect putty is only written for windows, or similar. If you have access to a computer with windows, even a laptop, you could try putty from it. and to be clear on this point, putty does not go in your miner desktop. The SSH program in your miner is the program that receives the connection from the putty program on your main computer (if it is running windows so that putty will run.) Again, to clarify, SSH and putty are intended to allow you to look into your miner from another computer that you use, after you have disconnected the monitor, keyboard, and mouse from the miner, so that it is running “headless”. Hope this is helpful.
Thanks Ezpacer,
When the instructions said load Putty down onto your “Desktop”, I thought it meant the desktop Folder,but now I understand it means my desktop computer.
OK, I have douwnloaded a linux version onto my Mining Rig,
( sudo nano apt-get install putty )
I have it running on my rig, but I now see that that is useless !
OK, my sister has Windows laptop, I can borrowy that, but I am not very good with Windows, I have been a ( Suse )Linux user for over 10yrs now, and my last Windows was Windows XP.
I am grateful for your help, thank you kindly.
-J
Hi Joan,
Using a Mac U don’t need “Putty” which I guess is written only for windows. MacOs is built on Unix so the terminal you use in Linux is also built in into MacOs. You find it in the Utility folder inside the programs folder.
Open it on your Mac and type:
ssh “ipaddress”
where the “ipaddress” is the ip address of your linux box and you will be connected to the terminal of your miner. It will ask for your password on the miner and your done…
Hope this clarifies.
HI, great Guid but with the new version of Xubuntu i become a libdev0 Error by Step –>
cd cgminer-2.11.4-x86_64-built
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
./cgminer -n
Can anyone helfp ? I use a Sapphire R9 280 Card.
Thanks in Advance.
Matthias
Matthaias,
did you have any luck yet ???
I have the same problem.
when I run ./cgminer
I get ” error while opening shared libraries: libudev.so.1 : cannot open shared object file”
I am using CGminer-3.8.4 ( latest release ), and Radeon saphire 7950 Graphics cards.
Hi
I’ve spent two days with fighting with this. Everything goes fine until this part:
cd cgminer-2.11.4-x86_64-built
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
./cgminer -n
It gives me some crappy error:
root@xxx-System-Product-Name:~# cd cgminer-3.8.4-x86_64-built
root@xxx-System-Product-Name:~/cgminer-3.8.4-x86_64-built# export DISPLAY=:0
root@xxx-System-Product-Name:~/cgminer-3.8.4-x86_64-built# export GPU_USE_SYNC_OBJECTS=1
root@xxx-System-Product-Name:~/cgminer-3.8.4-x86_64-built# ./cgminer -n
./cgminer: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
What this suppose to mean?
I believe it means you’re missing some dependancies to make it run.
I run into the same problem trying to run 3.7.2 If you read the readme file in the 3.7.2, it mentions a few things you’ll need to install like the amd server development kit.
Personally, I’m still trying to get it to work, but I think with a little more hair pulling it’ll happen.
Guide works perfectly for the version it describes. Not so bueno for the newer ones.
I’m having exactly the same issue under Ubuntu 12.10 and cgminer 3.7.2 (last with –scrypt support).
Have you got any further?
I followed all steps for the most part to setup Xubuntu and it will not install. I am able to run Xubuntu, but when I try to install Xubuntu 12.10, it just tells me it cannot install it and that there is an internal error.
My specs are:
PSU: ax1200
GPU: 2 x Radeon R9 270x
Ram: 4gb 2 x 2gb ddr3
Motherboard: MSI 970A-g46
CPU: amd fx 4300
16 gig Patriot USB Flash Drive with Xubuntu 12.10
Joan and Matthias, Furiannn ( who posted a couple days ago on this thread) gave me this link. Try it to see if downloading it will solve your libdev troubles. It was the very thing I needed for my rig, which is running 3 7950’s perfectly now.
sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev libudev-dev screen xterm
In my case, after months of frustration, I upgraded xubuntu 12.10 to xubuntu 13.04, and cgminer to 3.7.2, then downloaded the above file, and then went into nano mine_litecoins.sh, and changed the reference to cgminer version in the 5th line down from the earlier version (2.11.4) to version 3.7.2. Just delete 2.11.4, type 3.7.2 in its place, and leave the rest of the line as it is.
Get out of nano mine_litecoins.sh, reboot, (sudo reboot), and see what happens. (The upgrades are a several hours process.)
Joan, your miner will not launch automatically until you fix miner_launcher.sh Review the guide and recheck each and every space and letter and quotation mark until you spot what is left out. Make it look exactly as it does in the guide. Until you get that to be OK, you can start cgminer with the command ./mine_litecoins.sh., and then the “cgm” command will show you the screen of it mining (If you are connected to your mining pool.
Good Luck!!
Thanks for your suggestions, i planed to try it out on next weekend.
Cheers
Matthias
Joan, just noticed that you are trying to use cgminer 3.8.4. Support for litecoins in cgminer versions is discontinued after version 3.7.2. and more recent versions do not work. You might want to reformat your USB stick and start fresh with Xubuntu 13.04 and cgminer 3.7.2, also trying the info I posted a few minutes ago to you.
Don’t give up until it’s running!
Thank you very much, Ezpacer.
I am away from my rig now until after Christmas, but this will be an interesting project for me during the holiday.
I hope I don’t forget too much of my programming skills until then.
Thanks again.
Looks like I forgot to put “ezpacer” on the “anonymous” link above, lol.
i would like to know is there any different ubuntu and windows 8 to run the cgminer ?
thanks
Yes the Price for the OS and many people says, and i dont know if its true while my xubuntu dont like ATI R9 280 at the moment, thats cgminer under linux max more hashes per seconds. Try it out …
I just followed all the steps to configure my own rig but after step 3 I got a total failure of the Xorg. If I try to do all but step 3 I can mine with 300kh/s ( I am using a radeon 5970, so I expect 700-800 kh/s). But if I try the step 3 I lose the Xorg and I am not able to mine anymore. It’s a sempron 145, 2gb Ram, Sandisk 8gb pendrive and Radeon 5970. I am using xubuntu last LTS 12.04 x64 desktop. I just can’t make Xorg work again.
OMG Finally got it working 🙂
Took me almost 3 days to get this working with R9 290 cards.
In Step 3 DONT DO this:
sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev
But instead download the latest AMD 13.11 Beta 9.4 driver and SDK v2.7 kit from here:
http://www2.ati.com/drivers/beta/amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip
http://developer.amd.com/amd-license-agreement/?f=AMD-APP-SDK-v2.7-lnx64.tar
Unpack driver and install:
unzip amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run.zip
sh amd-catalyst-13.11-beta-v9.4-linux-x86.x86_64.run –force
sudo aticonfig –lsa
sudo aticonfig –adapter=all –initial
Untar SDK kit and install:
tar -xvf AMD-APP-SDK-v2.7-lnx64.tar
sudo sh Install-AMD-APP.sh
sudo reboot
Thats it 🙂
Is that for getting 3.7.2 to work?
I can get 2.11.4 to work no problems just by following the guide to the letter. But 3.7.2 is really making me pull my hair out.
I got it to run with R9 290 the way @Paul advised (Thanks a lot) with cgminer 3.7.2 and xubuntu 13.04.
Your tutorial is awesome.
I would like to dabble in the mining adventure. I tried a little litecoin minig on my personal computer. soon found out it is impossible to do anything else, ha ha. Also, now Norton has somehow made further mining on my pc impossible. Yes, I tried adding the files to Norton exclusion list and check the allow boxes in windows firewall, still will not connect to any minig servers.
Anyway, I am in the process of building a dedicated mining rig .
I would like to use xubuntu 11.04 but can only find the lastest version to download, 13.10, Saucy Salamander. I hope I can assume it will work equally as well ?
Any replies are appreciated.
billyz
All of the install steps worked with Xubuntu 13.10 and a Radeon 7850 without issues. The only difference was I installed cgminer 3.7.2 instead.
Setting up second rig today and ran into trouble with gigabyte motherboard. The only usb’s that worked were the 3.0 ones for keyboard and mouse on the xubuntu install screens…. took me 2 hours to find a thread about and alot of cussing… figured FYI
Holy shit!! Same exact thing happened to me did you find out what the problem was? I had no idea what the deal was and finally tried a new mobo out of desperation and it worked. I thought I had a bad mobo…
found a solution and it fixed pci slot problem i was having too.
not sure what the deal is exactly as i am new to linux, but somehow drivers for the chipset and linux dont seem to get along
here is link for topic and I followed the instruction to make grub? do the iommu software emulation instead of the bios
http://ubuntuforums.org/showthread.php?t=2111223&page=4
I have installed cgminer 3.7.2 on a fresh Ubuntu 12.04 OS and all worked really well until I get to try if the cgminer detects my GPU.
At the command ./cgminer -n I get the error:
-bash:./cgminer: cannot execute binary file.
I am running on:
AsRock 970 Extreme4 motherboard
AMD AM3+ x4 FX4130 CPU
8GB RAM
1 x Gigabyte R7970C GPU
The ls -la command tells me that the file is executable.
Any ideas where this might came from?
Maybe try a different version of cgminer? I run 3.3.4 with xubuntu 12.04 and all’s well. It could also be an issue with amd catalyst version I suppose, but I am running the newest one I believe currently. I am no expert, but that is what I would try… Someone else might know better.
Also I am using R7950s. Maybe it is a Gigabyte 7970 driver issue.