Bitcoin Forum
November 11, 2024, 07:05:11 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 33 »
  Print  
Author Topic: BTCMiner - Open Source Bitcoin Miner for ZTEX FPGA Boards, 215 MH/s on LX150  (Read 161711 times)
ummas
Sr. Member
****
Offline Offline

Activity: 274
Merit: 250


View Profile
March 23, 2013, 09:16:31 PM
Last edit: March 24, 2013, 07:00:10 AM by ummas
 #581

need help.
my BTCMiner stoped working.
After a fatal crush (log filled up USB-flash drive - sda1) it was a little hard to run anything.
but now i`m getting this
Code:
ummas@ummas-fpga:~$ sudo java -cp ZtexBTCMiner-121126.jar BTCMiner -host http://192.168.1.68:8332 -u XXXX.ztex -p XXXXXX10 -m c
[sudo] password for ummas:
Exception in thread "main" java.lang.NoClassDefFoundError: BTCMiner
Caused by: java.lang.ClassNotFoundException: BTCMiner
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: BTCMiner. Program will exit.
ummas@ummas-fpga:~$


I have downloaded .jar once aggain - no go:/
I have installed java aggain - no go. sticked with that code.
this is java version
Code:
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.11.04.1)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)

any advice ?
It was working perfectly for last 8 months.

I`m forced to use cgminer, witch i dont like to use with ztex.
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
March 24, 2013, 12:37:50 AM
 #582

i remember something like the "sudo ...." in front of the actual command to be the solution tothis issue!

ummas
Sr. Member
****
Offline Offline

Activity: 274
Merit: 250


View Profile
March 24, 2013, 07:01:16 AM
Last edit: March 24, 2013, 07:59:41 AM by ummas
 #583

Edited code lines, now You can see, that i`m using sudo.

Problem solved.
I was trying to use 121126, but downloaded 121116 insted of 121126. silly.
aTg
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
March 24, 2013, 11:57:20 PM
 #584

As soon getwork stop working on all pools, BTCMiner become obsolete. The problem is that the stratum proxy has some problems do occasionally lose the connection to the pool so we will be forced to use CGMiner or BFGMiner if BTCMiner not is updated with statum.
ummas
Sr. Member
****
Offline Offline

Activity: 274
Merit: 250


View Profile
March 29, 2013, 01:01:46 AM
 #585

Is it hard to run stratrum proxy?
I`m using it and it works nice Smiley
ALL of my Cgminers(gpu), and BTCminers(ZteX) and CGMINER(BFL) are connected to one stratrum proxy.
ummas
Sr. Member
****
Offline Offline

Activity: 274
Merit: 250


View Profile
March 31, 2013, 04:12:43 PM
Last edit: March 31, 2013, 05:23:40 PM by ummas
 #586

Any 1 can help?
I know what this is, but cant understand why.
Code:
Warning (try 1): error sending control message: Protocol error
001-1: ztex_ufm1_15y1-04A3469808-3: Error: bus=001  device=111: selectFPGA: error sending control message: Protocol error: Disabling device

EDIT:
restarting usb hubs helps...
rupy
Hero Member
*****
Offline Offline

Activity: 725
Merit: 503



View Profile
April 18, 2013, 08:32:11 AM
Last edit: April 18, 2013, 08:46:01 AM by rupy
 #587

I have bitcoin client on port 8332, so even if my old linux can run your code I have to mess around with configs... Sad

There is no config, just simple parameters.

Code:
./mining_proxy.py -gp 8001

This will do the job for you (gp means getwork port).

Quote
Also it's written in python... :/

I'm sorry if you have personal aversion against Python for some reason. Otherwise the installation is really simple, as documented here: https://github.com/slush0/stratum-mining-proxy . It takes literally 5 minutes to get it run.

Well, yes I do, now I have to install this proxy, because ozco.in doesent have getwork anymore and they only payout if a block is mined it seems. So I knew this would NOT work straight out of the box:

Code:
# ./mining_proxy.py --help
Traceback (most recent call last):
  File "./mining_proxy.py", line 20, in <module>
    import argparse
ImportError: No module named argparse

Can't you parse arguments yourself?

BANKBOOK GWT Wallet & no-FIAT Billing API
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
April 19, 2013, 06:54:03 PM
 #588

That's what I use for BitMinter:

mining_proxy.exe -o eu1.bitminter.com -sp 3333 -gp 8332

http://mining.bitcoin.cz/mining-proxy-howto




aTg
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
April 24, 2013, 06:58:04 PM
 #589

I would seem interesting to implement the use of other hardware for use by BTCMiner, simplicity and efficiency seems preferable to the other miners, I think for the little interest in implement stratum will have little acojida also use this equipment for different hardware .
I propose in the latter case do a fork or continue its development as it is opensource so it can be used by avalon which is this opensource platform in which we can work.
What you think?
Russ.Dill@gmail.com
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 30, 2013, 07:11:28 AM
 #590

Out of curiosity, how does the 1.15y sense temperature?
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
April 30, 2013, 08:37:51 AM
 #591

Out of curiosity, how does the 1.15y sense temperature?

only the version 2 of this board has temp sensors!

Russ.Dill@gmail.com
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
April 30, 2013, 07:42:25 PM
 #592

Out of curiosity, how does the 1.15y sense temperature?

only the version 2 of this board has temp sensors!

Yes, the version 2 of the board, is it sensing the die temperature? The board temperature near the FPGA? Does it somehow sense the temperature of the heat sink?
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
May 02, 2013, 03:14:54 PM
 #593

Out of curiosity, how does the 1.15y sense temperature?

only the version 2 of this board has temp sensors!

Yes, the version 2 of the board, is it sensing the die temperature? The board temperature near the FPGA? Does it somehow sense the temperature of the heat sink?

No i don't think so. He might have placed the sensor near to the FPGA or under it. To my knowledge the FPGAs used on those boards do not have  an inbuilt on die temp sensor?!

Maybe Ztex can explain this?

subject35
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
May 28, 2013, 07:00:13 PM
 #594

Hello,

ZTEX FPGA Boards 1.15y works normaly fine with BTCMiner.
But sometimes (4-5 times a day) BTCMiner stops work for about 5 to 10 minutes and then resume work normaly.

I use stratum proxy to slush pool. But problem occures also when using other pool with getwork.

Starting BTCMiner with:
java -cp ZtexBTCMiner-121126.jar BTCMiner -v -host "http://localhost:8332" -u uuu -p ppp -m c -tc

stratum proxy output when miner paused work:
2013-05-28 20:22:31,296 INFO proxy client_service.handle_event # New job ecb for prevhash 3fab94c9, clean_jobs=False
2013-05-28 20:23:36,937 INFO proxy client_service.handle_event # New job ecc for prevhash 3fab94c9, clean_jobs=False
2013-05-28 20:24:41,203 INFO proxy client_service.handle_event # New job ecd for prevhash 3fab94c9, clean_jobs=False
2013-05-28 20:25:46,467 INFO proxy client_service.handle_event # New job ece for prevhash 3fab94c9, clean_jobs=False

Any idea for solving problem?

subject35
hagenees
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
June 01, 2013, 09:46:10 PM
 #595

Can I run this miner on ztex 1.11 board?
razorfishsl
Sr. Member
****
Offline Offline

Activity: 399
Merit: 250


View Profile WWW
June 10, 2013, 01:03:41 PM
 #596

Out of curiosity, how does the 1.15y sense temperature?

only the version 2 of this board has temp sensors!

Yes, the version 2 of the board, is it sensing the die temperature? The board temperature near the FPGA? Does it somehow sense the temperature of the heat sink?

No i don't think so. He might have placed the sensor near to the FPGA or under it. To my knowledge the FPGAs used on those boards do not have  an inbuilt on die temp sensor?!

Maybe Ztex can explain this?

No there is not an inbuilt on die temperature sensor, which is a surprise really.

http://www.xilinx.com/support/documentation/user_guides/ug385.pdf

Research is not a dirty word.

High Quality USB Hubs for Bitcoin miners
https://bitcointalk.org/index.php?topic=560003
Schrankwand
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
June 12, 2013, 03:40:58 PM
Last edit: June 12, 2013, 04:12:43 PM by Schrankwand
 #597

HI, quick question for everyone.

I have a ZTEX 1.15y with one of the chips broken/Not working. With other FPGAs, reflashing the software has often taken care of such problems.


So, if I wanted to reflash, is THIS the right command?





Code:
java -cp ZtexBTCMiner-121126.jar BTCMiner -m p -pt ztex_ufm1_15y1 -f ztex_ufm1_15y1.ihx
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
June 14, 2013, 03:51:17 PM
 #598

HI, quick question for everyone.

I have a ZTEX 1.15y with one of the chips broken/Not working. With other FPGAs, reflashing the software has often taken care of such problems.


So, if I wanted to reflash, is THIS the right command?

Code:
java -cp ZtexBTCMiner-121126.jar BTCMiner -m p -pt ztex_ufm1_15y1 -f ztex_ufm1_15y1.ihx

Code is right. What's the problem with the chip ? Immediate downclocking ? I have to restart my board over and over again to use the broken chip. It will mine then with 144 MHz, the others at normal speed. When I have to reboot my PC I do it again. Sometimes it works after 3 times, sometimes after 20 but it always works. Start, let overheat kick in, control C and restart the board. Just set -oh to 0.7 or bigger.

Schrankwand
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
June 15, 2013, 01:52:27 PM
 #599

HI, quick question for everyone.

I have a ZTEX 1.15y with one of the chips broken/Not working. With other FPGAs, reflashing the software has often taken care of such problems.


So, if I wanted to reflash, is THIS the right command?

Code:
java -cp ZtexBTCMiner-121126.jar BTCMiner -m p -pt ztex_ufm1_15y1 -f ztex_ufm1_15y1.ihx

Code is right. What's the problem with the chip ? Immediate downclocking ? I have to restart my board over and over again to use the broken chip. It will mine then with 144 MHz, the others at normal speed. When I have to reboot my PC I do it again. Sometimes it works after 3 times, sometimes after 20 but it always works. Start, let overheat kick in, control C and restart the board. Just set -oh to 0.7 or bigger.

100% Hardware errors.

All others run at 220 and 216 straight. Other chip is declared sick fast, then declared dead and then off within an hour.

The broken chip does not even bring a single piece of work though. I bought it broken and knew it, I was just thinking about a few options that might not have been considered yet. I did reflash and get the code running, however it seems that the FPGA chips cannot be configured one by one, is that right?
Turbor
Legendary
*
Offline Offline

Activity: 1022
Merit: 1000


BitMinter


View Profile WWW
June 15, 2013, 09:10:38 PM
 #600

Sounds like cgminer. Try BTCminer for this one board. Gives you more information when the chip goes out.

HI, quick question for everyone.

I have a ZTEX 1.15y with one of the chips broken/Not working. With other FPGAs, reflashing the software has often taken care of such problems.


So, if I wanted to reflash, is THIS the right command?

Code:
java -cp ZtexBTCMiner-121126.jar BTCMiner -m p -pt ztex_ufm1_15y1 -f ztex_ufm1_15y1.ihx

Code is right. What's the problem with the chip ? Immediate downclocking ? I have to restart my board over and over again to use the broken chip. It will mine then with 144 MHz, the others at normal speed. When I have to reboot my PC I do it again. Sometimes it works after 3 times, sometimes after 20 but it always works. Start, let overheat kick in, control C and restart the board. Just set -oh to 0.7 or bigger.

100% Hardware errors.

All others run at 220 and 216 straight. Other chip is declared sick fast, then declared dead and then off within an hour.

The broken chip does not even bring a single piece of work though. I bought it broken and knew it, I was just thinking about a few options that might not have been considered yet. I did reflash and get the code running, however it seems that the FPGA chips cannot be configured one by one, is that right?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 [30] 31 32 33 »
  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!