m3m3nto
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 25, 2014, 12:10:36 PM |
|
Everything seems fine, anyway you should try the latest version from here: git clone https://github.com/ckolivas/cgminer.git cd cgminer wget https://dl.dropboxusercontent.com/u/8082585/cg/b535bc08267aef90511afff23cb9ec48c4a6a704.patch git checkout b535bc08267aef90511afff23cb9ec48c4a6a704 patch -p1 < b535bc08267aef90511afff23cb9ec48c4a6a704.patch ./autogen.sh --enable-avalon --enable-bitfury --enable-hexminerc make P.S. === The board need 12V, i.e. the Yellow cord from the PSU Thanks, but when I run make I'm getting the following error: cgminer-driver-bitfury.o: In function `nf1_close': /tmp/cgminer/driver-bitfury.c:288: undefined reference to `mcp2210_spi_cancel' /tmp/cgminer/driver-bitfury.c:295: undefined reference to `mcp2210_set_gpio_settings' cgminer-driver-bitfury.o: In function `nf1_set_spi_settings': /tmp/cgminer/driver-bitfury.c:313: undefined reference to `mcp2210_set_spi_transfer_settings' cgminer-driver-bitfury.o: In function `nf1_detect_one': /tmp/cgminer/driver-bitfury.c:325: undefined reference to `mcp2210_get_gpio_settings' /tmp/cgminer/driver-bitfury.c:342: undefined reference to `mcp2210_set_gpio_settings' /tmp/cgminer/driver-bitfury.c:366: undefined reference to `mcp2210_spi_cancel' /tmp/cgminer/driver-bitfury.c:348: undefined reference to `mcp2210_get_gpio_pindirs' /tmp/cgminer/driver-bitfury.c:353: undefined reference to `mcp2210_get_gpio_pinvals' /tmp/cgminer/driver-bitfury.c:358: undefined reference to `mcp2210_get_gpio_pindes' /tmp/cgminer/driver-bitfury.c:368: undefined reference to `mcp2210_get_spi_transfer_settings' /tmp/cgminer/driver-bitfury.c:381: undefined reference to `mcp2210_spi_transfer' /tmp/cgminer/driver-bitfury.c:385: undefined reference to `mcp2210_get_gpio_pinval' /tmp/cgminer/driver-bitfury.c:396: undefined reference to `mcp2210_spi_transfer' /tmp/cgminer/driver-bitfury.c:400: undefined reference to `mcp2210_get_gpio_pinval' /tmp/cgminer/driver-bitfury.c:411: undefined reference to `mcp2210_spi_transfer' /tmp/cgminer/driver-bitfury.c:413: undefined reference to `mcp2210_get_gpio_pinval' cgminer-driver-bitfury.o: In function `nf1_reinit': /tmp/cgminer/driver-bitfury.c:300: undefined reference to `spi_clear_buf' /tmp/cgminer/driver-bitfury.c:301: undefined reference to `spi_add_break' /tmp/cgminer/driver-bitfury.c:302: undefined reference to `spi_set_freq' /tmp/cgminer/driver-bitfury.c:303: undefined reference to `spi_send_conf' /tmp/cgminer/driver-bitfury.c:304: undefined reference to `spi_send_init' /tmp/cgminer/driver-bitfury.c:305: undefined reference to `spi_reset' /tmp/cgminer/driver-bitfury.c:306: undefined reference to `spi_txrx' cgminer-driver-bitfury.o: In function `nf1_detect_one': /tmp/cgminer/driver-bitfury.c:429: undefined reference to `spi_clear_buf' cgminer-driver-bitfury.o: In function `bf1_scan': /tmp/cgminer/driver-bitfury.c:836: undefined reference to `decnonce' /tmp/cgminer/driver-bitfury.c:840: undefined reference to `bitfury_checkresults' cgminer-driver-bitfury.o: In function `nf1_scan': /tmp/cgminer/driver-bitfury.c:919: undefined reference to `libbitfury_sendHashData' /tmp/cgminer/driver-bitfury.c:917: undefined reference to `bitfury_work_to_payload' collect2: error: ld returned 1 exit status make[2]: *** [cgminer] Error 1 make[2]: Leaving directory `/tmp/cgminer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/cgminer' make: *** [all] Error 2
I've the same error. Uncomment those lines from Makefile.am after you've applied the patch: #if WANT_LIBBITFURY #cgminer_SOURCES += libbitfury.c libbitfury.h mcp2210.c mcp2210.h #endif
into: if WANT_LIBBITFURY cgminer_SOURCES += libbitfury.c libbitfury.h mcp2210.c mcp2210.h endif
then ./autogen.sh --enable-bitfury --enable-hexminera --enable-hexminerb --enable-hexminerc
Pay attention to enable support for hexminera/b/c or you'll have other compiling errors. Bye
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
February 25, 2014, 01:01:05 PM |
|
./autogen.sh --ENABALE-HEXMINER-BOARDS-ONLY Remove bitfury and Avalon and whatever else is there if you want USB Fury sticks from technobit --enable-hexmineru
|
|
|
|
m3m3nto
Newbie
Offline
Activity: 3
Merit: 0
|
|
February 25, 2014, 06:55:59 PM |
|
./autogen.sh --ENABALE-HEXMINER-BOARDS-ONLY Remove bitfury and Avalon and whatever else is there if you want USB Fury sticks from technobit --enable-hexmineru
Maybe 2GOOD needs support for other decices. I need bitfury driver for my BiFury usb sticks.
|
|
|
|
loshia
Legendary
Offline
Activity: 1610
Merit: 1000
|
|
February 25, 2014, 07:10:23 PM |
|
./autogen.sh --ENABALE-HEXMINER-BOARDS-ONLY Remove bitfury and Avalon and whatever else is there if you want USB Fury sticks from technobit --enable-hexmineru
Maybe 2GOOD needs support for other decices. I need bitfury driver for my BiFury usb sticks. Dude, read my post again hexmineru or use stock cgminer it is up to you
|
|
|
|
IrishMiner
Newbie
Offline
Activity: 2
Merit: 0
|
|
March 02, 2014, 12:21:12 AM |
|
I got one of these today. I plugged in the power and turned on my computer and the power cable going into it melted. Is my PSU the issue?
Form FactorATX Wattage750W Modular CablingNo Fan120 mm Input Voltage100 ~ 240 VAC +3.3V25 A +5V25 A +12V 150 A +12V Rails1 -12V0.5 A +5VSB2 A MTBF>100,000 Hours
It was the only thing plugged into the cable tree. I do have 4 other drives being powered but from different cables.
|
|
|
|
2GOOD (OP)
|
|
March 02, 2014, 12:33:46 AM |
|
Is your board with molex or terminal connection !?
Did it burned right away or after some time, maybe something is shorted ?!
|
|
|
|
IrishMiner
Newbie
Offline
Activity: 2
Merit: 0
|
|
March 02, 2014, 12:37:34 AM |
|
It was molex and it melted the second I powered it on. I quick pulled the power. Lots of smoke. .
|
|
|
|
klondike_bar
Legendary
Offline
Activity: 2128
Merit: 1005
ASIC Wannabe
|
|
March 02, 2014, 04:25:40 AM |
|
It was molex and it melted the second I powered it on. I quick pulled the power. Lots of smoke. . at higher speeds it can draw over 100W. Molex cables are usually designed for 60W. IMO its not a good idea running these off a cheap/thin cable because it WILL burn through. I had a chinese 6pin pci extension that was marked 18AWG on all the wires but burst into flames within 5 minutes of being used to carry 180W for an antminer. make sure your wires are thick
|
|
|
|
HammerHedd
|
|
March 02, 2014, 08:52:55 PM |
|
Has anyone managed to get a hexminer to work with cgminer 4.0.1? Do I need to compile against 3.8.5? Also, is there a new proxy for stratum for hexminer? I've got a HEX16A2 that I have not been able to use because I can't get anything to run it and it is killing me!
|
DRK: XepkHLT2MYTXSFDc2muiGeA9eRzG6ytpSy P2Pool: stratum+tcp://darkcoin.kicks-ass.net:7903 BTC: 1LVE3pFpAhSrHbiK5hAUWDeVrB5UrPXRkJ http://darkcoin.kicks-ass.net
|
|
|
2GOOD (OP)
|
|
March 02, 2014, 09:09:43 PM |
|
There is no cgminer with HEX support for windows, you need linux box.
I believe the stratum proxy is included in the package, there is a link to a video how-to in the OP
|
|
|
|
HammerHedd
|
|
March 02, 2014, 09:45:59 PM Last edit: March 03, 2014, 12:22:39 AM by HammerHedd |
|
There is no cgminer with HEX support for windows, you need linux box.
I believe the stratum proxy is included in the package, there is a link to a video how-to in the OP
Hmm.. maybe it's my miner, then... I get no lights on the bottom, although the fan runs. Hexminer >seems< to detect it as COM PORT 41, but I get no work out of it... I have a diode (I think) from the 12V molex pin to pin 2 and pin 3 (if 12v is pin 1)... I don't see that in any of the pictures online. is this a revision, or ...? EDIT: OK, got the miner to work with hexminer under windows - Kind of sloppy, IMHO. Now I just need to figure out how to get cgminer to compile, and I'll be a happy camper.
|
DRK: XepkHLT2MYTXSFDc2muiGeA9eRzG6ytpSy P2Pool: stratum+tcp://darkcoin.kicks-ass.net:7903 BTC: 1LVE3pFpAhSrHbiK5hAUWDeVrB5UrPXRkJ http://darkcoin.kicks-ass.net
|
|
|
jammertr
Member
Offline
Activity: 100
Merit: 10
|
|
March 03, 2014, 11:56:50 PM |
|
There is no cgminer with HEX support for windows, you need linux box.
I believe the stratum proxy is included in the package, there is a link to a video how-to in the OP
Hmm.. maybe it's my miner, then... I get no lights on the bottom, although the fan runs. Hexminer >seems< to detect it as COM PORT 41, but I get no work out of it... I have a diode (I think) from the 12V molex pin to pin 2 and pin 3 (if 12v is pin 1)... I don't see that in any of the pictures online. is this a revision, or ...? EDIT: OK, got the miner to work with hexminer under windows - Kind of sloppy, IMHO. Now I just need to figure out how to get cgminer to compile, and I'll be a happy camper. I'm not happy with hex miner and would appreciate a hint on how to compile cgminer under windows
|
|
|
|
gorgatron
Member
Offline
Activity: 110
Merit: 10
|
|
March 04, 2014, 09:36:51 AM |
|
Just picked up one of these miners recently. thanks for this post, and the link to the older tutorial for setting up HEX miner using the proxy. I was having a bit of trouble setting it up.
I got some different results than that of the OP when upping voltage. I noticed better hashrate by keeping voltage generally lower (1.200v-1.35v) and clocking the ship to somewhere around 1540-1580 MH/s. My current settings are 1560 MH/s @ 1.350v. This gives me ~22.3 GH/s, and my voltage never tends to top out over 1.220v. It runs a bit on the warm side, but I'd expect it to do so. Running under 1500 MH/s @ 1.200v-1.300v lefter me with a hashrate under 20 GH/s.
Unfortunately, I don't have the tools or knowhow to test heat, and it seems that these do not have a sensor. Although it was advertised at 24+GH/s, that is indeed misleading. You have to run it pretty hot to get 24-25 GH/s, and I'm not sure it's worth it. My current settings leave me with a warm miner, but it's nothing like a couple BFL 10 GH/s units I own that would reach as high as 82C before I began running them without part of the shell, and even had to take one apart to adjust the tension of heatsink, since the way it was put together had warped the PCB, leaving partial gaps between one of the ships and the sink. Now that one never goes above 72C. I don't think this HEX16A2 is getting near that kind of heat.
For the price I gave (at the time equaled ~$150 USD, and I had no cash, only BTC), I think I got a fine deal. Buying gone new for over 220 Euro seems pricey, but if they push them out the door within 48 hrs, and it may be not so bad of a decision. I'm pleased with my little unit, and if I can find a second one for a similar price, I may well ad another and see if I can figure out enough of Linux to run them on a Raspberry PI or something similar.
As for using CGminer, even with the patch, I couldn't get it to work properly. Not sure what I was doing wrong, and I don't have enough skills to get into the nuts and bolts to try to sort out problems myself. After watching the tutorial on how to use HEX miner, that was good enough for me. I think if you mainly have 55 nm tech, you'll be pleased with the lower power consumption this has compared to any BFL units you might be using. Compared with 28 nm products, well, there isn't really any. My KnC Mercury runs at around 143 GH/s, and pulls ~139W from the wall, so less than 1W per GH/s
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
March 04, 2014, 09:44:14 AM Last edit: March 04, 2014, 10:02:14 AM by Zich |
|
Just picked up one of these miners recently. thanks for this post, and the link to the older tutorial for setting up HEX miner using the proxy. I was having a bit of trouble setting it up.
I got some different results than that of the OP when upping voltage. I noticed better hashrate by keeping voltage generally lower (1.200v-1.35v) and clocking the ship to somewhere around 1540-1580 MH/s. My current settings are 1560 MH/s @ 1.350v. This gives me ~22.3 GH/s, and my voltage never tends to top out over 1.220v. It runs a bit on the warm side, but I'd expect it to do so. Running under 1500 MH/s @ 1.200v-1.300v lefter me with a hashrate under 20 GH/s.
Unfortunately, I don't have the tools or knowhow to test heat, and it seems that these do not have a sensor. Although it was advertised at 24+GH/s, that is indeed misleading. You have to run it pretty hot to get 24-25 GH/s, and I'm not sure it's worth it. My current settings leave me with a warm miner, but it's nothing like a couple BFL 10 GH/s units I own that would reach as high as 82C before I began running them without part of the shell, and even had to take one apart to adjust the tension of heatsink, since the way it was put together had warped the PCB, leaving partial gaps between one of the ships and the sink. Now that one never goes above 72C. I don't think this HEX16A2 is getting near that kind of heat.
For the price I gave (at the time equaled ~$150 USD, and I had no cash, only BTC), I think I got a fine deal. Buying gone new for over 220 Euro seems pricey, but if they push them out the door within 48 hrs, and it may be not so bad of a decision. I'm pleased with my little unit, and if I can find a second one for a similar price, I may well ad another and see if I can figure out enough of Linux to run them on a Raspberry PI or something similar.
As for using CGminer, even with the patch, I couldn't get it to work properly. Not sure what I was doing wrong, and I don't have enough skills to get into the nuts and bolts to try to sort out problems myself. After watching the tutorial on how to use HEX miner, that was good enough for me. I think if you mainly have 55 nm tech, you'll be pleased with the lower power consumption this has compared to any BFL units you might be using. Compared with 28 nm products, well, there isn't really any. My KnC Mercury runs at around 143 GH/s, and pulls ~139W from the wall, so less than 1W per GH/s
If you got lower hash rate at 1100/1500, then i suspect that your miner had dead chip You can check by running ./cgminer-api stats command under cgminer ofc. You need to compile cgminer-api first [STATS0] => ( [STATS] => 0 [ID] => HEXc0 [Enabled] => Y [Status] => Alive [Elapsed] => 100391 [MHS 5s] => 20.70G [MHS av] => 22.23G [Hardware Errors] => 9220 [Hardware Errors%] => 1.7437 [USB Read Errors] => 66 [USB Write Errors] => 0 [Idled for 60 sec] => 0 [Reset Count] => 0 [Last Share Time] => 1393926290 [Chip Count] => 16 [Frequency] => 1500 [Core Voltage] => 1100 [PIC Voltage Readings] => 1094 [Chip1 Nonces] => 34376 [Chip1 Dupes] => 0 [Chip2 Nonces] => 34412 [Chip2 Dupes] => 0 [Chip3 Nonces] => 34495 [Chip3 Dupes] => 0 [Chip4 Nonces] => 34184 [Chip4 Dupes] => 0 [Chip5 Nonces] => 34719 [Chip5 Dupes] => 0 [Chip6 Nonces] => 34395 [Chip6 Dupes] => 0 [Chip7 Nonces] => 34287 [Chip7 Dupes] => 0 [Chip8 Nonces] => 34318 [Chip8 Dupes] => 0 [Chip9 Nonces] => 34500 [Chip9 Dupes] => 0 [Chip10 Nonces] => 3226 [Chip10 Dupes] => 0 [Chip11 Nonces] => 33925 [Chip11 Dupes] => 0 [Chip12 Nonces] => 34434 [Chip12 Dupes] => 0 [Chip13 Nonces] => 34315 [Chip13 Dupes] => 0 [Chip14 Nonces] => 34609 [Chip14 Dupes] => 0 [Chip15 Nonces] => 34810 [Chip15 Dupes] => 0 [Chip16 Nonces] => 34543 [Chip16 Dupes] => 0 )
|
|
|
|
wolf_miner
Legendary
Offline
Activity: 1018
Merit: 1001
|
|
March 04, 2014, 11:40:26 AM |
|
I am waiting my new HEX16A2 , now i have assembled a reinforced molex with 2 cables for each pin, i hope that it can deliver all the current necessary for the miner without burning. Can someone explain how compile cgminer-api, i have compiled with only the options ./autogen.sh --enable-hexminera --enable-hexminerc make are requested others options? Thanks in advance Luca
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
March 04, 2014, 11:50:09 AM |
|
I am waiting my new HEX16A2 , now i have assembled a reinforced molex with 2 cables for each pin, i hope that it can deliver all the current necessary for the miner without burning. Can someone explain how compile cgminer-api, i have compiled with only the options ./autogen.sh --enable-hexminera --enable-hexminerc make are requested others options? Thanks in advance Luca Don't forget to apply patch before compile 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-3.12.3 3. cd cgminer-3.12.3 4. git checkout e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f 5. wget https://www.dropbox.com/s/hfx7l4hz5ywgw3x/e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch 6. patch -p1 < e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch 7. ./autogen.sh --enable-hexminera --enable-hexminerc 8. make
To compile cgminer-api, on cgminer folder run command: gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api
Then add api allow & api listen to cgminer.conf "api-listen" : true, "api-allow" : "R:127.0.0.1",
You can run it on compiled cgminer foder with command: ./cgminer-api stats or ./cgminer-api summary
Or you can copy cgminer-api to /usr/bin so you can run "cgminer-api stats" anywhere & without using ./
|
|
|
|
wolf_miner
Legendary
Offline
Activity: 1018
Merit: 1001
|
|
March 04, 2014, 11:56:48 AM |
|
Thanks Zich
|
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
March 04, 2014, 11:58:42 AM |
|
Thanks Zich You are welcome
|
|
|
|
HammerHedd
|
|
March 06, 2014, 03:16:54 AM |
|
I am waiting my new HEX16A2 , now i have assembled a reinforced molex with 2 cables for each pin, i hope that it can deliver all the current necessary for the miner without burning. Can someone explain how compile cgminer-api, i have compiled with only the options ./autogen.sh --enable-hexminera --enable-hexminerc make are requested others options? Thanks in advance Luca Don't forget to apply patch before compile 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-3.12.3 3. cd cgminer-3.12.3 4. git checkout e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f 5. wget https://www.dropbox.com/s/hfx7l4hz5ywgw3x/e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch 6. patch -p1 < e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch 7. ./autogen.sh --enable-hexminera --enable-hexminerc 8. make
To compile cgminer-api, on cgminer folder run command: gcc api-example.c -Icompat/jansson-2.5 -Icompat/libusb-1.0/libusb -o cgminer-api
Then add api allow & api listen to cgminer.conf "api-listen" : true, "api-allow" : "R:127.0.0.1",
You can run it on compiled cgminer foder with command: ./cgminer-api stats or ./cgminer-api summary
Or you can copy cgminer-api to /usr/bin so you can run "cgminer-api stats" anywhere & without using ./ Zich, this consistently fails for me, and it suddenly occured to me that the cgminer git is now at 4.0.1 - Is there a patch for 4.0.1 or should I try to load the 3.12.3 from an archive?
|
DRK: XepkHLT2MYTXSFDc2muiGeA9eRzG6ytpSy P2Pool: stratum+tcp://darkcoin.kicks-ass.net:7903 BTC: 1LVE3pFpAhSrHbiK5hAUWDeVrB5UrPXRkJ http://darkcoin.kicks-ass.net
|
|
|
Zich
Legendary
Offline
Activity: 1190
Merit: 1000
|
|
March 06, 2014, 03:49:04 AM Last edit: March 06, 2014, 04:11:16 AM by Zich |
|
Zich, this consistently fails for me, and it suddenly occured to me that the cgminer git is now at 4.0.1 - Is there a patch for 4.0.1 or should I try to load the 3.12.3 from an archive?
There is git checkout command that will make sure you are at right version. if you follow the step by step, there should be no problem. What is the error message? Maybe one of dependencies is not installed. 1. sudo aptitude update 2. sudo aptitude upgrade 3. sudo aptitude install libudev-dev libusb-1.0-0-dev libfox-1.6-dev 4. sudo aptitude install autotools-dev autoconf automake 5. sudo aptitude install libtool libncurses-dev yasm 6. sudo aptitude install curl libcurl4-openssl-dev libjansson-dev screen 7. sudo aptitude install pkg-config uthash-dev make git-core
New patch already publish by marto but for cgminer-4.0.0 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-4.0.0 3. cd cgminer-4.0.0 4. git checkout 2786526d9f1acb7bd903ece3c822c2c9203aa0b7 5. wget https://www.dropbox.com/s/tyerzzpc1xjqegj/2786526d9f1acb7bd903ece3c822c2c9203aa0b7.patch 6. patch -p1 < 2786526d9f1acb7bd903ece3c822c2c9203aa0b7.patch 7. ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminerb --enable-hexminer8 8. make
|
|
|
|
|