Bitcoin Forum
May 28, 2018, 05:49:05 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 7 8 [All]
  Print  
Author Topic: [Linux] Autominer v0.3.2.6 - GPU Monitor, Downtime Swapper, New Interface  (Read 23007 times)
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 20, 2011, 04:35:06 AM
 #1

Autominer 0.3.2.6 - New Interface Baby!

I decided to redo the thread from scratch to better explain Autominer. I felt that the old thread rambled a bit and didn't explain enough, so this one should be better designed to take care of the users' needs.

About Donate Mode

A few people were saying they'd like to donate but have no BTC up front, so if you want to, just edit common.lib (on v0.3.2.3 or above) and put the following line at the bottom:

donateMode=1

It will automatically give me 1 out of every 200 mining cycles (0.5% of your mining time). I will implement an option later so you can decide how much to donate.

This option is off by default, it's purely optional, and thanks if anyone decides to use it.


Download Autominer v0.3.2.6




What is Autominer?
Autominer is a bash script (technically, a set of bash scripts) written to automate the process of mining on a Linux rig. After a relatively short configuration time, you can just type a single command to start mining on all of your GPUs, in screen sessions for remote monitoring, with a temperature monitor and automatic pool monitoring and swapping in the case of downtime. Interested? Good.

And some history...

v0.3.2.6
- Bug fix of the checkphoenix.sh script (it was connecting to the wrong pool)
- Bug fix in screen settings

v0.3.2.5
- Added a 'countTarget' variable to change the frequency of 'successfully mining' updates
- Added a checkphoenix.sh script for diagnostic purposes
- Added better output to configure.sh when no workers are chosen
- Fixed a bug that was causing configure.sh to ask about donateMode for each GPU

v0.3.2.4
- Fixed a bug in configure.sh where it was writing Worksize variable to queuesize.
- Cleaned up configure.sh

v0.3.2.3
- Fixed a bug with the 'kill process' function.
- Cleaned up some text outputs.
- Added getting the CHANGELOG when using an outdated version.
- Fixed the loop function in the main program.
- Added 'donation mode' (optional, of course). To donate 0.5% of your mining to aid Autominer
development, just add 'donateMode=1' to common.lib. This will cause one in every two hundred cycles
to be donated.

v0.3.2.2
- Added support for PLATFORM in Phoenix.

v0.3.2.1
- Fixed a bug which caused pool switching not to work on machines with both monitoring modes enabled
if the downtime was picked up by GPU load first.

v0.3.2
- Added support for hashrate-based pool downtime detection in addition to GPU-load based, works even
if overdrive won't report GPU load (it's an issue for some people with risers) - needs XML RPC enabled
- Fixed a bug with downloading 'LATEST' file

v0.3.1
- Added experimental support for thejfk's getRate.py hack to display hashrate in miner window
- Rewrote the entire interface to use a single screen window, takes some getting used to

v0.3
- Added defaults files in order to avoid overriding a user's config upon update
- Added warning and disabled pool monitoring if GPU load can't be found (previously caused error spew)
- Added a stopmining.sh script which should look through screens and kill all Autominer screens
- Added detection for obsolete versions
- Added an experimental configuration script
- Removed version numbers from several script headers
- Moved opening the temps window to the main script
- Changed the temps window so that height corresponds to number of GPUs

v0.2
- Added status update to monitor where cards are mining and if cards are mining
- Added timestamps to output in main window

v0.1b
- Added support for phoenix failures, added workers

v0.1
- Got it working


What does Autominer need?
Autominer needs a relatively standard set of Linux tools, plus a mining program, those are:
tar - To extract the archive in the first place
wget - To check for updates to the package
screen - For monitoring sessions
xterm - To load the terminal windows themselves
phoenix-miner - To mine delicious coins!

To get this short list of tools (other than Phoenix, that's here in the forum) in the main distros is easy, fire up a command line and type:

Ubuntu Natty: sudo apt-get install screen tar wget xterm
Debian: sudo apt-get install screen tar wget xterm
Arch Linux: pacman -S screen tar wget xterm
Gentoo: emerge screen tar wget xterm

In addition, you need to be running X11 in order to take advantage of ATI Overdrive & multiple Xterm windows, and you need a few minutes to go through configuration the first time you run it.


So, how do I install it?

Well, download the tar.gz file at the top, then go to your favourite command line and navigate to where you put it. Do:

tar xvfz Autominer-x.x.tar.gz (where x.x is the version number)
cd Autominer
./configure.sh

Follow the instructions in the configuration script, assuming it works it will spit out two files called cards.lib and common.lib, with all the information you put into the script contained in them.


I'm running Autominer, how do I update it?

If your existing version is 0.3 or above, follow these instructions. If you're on 0.1, 0.1b or 0.2, you'll need to remove your existing Autominer & follow the install instructions as above. This is because 0.3 changed the file structure and the variable names, and is fairly incompatible with lte v0.2 config files.

Assuming you're running v0.3 already, simply download the .tar.gz and extract the files into your Autominer directory. This will not overwrite cards.lib or common.lib, as I have modified the file structure to preserve these files which contain your settings.


How do I *RUN* this beast?

First of all kill any miners you have open, then go to the Autominer directory and run ./startmining.sh /path/to/Autominer

Controls for the window:
F1-F6 = Windows 0-5
F7 = Previous window
F8 = Next window
Ctrl-a then a number = That number window
Ctrl-a then d = Detach screen (keeps miner running)


You have MH/S in your 'amm' window... how do I get that?

This technique relies upon a patch to Phoenix developed by thejfk, but it's relatively easy.

1. Open up a command line
2. cd to your phoenix directory
3. wget http://robertlacroix.com/files/phoenix-xmlrpc.diff
4. patch -p0 < phoenix-xmlrpc.diff
5. Send thejfk a tip: 1EhQ1dbeZnxs7wZKngegsHLheAjUK37k7m
6. cd to your Autominer directory
7. Edit common.lib, at the bottom write on a new line:
xmlRPCEnabled=1;
8. Start up your miner, the rest should happen automatically


And how do I monitor it over ssh?

If you want to open over ssh, do DISPLAY=:0 ./startmining.sh /path/to/Autominer

Connect to the screen using screen -x amm -p 0


So, what happened to the file structure?

Previously, whenever you updated Autominer, it came with a new cards.lib and common.lib, this meant you had to re-configure everything every time. Now, I've created files called cards.defaults.lib and common.defaults.lib.

These files allow me to define new variables without overwriting the variables you've saved in your configuration scripts. Obviously, you shouldn't edit the defaults files (they'll be overwritten when you update) but if you want to change something in there, simply copy the variable into cards.lib or common.lib and change it there.

Variables in cards.lib and common.lib OVERRIDE those in cards.defaults.lib and common.defaults.lib. The only time the defaults will be used is if something isn't defined in YOUR config settings.


Can I still manually modify the .lib files?

Sure can. Just copy cards.sample.lib to cards.lib and common.sample.lib to common.lib and modify. Don't edit the defaults, they will be overwritten when you update again.


Common Problems & Troubleshooting

Computer clearly mining but autominer won't connect to the display - Often caused by starting an identifier name with a number. Check your identifier names start with a letter.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
1527486545
Hero Member
*
Offline Offline

Posts: 1527486545

View Profile Personal Message (Offline)

Ignore
1527486545
Reply with quote  #2

1527486545
Report to moderator
1527486545
Hero Member
*
Offline Offline

Posts: 1527486545

View Profile Personal Message (Offline)

Ignore
1527486545
Reply with quote  #2

1527486545
Report to moderator
1527486545
Hero Member
*
Offline Offline

Posts: 1527486545

View Profile Personal Message (Offline)

Ignore
1527486545
Reply with quote  #2

1527486545
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527486545
Hero Member
*
Offline Offline

Posts: 1527486545

View Profile Personal Message (Offline)

Ignore
1527486545
Reply with quote  #2

1527486545
Report to moderator
1527486545
Hero Member
*
Offline Offline

Posts: 1527486545

View Profile Personal Message (Offline)

Ignore
1527486545
Reply with quote  #2

1527486545
Report to moderator
wegotpickles
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0



View Profile
June 20, 2011, 10:54:39 AM
 #2

Nice work, I made some similar scripts myself but never incorporated pool detection/switching.

Start the miners each in their own GNU Screen sessions and set this to run at start up in your DE of choice (and set automatic log in of course) and bam, this script is now ideal for headless mining. The screen sessions will allow users to view the miners though SSH. I like to start an extra session as well just so i can run aticonfig if i need to check my temps/adjust fan speed/what have you.

I've been working on a way to detect locked up miners, I'll let you know if I find anything interesting.

1AEM2iPbyh6EV6Q5CHYBrrgZeGknLmW7aL
PGP public key (http://pastebin.com/jKCPFq0M) | 10% off TradeHill (http://www.tradehill.com/?r=TH-R13720) | Bitcoin7 (https://www.bitcoin7.com/?ref=8563)
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 20, 2011, 12:05:25 PM
 #3

Nice work, I made some similar scripts myself but never incorporated pool detection/switching.

Start the miners each in their own GNU Screen sessions and set this to run at start up in your DE of choice (and set automatic log in of course) and bam, this script is now ideal for headless mining. The screen sessions will allow users to view the miners though SSH. I like to start an extra session as well just so i can run aticonfig if i need to check my temps/adjust fan speed/what have you.

I've been working on a way to detect locked up miners, I'll let you know if I find anything interesting.

I'm just detecting GPU load via aticonfig --adapter=X --odgc and killing GPUs which aren't under load.

Also, yeah this works for headless I guess, screens are named $identifier-MINER so if you set an identifier to 'Radeon5850' the screen would be called 'Radeon5850-MINER'. Temp screen is called 'temps'.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
wegotpickles
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0



View Profile
June 20, 2011, 01:38:34 PM
 #4

Oops, I some how missed that you used screen already. Script skimming comprehension fail. Its early (for me at least), ignore my blather.

I'm beating my head against the wall for not thinking about checking for bum miners with gpu load. I was using wget and grep to check deepbit's api for statuses, which is fine i guess, but not good for solo miners or pools without an api like db's.

1AEM2iPbyh6EV6Q5CHYBrrgZeGknLmW7aL
PGP public key (http://pastebin.com/jKCPFq0M) | 10% off TradeHill (http://www.tradehill.com/?r=TH-R13720) | Bitcoin7 (https://www.bitcoin7.com/?ref=8563)
mf
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
June 20, 2011, 03:26:11 PM
 #5

Start the miners each in their own GNU Screen sessions [..] will allow users to view the miners though SSH.

I use tmux for my miner(s), as:
- it can be split horizontally/vertically, so I can have a number of miners in one "window"
- its launch can be scripted, so you can have one .sh script launch a number of miners each with their own details *and* detach the whole
- it can be scripted and the buffer saved somewhere, to be later handled via other GNU tools

For example: on screen 0, window 1, pane 0 I have a miner; on pane 1 another.

Code:
echo "Miners' info:"
for pane in 0 1; do
  tmux capture-pane -t 0:1.$pane # captures the contents of the pane for the 1st miner
  tmux save-buffer /tmp/buff-01$pane # saves it to a file
  echo "Miner $pane: $(tail -n 1 /tmp/buff-01$pane)" # gets the latest line, usually the one with MHash/sec
done


I also modify the miners to report found/rejected blocks on STDERR, then munge it with some Perl and display the graph on a site, but having only one graphics card I'm not sure how useful the thing is to you guys Wink

Donations gladly accepted at 1QA1K3Ghz9AuJ8na6JKJVudEko3WKx1xC2
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 20, 2011, 03:48:10 PM
 #6

Oops, I some how missed that you used screen already. Script skimming comprehension fail. Its early (for me at least), ignore my blather.

I'm beating my head against the wall for not thinking about checking for bum miners with gpu load. I was using wget and grep to check deepbit's api for statuses, which is fine i guess, but not good for solo miners or pools without an api like db's.

Yeah I'm just doing a check for GPU load below 90%, then sleeping 15 sec to make sure it's not an anomoly, then killing the miner and changing to backup pool if it's not fixed.

Also, version 0.2 should be up soon, with regular status reports to the main window so that you can see everything is mining, removing the annoying 'All seems fine' message every 2 minutes, and timestamps in the main window.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
klaaster
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
June 20, 2011, 04:55:57 PM
 #7

Great! Thank you.
I'm also using a much more "simpler" bash script, nice to have a backup server now.
This also helps me to learn more about script writing, so thumbs up for you. Smiley
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 20, 2011, 10:59:53 PM
 #8

Glad to be helping people out, I'm uploading v0.2 right now and adding it to first post.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
inh
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 21, 2011, 04:53:51 AM
 #9

Cool script Smiley

Am I the only one that uses a single screen session for all my miners? :-/
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 21, 2011, 03:25:44 PM
 #10

Cool script Smiley

Am I the only one that uses a single screen session for all my miners? :-/

I do on ssh, this loads the miners into screen sessions so you can load them up via SSH on $identifier[0]-miner, $identifier[1]-miner etc. You can do the same with temperatures, screen is called temps.

So just ssh in and hit:

screen -x temps

OR

screen -x Radeon5850-1-miner (assuming one of your identifiers is Radeon5850-1).

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
inh
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
June 22, 2011, 03:56:26 AM
 #11

No like, i have one screen session called miners, and then i have windows in each. Like window 1 is for GPU 1, window 2 for GPU 2, and window 0 is for my monitoring script. I just reattach the screen session and then hit ctrl-a 1 to see the miner for gpu 1, ctrl-a 2 for the second, etc. That way i can quickly check all miners without having to attach and detach sessions all the time.
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 22, 2011, 02:12:02 PM
 #12

Oh OK, I do this instead on my laptop to monitor everything:


Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500



View Profile
June 22, 2011, 03:21:15 PM
 #13

+1 for using E17 for your miner's desktop. I'm doing the same thing Wink.
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
June 22, 2011, 11:13:22 PM
 #14

maybe a dumb question, but is xfce (xubuntu) going to work for this x11, or are they different?

Also, I've been using amdoverdrive for temp/OCing, would I need to change anything to switch to the commandline OCing and temp control?

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 23, 2011, 01:48:15 AM
 #15

XFCE is X11 based, as are (I think) all Linux desktop environments.

If AMDOverdriveCtrl is working, you shouldn't need to change anything.

If you're unsure, go to command line and type 'aticonfig --adapter=all --odgc'.

It might come back telling you to enable Overdrive, in which case type 'aticonfig --adapter=all --od-enable'. Then this will work fine.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
wegotpickles
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0



View Profile
June 23, 2011, 04:09:02 AM
 #16

Tested working in Debian Squeeze and Ubuntu Natty.

For anyone having trouble with screen terminating repeatedly, add this to your ~/.screenrc
Quote
setenv DISPLAY ":0"

Plus one of the following:

For 64-bit SDK 2.4:
Quote
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64"

For 32-bit SDK 2.4:
Quote
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86"

For 64-bit SDK 2.1:
Quote
setenv LD_LIBRARY_PATH "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/"

For 32-bit SDK 2.1:
Quote
setenv LD_LIBRARY_PATH "//opt/ati-stream-sdk-v2.1-lnx32/lib/x86/"


Reikoku, is 4 GPUs just where you decided to stop or is there some limitation in the script that make more a problem?

1AEM2iPbyh6EV6Q5CHYBrrgZeGknLmW7aL
PGP public key (http://pastebin.com/jKCPFq0M) | 10% off TradeHill (http://www.tradehill.com/?r=TH-R13720) | Bitcoin7 (https://www.bitcoin7.com/?ref=8563)
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 23, 2011, 05:52:00 AM
 #17

You can go past 4 GPUs, I think I removed the checker for >4. I just didn't add more than 4 to cards.lib because 4 is the most I run in one machine.

You will need to set the geometry for the 5th Xterm though in cards.lib otherwise it'll spawn over the 4th one. You'll also need to add 3 rows to temps window in startmining.sh.

Also, thanks for testing.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
June 23, 2011, 12:47:32 PM
 #18

I got it working, but I changed it to start from device 1 (not 0), so, 1,2,3,4 for all the numbers in the card file that were under 0,1,2,3 sections.
also, not sure how screen works, but closing seems to be an issue, only ghosts the programs.
After the necessary edits, this looks like a great program.

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 23, 2011, 02:02:48 PM
 #19

I got it working, but I changed it to start from device 1 (not 0), so, 1,2,3,4 for all the numbers in the card file that were under 0,1,2,3 sections.
also, not sure how screen works, but closing seems to be an issue, only ghosts the programs.
After the necessary edits, this looks like a great program.


You mean closing the main loop? It doesn't kill all the screens, I will have to write a closing script at some point, for now assuming you run no other screens, 'killall screen' will give you a clean close.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
June 25, 2011, 04:58:45 PM
 #20

I had to make some changes to your files like I said before:
This is great for linux, after you get the system set up because for me the pools go down or if a miner stalls, this fixes it. . .

here is my working version of the files (replaced/created the following files with text editor in autominer folder):
cards.lib: http://pastebin.com/AD6ugg4x
common.lib: http://pastebin.com/ZSNb2KzZ
otherwise using the files you have listed, works great!

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 25, 2011, 06:19:58 PM
 #21

I had to make some changes to your files like I said before:
This is great for linux, after you get the system set up because for me the pools go down or if a miner stalls, this fixes it. . .

here is my working version of the files (replaced/created the following files with text editor in autominer folder):
cards.lib: http://pastebin.com/AD6ugg4x
common.lib: http://pastebin.com/ZSNb2KzZ
otherwise using the files you have listed, works great!

You must really dislike zero indexing. Tongue

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
stick_theman
Sr. Member
****
Offline Offline

Activity: 372
Merit: 250


View Profile
June 26, 2011, 06:09:38 AM
 #22

Nice clean scripting.  A lot to learn from you!
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
June 26, 2011, 03:02:19 PM
 #23

Will this work with 7 cards?
I didn't check the code too carefully, but it just increments everything to scale up, then I just add more entries in the cards file, right?

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 26, 2011, 05:23:22 PM
 #24

Yes it will work with 7 cards, you will have to edit cards.lib and specify geometry for phoenix windows for cards 5-7 however, or they'll spawn on top of existing ones.

Basically take these:

# You probably don't need to touch these
xtermGeometry[4]="61x10+730+11";
xtermTitle[4]="Mining on Card 0";


And modify to:

# You probably don't need to touch these
xtermGeometry[4]="61x10+XPOSITION+YPOSITION";
xtermTitle[4]="Mining on Card CARD NUMBER";


Nice clean scripting.  A lot to learn from you!

Thanks.

Version 0.2.1 should be up soon with a few changes. Trying to find a way for you guys to download new versions without having to rewrite your configs over and over. Tongue

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 27, 2011, 02:20:37 AM
 #25

Version 0.3(!!) is up with auto-configuration script.

Easier than ever.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
Mobius
Hero Member
*****
Offline Offline

Activity: 977
Merit: 1000



View Profile
June 27, 2011, 11:40:08 AM
 #26

Will this work with poclbm?
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 27, 2011, 11:47:58 AM
 #27

Only works with phoenix, but phoenix supports poclbm mining kernel so if you want to try it, install phoenix & just select poclbm kernel.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 28, 2011, 01:30:23 AM
 #28

Up to 0.3.1 now with screen-based interface, finally starting to look something like the product I wanted!

EDIT: Nearly instantly released 0.3.2 as well, has hashrate-based pool monitoring.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 28, 2011, 07:28:04 PM
 #29

0.3.2.1 is up, I found a pretty major bug for people with GPU Based & XML-RPC based monitoring enabled (tl;dr: pool switching didn't work).

Get this update to fix it.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 28, 2011, 10:35:00 PM
 #30

Was working great for me until 0.3.2.1 update today.

It's not detecting my hashrate and killing and restarting the miners over and over again. I can verify in the miner windows that they are working correctly until killed by the script. Any help would be greatly appreciated. I have really enjoyed using this.

Log:
[28-Jun-2011 15:23.42] Checking for updated versions...
[28-Jun-2011 15:23.42] You are running the latest version of Autominer already.
[28-Jun-2011 15:23.42] GPU-load pool monitoring for card0 could not be enabled. ATI Overdrive is not loaded.
[28-Jun-2011 15:23.42] GPU-load pool monitoring for card1 could not be enabled. ATI Overdrive is not loaded.
[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card0 enabled.
[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card1 enabled.
[28-Jun-2011 15:23.42] Firing up the miner on card card0 using pool 1!
[28-Jun-2011 15:23.42] Connecting to XXX@uswest.btcguild.com:8332...
[28-Jun-2011 15:23.42] Firing up the miner on card card1 using pool 1!
[28-Jun-2011 15:23.42] Connecting to XXX@uswest.btcguild.com:8332...
[28-Jun-2011 15:23.42] Rechecking status...
[28-Jun-2011 15:24.03] card0 is not hashing, waiting 15 seconds and deciding whether to change pools.
[28-Jun-2011 15:24.18] The hash rate after 15 seconds is
[28-Jun-2011 15:24.18] Still not hashing, pool or net has dropped...
[28-Jun-2011 15:24.18] Killing PID: 5153
[28-Jun-2011 15:24.18] Trying to kill 5153: 0 (should be 0)
[28-Jun-2011 15:24.18] card1 is not hashing, waiting 15 seconds and deciding whether to change pools.
[28-Jun-2011 15:24.33] The hash rate after 15 seconds is
[28-Jun-2011 15:24.33] Still not hashing, pool or net has dropped...
[28-Jun-2011 15:24.33] Killing PID: 5164
[28-Jun-2011 15:24.33] Trying to kill 5164: 0 (should be 0)
[28-Jun-2011 15:24.38] Card card0 is not currently mining.
[28-Jun-2011 15:24.38] Card card1 is not currently mining.
[28-Jun-2011 15:24.38] Rechecking status...

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 28, 2011, 10:58:45 PM
 #31

Was working great for me until 0.3.2.1 update today.

It's not detecting my hashrate and killing and restarting the miners over and over again. I can verify in the miner windows that they are working correctly until killed by the script. Any help would be greatly appreciated. I have really enjoyed using this.

Log:
[28-Jun-2011 15:23.42] Checking for updated versions...
[28-Jun-2011 15:23.42] You are running the latest version of Autominer already.
[28-Jun-2011 15:23.42] GPU-load pool monitoring for card0 could not be enabled. ATI Overdrive is not loaded.
[28-Jun-2011 15:23.42] GPU-load pool monitoring for card1 could not be enabled. ATI Overdrive is not loaded.
[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card0 enabled.
[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card1 enabled.
[28-Jun-2011 15:23.42] Firing up the miner on card card0 using pool 1!
[28-Jun-2011 15:23.42] Connecting to XXX@uswest.btcguild.com:8332...
[28-Jun-2011 15:23.42] Firing up the miner on card card1 using pool 1!
[28-Jun-2011 15:23.42] Connecting to XXX@uswest.btcguild.com:8332...
[28-Jun-2011 15:23.42] Rechecking status...
[28-Jun-2011 15:24.03] card0 is not hashing, waiting 15 seconds and deciding whether to change pools.
[28-Jun-2011 15:24.18] The hash rate after 15 seconds is
[28-Jun-2011 15:24.18] Still not hashing, pool or net has dropped...
[28-Jun-2011 15:24.18] Killing PID: 5153
[28-Jun-2011 15:24.18] Trying to kill 5153: 0 (should be 0)
[28-Jun-2011 15:24.18] card1 is not hashing, waiting 15 seconds and deciding whether to change pools.
[28-Jun-2011 15:24.33] The hash rate after 15 seconds is
[28-Jun-2011 15:24.33] Still not hashing, pool or net has dropped...
[28-Jun-2011 15:24.33] Killing PID: 5164
[28-Jun-2011 15:24.33] Trying to kill 5164: 0 (should be 0)
[28-Jun-2011 15:24.38] Card card0 is not currently mining.
[28-Jun-2011 15:24.38] Card card1 is not currently mining.
[28-Jun-2011 15:24.38] Rechecking status...

Was 0.3.2 monitoring your hashes correctly?

It could be that for some reason it thinks hashrate monitoring is working, but it's not.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 28, 2011, 11:08:23 PM
 #32

Actually went from 0.3 to 0.3.2.1 so never tried it...

Definitely seems to not be detecting correctly - I went back to the 0.3 I made a backup of and it runs fine, yet still with the  "ATI Overdrive is not loaded" error line. That error started showing up after I upgraded the ATI drivers to 11.6 yesterday and I haven't been able to get rid of it. (ran the -od -enable commands, etc. maybe there is more I need to do)

Anyways figured with the new version today with hashrate monitoring this wouldn't matter, but having the issue as I described above. Thanks

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 28, 2011, 11:30:47 PM
 #33

Actually went from 0.3 to 0.3.2.1 so never tried it...

Definitely seems to not be detecting correctly - I went back to the 0.3 I made a backup of and it runs fine, yet still with the  "ATI Overdrive is not loaded" error line. That error started showing up after I upgraded the ATI drivers to 11.6 yesterday and I haven't been able to get rid of it. (ran the -od -enable commands, etc. maybe there is more I need to do)

Anyways figured with the new version today with hashrate monitoring this wouldn't matter, but having the issue as I described above. Thanks

OD not enabled issue is when aticonfig --adapter=all --odgc doesn't work, so it can't work out your GPU load.

When you fire up 0.3.2.1 does it say 'Hashrate-based pool monitoring is enabled', or not?

If so, can you give me the contents of your common.defaults.lib and common.lib (blank out passwords if you use them)?

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 28, 2011, 11:42:45 PM
 #34

Yes from the log above:

[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card0 enabled.
[28-Jun-2011 15:23.42] Hashrate-based pool monitoring for card1 enabled.

I'll get you copies of those files in a bit. Thanks for the help!

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 28, 2011, 11:43:36 PM
 #35

No problem, it looks like you've enabled xmlRPC monitoring somewhere, or I've fucked up the code somewhere and done that.

Edit: Just tried setting my xmlRPCEnabled to 0 and it didn't enable it, so it looks like somehow you've set it in common.lib OR my tarfile includes common.lib... checking the tarfile.

Nope, it's not in there. Did you try to enable hashrate monitoring? If so, is your Phoenix kernel patched?

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 29, 2011, 12:05:41 AM
 #36

Yeah updated my phoenix-1.50 per your directions and added the xmlRPCEnabled=1; line to common.lib.
If I set this back to =0 the miners stay working, although they won't switch to the backup pool under this setup of course.

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 12:09:42 AM
 #37

OK, did you patch your Phoenix binary or not?

Try starting Phoenix manually like this:

./phoenix.py -v -x 2500 -u http://username:password@server:port -k phatk DEVICE=0

If that loads without an issue, go to Autominer directory and do:

./getrates.sh

And tell me what comes out of that.

It looks like either your Phoenix didn't patch properly, or your getrates.sh for some reason isn't pulling the right rates.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 29, 2011, 12:21:35 AM
 #38

Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 12:23:42 AM
 #39

OK, do ls -l /usr/bin/python*

If that doesn't work try sudo ls -l /usr/bin/python*

(Basically, getRate script can't find Python, so we need to set up a symbolic link to it).

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 29, 2011, 12:51:08 AM
 #40

I get:

lrwxrwxrwx 1 root root       9 2011-06-12 01:27 /usr/bin/python -> python2.7
-rwxr-xr-x 1 root root 2375356 2011-04-11 12:14 /usr/bin/python2.7
-rwxr-xr-x 1 root root    1652 2011-04-11 12:07 /usr/bin/python2.7-config
lrwxrwxrwx 1 root root      16 2011-06-12 01:41 /usr/bin/python-config -> python2.7-config

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 12:57:26 AM
 #41

OK, easy enough, just do (either sudo or as root):

ln -s /usr/bin/python2.7 /usr/bin/python2

Then retry autominer.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
de4l
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
June 29, 2011, 06:41:02 AM
 #42

OK, easy enough, just do (either sudo or as root):

ln -s /usr/bin/python2.7 /usr/bin/python2

Then retry autominer.

I was having the same issue with the quick timeout/die and this symbolic link fixed it just right! Thanks!
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 01:53:38 PM
 #43

No problem, enjoy!

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
xarly1
Full Member
***
Offline Offline

Activity: 266
Merit: 100


Revolutionizing Brokerage of Personal Data”


View Profile
June 29, 2011, 02:03:06 PM
 #44

I have a linux pc whit 3 card, i used phoenix(1 for each card) miner and sometimes phoenix crash(only a proccess),.
whit this script "auto start"  a phoenix proccess if proccess stop?

thx  Wink

Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 02:06:12 PM
 #45

I have a linux pc whit 3 card, i used phoenix(1 for each card) miner and sometimes phoenix crash(only a proccess),.
whit this script "auto start"  a phoenix proccess if proccess stop?

thx  Wink

This depends, as there are two types of Phoenix crash.

In one it reduces to 0 khash and your card stops doing anything - for this one, as long as you apply the Phoenix patch and enable XML-RPC reporting, the script will see when Phoenix crashes and restart it.

In the other type of Phoenix crash, it keeps reporting full hashrate. Unfortunately this script can't prevent this but I'm working on a way around it (will involve being able to grab JSON reports from your pool and parse to see when they last accepted a share from a worker).

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
xarly1
Full Member
***
Offline Offline

Activity: 266
Merit: 100


Revolutionizing Brokerage of Personal Data”


View Profile
June 29, 2011, 02:30:06 PM
 #46

My crash its 0kh/s proccess kill and only see

"Killed"

will try appling the Phoenix patch

Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 05:41:17 PM
 #47

Up with a new version.

A few people were saying they'd like to donate but have no BTC up front, so if you want to, just edit common.lib (on v0.3.2.3 or above) and put the following line at the bottom:

donateMode=1

It will automatically give me 1 out of every 200 mining cycles (0.5% of your mining time). I will implement an option later so you can decide how much to donate.

This option is off by default, it's purely optional, and thanks if anyone decides to use it.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
italeffect
Sr. Member
****
Offline Offline

Activity: 255
Merit: 250



View Profile
June 29, 2011, 06:48:19 PM
 #48

Ok up and running on the current version with no issues!  Smiley

Thanks for your help and the sym link fixed the problems I was having with getrates.sh.

After I had that fixed I was still having a whole host of problems that must have been a result of improperly installing the 11.6 CCC and 2.4 SDK the day before. (I was seeing multiple platforms listed, -getclocks stopped working, my 2nd card would only hash at like 10% of what it should do)

I uninstalled all the drivers and reinstalled and now everything is as it should be.

I appreciate all the time and help - I'm still relatively new to linux so the simplest things can be baffling at times!

Dash: Xdopotr3eAHpsSCMkUyU2YWP3WQWb5X3t8
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 29, 2011, 06:50:20 PM
 #49

Ok up and running on the current version with no issues!  Smiley

Thanks for your help and the sym link fixed the problems I was having with getrates.sh.

After I had that fixed I was still having a whole host of problems that must have been a result of improperly installing the 11.6 CCC and 2.4 SDK the day before. (I was seeing multiple platforms listed, -getclocks stopped working, my 2nd card would only hash at like 10% of what it should do)

I uninstalled all the drivers and reinstalled and now everything is as it should be.

I appreciate all the time and help - I'm still relatively new to linux so the simplest things can be baffling at times!

No problem. If you need any help with Autominer, or with Linux, let me know and I'll try to help.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 08:23:49 PM
 #50

I can't make it work.



http://paste.ubuntu.com/635996/

Any ideas what's wrong?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 08:51:13 PM
 #51

Cyper, can you give me the contents of common.lib and cards.lib?

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 09:35:06 PM
 #52

http://paste.ubuntu.com/636029/
http://paste.ubuntu.com/636030/

Also during setup it said that if I use workers I should enter anything in the username/password fields and so I did.
But then where do I enter my real username/passwords? I use 4x Ati 5870 and 4x workers = 1 for each card.


If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 09:41:30 PM
 #53

Change phoenixQueueSize to 1 for each card in cards.lib, then try again.

I think that parameter only supports values from 1-10.

Also, unless you removed them, your cards don't have workers attached in this cards.lib file.

It will ask you during configuration something like "Do you use workers for this card on main pool?"
Just type yes, then it'll take you through questions to set up usernames and passwords. Same for backup pool.

Don't use a password which matters for workers, they are sent across the net in plaintext.

I'm also not sure why it's put donateMode=0 four times instead of once, but that won't be causing the issue.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 09:57:10 PM
 #54

Thank you for your reply, but I think the problem is somehow related to screen judging by this image:



Also missing XML-RPC - is that a problem?

I've fixed the 4 instances of phoenixQueueSize to 1

Should I run the configure script again?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 10:04:37 PM
 #55

It's not related to screen, that just means phoenix didn't work, probably because you have no workers set up.

I suggest running the configure script again, don't power through it, look out for the part where it asks if you have workers and type 'yes'.

Not having XML-RPC wouldn't cause this issue, but enabling it allows you to see all your hash rates in the main window (see post 1 for details). I'd suggest ignoring this until everything else is working.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:06:54 PM
 #56

During setup with ./configure.sh I used "y" instead of "yes" to answer the questions.

Is that a problem?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:09:05 PM
 #57

Ok so this is the question where I just wrote some random stuff:

Quote
If your cards use individual workers on this pool, just put anything here because it won't be used

Quote
What's your Password on the main pool you use? (default: x)
If you use workers, just put anything, it won't be used.

It asks the same questions for the main and backup pools.

Do I leave that blank?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 10:10:30 PM
 #58

During setup with ./configure.sh I used "y" instead of "yes" to answer the questions.

Is that a problem?

Yes, it only accepts 'yes' or 'no'. Anything else will go to the default (whichever is in caps).

With re: the first user/pass prompt: You can put anything in that part because those usernames and passwords will never be used by Autominer if you specify workers.

It first looks for worker details, then if it can't find those, it looks for common usernames & passwords.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:12:49 PM
 #59

Wow that you for your quick replies. I'm make sure to send you some coins when I mine some Smiley

Btw is this relevant to me? My rig will be in the next room in headless mode (no monitor) and I'll control it using Ubuntu Remote Desktop + Windows VNC Viewer.

Quote
Do you want to use headless mode? This will NOT load Xterm at script open.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:14:33 PM
 #60

Additionally on my initial setup I answer 0 to this question:

Quote
Which Phoenix device number is this card? (default: 0)

But now when I though about it I think it should be 1, as phoenix sees my CPU as device 0 and my 4 cards as 1,2,3,4

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 10:19:02 PM
 #61

Wow that you for your quick replies. I'm make sure to send you some coins when I mine some Smiley

Btw is this relevant to me? My rig will be in the next room in headless mode (no monitor) and I'll control it using Ubuntu Remote Desktop + Windows VNC Viewer.

Quote
Do you want to use headless mode? This will NOT load Xterm at script open.

You might find it easier to control it with screen. Just install sshd on Ubuntu, then download Putty on Windows and open a terminal session. Type:

ssh username@ipaddressofminer

Once you're logged in, you can just do screen -x amm -p 0 to open up your screen session.

The reason why I say this is because Phoenix really reduces your computer's graphical responsiveness, and this can make it very slow over VNC. However, if you want to use VNC, you probably want Xterm to keep opening. It won't prevent you working headlessly if xterm does open, but it makes the screens look a bit uglier (they're restricted to the size of your xterm in terms of amount of space they can take up).

If you want to donate, feel free to test donateMode. Tongue It gives me 0.5% of your mining capability.

On the device, if Phoenix sees your GPUs as 1/2/3/4 you should choose 1/2/3/4. My phoenix sees my CPU as 3, GPUs as 0/1/2.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:31:18 PM
 #62

Ok I got them working then I closed the console, but they continued working. Well I used stopmining.sh which worked. Is that the only way to stop them?

And the main problem - the speeds are half of what I should get. ~210 Mhash/s compared to 435 Mhash/s

I just found out phoenixQueueSize[0]="256" and I'm absolutely certain I pressed 1 as default during setup.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 30, 2011, 10:40:13 PM
 #63

Ok I got them working then I closed the console, but they continued working. Well I used stopmining.sh which worked. Is that the only way to stop them?

And the main problem - the speeds are half of what I should get. ~210 Mhash/s compared to 435 Mhash/s

I just found out phoenixQueueSize[0]="256" and I'm absolutely certain I pressed 1 as default during setup.

Try changing it to 1 and retry. That bit was an issue with the code which I will fix now and upload a new version, thanks.

Edit: Fixed in 0.3.2.4.

Running stopmining.sh is the only way to get them to stop, this is by design intent, because it means if you're remote monitoring and your ssh session dies, your miners keep working.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
June 30, 2011, 10:48:13 PM
 #64

Well I fixed it and now it does not want to start mining:





Latest cards.lib file: http://paste.ubuntu.com/636058/

Also which part of the GUI/Desktop Environment do I need to stop when using SSH? Is it Gnome and then I just login in the console?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:13:37 AM
 #65

Your GPU load is 0 apparently.

Can you grab the latest version and run the new checkphoenix.sh script?

Edit: Issue with Dropbox's server right now apparently. Joy. Cheesy

Edit2: Apparently they're migrating data and should be about 1 hour of downtime. This is where I really need a mirror. Tongue

Can you try Phoenix with the following options from the command line? (you need to be in phoenix dir)

./phoenix.py -q 1 -v  -u http://CYPER_GPU1:password@nl.btcguild.com:8332 -k phatk PLATFORM=0 DEVICE=1 WORKSIZE=256 AGGRESSION=11 BFI_INT FASTLOOP=false VECTORS

If this works, double check your phoenix directory (in common.lib) is correct, as that's the exact command the script is sending.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 12:35:41 AM
 #66

Well I got it working and now I'm fighting the SSH thing.

Also I managed to start it and then running stopmining.sh does not seem to kill all instances - one card continued working no matter how many times and executed the stopmining script.

Regarding SSH am I supposed to see the same fancy window as when ran locally?

I ran: sudo DISPLAY=:0 ./startmining.sh /home/cyper/Autominer

And get this:
Autominer Initialization...
Starting in /home/cyper/Autominer
If this is the wrong directory, run "./startmining /path/to/Autominer" instead!
If the script fails, check the log file (default: /var/log/Autominer.log) for details of why.
Most likely, you haven't configured Autominer correctly.
If you can't work it out, don't give up, post at http://forum.bitcoin.org/index.php?topic=19861.0 and I'll try to help!


If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:37:41 AM
 #67

Re: stopmining.sh not killing, try running the following:

killall screen
killall phoenix.py

It could be that when you changed a card identifier, it lost one or something. Usually it kills everything.

On ssh, you should get the exact same screen, when you do 'screen -x amm -p 0'. The screenshot in the first post (which is down thanks to Dropbox) was taken in ssh.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
m3ta
Sr. Member
****
Offline Offline

Activity: 436
Merit: 250



View Profile WWW
July 01, 2011, 12:39:43 AM
 #68

Any chance of a download mirror for the file?

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:41:19 AM
 #69

Any chance of a download mirror for the file?


I'd sorely like to, but I don't have anywhere to ftp dump it to right now. Check back in 30 mins or so and Dropbox should be back up (they're migrating to another datacentre).

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 12:42:21 AM
 #70

Re: stopmining.sh not killing, try running the following:

killall screen
killall phoenix.py

It could be that when you changed a card identifier, it lost one or something. Usually it kills everything.

On ssh, you should get the exact same screen, when you do 'screen -x amm -p 0'. The screenshot in the first post (which is down thanks to Dropbox) was taken in ssh.

I'll try these commands next time I can't stop it.

I haven't forgotten 'screen -x amm -p 0 but it says:
There is no screen to be attached matching amm.

The first command does not work, cause I can hear when it starts mining Smiley

Locally everything works great apart from the information row where it does not display all GPUs.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:45:03 AM
 #71

Re: stopmining.sh not killing, try running the following:

killall screen
killall phoenix.py

It could be that when you changed a card identifier, it lost one or something. Usually it kills everything.

On ssh, you should get the exact same screen, when you do 'screen -x amm -p 0'. The screenshot in the first post (which is down thanks to Dropbox) was taken in ssh.

I'll try these commands next time I can't stop it.

I haven't forgotten 'screen -x amm -p 0 but it says:
There is no screen to be attached matching amm.

The first command does not work, cause I can hear when it starts mining Smiley

Locally everything works great apart from the information row where it does not display all GPUs.

Have you successfully connected via ssh, or are you in a local terminal?

Try doing 'screen -x amm -p 0' on your local machine (the one running the miner), as that's the exact command that's being run on the terminal which you say works by this code:

# Load Xterm if not running headless
if [ "$autoOpenXterm" -eq "1" ]; then
        xterm -T "Autominer" -e screen -x amm -p 0 &
fi


As long as this works, your ssh is probably not connected.

If by the information row you mean where it shows the hashes on my screenshot, you have to enable xmlRPC to make that work. See first post for details.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 12:51:46 AM
 #72

Have you successfully connected via ssh, or are you in a local terminal?

Try doing 'screen -x amm -p 0' on your local machine (the one running the miner), as that's the exact command that's being run on the local terminal.

If by the information row you mean where it shows the hashes on my screenshot, you have to enable xmlRPC to make that work. See first post for details.

Yes I have successfully connected to the machine.

And yes the xmlRPC was enabled and working, apart from not showing all GPUs screens, but it was correctly showing the total speed.

I just restarted and it tries to connect to dropbox to check for newer version but as the site is down it won't. Will it start mining in that case?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:52:46 AM
 #73

Have you successfully connected via ssh, or are you in a local terminal?

Try doing 'screen -x amm -p 0' on your local machine (the one running the miner), as that's the exact command that's being run on the local terminal.

If by the information row you mean where it shows the hashes on my screenshot, you have to enable xmlRPC to make that work. See first post for details.

Yes I have successfully connected to the machine.

And yes the xmlRPC was enabled and working, apart from not showing all GPUs screens, but it was correctly showing the total speed.

I just restarted and it tries to connect to dropbox to check for newer version but as the site is down it won't. Will it start mining in that case?


Should do after some failed attempts.

Can you show me what it looks like when it doesn't show all GPUs? Is it because your xterm is too small?

If so, try stopmining.sh, then change common.lib and set autoOpenXterm=0, then startmining.sh, then open a terminal, make it big and do screen -x amm -p 0.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 12:57:58 AM
 #74

On a second attempt it connected immediately.

Here is what I mean by missing GPUs (the black line at the bottom):



and cycling through the screens does not show the missing GPUs.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:59:04 AM
 #75

Oh, that's an issue with screen, I get the same sometimes when on my 3 GPU machine, the only fix I've found is restarting startmining.sh but it's in my bugs to fix list.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:03:19 AM
 #76

If so, try stopmining.sh, then change common.lib and set autoOpenXterm=0, then startmining.sh, then open a terminal, make it big and do screen -x amm -p 0.

I did that and my machine started mining without the fancy window popping out.

then screen -x amm -p 0 said:

There is no screen to be attached matching amm

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:05:06 AM
 #77

If so, try stopmining.sh, then change common.lib and set autoOpenXterm=0, then startmining.sh, then open a terminal, make it big and do screen -x amm -p 0.

I did that and my machine started mining without the fancy window popping out.

then screen -x amm -p 0 said:

There is no screen to be attached matching amm

Do screen -ls

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:08:17 AM
 #78

Do screen -ls
cyper@Woody:~/Autominer$ screen -ls
No Sockets found in /var/run/screen/S-cyper.

Also this is my attempt at running it via SSH:



I connect, enter my username, then password and then I can change directories, so I'm definitely connected.

screen -x amm -p 0 will produce There is no screen to be attached matching amm and I can hear the machine does not start mining.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:11:29 AM
 #79

Do screen -ls
cyper@Woody:~/Autominer$ screen -ls
No Sockets found in /var/run/screen/S-cyper.

Also this is my attempt at running it via SSH:



I connect, enter my username, then password and then I can change directories, so I'm definitely connected.

screen -x amm -p 0 will produce There is no screen to be attached matching amm and I can hear the machine does not start mining.

try sudo screen -x amm -p 0

I'm not an expert on sudo but I think it would attach the screen to root's session so you might have to be root to use it.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:19:27 AM
 #80

try sudo screen -x amm -p 0



Ok, got the fancy screen under SSH, but it does not connect + F7-F8 doesn not work so how do I change screens?


If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:21:07 AM
 #81

Try ctrl-a, then the screen number (will be 0,1,2,3 etc).

The next release will really help you as it has a dedicated Phoenix diagnostic tool, but Dropbox is being a nightmare.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:28:23 AM
 #82

Try ctrl-a, then the screen number (will be 0,1,2,3 etc).

The next release will really help you as it has a dedicated Phoenix diagnostic tool, but Dropbox is being a nightmare.

This SSH thing is driving me crazy, maybe I should stick with running it locally using Gnome even if it eats some resources.

It does not want to connect + Ctrl+A + numbers works erratically or just using Ctrl+A switches between 2 screens.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:31:36 AM
 #83

Ctrl-A then number should work flawlessly. :/

You have to press Ctrl-A every time you want to press a number.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:38:01 AM
 #84

Is it Ctrl + A + Number all simultaneously
or
Ctrl + A then release and press the number

Btw I'm going for a shower and something to eat after that. If you are still around later on I will write again Smiley

Thank you again for being so helpful Smiley

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:52:29 AM
 #85

Ctrl-A then release and press the number.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
m3ta
Sr. Member
****
Offline Offline

Activity: 436
Merit: 250



View Profile WWW
July 01, 2011, 04:56:57 AM
 #86

Tested working in Debian Squeeze and Ubuntu Natty.

For anyone having trouble with screen terminating repeatedly, add this to your ~/.screenrc
Quote
setenv DISPLAY ":0"

Plus one of the following:

For 64-bit SDK 2.4:
Quote
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64"

For 32-bit SDK 2.4:
Quote
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx32/lib/x86"

For 64-bit SDK 2.1:
Quote
setenv LD_LIBRARY_PATH "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/"

For 32-bit SDK 2.1:
Quote
setenv LD_LIBRARY_PATH "//opt/ati-stream-sdk-v2.1-lnx32/lib/x86/"


This was a lifesaver! Thank you.

@Reikoku: the .screenrc has a small typo on -k k6: it says "kindkey" instead of "bindkey".

Phoenix 1.50 gives me 13Mhash/sec less than the r101 i used with the same settings... i wonder if the XML-RPC is worth the speed decrease...

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 05:58:33 AM
 #87

Are you on SDK 2.1 or 2.4? If you're on 2.1 modify back to poclbm kernel instead of phatk.

I'll fix .screenrc for the next release, thanks.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
film2240
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


Freelance videographer


View Profile WWW
July 01, 2011, 11:32:00 AM
 #88

can this gr8 script be run on mac/windows? As I have 2 computers (1 PC-now upgraded to radeon HD 6950 GPU and my macBook Pro used for backup mining).

Can a GUI version be made as well for these 2 platforms (Win/Mac)?

Is it possible for there to be a feature where the GUI loads initially until you start mining and then it goes to terminal so as to kill overhead running a GUI all day long would create?

Thank you

[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
[This signature is available for rent.BTC/ETH/LTC or £50 equivalent a month]
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 12:12:16 PM
 #89

With effort this could run on Mac, as Mac is compatible with bash script, you'd just have to get screen working.

I'm not sure if Phoenix runs on Mac though.

As far as I know, to make it run on Windows would require switching to another programming language and forgoing the core of the program (GNU Screen).

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
m3ta
Sr. Member
****
Offline Offline

Activity: 436
Merit: 250



View Profile WWW
July 01, 2011, 12:42:07 PM
 #90

Are you on SDK 2.1 or 2.4? If you're on 2.1 modify back to poclbm kernel instead of phatk.

I'll fix .screenrc for the next release, thanks.

2.4.
Tried both 2.1 and 2.4. I now consider the speed decrease a deserved "price" for a so-handy script. Nicely done! Smiley

With effort this could run on Mac, as Mac is compatible with bash script, you'd just have to get screen working.

I'm not sure if Phoenix runs on Mac though.

I confirm Phoenix runs on Mac, and screen is easily installed through MacPorts.

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:28:16 PM
 #91

Do you think you can help with THIS?

I left my machine running during the night using your script and when I woke up it has stopped mining.
I tried connecting using VNC but I couldn't, so I connected via SSH and did sudo reboot.
So the machine was responsive, but it stopped mining for some reason.

Any ideas?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 01:46:13 PM
 #92

Do you think you can help with THIS?

I left my machine running during the night using your script and when I woke up it has stopped mining.
I tried connecting using VNC but I couldn't, so I connected via SSH and did sudo reboot.
So the machine was responsive, but it stopped mining for some reason.

Any ideas?

Usually that issue is related to running out of free memory. :S

Did you leave a VNC on overnight?

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 01, 2011, 01:54:45 PM
 #93

Did you leave a VNC on overnight?

Hm, good question.

I closed the VNC Viewer window and then put the machine to sleep.
But this morning I found 2 vnc processes in the Task Manager, which apparently did not close. Would that matter when the machine is sleeping? Is it still maintaining a connection to the Ubuntu machine?

Also when using putty and after screen -x amm -p 0 how do I get back to the terminal so I can write commands?

Also is this a bug with Putty, screen or your script?
It was fine 2 minutes ago, but now it does not show the temp of the 4th card.


If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 01, 2011, 10:27:48 PM
 #94

That's a bug with aticonfig, I assume, since all the script is doing is passing 'aticonfig --adapter=all --odgt' every 15 seconds.

To get out of screen, just hit Ctrl-A, then D.

I'm not sure about the VNC windows, even having the VNC server open may be a memory issue if it's caching.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500



View Profile
July 02, 2011, 02:51:19 PM
 #95

First of all, thanks for the Autominer. It's really great! I have a (small) problem with it though:



The GPU* screens do not attach correctly, as shown above. The miner is working and it mines fine, but the status windows don't work. Any ideas why?
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 02, 2011, 05:14:33 PM
 #96

Try changing card identifier names in cards.lib to start with a letter instead of a number.

It's an awkward convention of screen that session names must start with a letter.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
M4v3R
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500



View Profile
July 04, 2011, 07:03:01 AM
 #97

@Reikoku: You were right. It works now. I have one bug report though:

The startmining.sh script works from any directory and this is good. But the stopmining.sh works only from Autominer dir. I just copied and pasted the lines that get directory from paratemer and sets it to current directory to stopmining.sh and now it works ok Smiley. I need that, because for some reason when I want to start my miners at boot, this doesn't work:

cd ~/Autominer
sh startmining.sh

But this works:

cp ~/Autominer/startmining.sh /usr/bin/startmining
...
startmining
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 04, 2011, 10:38:55 AM
 #98

@Reikoku: You were right. It works now. I have one bug report though:

The startmining.sh script works from any directory and this is good. But the stopmining.sh works only from Autominer dir. I just copied and pasted the lines that get directory from paratemer and sets it to current directory to stopmining.sh and now it works ok Smiley. I need that, because for some reason when I want to start my miners at boot, this doesn't work:

cd ~/Autominer
sh startmining.sh

But this works:

cp ~/Autominer/startmining.sh /usr/bin/startmining
...
startmining

Not sure why the first doesn't work. Try cd ~/Autominer && ./startmining.sh instead.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 05, 2011, 04:17:40 AM
 #99

I've noticed that when the terminal or any other windows are open at the Ubuntu machine then the speed is playing, but when I close all windows the speed is rock solid, so I disabled xterm. That is not a problem/bug, just an observation on my part Smiley

But I do have a problem:

When I start the miner locally everything is fine, but it does not start via SSH.
I connect and then I write:
Code:
cd Autominer
sudo ./startmining.sh
write my password





So for now I connect using VNC, start it locally, close the Terminal and any other windows, close the VNC viewer and then connect using SSH and proceed with sudo screen -x amm -p 0
But I would like to be able to start it remotely via SSH and not use VNC if possible.

Any ideas?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
wonderbread
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 05, 2011, 02:22:28 PM
 #100

Works well, saved me hacking one together myself.

Flawless so far.
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 06, 2011, 03:07:18 AM
 #101

Is it very difficult to implement manual switching between pools?
Currently I have created different common.lib and cards.lib files for each set of pools such as:

Deepbit and Slush
Deepbit and BTC Guild
Slush and BTC Guild

But it would be awesome if there is an easy way to quickly switch to a different pool manually when desired and not just when the pool is down.

Thank you.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 06, 2011, 04:43:21 AM
 #102

When I start the miner locally everything is fine, but it does not start via SSH.
I connect and then I write:
Code:
cd Autominer
sudo ./startmining.sh
write my password

Try doing sudo DISPLAY=:0 ./startmining.sh (or that might be DISPLAY=:0 sudo ./startmining.sh). It can only open over ssh if you set DISPLAY variable.

Is it very difficult to implement manual switching between pools?
Currently I have created different common.lib and cards.lib files for each set of pools such as:

Deepbit and Slush
Deepbit and BTC Guild
Slush and BTC Guild

But it would be awesome if there is an easy way to quickly switch to a different pool manually when desired and not just when the pool is down.

Thank you.

I don't think it would be very difficult to do this if you know some bash script. You'd just make a new script that cycles through all devices, kills active processes then starts new miners up on the pool passed to it as an argument.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
mrpeterc
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 06, 2011, 06:29:11 PM
 #103



Thank you for your script, everything I read it is wonderful.  I have tried several different ways to start this but I keep getting the same error, I check for a log and no log exists.  Cany you help me...btw I am very new at this so please be patient.
 
This is a copy of the message I get:  I have 2 Radeon 6950, connecting to bitcoinpool.com, my miners work fine and that part I know works. 

miningrig3@miningrig3-MS-7599:~/Autominer$ sudo ./startmining.sh
Autominer Initialization...
Starting in /home/miningrig3/Autominer/
If this is the wrong directory, run "./startmining /path/to/Autominer"                                                        instead!
If the script fails, check the log file (default: /var/log/Autominer.log) for details of why.
Most likely, you haven't configured Autominer correctly.
If you can't work it out, don't give up, post at http://forum.bitcoin.           org/index.php?topic=19861.0 and I'll try to help!
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 06, 2011, 07:17:31 PM
 #104

The text you are getting doesn't indicate an error as it appears everytime, even if everything works fine Smiley

When you write sudo ./startmining.sh does an additional window open?

Also did you configure autoOpenXterm=1 or autoOpenXterm=0 in common.lib?





If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
mrpeterc
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 06, 2011, 07:47:02 PM
 #105

Thank you for your responese,

autoOpenXterm=1, I am running this via ssh, is there another screen I need activate?
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 06, 2011, 08:05:34 PM
 #106

First try to run it locally to make sure everything is working as it should. Can you do that?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
mrpeterc
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 06, 2011, 08:22:41 PM
 #107

I am on the local machine and it popped up the Autominer screen and is mining, I checked the cores both are running 99%,  I guess it most be the way I display in ssh?  Thank you, I am glad the software is running....if you could help me with the ssh part that would be great...
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 06, 2011, 08:31:02 PM
 #108

I am on the local machine and it popped up the Autominer screen and is mining, I checked the cores both are running 99%,  I guess it most be the way I display in ssh?  Thank you, I am glad the software is running....if you could help me with the ssh part that would be great...

The important thing is that it works Smiley

Try

Code:
sudo DISPLAY=:0 ./startmining.sh
or
Code:
DISPLAY=:0 sudo ./startmining.sh

I'm not sure of the exact structure.

I have the same problem, but it does not bother me, as I'm using VNC to connect to the machine and start the miner locally and then I just connect via SSH to monitor it using sudo screen -x amm -p 0

I'd prefer mining instead of troubleshooting it Wink

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
mrpeterc
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 06, 2011, 08:40:38 PM
 #109

That did it, thank you for the help.... Smiley
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 06, 2011, 08:42:17 PM
 #110

Which command is the correct one?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
mrpeterc
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 06, 2011, 08:46:46 PM
 #111

I did it just like you said, I had it started on the local machine, and used sudo screen -x amm -p 0
to start the screen via ssh.  I will try it on the other 2 machines I have, I need to install the autominer on those also.  Thanks again for all the help, I feel much better seeing the miners running.
Kris
Donator
Hero Member
*
Offline Offline

Activity: 645
Merit: 500


View Profile
July 06, 2011, 11:31:59 PM
 #112

Nice job.
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
July 07, 2011, 05:42:01 PM
 #113

Sigh. . .

With the DDOS's hitting the good pools, I need more than 2 pools to cycle through.

I'm using one of your original versions, because the newer ones never worked with the autosetup.

Can I just add pool 3, 4 etc. in the common file and corresponding entries in the cards file?

I'll probably just try this anyways, since it's kinda necessary, unless I go back to solomining as backup. . .

If there's anything extra I need to modify, PLMK.
Thanks!

I did donate a little something to you, btw, if that matters.

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 07, 2011, 10:50:56 PM
 #114

when i start mining, i just get a bunch of "Rechecking status..." and no mining is going on.  i have a 4850.  if i start phoenix manually (python ./phoenix.py -u http://X@pit.deepbit.net:8332/ -k poclbm VECTORS FASTLOOP=false AGGRESSION=9 DEVICE=1) it works fine.

Code:
[07-Jul-2011 15:47.20] You are running the latest version of Autominer already.
[07-Jul-2011 15:47.20] GPU-load pool monitoring for card0 enabled.
[07-Jul-2011 15:47.20] Hashrate-based pool monitoring for card0 could not be enabled. XML-RPC is not working.
[07-Jul-2011 15:47.20] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 15:47.20] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 15:47.20] Rechecking status...
[07-Jul-2011 15:47.40] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 15:47.40] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 15:47.40] Rechecking status...

no further info is in Autominer.log

Code:
# common.lib generated by Autominer configure.sh

# File locations
phoenixDirectory="/home/scar/local/src/phoenix-miner"
logFile="/home/scar/src/Autominer/Autominer.log"

# Main pool info
poolURL1="pit.deepbit.net"
poolPort1="8332"
poolUser1="Rei.test"
poolPass1="x"

# Backup pool info
poolURL2="api.bitcoin.cz"
poolPort2="8332"
poolUser2="14PQSoPuouTorMmcYxf2i1Mr1h3awSTs4p"
poolPass2="x"

autoOpenXterm="0"
donateMode=0

Code:
# cards.lib generated by Autominer configure.sh

# Card Info for 1 cards
identifier[0]="card0"
atiDevice[0]="0"
phoenixKernel[0]="poclbm"
phoenixDevice[0]="1"
phoenixWorkSize[0]="128"
phoenixQueueSize[0]="1"
phoenixAggression[0]="9"
phoenixParams[0]="VECTORS FASTLOOP=false"
poolWorkerName1[0]="X"
poolWorkerPass1[0]="X"
poolWorkerName2[0]="X"
poolWorkerPass2[0]="X"


1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 07, 2011, 11:10:58 PM
 #115

Connecting to http://X@pit.deepbit.net:8332... which I guess is Connecting to http://X:X@pit.deepbit.net:8332... right?

Also do you run sudo ./startmining locally or via SSH?

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 07, 2011, 11:35:15 PM
 #116

yes by X i meant my user:pass.

i am running through ssh:
Code:
$ DISPLAY=:0 ./startmining.sh /home/scar/src/Autominer

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 07, 2011, 11:52:07 PM
 #117

First try locally to make sure everything is working as it should.
If it does I can't help you with starting it remotely as I usually start it locally and then just monitor it via SSH.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 08, 2011, 01:07:09 AM
 #118

i tried running locally and the same thing is happening.  using sudo doesn't change anything and should not be required.  i also tried adding `setenv DISPLAY ":0"` and `setenv LD_LIBRARY_PATH "/opt/ati-stream-sdk-v2.1-lnx64/lib/x86_64/"` to my ~/.screenrc.

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 08, 2011, 01:22:06 AM
 #119

Well, I think without sudo the log file can't be created.

Use sudo and then check on Autominer.log

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 08, 2011, 01:27:56 AM
 #120

i set the log file to be in my home directory so it gets created either way, and there isn't any extra info in there:

Code:
[07-Jul-2011 18:05.52] Autominer v0.3.2.6 by REIKOKU
[07-Jul-2011 18:05.52] If you like this script, please consider sending a tip:
[07-Jul-2011 18:05.52] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[07-Jul-2011 18:05.52] Or just turn on donate mode to donate 0.5% of your hashes (in common.lib, 'donateMode=1').
[07-Jul-2011 18:05.52] Checking for updated versions...
[07-Jul-2011 18:05.52] You are running the latest version of Autominer already.
[07-Jul-2011 18:05.53] GPU-load pool monitoring for card0 enabled.
[07-Jul-2011 18:05.53] Hashrate-based pool monitoring for card0 could not be enabled. XML-RPC is not working.
[07-Jul-2011 18:05.53] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 18:05.53] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 18:05.53] Rechecking status...
[07-Jul-2011 18:06.13] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 18:06.13] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 18:06.13] Rechecking status...
[07-Jul-2011 18:06.19] Killing PID: 0
[07-Jul-2011 18:06.19] Trying to kill 0 failed, invalid PID.
[07-Jul-2011 18:06.19] Killing PID: 30833
[07-Jul-2011 18:06.19] Trying to kill 30833: 0 (should be 0)
[07-Jul-2011 18:06.19] Killing PID: 30799
[07-Jul-2011 18:06.19] Trying to kill 30799: 0 (should be 0)
[07-Jul-2011 18:06.19]
[07-Jul-2011 18:06.19] Miner is stopped, thanks for using Autominer.

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 08, 2011, 09:01:18 AM
 #121

i set the log file to be in my home directory so it gets created either way, and there isn't any extra info in there:

Code:
[07-Jul-2011 18:05.52] Autominer v0.3.2.6 by REIKOKU
[07-Jul-2011 18:05.52] If you like this script, please consider sending a tip:
[07-Jul-2011 18:05.52] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[07-Jul-2011 18:05.52] Or just turn on donate mode to donate 0.5% of your hashes (in common.lib, 'donateMode=1').
[07-Jul-2011 18:05.52] Checking for updated versions...
[07-Jul-2011 18:05.52] You are running the latest version of Autominer already.
[07-Jul-2011 18:05.53] GPU-load pool monitoring for card0 enabled.
[07-Jul-2011 18:05.53] Hashrate-based pool monitoring for card0 could not be enabled. XML-RPC is not working.
[07-Jul-2011 18:05.53] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 18:05.53] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 18:05.53] Rechecking status...
[07-Jul-2011 18:06.13] Firing up the miner on card card0 using pool 1!
[07-Jul-2011 18:06.13] Connecting to http://X@pit.deepbit.net:8332...
[07-Jul-2011 18:06.13] Rechecking status...
[07-Jul-2011 18:06.19] Killing PID: 0
[07-Jul-2011 18:06.19] Trying to kill 0 failed, invalid PID.
[07-Jul-2011 18:06.19] Killing PID: 30833
[07-Jul-2011 18:06.19] Trying to kill 30833: 0 (should be 0)
[07-Jul-2011 18:06.19] Killing PID: 30799
[07-Jul-2011 18:06.19] Trying to kill 30799: 0 (should be 0)
[07-Jul-2011 18:06.19]
[07-Jul-2011 18:06.19] Miner is stopped, thanks for using Autominer.

Try doing ./checkphoenix.sh

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 08, 2011, 05:13:04 PM
 #122

thanks.  after i ran that i noticed that it's trying to run `./phoenix.py` whereas i was using `python ./phoenix.py`.  `chmod +x phoenix.py` has solved the issue and Autominer is now mining!

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 08, 2011, 06:45:36 PM
 #123

thanks.  after i ran that i noticed that it's trying to run `./phoenix.py` whereas i was using `python ./phoenix.py`.  `chmod +x phoenix.py` has solved the issue and Autominer is now mining!

Makes sense, glad to know it's working now.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 08, 2011, 11:53:48 PM
 #124

is there a way to send a command to phoenix/Autominer to change the aggression? like via RPC for example?  or will i need to use ./stopmining, edit the lib file, and then ./startmining, whenever i want to watch a video, then repeat when i am finished watching a video?

also, is there a way to switch back to my main pool once Autominer has started using the seondary pool?  or do i again just have to restart Autominer?

or maybe a way for Autominer to periodically check the main pool and automatically switch back to it once it determines it's reachable again?  sorry i'm not a coder at all but these might be good features to implement....

thanks

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 09, 2011, 07:25:39 AM
 #125

is there a way to send a command to phoenix/Autominer to change the aggression? like via RPC for example?  or will i need to use ./stopmining, edit the lib file, and then ./startmining, whenever i want to watch a video, then repeat when i am finished watching a video?

also, is there a way to switch back to my main pool once Autominer has started using the seondary pool?  or do i again just have to restart Autominer?

or maybe a way for Autominer to periodically check the main pool and automatically switch back to it once it determines it's reachable again?  sorry i'm not a coder at all but these might be good features to implement....

thanks

You can edit the lib file, then do stopmining then startmining to change aggression. Active phoenix sessions won't take a command to change aggression. I suggest making two copies of the libfile, say:

cards.lib.7 - Aggression 7
cards.lib.11 - Aggression 11

Then just do:

cp cards.lib.7 cards.lib && ./stopmining.sh && DISPLAY=:0 ./startmining.sh

With re: changing back to your main pool, all of the pools seem to have different ways to tell that they're online. This is something planned for the long term future of autominer (probably via a python script) but isn't likely to come anytime soon. Right now it'd just be ./stopmining.sh && DISPLAY=:0 ./startmining.sh

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 10, 2011, 11:34:16 AM
 #126

Hi,

im trying to use autominer... set up all configurations to my cards an workers.
But when i start
Code:
./startmining.sh /opt/miners/autominer
i don't get a new window.
Somehow the cards are fired up and doing their work.

Code:
screen -x amm -p 0
says "There is no screen to be attached matching amm."

Any suggestions?

EDIT:
- autoOpenXterm is set to 1
- also tried wrote
Code:
setenv DISPLAY ":0"
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/lib"
to my ~/.screenrc
wegotpickles
Jr. Member
*
Offline Offline

Activity: 49
Merit: 0



View Profile
July 10, 2011, 03:45:03 PM
 #127

Hi,

im trying to use autominer... set up all configurations to my cards an workers.
But when i start
Code:
./startmining.sh /opt/miners/autominer
i don't get a new window.
Somehow the cards are fired up and doing their work.

Code:
screen -x amm -p 0
says "There is no screen to be attached matching amm."

Any suggestions?

EDIT:
- autoOpenXterm is set to 1
- also tried wrote
Code:
setenv DISPLAY ":0"
setenv LD_LIBRARY_PATH "/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/lib"
to my ~/.screenrc
I believe you have an extra /lib on the end of your LD_LIBRARY_PATH, and if you set your autominer directory in your startmining.sh or the configure script you shouldn't need to include /opt/miners/autominer when running the script.

1AEM2iPbyh6EV6Q5CHYBrrgZeGknLmW7aL
PGP public key (http://pastebin.com/jKCPFq0M) | 10% off TradeHill (http://www.tradehill.com/?r=TH-R13720) | Bitcoin7 (https://www.bitcoin7.com/?ref=8563)
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 10, 2011, 04:07:56 PM
 #128

Thanks for reply, but still no new window.

How can I check if "screen" is working properly?

Which .screenrc do I have to edit? (I created this file on /home/user/.screenrc because there wasn't one)

There is a file called .screen_Autominer in the Autominer directory. What is it for? It's empty.
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 10, 2011, 06:15:58 PM
 #129

Have you installed screen? - sudo apt-get install screen

And always use sudo to make sure everything runs with elevated privileges.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 10, 2011, 06:29:11 PM
 #130

I installed screen, yes.
And I'm using a root terminal.
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 10, 2011, 07:24:12 PM
 #131

anything useful in the Autominer.log?  you can list the active screen sessions with `screen -ls` there should be a 'miner', 'amm', and 'temps' at least, and then a 'cardX-miner' for each of your cards.

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 10, 2011, 07:48:47 PM
 #132

screen -ls is showing the following:
Code:
21771.temps (07/10/2011 09:44:38 PM) (Detached)
21796.gpu2_asus-miner (07/10/2011 09:44:38 PM) (Detached)
21785.gpu1_sapphire-miner (07/10/2011 09:44:38 PM) (Detached)
21807.gpu3_sapphire-miner (07/10/2011 09:44:38 PM) (Detached)
21733.miner (07/10/2011 09:44:37 PM) (Detached)

Log file (stopped it mysef with ./stopminer.sh)
Code:
[10-Jul-2011 21:44.37] Autominer v0.3.2.6 by REIKOKU
[10-Jul-2011 21:44.37] If you like this script, please consider sending a tip:
[10-Jul-2011 21:44.37] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[10-Jul-2011 21:44.37] Or just turn on donate mode to donate 0.5% of your hashes (in common$
[10-Jul-2011 21:44.37] Checking for updated versions...
[10-Jul-2011 21:44.38] You are running the latest version of Autominer already.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu1_sapphire enabled.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu2_asus enabled.
[10-Jul-2011 21:44.38] GPU-load pool monitoring for gpu3_sapphire enabled.
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu1_sapphire could not be enable$
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu2_asus could not be enabled. X$
[10-Jul-2011 21:44.38] Hashrate-based pool monitoring for gpu3_sapphire could not be enable$
[10-Jul-2011 21:44.38] Firing up the miner on card gpu1_sapphire using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Firing up the miner on card gpu2_asus using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Firing up the miner on card gpu3_sapphire using pool 1!
[10-Jul-2011 21:44.38] Connecting to *****************************...
[10-Jul-2011 21:44.38] Rechecking status...
[10-Jul-2011 21:45.03] Card gpu1_sapphire is mining on ************$
[10-Jul-2011 21:45.03] Card gpu2_asus is mining on ***************$
[10-Jul-2011 21:45.03] Card gpu3_sapphire is mining on ************$
[10-Jul-2011 21:45.58] Killing PID: 21785
[10-Jul-2011 21:45.58] Trying to kill 21785: 0 (should be 0)
[10-Jul-2011 21:45.58] Killing PID: 21796
[10-Jul-2011 21:45.59] Trying to kill 21796: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 21807
[10-Jul-2011 21:45.59] Trying to kill 21807: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 21771
[10-Jul-2011 21:45.59] Trying to kill 21771: 0 (should be 0)
[10-Jul-2011 21:45.59] Killing PID: 0
[10-Jul-2011 21:45.59] Trying to kill 0 failed, invalid PID.
[10-Jul-2011 21:45.59]
[10-Jul-2011 21:45.59] Miner is stopped, thanks for using Autominer.
(*** replacing my account data. the connection to the pool is working.)
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 11, 2011, 07:34:49 PM
 #133

no more ideas?
would really like to use this script... Sad
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 12, 2011, 01:42:42 PM
 #134

For some reason it looks like everything is working but the main 'amm' screen isn't connecting.

The screenrc is in the Autominer directory, do ls -a, it's .screenrc_Autominer I think (don't have a box to hand).

If that file is empty, you need to redownload autominer and re-untar it.

If you copied or moved the directory, it could be that it didn't move the invisible file.

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 12, 2011, 04:14:22 PM
 #135

Well, something happened now. You were right, the .screen_Autominer file was not copied.

When i start the script now using VNC, the CPU runs with 100% and nothing else happens... there is still no xterm opening.
(Had real hard problems to get the control back)

I will recheck this when I have more time and be able to control the machine physically without VNC.

Stay tuned Wink
xarly1
Full Member
***
Offline Offline

Activity: 266
Merit: 100


Revolutionizing Brokerage of Personal Data”


View Profile
July 13, 2011, 12:26:05 PM
 #136

For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.


scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 13, 2011, 05:14:18 PM
 #137

For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.

this's a great idea

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 14, 2011, 04:10:39 AM
 #138

For me now works really good  Smiley.

I`ve a suggestion.

When change to 2nd pool, check status of pool 1 every 10 minutes and if its ok, put mining on 1st pool again.

Sometimes have connection problems and miner change pool and no back to pool 1, keep on pool 2.



It is only a good idea if the script can check the connection to Pool 1 without interrupting the mining process, because otherwise if Pool 1 still has connection issues then the script will disconnect from Pool 2 every 10 minutes to check Pool 1 = not very efficient.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
xarly1
Full Member
***
Offline Offline

Activity: 266
Merit: 100


Revolutionizing Brokerage of Personal Data”


View Profile
July 14, 2011, 12:15:06 PM
 #139

It is only a good idea if the script can check the connection to Pool 1 without interrupting the mining process, because otherwise if Pool 1 still has connection issues then the script will disconnect from Pool 2 every 10 minutes to check Pool 1 = not very efficient.

No need kill te pool 2 proccess(can start 2 phoenix whit same card), if connect pool 1 and start mining, kill pool 2 process.

CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 15, 2011, 12:58:24 PM
 #140

So I'm still trying to start the script via SSH and it does not work. I type:

sudo DISPLAY=:0 ./startmining.sh /home/cyper/Autominer
or
DISPLAY=:0 sudo ./startmining.sh /home/cyper/Autominer
or
sudo DISPLAY=:0 ./startmining.sh

All I get is this:





Also here is the log from Autominer.log:

Quote
[15-Jul-2011 13:51.43] Autominer v0.3.2.6 by REIKOKU
[15-Jul-2011 13:51.43] If you like this script, please consider sending a tip:
[15-Jul-2011 13:51.43] 14PQSoPuouTorMmcYxf2iMr1h3awSTs4p
[15-Jul-2011 13:51.43] Or just turn on donate mode to donate 0.5% of your hashes (in common.lib, 'donateMode=1').
[15-Jul-2011 13:51.43] Checking for updated versions...
[15-Jul-2011 13:51.44] You are running the latest version of Autominer already.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU0 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU1 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU2 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] GPU-load pool monitoring for GPU3 could not be enabled. ATI Overdrive is not loaded.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU0 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU1 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU2 enabled.
[15-Jul-2011 13:51.44] Hashrate-based pool monitoring for GPU3 enabled.
[15-Jul-2011 13:51.44] Firing up the miner on card GPU0 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:xxxxx@btcmine.com:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU1 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:xxxxx@btcmine.com:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU2 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:xxxxx@btcmine.com:8332...
[15-Jul-2011 13:51.44] Firing up the miner on card GPU3 using pool 1!
[15-Jul-2011 13:51.44] Connecting to http://xxxxxxxx:xxxxx@btcmine.com:8332...
[15-Jul-2011 13:51.44] Rechecking status...


If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
scar
Jr. Member
*
Offline Offline

Activity: 32
Merit: 0


View Profile
July 15, 2011, 06:06:56 PM
 #141

since X isn't running then i think you need to have it start xterm, which is `autoOpenXterm="1"` in common.lib. 

1P1Y7vVy3wwBUUyBAPdxULTn4KZpttQrfS
myjack
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 15, 2011, 07:12:03 PM
 #142

I still have problems starting autominer. after i copied the .screen_Autominer, the starting window appears for a millisecond. the miner is working, but still no window. screen -list also shows no screen called "amm".

Any ideas?
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 17, 2011, 03:50:14 AM
 #143

since X isn't running then i think you need to have it start xterm, which is `autoOpenXterm="1"` in common.lib. 

I tried, but that is not the problem.
Any other suggestions?

Btw I also tried:

export DISPLAY=:0
sudo DISPLAY=:0 ./startmining.sh

But it didn't work too.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 22, 2011, 11:25:46 PM
 #144

OK for anyone struggling to start the script at reboot this is the best way I've found:

In Gnome  go to System/Preferences/Startup Application or just find Startup Applications and add the script there.

Then when you connect via SSH just type:

screen -r to get the info screen.

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
CYPER
Hero Member
*****
Offline Offline

Activity: 756
Merit: 500



View Profile
July 22, 2011, 11:36:14 PM
 #145

Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")


For anyone having this problem just edit getRate.py

change

#!/usr/bin/python2

to

#!/usr/bin/python

If this post helped you and you feel generous you know what to do: 1P9tXFy9bVgzrfPGeV7F8np26ZtFdCCWvz
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
July 24, 2011, 10:04:31 PM
 #146

Yes phoenix is patched. Directly launching it works fine (as in the command you provided).

running ./getrates.sh however, produces the following:

./getrates.sh: ./getRate.py: /usr/bin/python2: bad interpreter: No such file or directory
./getrates.sh: line 42: /1000: syntax error: operand expected (error token is "/1000")


For anyone having this problem just edit getRate.py

change

#!/usr/bin/python2

to

#!/usr/bin/python


This may not work on legacy systems which have python 1 and 2 installed, you would be better off going into /usr/bin, finding out the name of your python executable and creating a symlink to it.

For example, if it's called python26 (many are), do:

ln -s /usr/bin/python26 /usr/bin/python2

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
neneko
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 29, 2011, 06:31:25 PM
 #147

I'm getting the "There is no screen to be attached matching miner-1" message when starting the Autominer. I'm on ubuntu 11.07. Got x running and everything installed that I'm supposed to.

Is there any chance you could make the older version available? I had no problem running the one before the new interface.
CyberPhunk
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
July 30, 2011, 05:00:19 AM
 #148

Is it possible to run this on LinuxCoin?

I ran the config script, and have everything setup, but I get an error whe I run the startmining.sh script:

Code:
root@linuxcoin:/home/user/Downloads/Autominer# ./startmining.sh /home/user/Downloads//Autominer
Autominer Initialization...
Starting in /home/user/Downloads//Autominer
If this is the wrong directory, run "./startmining /path/to/Autominer" instead!
If the script fails, check the log file (default: /var/log/Autominer.log) for details of why.
Most likely, you haven't configured Autominer correctly.
If you can't work it out, don't give up, post at http://forum.bitcoin.org/index.php?topic=19861.0 and I'll try to help!
Directory '/var/run/screen' must have mode 777.
Directory '/var/run/screen' must have mode 777.
root@linuxcoin:/home/user/Downloads/Autominer#

There ISN'T a directory "/var/run/screen" there IS "/run/screen"

Do I have to install anything over the basic setup of LinuxCoin?

List of client download mirrors / Older Catalyst drivers/SDK
13dRbbqBpfZEmZiXXdLM4NKNoJYsgHbuFJ  <- might as well, in case someone feels generous. Wink
GimEEE
Member
**
Offline Offline

Activity: 112
Merit: 10

Ride or Die


View Profile WWW
August 12, 2011, 12:01:21 AM
 #149

Why isn't this stickied yet?

Works very nicely except requires modding "miner.sh" file to avoid the even card failure toggle back bug which prevents switching pools when an even number of cards is attempting to switch.
Email me if you want the version of miner.sh to prevent this.


This needs upgrade for more than 2 pools and also timed switch back to main pool after failure, but those aren't necessary.

The only way to make sure people you agree with can speak is to support the rights of people you don't agree with.
Pages: 1 2 3 4 5 6 7 8 [All]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!