Bitcoin Forum
April 24, 2024, 04:24:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 [281] 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805211 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic. (3 posts by 1+ user deleted.)
rcocchiararo
Newbie
*
Offline Offline

Activity: 78
Merit: 0


View Profile
May 30, 2012, 04:42:15 PM
 #5601

hi again

i wanted to try a new pool, and it happens to have empty paswords.

I can use that with the .conf file, but i have my stuff configured with scripts with each parameter.

i tried leaving just -p, nothing at all pasword related, or -p -1 (the config file has -1 for pasword when you manuallly run cgminer, input no pasword and generate it), and no luck.

Is there any way to use a pool with no pasword without using .conf file ?
1713975891
Hero Member
*
Offline Offline

Posts: 1713975891

View Profile Personal Message (Offline)

Ignore
1713975891
Reply with quote  #2

1713975891
Report to moderator
1713975891
Hero Member
*
Offline Offline

Posts: 1713975891

View Profile Personal Message (Offline)

Ignore
1713975891
Reply with quote  #2

1713975891
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jake262144
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
May 30, 2012, 06:08:31 PM
 #5602

i wanted to try a new pool, and it happens to have empty paswords.
...
Is there any way to use a pool with no pasword without using .conf file ?
try -p ""
dmcurser
Hero Member
*****
Offline Offline

Activity: 502
Merit: 500


View Profile
May 30, 2012, 11:06:00 PM
 #5603

everytime i try to run java api notify i get a constant tag 13 in class file

1Q7TPBHHVmGCvqffYHpXCCBgbcBQ4NwXdW
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 31, 2012, 05:39:45 AM
 #5604

everytime i try to run java api notify i get a constant tag 13 in class file
Well "code tag" the actual error so I can see.
Also include the output of "java -version"
and lastly - of course it is "java API notify"
(the capital letters I've typed before do matter)
(though that is probably nothing to do with the problem)

The fix may well be "javac API.java" but will require the java SDK

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
May 31, 2012, 07:07:31 PM
 #5605

Anyone being successful operating BFLS with cgminer from a big endian machine?

I am using the same device xiangfu does for operating his Icarus farm (TP-Link TL-MR3020), which is based on an Atheros MIPS core (big endian). Using the git HEAD this is the debug output:

Code:
[2012-05-31 18:45:24] BitForce block data: a4870512b33f467106a9907295eec4a7031e2149e6b90d81d6efbee03d8c7302eb755e1c4fc7bc401a0a8b5f
[2012-05-31 18:45:29] BitForce waited 5200ms until NONCE-FOUND:01A85E01,8AD1912A
[2012-05-31 18:45:29] Proof: 570e5ed30f82f60447dcf34a4f00f733bb05e1d2b0f1120e54e9817faffa2f84
                      Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
                      TrgVal? no (false positive; hash > target)
[2012-05-31 18:45:29] Share below target
[2012-05-31 18:45:29] Proof: 1acf5c5b68608bf3858514064f899f439b030e30c5502c8e6020165414cadab7
                      Target: 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
                      TrgVal? no (false positive; hash > target)
[2012-05-31 18:45:29] Share below target
[2012-05-31 18:45:29] [thread 0: 4294967295 hashes, 812342882 khash/sec]

I suspect something is not fully endian aware in the driver-bitforce module. I compared to what xiangfu/kano did for Icarus, but the relevant code lines seem to match the bitforce counterpart.

Any idea where to look at first?

Thanks, zefir

zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
May 31, 2012, 08:17:52 PM
 #5606

Never mind, found the problem in __BIG_ENDIAN__ not being set for that target platform.

This patch is required to build cgminer with BFLS support for OpenWRT:

Code:
diff --git a/driver-bitforce.c b/driver-bitforce.c
index a59338c..d95f0eb 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -354,7 +354,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 
  while (1) {
  hex2bin((void*)&nonce, pnoncebuf, 4);
-#ifndef __BIG_ENDIAN__
+#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB)
  nonce = swab32(nonce);
 #endif
 

Good Luck!

P_Shep
Legendary
*
Online Online

Activity: 1795
Merit: 1198


This is not OK.


View Profile
May 31, 2012, 08:30:26 PM
 #5607

Never mind, found the problem in __BIG_ENDIAN__ not being set for that target platform.

This patch is required to build cgminer with BFLS support for OpenWRT:

Code:
diff --git a/driver-bitforce.c b/driver-bitforce.c
index a59338c..d95f0eb 100644
--- a/driver-bitforce.c
+++ b/driver-bitforce.c
@@ -354,7 +354,7 @@ static uint64_t bitforce_scanhash(struct thr_info *thr, struct work *work, uint6
 
  while (1) {
  hex2bin((void*)&nonce, pnoncebuf, 4);
-#ifndef __BIG_ENDIAN__
+#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB)
  nonce = swab32(nonce);
 #endif
 

Good Luck!

Would CFLAG -D_BIG_ENDIAN_ not be an option?
zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
May 31, 2012, 08:56:35 PM
 #5608

Would CFLAG -D_BIG_ENDIAN_ not be an option?

Not if you want to remain endian agnostic, i.e. if you add -D_BIG_ENDIAN_ to CFLAGS in the OpenWRT Makefile, you'll need to remove it for little endian builds.

For Linux builds the way it is done in cgminer is wrong, but I guess it is so to compile on Windows. Usually you add bswapXX unconditionally to any network byte order (or big endian) value and the preprocessor resembles that call to an empty macro on big endian machines. In fact, building cgminer for OpenWRT warns about multiple definitions of bswap32 that are already defined in <linux/swab.h>.

There is some potential to fix this, but since I can not test Windows builds I'd take it as is with the given workaround.

-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
May 31, 2012, 09:40:18 PM
 #5609

It's fixed in the git tree so grab a tarball instead from git or use git to grab the latest code.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Un zafado cualquiera
Full Member
***
Offline Offline

Activity: 158
Merit: 100


aquí dice algo personal.


View Profile
June 01, 2012, 03:40:24 AM
 #5610

Is there a way to eliminate dependence on curses. There where a lot of antivirus reporting it as a keylogger and is probably a never ending cycle telling antivirus company to check correctly. Evry antivirus is reporting libpdcurses as a trojan.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 01, 2012, 03:53:05 AM
 #5611

Compile it yourself - it's an option

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Un zafado cualquiera
Full Member
***
Offline Offline

Activity: 158
Merit: 100


aquí dice algo personal.


View Profile
June 01, 2012, 04:01:14 AM
 #5612

Compile it yourself - it's an option
I was trying not being a jerk. I think is more useful for the newbies not givin anything suspicius. Just in case its end bad.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 01, 2012, 04:21:07 AM
 #5613

Compile it yourself - it's an option
I was trying not being a jerk. I think is more useful for the newbies not givin anything suspicius. Just in case its end bad.
Ah you mean to have it always like that.
No - I can't see that ever happening.

Though I would point out the obvious: you're solution would not fix the problem.
They would simply identify something else in cgminer to tag it as a virus.

Windows virus checkers are inherently crap in this case, since they identify part of cgminer rather than the virus that installed cgminer.

Of course if someone wrote a virus that installed the anti-virus program ... of course they would fix that problem ... but in this case I guess they are just a bunch of loser programmers who can't see the blatantly obvious crappyness of what they are doing in this case.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
June 01, 2012, 06:28:45 AM
 #5614

It's fixed in the git tree so grab a tarball instead from git or use git to grab the latest code.

You mean the endian thingy for BFLS? Not sure, the condition in driver-bitforce.c@HEAD:357 is still checked against __BIG_ENDIAN__, which seems to be not set in the gcc-Linaro-4.6 toolchain for building MIPS.

Any reason not to use ntohl()/htonl() without explicit checking for endianess and let the the preprocessor taking care on that?


-ck (OP)
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
June 01, 2012, 09:38:30 AM
 #5615

Any reason not to use ntohl()/htonl() without explicit checking for endianess and let the the preprocessor taking care on that?
No

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 01, 2012, 10:10:26 AM
 #5616

It's fixed in the git tree so grab a tarball instead from git or use git to grab the latest code.

You mean the endian thingy for BFLS? Not sure, the condition in driver-bitforce.c@HEAD:357 is still checked against __BIG_ENDIAN__, which seems to be not set in the gcc-Linaro-4.6 toolchain for building MIPS.

...
The Icarus code was fixed by xiangfu 3 weeks ago that seems to match your exact change you mentioned on the previous page so I guess that's where you got that code from?
https://github.com/ckolivas/cgminer/commit/b1785d1f07d9482b5ed6104c87b39a3888fa8efb

BFL's - well - I'm not sure where the BFL code is going at the moment ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
June 01, 2012, 02:13:30 PM
 #5617

Any reason not to use ntohl()/htonl() without explicit checking for endianess and let the the preprocessor taking care on that?
No

It is not a big issue and I'd have already submitted the related patch, but I can't test Windows builds ATM and refrained from posting untested code...

zefir
Donator
Hero Member
*
Offline Offline

Activity: 919
Merit: 1000



View Profile
June 01, 2012, 02:19:39 PM
 #5618

The Icarus code was fixed by xiangfu 3 weeks ago that seems to match your exact change you mentioned on the previous page so I guess that's where you got that code from?
https://github.com/ckolivas/cgminer/commit/b1785d1f07d9482b5ed6104c87b39a3888fa8efb

BFL's - well - I'm not sure where the BFL code is going at the moment ...

Yes, I basically compared the difference between drivers and found that only the bitforce was missing the additional check for MIBSEB builds.

Not sure how to interpret your last sentence, but it would be a pity if the support for some devices got negatively influenced by political dissents Sad

kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
June 01, 2012, 04:03:29 PM
 #5619

everytime i try to run java api notify i get a constant tag 13 in class file
Well "code tag" the actual error so I can see.
Also include the output of "java -version"
and lastly - of course it is "java API notify"
(the capital letters I've typed before do matter)
(though that is probably nothing to do with the problem)

The fix may well be "javac API.java" but will require the java SDK
Was helping someone in IRC who got the same error.
I recompiled API.java (with an old java 6.0_03 SE) and got him to download it and it worked.
Only to later find that the files were actually the same - the issue was the file protection.
I've sent a pull to the git with the new API.class it only shows a file protection difference.
So you may be able to fix it by changing the file protection of API.class in windows to be executable - though I'm really not sure of the standard method to do that in windows

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Hyphen
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 01, 2012, 08:16:14 PM
 #5620

For some reason, if cgminer crashes badly ( not my computer, my computer is still up and running. )
it appears that it deletes the cgminer executable.
All the other files in the cgminer folder are there, just not the executable.
Anybody else experience this?
Has been happening to me about once every 3 weeks since around cgminer 2.3.3 I think.
I'm running windows 7 and currently using cgminer 2.4.1, just experienced this issue again.
Not sure what could be causing this. It's not standard hard disk data corruption, it's happened under 3 computers of mine now and no other programs seem to be effected.
Pages: « 1 ... 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 [281] 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!