Bitcoin Forum
November 16, 2024, 05:53:04 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   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 34 35 36 37 38 39 40 41 42 »
  Print  
Author Topic: Bitmain AntMiner U1 Tips & Tricks  (Read 106769 times)
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 02, 2014, 11:35:02 PM
 #81


How?  - to use multipool.us or to write scripts?  Wink

The first is easy: just set up an account and point your miners to the multipool servers:ports.

The second is sort of easy...  I admit I'm a quick-and-dirty bash-er, so I use bash for any trivial task even if it's not elegant.  I could post my code, but it's gotten pretty frankenstein-large and needs config files to specify the pool(s), port(s), user(s), and password(s) I want to use for each of the SHA coins listed on coinchoose.com.

But, basically, I just load the API, parse it with JSHON, look at which is most profitable after rejects are factored in, then make that coin the "currentcoin" and restart all my miners with the currentcoin.  In some cases, I have it use the slush proxy but for others I have it invoke the bfgminer proxy.

There are some other codes that do this automatically for you, like multiminer (google it), cgswitcher (same), and some others.

Hopefullly this gives you more of what you want.  Wasn't trying to be flip, just didn't know how much you knew or didn't.

No worries, that is what I was looking for. Thank you.

Oh, and am I being an idiot? I've d/l'ed from GitHub before, but I'll be damned if I can get the AntMiner miner. I keep getting a lil tiny 25 kb file and not the whole thing. Thoughts anyone?

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
philipma1957
Legendary
*
Offline Offline

Activity: 4312
Merit: 8852


'The right to privacy matters'


View Profile WWW
January 02, 2014, 11:39:33 PM
Last edit: January 03, 2014, 12:01:56 AM by philipma1957
 #82

note 2:
Cooling: One of these http://smile.amazon.com/ARCTIC-USB-Powered-Portable-Cooling-Solution/dp/B003XN24GY/ref=sr_1_1?ie=UTF8&qid=1388678769&sr=8-1 and the S1s have been staying VERY cool. Almost think they don't need fans at regular speeds.

How are those fans noise-wise? Noise is an issue hyah.

As an aside, anyone have any recommendations for a QUIET PnP replacement fan for the Cubes?

I think they are quiet as far as fans go.
I don't like that they take up a USB port but they are a simple, effective, and a fairly cheap solution.
silverstone makes a decent fan for the cubes
not as cool as the stock fan but if you are not over clocking it is good. I posted a link to the fan on ssb's cube for sale thread.  the white arctic fan is too loud if noise is an issue thermal take makes the best fan but it is expensive .  I will get links


http://www.ebay.com/itm/like/380309638810

 thermal take's ebay site


cube fan  http://www.newegg.com/Product/Product.aspx?Item=N82E16835220050


here is a thermal take fan cooling some ant miner sticks



▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
philipma1957
Legendary
*
Offline Offline

Activity: 4312
Merit: 8852


'The right to privacy matters'


View Profile WWW
January 03, 2014, 12:05:29 AM
Last edit: January 03, 2014, 12:29:23 AM by philipma1957
 #83

I am now running 10 sticks 5 on two different 10 port hubs

a simple start.bat file with over clocking set to 250  = 0981 = 2.0 gh





shot of the two hubs with 5 sticks each



I am running the 10 sticks at 1.95-2.00  gh    pointing them at cex.io

i am not sure if i have fixed my under reporting of hash issue. will check it in a few hours


one last shot  up to 14 sticks at 2 gh each


▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
twib2
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

Helperizer


View Profile
January 03, 2014, 12:24:09 AM
 #84


How?  - to use multipool.us or to write scripts?  Wink

The first is easy: just set up an account and point your miners to the multipool servers:ports.

The second is sort of easy...  I admit I'm a quick-and-dirty bash-er, so I use bash for any trivial task even if it's not elegant.  I could post my code, but it's gotten pretty frankenstein-large and needs config files to specify the pool(s), port(s), user(s), and password(s) I want to use for each of the SHA coins listed on coinchoose.com.

But, basically, I just load the API, parse it with JSHON, look at which is most profitable after rejects are factored in, then make that coin the "currentcoin" and restart all my miners with the currentcoin.  In some cases, I have it use the slush proxy but for others I have it invoke the bfgminer proxy.

There are some other codes that do this automatically for you, like multiminer (google it), cgswitcher (same), and some others.

Hopefullly this gives you more of what you want.  Wasn't trying to be flip, just didn't know how much you knew or didn't.

No worries, that is what I was looking for. Thank you.

Oh, and am I being an idiot? I've d/l'ed from GitHub before, but I'll be damned if I can get the AntMiner miner. I keep getting a lil tiny 25 kb file and not the whole thing. Thoughts anyone?

No prob - I couldn't find the full bitmain cgminer source at first either.  It's here:  https://github.com/bitmaintech/cgminer  Turns out you have to search github for cgminer, not Ant or other keywords.

Cryptsy Exchange        bcmon: Monitor all your miners in one place!            BTC tips: 1GY9wmMmw1E7DPLzQXt4UPuEuHQN29PixD
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 01:04:06 AM
 #85

I thought I saw someone using a Windows version 3.8.5? Does 3.9 work on Win64?

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
philipma1957
Legendary
*
Offline Offline

Activity: 4312
Merit: 8852


'The right to privacy matters'


View Profile WWW
January 03, 2014, 01:15:53 AM
 #86

I thought I saw someone using a Windows version 3.8.5? Does 3.9 work on Win64?

no you must download the version from github    and you need to make a start.bat file with at least what I did in the photo above. if you get 3.9 to run it will run fucked up.  been there done that.  if you do not put a start.bat file with the minimum of


cgminer.exe --bmsc-options 115200:20 --bmsc-freq  0781    for stock speed   or  0881  for 1.8gh  or 0981 for 2.0gh   you will get bad results.


I downloaded the github 3.8.5  but did not do a start.bat fill with the options above i ran stock speed and half my hash vanished  i.e. on my pc i would report 16gh for 10 sticks and on bit minter  I would get 8GH  same problem with cex.io


once I put the start.bat file in all problems vanished and I did a small oc from 1.6gh to 2.0gh  so far so good.  in house on the pc i get 27GH and on cex.io I get 25GH.

WHICH IS far better then ½ the hash rate.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 01:42:02 AM
 #87

no you must download the version from github    and you need to make a start.bat file with at least what I did in the photo above. if you get 3.9 to run it will run fucked up.  been there done that.  if you do not put a start.bat file with the minimum of

cgminer.exe --bmsc-options 115200:20 --bmsc-freq  0781    for stock speed   or  0881  for 1.8gh  or 0981 for 2.0gh   you will get bad results.

I downloaded the github 3.8.5  but did not do a start.bat fill with the options above i ran stock speed and half my hash vanished  i.e. on my pc i would report 16gh for 10 sticks and on bit minter  I would get 8GH  same problem with cex.io

once I put the start.bat file in all problems vanished and I did a small oc from 1.6gh to 2.0gh  so far so good.  in house on the pc i get 27GH and on cex.io I get 25GH.

WHICH IS far better then ½ the hash rate.

Found it, thank you.

By the way, those would cool better if they were perpendicular to the fan.

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
NocTurNalFX
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
January 03, 2014, 01:50:10 AM
 #88

Whats the most you can overclock the U1's ?

I am using a Anker 9 port USB3.0 hub. 

Dont want to set it too high and burn it out.

BTC Donations: 1MH1Si7eFToQDFcmEYsBgsAXEcochQe4Cg
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 02:11:00 AM
 #89

Okay, I found 3.8.5 hyah:

http://ck.kolivas.org/apps/cgminer/3.8/

But is there a different "Ant" one somewhere that I am not seeing?

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 02:21:39 AM
 #90

cgminer 3.9.0 does not directly support the U1.
You need to download the prebuilt  windows version from here and unzip.
https://github.com/AntMiner/AntGen1/tree/master/cgminer
Follow instructions in the AntMiner-U1 user guide.
https://github.com/AntMiner/AntGen1

The issue is that I have tried this 20 times, and it won't download. I just keep getting some piece of it. Odd that.

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
judypug1956
Sr. Member
****
Offline Offline

Activity: 355
Merit: 276


View Profile
January 03, 2014, 02:22:49 AM
 #91

Okay, I found 3.8.5 hyah:

http://ck.kolivas.org/apps/cgminer/3.8/

But is there a different "Ant" one somewhere that I am not seeing?

yep that is the true original version..  you need to go to github


https://github.com/AntMiner/AntGen1/tree/master/cgminer  

use the ones that say windows

1956jUdYPFwiBSzt9AECdWj3KE4WV7taiM I can't do 1957philma.. for btc address the i are not allowed This is a secondary account for Philipma1957, don't do business with this account deal with philipma1957
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 02:26:04 AM
 #92

Thank you, I figured it out. Sometimes I wonder what the hell people are thinking when they "design" a website.

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
klondike_bar
Legendary
*
Offline Offline

Activity: 2128
Merit: 1005

ASIC Wannabe


View Profile
January 03, 2014, 02:35:41 AM
 #93

I am now running 10 sticks 5 on two different 10 port hubs



why do all the reading come as a multiple of 512? (512,1024,1536,2048,2560)

24" PCI-E cables with 16AWG wires and stripped ends - great for server PSU mods, best prices https://bitcointalk.org/index.php?topic=563461
No longer a wannabe - now an ASIC owner!
dave111223
Legendary
*
Offline Offline

Activity: 1190
Merit: 1001


View Profile WWW
January 03, 2014, 02:36:53 AM
 #94

Not sure if it will solve this particular issue, but the workaround/fix mentioned here below "Raspberry Pi is locking up when running CGMiner" solved my headaches with a freezing Raspberry (using ten Block Erupter USBs).

Thanks, that seems to have fixed it.

Quote
If your RPi is freezing randomly after some time (could be minutes, could be hours or days) with error like Oops: PREEMPT ARM, CPU0 Not tainted printed out over HDMI, and with locked up ethernet and USB interfaces, you have to add following option to the /boot/cmdline.txt file on SD card:
Code:
slub_debug=FP
dave111223
Legendary
*
Offline Offline

Activity: 1190
Merit: 1001


View Profile WWW
January 03, 2014, 02:50:30 AM
 #95

Now I'm getting this error for all USBs on one of my Raspberries (after about 10 minutes of mining with 22 USBs):

Code:
AMU* SendWork usb write err:(-7) LIBUSB_ERROR_TIMEOUT

Any ideas?
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 03:01:17 AM
 #96

So, I'm getting this, and it keeps repeating:



Using:

Code:
C:\Users\M\Downloads\CTB\Antminerminer\cgminer.exe -o stratum.bitcoin.cz:3333 -u <worker> -p <xxxx> --bmsc-options 115200:20 --bmsc-freq 0881

Any body have any ideas? It's an Antec, PLENTY of power.

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
NocTurNalFX
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
January 03, 2014, 03:30:08 AM
 #97

So, I'm getting this, and it keeps repeating:



Using:

Code:
C:\Users\M\Downloads\CTB\Antminerminer\cgminer.exe -o stratum.bitcoin.cz:3333 -u <worker> -p <xxxx> --bmsc-options 115200:20 --bmsc-freq 0881

Any body have any ideas? It's an Antec, PLENTY of power.

try putting this as target line



C:\Users\M\Downloads\CTB\Antminerminer\cgminer.exe --bmsc-options 115200:20 -o stratum.bitcoin.cz:3333 -u <worker> -p <xxxx>  --bmsc-freq 0881 --

BTC Donations: 1MH1Si7eFToQDFcmEYsBgsAXEcochQe4Cg
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 04:03:48 AM
 #98

Welp, I followed the instructions in this post by philipma1957 (thank you, very well written):

https://bitcointalk.org/index.php?topic=390929.msg4263190#msg4263190

Aaaaannnd, of course, nothing happened. So, I unplugged them and started over.

Aaaaannnd, the miner recognized the first one instantly. Followed by each successive one. Resulting in:



Now, switching pools remains a pain. While I did not have to re-zadig, I did have to pull them and add them back in, one by one.


Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
brush242
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 03, 2014, 04:05:39 AM
 #99


try putting this as target line

C:\Users\M\Downloads\CTB\Antminerminer\cgminer.exe --bmsc-options 115200:20 -o stratum.bitcoin.cz:3333 -u <worker> -p <xxxx>  --bmsc-freq 0881 --

Thank you! I did not realize that order could be switched. Note for next time.

Support sidehack miner development. Donations to: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Seals881
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 03, 2014, 04:15:30 AM
 #100

20 minutes and I have it running on my BAMT GPU linux box.  So I decided to try this on one of my BAMT devices with 4 GPU's running mining Scrypt (NO I'm not mining Scrypt with these, just using the same Linux device).

I logged in on my BAMT device and did this exactly:

git clone https://github.com/bitmaintech/cgminer
cd cgminer
sudo apt-get install libusb-1.0
sudo apt-get install libudev-dev
./autogen.sh
./configure --enable-bmsc
make -j 6

and then did (as in the example from the .PDF)
./cgminer --bmsc-options 115200:20 -o 50.31.149.57:3333 -u ktzhan_3 -p 123 --bmsc-freq 0781
Two things.

First of all, the "--bmsc-options 115200:20 " is MANDATORY.  I was not using it and having it on the command line made all the difference in the world.

Next, what processor / OS are you running?  i.e. does "uname -p" say  "i386" or "x86_64"?

The same exact sequence on an intel i3 running ubuntu 12.04 x86_64 gives a compiler warning that it will crash because of a memory overflow and really does.  Fixing the memcpy from trying to copy 5 bytes into a 4 byte uint32 stops the crash and lets the program run.  Your compiler / OS / processor may be more forgiving of the driver trying to stuff 5 bytes into a 4 bytes entity.

FWIW, what I did to make it work on an i3 running ubuntu 12.04 was

--- a/driver-bmsc.c
+++ b/driver-bmsc.c
@@ -1276,7 +1276,7 @@ static int64_t bmsc_scanwork(struct thr_info *thr)
                goto out;
        }

-       memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
+       memcpy((char *)&nonce, nonce_bin, sizeof(nonce));
        nonce = htobe32(nonce);
        curr_hw_errors = bmsc->hw_errors;
        submit_nonce(thr, work, nonce);

which is essentially to only copy 4 of the 5 bytes returned by the driver before the byte swap.  Only 4 bytes are used by the code so this is a safe change.

Changed up the driver file, and no luck. Still crashing due to that mem error, tried on 32-bit and 64-bit systems, using Xubuntu 12.04. Have any other ideas?
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 34 35 36 37 38 39 40 41 42 »
  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!