Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 788. (Read 5805728 times)

member
Activity: 70
Merit: 10
Can someone tell me how to setup a fallback pool in this .bat file:
cgminer.exe -o http://173.193.21.69:8337 -u user -p password -v 2 -w 128

You can specify additional pools by repeating the arguments (second, third,... dataset with -o -u -p arguments). Alternatively you can specify these in configuration files and simply add -c 1.cfg -c 2.cfg -c 3.cfg etc.
So, that would be:

cgminer.exe -o http://arsbitcoin.com:8344 -u user -p password -v 2 -w 128
cgminer.exe -o http://mtred.com:8337 -u user -p password -v 2 -w 128

?
I've tried doing it from within the cgminer console, but I'm still unfamiliar with the commands.

Thanks, by the way.
newbie
Activity: 49
Merit: 0
Can someone tell me how to setup a fallback pool in this .bat file:
cgminer.exe -o http://173.193.21.69:8337 -u user -p password -v 2 -w 128

You can specify additional pools by repeating the arguments (second, third,... dataset with -o -u -p arguments). Alternatively you can specify these in configuration files and simply add -c 1.cfg -c 2.cfg -c 3.cfg etc.
member
Activity: 70
Merit: 10
I've been using guiminer, but about three days ago I switched to cgminer.  Shocked  Stales percentage dropped significantly.  I'm wishing I had done this a long time ago.

Can someone tell me how to setup a fallback pool in this .bat file:
cgminer.exe -o http://173.193.21.69:8337 -u user -p password -v 2 -w 128
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Buggy libraries in old distributions.
full member
Activity: 164
Merit: 100
Hi,
I have been seeing some crashes both when running cpu only and with cpu+gpu mining.
Here is the output from a cpu-only run that crashed, does it make any sense to anyone?
Most often it takes many hours before they crash.

cgminer v 1.6.1 (1.6.2 also crashes)
The computer is a dual cpu intel quad core
os: RHEL 5.3 (seen similar on CentoOs 5.4)


Best
/GoK


Code:
[2010-09-01 18:35:44] Converted longpoll data to work
[2010-09-01 18:35:44] New block detected on network before longpoll, waiting on fresh work
[2010-09-01 18:35:44] Popping work from get queue to get work
[2010-09-01 18:35:44] Discarded work
[2010-09-01 18:35:44] Discarded work
[2010-09-01 18:35:44] Discarded work*** glibc detected *** ./cgminer: double free or corruption (!prev): 0x000000001cebd450 ***
                                                                                                                               ======= Backtrace: =========
                                                                                                                                                           /lib64/libc.so.6[0x3a2fc71ce2]
       /lib64/libc.so.6(cfree+0x8c)[0x3a2fc7590c]
                                                 ./cgminer[0x4086ef]
                                                                    /lib64/libpthread.so.0[0x3a30806367]
                                                                                                        /lib64/libc.so.6(clone+0x6d)[0x3a2fcd30ad]
                                                                                                                                                  ======= Memory map: ========
                                                                                                                                                                              00400000-00430000 r-xp 00000000 08:01 5767673                            /home/miner/miners/cgminer-1.6.1/cgminer
                                                                                                               0062f000-00631000 rwxp 0002f000 08:01 5767673                            /home/miner/miners/cgminer-1.6.1/cgminer
                                                00631000-00634000 rwxp 00631000 00:00 0
                                                                                        1cdf3000-1cf03000 rwxp 1cdf3000 00:00 0                                  [heap]
                                                                                                                                                                       40dc7000-40dc8000 ---p 40dc7000 00:00 0
                             40dc8000-417c8000 rwxp 40dc8000 00:00 0
                                                                     417c8000-417c9000 ---p 417c8000 00:00 0
                                                                                                             417c9000-421c9000 rwxp 417c9000 00:00 0
                                                                                                                                                     421c9000-421ca000 ---p 421c9000 00:00 0
           421ca000-42bca000 rwxp 421ca000 00:00 0
                                                   42bca000-42bcb000 ---p 42bca000 00:00 0
                                                                                           42bcb000-435cb000 rwxp 42bcb000 00:00 0
                                                                                                                                   435cb000-435cc000 ---p 435cb000 00:00 0
                                                                                                                                                                           435cc000-43fcc000 rwxp 435cc000 00:00 0
                                 43fcc000-43fcd000 ---p 43fcc000 00:00 0
                                                                         43fcd000-449cd000 rwxp 43fcd000 00:00 0
                                                                                                                 449cd000-449ce000 ---p 449cd000 00:00 0
                                                                                                                                                         449ce000-453ce000 rwxp 449ce000 00:00 0
               453ce000-453cf000 ---p 453ce000 00:00 0
                                                       453cf000-45dcf000 rwxp 453cf000 00:00 0
                                                                                               45dcf000-45dd0000 ---p 45dcf000 00:00 0
                                                                                                                                       45dd0000-467d0000 rwxp 45dd0000 00:00 0
                                                                                                                                                                               467d0000-467d1000 ---p 467d0000 00:00 0
                                     467d1000-471d1000 rwxp 467d1000 00:00 0
                                                                             471d1000-471d2000 ---p 471d1000 00:00 0
                                                                                                                     471d2000-47bd2000 rwxp 471d2000 00:00 0
                                                                                                                                                             47bd2000-47bd3000 ---p 47bd2000 00:00 0
                   47bd3000-485d3000 rwxp 47bd3000 00:00 0
                                                           485d3000-485d4000 ---p 485d3000 00:00 0
                                                                                                   485d4000-48fd4000 rwxp 485d4000 00:00 0
                                                                                                                                           499d5000-499d6000 ---p 499d5000 00:00 0
 499d6000-4a3d6000 rwxp 499d6000 00:00 0
                                         4a3d6000-4a3d7000 ---p 4a3d6000 00:00 0
                                                                                 4a3d7000-4add7000 rwxp 4a3d7000 00:00 0
                                                                                                                         4b7d8000-4b7d9000 ---p 4b7d8000 00:00 0
                                                                                                                                                                 4b7d9000-4c1d9000 rwxp 4b7d9000 00:00 0
                       4cbda000-4cbdb000 ---p 4cbda000 00:00 0
                                                               4cbdb000-4d5db000 rwxp 4cbdb000 00:00 0
                                                                                                       34fcc00000-34fcc31000 r-xp 00000000 08:01 6219316                        /usr/lib64/libidn.so.11.5.19
                          34fcc31000-34fce30000 ---p 00031000 08:01 6219316                        /usr/lib64/libidn.so.11.5.19
                                                                                                                               34fce30000-34fce31000 rwxp 00030000 08:01 6219316                        /usr/lib64/libidn.so.11.5.19
                                                  34fd000000-34fd00d000 r-xp 00000000 08:01 6219383                        /usr/lib64/liblber-2.3.so.0.2.31
                                                                                                                                                           34fd00d000-34fd20d000 ---p 0000d000 08:01 6219383                        /usr/lib64/liblber-2.3.so.0.2.31
                                                                                  34fd20d000-34fd20e000 rwxp 0000d000 08:01 6219383                        /usr/lib64/liblber-2.3.so.0.2.31
         34fd400000-34fd438000 r-xp 00000000 08:01 6219384                        /usr/lib64/libldap-2.3.so.0.2.31
                                                                                                                  34fd438000-34fd638000 ---p 00038000 08:01 6219384                        /usr/lib64/libldap-2.3.so.0.2.31
                                         34fd638000-34fd63a000 rwxp 00038000 08:01 6219384                        /usr/lib64/libldap-2.3.so.0.2.31
                                                                                                                                                  3a2f800000-3a2f81c000 r-xp 00000000 08:01 23462193                       /lib64/ld-2.5.so
                                                         3a2fa1b000-3a2fa1c000 r-xp 0001b000 08:01 23462193                       /lib64/ld-2.5.so
                                                                                                                                                  3a2fa1c000-3a2fa1d000 rwxp 0001c000 08:01 23462193                       /lib64/ld-2.5.so
                                                         3a2fc00000-3a2fd4c000 r-xp 00000000 08:01 23462194                       /lib64/libc-2.5.so
                                                                                                                                                    3a2fd4c000-3a2ff4c000 ---p 0014c000 08:01 23462194                       /lib64/libc-2.5.so
                                                             3a2ff4c000-3a2ff50000 r-xp 0014c000 08:01 23462194                       /lib64/libc-2.5.so
                                                                                                                                                        3a2ff50000-3a2ff51000 rwxp 00150000 08:01 23462194                       /lib64/libc-2.5.so
                                                                 3a2ff51000-3a2ff56000 rwxp 3a2ff51000 00:00 0
                                                                                                               3a30400000-3a30402000 r-xp 00000000 08:01 23462195                       /lib64/libdl-2.5.so
                         3a30402000-3a30602000 ---p 00002000 08:01 23462195                       /lib64/libdl-2.5.so
                                                                                                                     3a30602000-3a30603000 r-xp 00002000 08:01 23462195                       /lib64/lAborted

full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
crashes after I run cgminer

and answer the first 4 qquestions..

After password..  hit enter..  crashes the window..

any ideas?

Im win 7 64.
Short answer: You should make yourself familiar with the command line.
hero member
Activity: 770
Merit: 500
You're fat, because you dont have any pics on FB
crashes after I run cgminer

and answer the first 4 qquestions..

After password..  hit enter..  crashes the window..

any ideas?

Im win 7 64.
full member
Activity: 168
Merit: 100
Live long and prosper. \\//,
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
never mind. That was with default settings. When I started using -I 9 I am getting steady solid speeds.

Thanks again for such an awesome piece of mining software, one donation coming your way!
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
I upgraded all my rigs to 1.6.2, one thing I am noticing is the m/hash is fluctuating a great deal more than it was. Before it only fluctuated maybe 5-10 mhash at most

now I am seeing fluctuations on some of my cards in the 50+ range

for instance my 5830 is going down to 283 than up to 360
my 5870's dont seem to be fluctuating as much as that but are fluctuating more than usual
same with the 6870's, and 5850's

any ideas?
newbie
Activity: 59
Merit: 0
FYI as I migrated to 1.6.2 from 1.6.1 and 1.6.0, my U went up from 4.0 to 4.2 and 4.4 respectively. Great job ck, I am really impressed highly appreciate your efforts  (in spite of the persistent curses bug lol).

There is something I find weird in 1.6.1/2 though. Does this E indicator actually make sense? The total E indicator seems to work properly.

Code:
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0: [313.7 / 313.8 Mh/s] [Q:2  A:858  R:8  HW:0  E:42900%  U:4.39/m]
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Thanks for positive feedback.

Major feature upgrade in the works. Somewhat below the radar and invisible at the moment, but available in the new git branch adl_support till it's complete.
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
ive been using cgminer for awhile. I must say I absolutely love it. Favorite mining software by far. So whats new in 1.6.2?

thanks!

(mining at 3.5 g/hash exclusively with cgminer)
legendary
Activity: 889
Merit: 1000
Bitcoin calls me an Orphan
I just wanted to say.. I moved to this mining software yesterday and noticed a huge increase.. thanks so much! Donation on its way!
sr. member
Activity: 308
Merit: 250
Segfault then trying to  switch from pool without LP to second pool with LP. Second pool was added manually after programm starts.
ubuntu 11.04 x32, cgminer 1.6.2, git version
newbie
Activity: 49
Merit: 0
Thanks, I figured it out, it was missing the LD_LIBRARY_PATH which the script seems to need if you want to launch it without starting it from an existing terminal window. As for the script starting 4 instances of AMDOverdriveCtrl, I had to run that script directly instead of via a new terminal, and then apparently it works fine without terminal windows and without exiting. Some fine hours wasted nitpicking, but finally it works, time to move her to the basement and get a good (silent) night sleep. Smiley

If it can be of help to anyone, here are my scripts (modify, launch via start.sh and run 'directly', not in a new terminal):

start.sh
Code:
#!/bin/bash
./oca.sh &
sleep 5
gnome-terminal -x bash -c "./miner1.sh" &
gnome-terminal -x bash -c "./miner2.sh" &

oca.sh
Code:
#!/bin/bash
AMDOverdriveCtrl -i 0 gpu1.ovdr &
AMDOverdriveCtrl -i 10 gpu2.ovdr &
AMDOverdriveCtrl -i 3 gpu3.ovdr &
AMDOverdriveCtrl -i 4 gpu4.ovdr &

miner1.sh
Code:
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH":/path/to/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/"
cgminer -d 0 -c cfg.json --submit-stale

miner2.sh
Code:
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH":/path/to/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/"
cgminer -d 1 -d 2 -d 3 -c cfg.json -I 8 --submit-stale
full member
Activity: 164
Merit: 100
Linux and Unix os's are build up around a few very easy concepts which makes them quite predictable.
I almost only work with Linux in commercial environments so i do not have any experience with Ubuntu...

Nevertheless its almost impossible to answer the question w/o knowing the output of the doubleclicked .sh file
seeing your script and maybe an "ls -l" of the directory where cgminer is located.

One reason might be that the user you are logged into X with does not have the correct permissions to access cgminer.
At least that is where i could but my 2 bitcents w/o knowing more.


Best
/GoK
newbie
Activity: 49
Merit: 0
Either use an option to point it to the kernels or add a cd /path/to/cgminer before the line starting the binary.

Use a wrapper utility such as start-stop-daemon, suppress all output with 'really-quiet' flag.

Thanks, however the script already does that, it cd's to the cgminer dir and then ./ starts it with a config file argument, also located in the same directory. I suppose I'm asking in the wrong place, since I also have the same problem with a script that starts 4 instances of AMDOverdriveCtrl. The scripts both work fine when launched from an existing terminal (./script). It just doesn't work when I call the scripts from another script (or start-up script) or when I try to double-click it and select run in terminal. *sigh* Why is linux always such a b*tch, there ought to be a Steve Jobs for the linux community, to simplify these overly complicated, very basic tasks. Smiley

I don't know if I could use start-stop daemon, since I have to launch two instances of cgminer each with different parameters. Thanks for the heads-up though.
full member
Activity: 186
Merit: 100
I wrote a dead-simple shell script to start cgminer, and it works, but the peculiar thing is that it starts up fine from an existing terminal, but it won't start if I just double-click the script and select run in terminal, or when I add it to Ubuntu start-up applications (or try to call it from another script). It didn't work before on Linuxcoin and now I'm still having this problem with Ubuntu. I've looked around everywhere but I can't find a working fix, any hints?

Either use an option to point it to the kernels or add a cd /path/to/cgminer before the line starting the binary.

Use a wrapper utility such as start-stop-daemon, suppress all output with 'really-quiet' flag.
newbie
Activity: 49
Merit: 0
I wrote a dead-simple shell script to start cgminer, and it works, but the peculiar thing is that it starts up fine from an existing terminal, but it won't start if I just double-click the script and select run in terminal, or when I add it to Ubuntu start-up applications (or try to call it from another script). It didn't work before on Linuxcoin and now I'm still having this problem with Ubuntu. I've looked around everywhere but I can't find a working fix, any hints?
Jump to: