Author

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

legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
After 2.3.4 if main pool is not supporting long pooling cgminer is ignoring "work restart" message form backup pool.
It is intended or bugged?
If intended - it is possible to enable this via option?
newbie
Activity: 29
Merit: 0
sr. member
Activity: 383
Merit: 250
I'm just trying to get this thing to run right now, I figure that if I can get it to run this way I can change it however I want by just rebuilding the file. 

Anyway I tried it without the "-msse2" it still spit the same error message back at me.

Sounds like your mingw install is borked.

From the mingw (msys) shell, type:

Code:
gcc --version

If you do not get a version number returned than something did get borked on your mingw install and you will need to wipe the \mingw directory and reinstall from the beginning.

newbie
Activity: 29
Merit: 0
I'm just trying to get this thing to run right now, I figure that if I can get it to run this way I can change it however I want by just rebuilding the file. 

Anyway I tried it without the "-msse2" it still spit the same error message back at me.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Code:
$ CFLAGS="-02 -msse2" ./configure

checking whether the C compiler works... no
configure: error: in `/home/XXXXX/cgminer-2.4.2-win32':
configure: error: C compiler cannot create executables
See `config.log' for more details
Try without the -msse2 and you need to enable BFL which is what you're trying to do...
CFLAGS="-O2" ./configure --enable-bitforce
newbie
Activity: 29
Merit: 0
Hey people before now I've been using Kiv's GUIminer but I got some brand new BFL singles that I need to use and I think cgminer is the most widely used and has bitforce enabled but I keep getting an error that I can't seem to find documented anywhere idk but here's the issue.  When I try to open this "cgminer.exe" it opens for a second or so then shuts down doesn't mine or anything just quits.  Also when I tried to build cgminer using the instructions in the "windows-build.txt" I get to the last step before running the "make" command in mingw the "CFLAGS="-02 -msse2" ./configure" command and I get and error message that I can't understand:

Code:
$ CFLAGS="-02 -msse2" ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/XXXXX/cgminer-2.4.2-win32':
configure: error: C compiler cannot create executables
See `config.log' for more details

and when I open the config.log it displays this:

Code:
$ config.log
./config.log: line 1: This: command not found
./config.log: line 2: running: command not found
./config.log: line 4: It: command not found
./config.log: line 5: generated: command not found
./config.log: line 7: $: command not found
hostname: extra operand `XXXXX-PC'
Try `hostname --help' for more information.
uname: extra operand `='
Try `uname --help' for more information.
./config.log: line 15: syntax error near unexpected token `('
./config.log: line 15: `uname -r = 1.0.17(0.48/3/2)'

someone else when I made my own thread in the newb boards directed me to something he's written for ozcoin which is https://ozcoin.net/content/win7-cgminer-setup-guide.  I've tried that and it works but I get the same instant shutdown thing.  If someone could help me build and run this thing it would be much appreciated or if someone knows that the fix for my problems have been mentioned earlier in this or another thread it would also be greatly appreciated if you could tell me which thread so I can go and read through it and not trouble you guys any further. 
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Read the first post of the thread and the README and examples provided with the free software ...
Only after that, consider asking people for free help to make money ...
i.e. why should others go to any effort for you if you haven't gone to the effort to do the basics with the free software you got
I often paste/type answers for whatever reason ... but ... ok enough trolling from me I guess ...
member
Activity: 66
Merit: 10
JackRabiit, there are over 290 pages, I'm new to this stuff,  I didn't find any "Example.configuration" file.  You could just direct me to the example page in state of been rude.
 
The forum is also supposed to help people not to speak arrogant and silly bullshit. If you don't know how to behave don't type.

[/quote]
+1 Really people c'mon, There are instructions on FRONT PAGE of this thread on how to do almost Anything that you'll need to do within CGminer, Seriously, Read Before You Ask.
And you couldnt simply go into CGminers folder and see that there is literally a "Example.configuration" file? Dude, C'mon read before you ask
[/quote]
legendary
Activity: 1428
Merit: 1001
Okey Dokey Lokey
Hi,

can anyone help giving me the line to add multiple pool in case of an other DDoS allack to my config file?

...

as it says in example.conf ..........

"pools" : [
        {
                "url" : "http://url1:8332",
                "user" : "user1",
                "pass" : "pass1"
        },
        {
                "url" : "http://url2:8344",
                "user" : "user2",
                "pass" : "pass2"
        },
        {
                "url" : "http://url3:8332",
                "user" : "user3",
                "pass" : "pass3"
        }
],
+1 Really people c'mon, There are instructions on FRONT PAGE of this thread on how to do almost Anything that you'll need to do within CGminer, Seriously, Read Before You Ask.
And you couldnt simply go into CGminers folder and see that there is literally a "Example.configuration" file? Dude, C'mon read before you ask
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Hi,

can anyone help giving me the line to add multiple pool in case of an other DDoS allack to my config file?

...

as it says in example.conf ..........

"pools" : [
        {
                "url" : "http://url1:8332",
                "user" : "user1",
                "pass" : "pass1"
        },
        {
                "url" : "http://url2:8344",
                "user" : "user2",
                "pass" : "pass2"
        },
        {
                "url" : "http://url3:8332",
                "user" : "user3",
                "pass" : "pass3"
        }
],
member
Activity: 66
Merit: 10
Hi,

can anyone help giving me the line to add multiple pool in case of an other DDoS allack to my config file?

Running OS Windows7 32 bi with FGPA BFL Single.

{
"pools" : [
   {
      "url" : "http://xxxxxxxxx",
      "user" : "xxxxx.xxxxxx",
      "pass" : "xxxxxxx"
   }
],

"api-port" : "4028",
"disable-gpu" : true,
"scan-serial" : [ "bitforce:COM3", "bitforce:COM4", "bitforce:COM5", "bitforce:COM6", "bitforce:COM7" ],
"expiry" : "180",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"net-delay" : true,
"protocol-dump" : true,
"queue" : "1",
"retry-pause" : "5",
"scan-time" : "60",
"temp-hysteresis" : "1",
"shares" : "0",
"load-balance" : true,
"kernel-path" : "/usr/local/bin"
}

Any help would be appreciated.

Regards
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I don't think there are even 32 actual pools!

Mind you, devices is 'only' 64... waiting for someone with 100 Ztex, 100 BFLs, 100 icarus, 100 Modminers & 8 GPUs to turn up Smiley
It works if you recompile with the number set to 128.
Xiangfu ran 91 Icarus on one computer ...
legendary
Activity: 1260
Merit: 1000
That will be a problem for me in about a month...
legendary
Activity: 1795
Merit: 1208
This is not OK.
I don't think there are even 32 actual pools!

Mind you, devices is 'only' 64... waiting for someone with 100 Ztex, 100 BFLs, 100 icarus, 100 Modminers & 8 GPUs to turn up Smiley
legendary
Activity: 2912
Merit: 1060
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
BTW any word on using more than 32 pools??
I wasn't serious... but anything can be done. You really want this?
legendary
Activity: 2912
Merit: 1060
Aww, please post when I can upgrade. I'm stuck for now. Thanks for at least this version tho!

BTW any word on using more than 32 pools??

kanoi gave me a special version 2.4.2c that fixed multi bfl, not sure if change got committed into latest version tho so im waitying
Unfortunately, no it didn't get into 2.3.4 and won't until I rewrite it ... thanks to ... well read the pull request argument Tongue
https://github.com/ckolivas/cgminer/pull/215

It is rather interesting to note that that same pull request might? be the fix to apparent problems with the new ModMiner code on windows ...
legendary
Activity: 1540
Merit: 1001
With the latest master, on OpenWRT (TP-Link MR3220) I can't use ztex boards anymore. Haven't got time to properly debug this now so I thought I'd just leave this here in case it is obvious to anyone:


Code:
 [2012-06-14 14:41:10] Popping work to stage thread                    
 [2012-06-14 14:41:13] ZTEX 0000000001-1: Share found N0E0                   
 [2012-06-14 14:41:13]  Proof: 000000008f655a7694a8933c6eb9b38330a8be710c299dd2a2785220d2832b30
Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
TrgVal? YES (hash < target)                   
 [2012-06-14 14:41:13] Pushing submit work to work thread                   
 [2012-06-14 14:41:13] ZTEX 0000000001-1: submitted 23c2895c 1                   
 [2012-06-14 14:41:13] Popping work to work thread                   
 [2012-06-14 14:41:13] Creating extra submit work thread                   
Bus error

It works great until a share is found, then it dies an immediate and horrible death Sad
I was hoping the code for testing if it was a block solve was fixed for openwrt so I removed the commenting out of that test. I guess it was premature and that bug still exists.

This is the commit responsible in git:
dbe9056df4db4007524af9569edc28c92827b3c4

Thanks. Just reverted that one and it is working fine at first glance.
hero member
Activity: 591
Merit: 500
Nope - it was you that did Smiley
Maybe, but the instructions are a little difficult to read.
Jump to: