Bitcoin Forum
April 25, 2024, 08:35:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RG7Miner - Icarus FPGA board miner  (Read 5507 times)
randomguy7 (OP)
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
February 23, 2012, 09:28:34 PM
Last edit: February 27, 2012, 08:09:21 AM by randomguy7
 #1

Just released my java miner for the Icarus FPGA board (see https://bitcointalk.org/index.php?topic=51371.0).

Features: If you have a Icarus board, it'll mine bitcoins for you Grin. This and long polling.

This is the first thing I release as open source, so feedback is highly welcome Smiley. The miner should run on win, linux and mac.

Download: https://sourceforge.net/projects/rg7miner/


news
2012-02-25: Uploaded v0.1.3 which fixes various bugs. Updating highly recommended.
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
February 23, 2012, 09:32:24 PM
 #2

Very nice ! I was looking for something like that.

ngzhang
Hero Member
*****
Offline Offline

Activity: 592
Merit: 501


We will stand and fight.


View Profile
February 24, 2012, 04:59:58 AM
 #3

i'll test it tonight. Grin
randomguy7 (OP)
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
February 24, 2012, 07:42:28 AM
 #4

i'll test it tonight. Grin

It just came to my mind that the recent fix for abcpool might not completely fix the LP problem (about 50% of LP requests might not work correctly). I'll test and release a fix for it today (I'm in UTC+1).
randomguy7 (OP)
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
February 24, 2012, 06:11:43 PM
 #5

Just uploaded the new version. It accepts an additional parameter to set a timeout for the long polling request (start without parameters to show all possible parameters).
Please set it to 59 when mining on abcpool. Additionally, you'll see a warning "RPC json response is invalid: missing ID element." on every long polling response. The ID element is required by the specs but the miner doesn't use it, so you can safely ignore the message, there isn't any limitation in functionality.
ngzhang
Hero Member
*****
Offline Offline

Activity: 592
Merit: 501


We will stand and fight.


View Profile
February 26, 2012, 03:02:43 PM
 #6

testing...

i think this is a good simple miner, is the best choice for a single board user.
antirack
Hero Member
*****
Offline Offline

Activity: 489
Merit: 500

Immersionist


View Profile
February 28, 2012, 09:15:47 AM
Last edit: February 28, 2012, 09:47:22 AM by antirack
 #7

I have just used your miner to confirm my newly received Icarus are working fine. Took me less than 5 minutes to get it up and running on Windows 7, good work.

I am now running multiple instances, adding one by one. I guess I have to go buy a decent USB hub soon.

COM3 to COM7 up and running!

I like the fact that it writes timestamped logfiles, so I have now 5 log files and can head out for a few hours and have a look when I come back later.

Got this on unit no. 3 once but still seems to work fine:

[2012-02-28 17:36:48,341] [port=COM5]: HW error. Received nonce e8830080 doesn't produce a valid hash.
randomguy7 (OP)
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
February 28, 2012, 09:46:50 AM
 #8

The miner checks every result it receives from the board before submitting back to the pool. Some results are invalid which seems to be normal, all my boards produce invalid results but on a very low rate (see the invalid value in the miner output).
antirack
Hero Member
*****
Offline Offline

Activity: 489
Merit: 500

Immersionist


View Profile
February 29, 2012, 06:30:26 AM
 #9

I am still running my 5 instances of RG7Miner. I get the HW Error about the nonce that didn't produce a valid hash once in a while, that's clear now. But overnight had had two units fail with (almost) endless loop of HW Errors of this type. The strange thing is that after a while there was on single valid one again, then again lots of errors, then a single valid one again, etc...

Restarting the miner (Ctrl-C, up, enter) gets them going again. Happened a couple of times now. Possibly always on the same 2 Icarus units, but I am not sure yet it's not even been 24h (I have three instances running at 604 minutes now).

What happens if there are new blocks detected via LP or block monitor? Is there just no log output or is it currently not implemented?

Code:
[2012-02-29 10:51:45,311]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 521 valid, 1 invalid (0.19%), 7 stale (1.34%), 361.74 (+-15.74) mhash, runtime: 104.48 min, idle: 0.08%, last: valid (336 ms)
[2012-02-29 10:51:47,168]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 522 valid, 1 invalid (0.19%), 7 stale (1.34%), 362.37 (+-15.76) mhash, runtime: 104.50 min, idle: 0.08%, last: valid (335 ms)
[2012-02-29 10:51:55,116]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 523 valid, 1 invalid (0.19%), 7 stale (1.34%), 362.59 (+-15.75) mhash, runtime: 104.63 min, idle: 0.08%, last: valid (666 ms)
[2012-02-29 10:51:59,894]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 524 valid, 1 invalid (0.19%), 7 stale (1.34%), 362.98 (+-15.75) mhash, runtime: 104.72 min, idle: 0.08%, last: valid (336 ms)
[2012-02-29 10:52:12,402]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 525 valid, 1 invalid (0.19%), 7 stale (1.33%), 362.92 (+-15.73) mhash, runtime: 104.93 min, idle: 0.08%, last: valid (334 ms)
[2012-02-29 10:52:28,511]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 00301e54 doesn't produce a valid hash.
[2012-02-29 10:52:34,323]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 2500ff00 doesn't produce a valid hash.
[2012-02-29 10:52:48,306]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 93b87f00 doesn't produce a valid hash.
[2012-02-29 10:53:06,535]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 08c81300 doesn't produce a valid hash.
[2012-02-29 10:53:19,106]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 75008700 doesn't produce a valid hash.
[2012-02-29 10:53:45,807]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ee461300 doesn't produce a valid hash.
[2012-02-29 10:54:03,581]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 4d008500 doesn't produce a valid hash.
[2012-02-29 10:54:20,150]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce c2fb4c00 doesn't produce a valid hash.
[2012-02-29 10:54:26,839]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ed000000 doesn't produce a valid hash.
[2012-02-29 10:54:36,564]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 794e5400 doesn't produce a valid hash.
[2012-02-29 10:54:45,851]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 5c006400 doesn't produce a valid hash.
[2012-02-29 10:55:14,850]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 33203500 doesn't produce a valid hash.
[2012-02-29 10:55:23,064]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 5e204100 doesn't produce a valid hash.
[2012-02-29 10:55:39,994]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce da517000 doesn't produce a valid hash.
[2012-02-29 10:55:42,161]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 7df2fe00 doesn't produce a valid hash.
[2012-02-29 10:55:56,825]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce d18c3100 doesn't produce a valid hash.
[2012-02-29 10:56:20,509]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 6f179200 doesn't produce a valid hash.
[2012-02-29 10:56:32,809]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 87fb6c00 doesn't produce a valid hash.
[2012-02-29 10:56:32,894]  [INFO]   [rg7.rg7miner.SubmitMngr$Submitter][port=COM4]: LP, 526 valid, 19 invalid (3.56%), 7 stale (1.33%), 349.18 (+-15.12) mhash, runtime: 109.27 min, idle: 0.08%, last: valid (666 ms)
[2012-02-29 10:56:48,537]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 4f909d00 doesn't produce a valid hash.
[2012-02-29 10:56:59,217]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 0000a700 doesn't produce a valid hash.
[2012-02-29 10:57:07,135]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce f7002700 doesn't produce a valid hash.
[2012-02-29 10:57:09,428]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce beab6b00 doesn't produce a valid hash.
[2012-02-29 10:57:21,042]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 80a10500 doesn't produce a valid hash.
[2012-02-29 10:57:29,757]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce af94d500 doesn't produce a valid hash.
[2012-02-29 10:57:37,361]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 63f9f800 doesn't produce a valid hash.
[2012-02-29 10:58:00,753]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 6bcbf800 doesn't produce a valid hash.
[2012-02-29 10:58:18,696]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 79435e00 doesn't produce a valid hash.
[2012-02-29 10:58:31,269]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce b5b7e100 doesn't produce a valid hash.
[2012-02-29 10:59:44,969]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 55121f00 doesn't produce a valid hash.
[2012-02-29 10:59:56,393]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ab608e00 doesn't produce a valid hash.
[2012-02-29 11:00:11,020]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 8b115300 doesn't produce a valid hash.
[2012-02-29 11:00:13,588]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce d6746700 doesn't produce a valid hash.
[2012-02-29 11:00:21,287]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 29d2a800 doesn't produce a valid hash.
[2012-02-29 11:01:09,988]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce fb828900 doesn't produce a valid hash.
[2012-02-29 11:01:32,822]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 59f35400 doesn't produce a valid hash.
[2012-02-29 11:01:42,483]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce a705cc00 doesn't produce a valid hash.
[2012-02-29 11:02:09,531]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 93be5300 doesn't produce a valid hash.
[2012-02-29 11:02:34,071]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 57000000 doesn't produce a valid hash.
[2012-02-29 11:03:22,741]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 1194fd00 doesn't produce a valid hash.
[2012-02-29 11:03:34,380]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 0098e500 doesn't produce a valid hash.
[2012-02-29 11:03:42,672]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce e80dd700 doesn't produce a valid hash.
[2012-02-29 11:03:46,024]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce d2aadb00 doesn't produce a valid hash.
[2012-02-29 11:04:29,601]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 5866bb00 doesn't produce a valid hash.
[2012-02-29 11:04:35,063]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 896a9500 doesn't produce a valid hash.
[2012-02-29 11:04:42,816]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 0ff37f00 doesn't produce a valid hash.
[2012-02-29 11:04:51,215]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 00b2a400 doesn't produce a valid hash.
[2012-02-29 11:04:57,180]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 00914600 doesn't produce a valid hash.
[2012-02-29 11:05:06,265]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce a0a53900 doesn't produce a valid hash.
[2012-02-29 11:05:25,736]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 7112d700 doesn't produce a valid hash.
[2012-02-29 11:05:28,585]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 8ff02000 doesn't produce a valid hash.
[2012-02-29 11:06:45,830]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce f0ea9100 doesn't produce a valid hash.
[2012-02-29 11:07:19,109]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 58dcab00 doesn't produce a valid hash.
[2012-02-29 11:07:33,559]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 2a9b7000 doesn't produce a valid hash.
[2012-02-29 11:07:35,352]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 9632c200 doesn't produce a valid hash.
[2012-02-29 11:07:47,467]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce d0430000 doesn't produce a valid hash.
[2012-02-29 11:07:56,367]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 79e6f400 doesn't produce a valid hash.
[2012-02-29 11:08:10,113]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 662ab000 doesn't produce a valid hash.
[2012-02-29 11:08:16,528]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 851e7200 doesn't produce a valid hash.
[2012-02-29 11:08:20,791]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 0fbcba00 doesn't produce a valid hash.
[2012-02-29 11:08:23,843]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ac5a5500 doesn't produce a valid hash.
[2012-02-29 11:08:33,359]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ecc92b00 doesn't produce a valid hash.
[2012-02-29 11:09:00,847]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce d18ab000 doesn't produce a valid hash.
[2012-02-29 11:09:18,212]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce b29a7900 doesn't produce a valid hash.
[2012-02-29 11:09:30,809]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 442a3500 doesn't produce a valid hash.
[2012-02-29 11:09:54,724]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 2b0b3f00 doesn't produce a valid hash.
[2012-02-29 11:09:55,423]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 0c0b2b00 doesn't produce a valid hash.
[2012-02-29 11:10:06,092]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 3e000e00 doesn't produce a valid hash.
[2012-02-29 11:10:57,902]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 4572e600 doesn't produce a valid hash.
[2012-02-29 11:11:32,845]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 7290d300 doesn't produce a valid hash.
[2012-02-29 11:11:41,968]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 9f833700 doesn't produce a valid hash.
[2012-02-29 11:11:51,049]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 00e91f00 doesn't produce a valid hash.
[2012-02-29 11:12:00,843]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce eac72800 doesn't produce a valid hash.
[2012-02-29 11:12:13,740]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 9ce40000 doesn't produce a valid hash.
[2012-02-29 11:12:25,707]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 006de200 doesn't produce a valid hash.
[2012-02-29 11:12:50,061]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 70c0f600 doesn't produce a valid hash.
[2012-02-29 11:12:57,754]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce ea001a00 doesn't produce a valid hash.
[2012-02-29 11:13:15,827]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 1b0feb00 doesn't produce a valid hash.
[2012-02-29 11:13:30,013]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce eb68ad00 doesn't produce a valid hash.
[2012-02-29 11:13:31,728]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 3b342000 doesn't produce a valid hash.
[2012-02-29 11:13:43,648]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 23203300 doesn't produce a valid hash.
[2012-02-29 11:14:05,010]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 8fee0000 doesn't produce a valid hash.
[2012-02-29 11:14:09,505]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce fb9f4400 doesn't produce a valid hash.
[2012-02-29 11:14:10,168]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce de41c400 doesn't produce a valid hash.
[2012-02-29 11:14:20,014]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 00355d00 doesn't produce a valid hash.
[2012-02-29 11:14:22,131]  [ERROR]  [rg7.rg7miner.fpga.FPGAControl][port=COM4]: HW error. Received nonce 6dae5300 doesn't produce a valid hash.
randomguy7 (OP)
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
February 29, 2012, 07:50:02 AM
 #10

Very weird bug, I never had this one, thx for your log. I'm going to look into this.

About the long polling, there currently is no output if long polling requests return with new work (I change this in the next version). If the value before valid shares is "LP" (upper case), lp is enabled. It will show "lp" if lp is disabled.

What is block monitor?
antirack
Hero Member
*****
Offline Offline

Activity: 489
Merit: 500

Immersionist


View Profile
February 29, 2012, 07:54:35 AM
 #11

I have no idea, but I just saw that ZTEX BTCMiner sometimes shows "New block detected by block monitor" in the logs.

He may have a block monitor running in the background that detects new blocks.

I have now moved my 5 Icarus to Modular Python Bitcoin Miner since I finally got it to work. It has multi-board support.
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
March 03, 2012, 03:53:02 PM
 #12

I'm using your miner for my test board. Works well so far. I hope you continue your development.

Just a hint for stupid users like me, the format is <user> <pass> <url> <portName> but port means COM3 or something else not the port of the pool  Cheesy

Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
March 06, 2012, 08:10:14 PM
 #13

I am still running my 5 instances of RG7Miner. I get the HW Error about the nonce that didn't produce a valid hash once in a while, that's clear now. But overnight had had two units fail with (almost) endless loop of HW Errors of this type. The strange thing is that after a while there was on single valid one again, then again lots of errors, then a single valid one again, etc...

Restarting the miner (Ctrl-C, up, enter) gets them going again. Happened a couple of times now. Possibly always on the same 2 Icarus units, but I am not sure yet it's not even been 24h (I have three instances running at 604 minutes now).

Get this HW Errors too once in a while. Had it about 3 times in 72 hours.

eckmar
Legendary
*
Offline Offline

Activity: 1878
Merit: 1038


Telegram: https://t.me/eckmar


View Profile
March 12, 2012, 02:37:20 PM
 #14

I am using windows7 64 bit, CPU is Intel i3 @ 3 GHz.
I copied rxtxserial.dll from the winx64 directory and started rg7miner with following error message:

C:\RG7Miner>C:\Java\jre6\bin\java -jar rg7miner.jar beach.1 x http://123.123.123.123 8332
java.lang.UnsatisfiedLinkError: C:\RG7Miner\rxtxSerial.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform thrown while loading gnu.io.RXTXCommDriver
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: C:\RG7Miner\rxtxSerial.dll: Can't load AMD 64-bit .dll on
 a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
        at rg7.rg7miner.fpga.FPGAControl.<init>(FPGAControl.java:69)
        at rg7.rg7miner.Miner.run(Miner.java:77)
        at java.lang.Thread.run(Unknown Source)
[2012-03-12 21:06:32,862] [port=8332]: Getwork failed.
rg7.rg7miner.rpc.RPCResponseException: Failed to decode JSON string.
        at rg7.rg7miner.rpc.RPCResponse.<init>(RPCResponse.java:56) ~[rsrc:./:na]
        at rg7.rg7miner.rpc.RPCRequest.submit(RPCRequest.java:178) ~[rsrc:./:na]
        at rg7.rg7miner.WorkSource.run(WorkSource.java:76) ~[rsrc:./:na]
        at java.lang.Thread.run(Unknown Source) [na:1.6.0_27]
Caused by: rg7.json.generated.TokenMgrError: Lexical error at line 1, column 1.  Encountered: "<" (60), after : ""
        at rg7.json.generated.JSONParserTokenManager.getNextToken(JSONParserTokenManager.java:439) ~[rsrc:./:na]
        at rg7.json.generated.JSONParser.jj_consume_token(JSONParser.java:277) ~[rsrc:./:na]
        at rg7.json.generated.JSONParser.JSONObject(JSONParser.java:21) ~[rsrc:./:na]
        at rg7.json.generated.JSONParser.run(JSONParser.java:11) ~[rsrc:./:na]
        at rg7.rg7miner.rpc.RPCResponse.<init>(RPCResponse.java:50) ~[rsrc:./:na]
        ... 3 common frames omitted

Why it tries to load AMD 64-bit .dll Huh There is no AMD processor...

Any ideas?

Regards,
 Eckmar Eckel
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
March 12, 2012, 06:38:53 PM
 #15

Try "C:\RG7Miner>C:\Java\jre6\bin\java -jar rg7miner.jar beach.1 x http://123.123.123.123:8332 COM1" (example port) !

eckmar
Legendary
*
Offline Offline

Activity: 1878
Merit: 1038


Telegram: https://t.me/eckmar


View Profile
March 14, 2012, 05:55:54 AM
 #16

Try "C:\RG7Miner>C:\Java\jre6\bin\java -jar rg7miner.jar beach.1 x http://123.123.123.123:8332 COM1" (example port) !

Thanks for that hint! Smiley
How I can figure out which COM port to use?
What additional software I need to address COM ports over USB an a Ubuntu 10.4 Linux?

Cu,
 Ecki
eckmar
Legendary
*
Offline Offline

Activity: 1878
Merit: 1038


Telegram: https://t.me/eckmar


View Profile
March 14, 2012, 06:03:10 AM
 #17

I have no idea, but I just saw that ZTEX BTCMiner sometimes shows "New block detected by block monitor" in the logs.

He may have a block monitor running in the background that detects new blocks.

I have now moved my 5 Icarus to Modular Python Bitcoin Miner since I finally got it to work. It has multi-board support.

Could you provide some help for other Icarus board users? Smiley
Which software do you use to convert COM port to USB?
I have 15 Icarus boards running now, but I am unable to use them so far.
rg7miner, cgminer and MPBM can not access the Icarus boards even when I plug them into the USB port of the computer they are recognized from Linux as USB0-USB9...?

Any hints?

Cu,
 Ecki
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
March 14, 2012, 11:35:14 AM
 #18

Hi Eckmar. You can find the link to the drivers on the first page (initial post from zhang) in the ngzhang fpga miner thread.
 
I have no idea, but I just saw that ZTEX BTCMiner sometimes shows "New block detected by block monitor" in the logs.

He may have a block monitor running in the background that detects new blocks.

I have now moved my 5 Icarus to Modular Python Bitcoin Miner since I finally got it to work. It has multi-board support.

Could you provide some help for other Icarus board users? Smiley
Which software do you use to convert COM port to USB?
I have 15 Icarus boards running now, but I am unable to use them so far.
rg7miner, cgminer and MPBM can not access the Icarus boards even when I plug them into the USB port of the computer they are recognized from Linux as USB0-USB9...?

Any hints?

Cu,
 Ecki

Raize
Donator
Legendary
*
Offline Offline

Activity: 1419
Merit: 1015


View Profile
March 17, 2012, 04:28:00 AM
 #19

Those of you who have this working...

Are you using 32-bit or 64-bit Java. Also, are you on Java 6 or Java 7? Lastly, where are you copying the rxtxSerial.dll files?
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
March 17, 2012, 10:17:51 AM
 #20

Those of you who have this working...

Are you using 32-bit or 64-bit Java. Also, are you on Java 6 or Java 7? Lastly, where are you copying the rxtxSerial.dll files?

I use 32 bit Java 6, just copy the rxtxSerial.dll for your system to the same location as the java file.

Pages: [1]
  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!