Bitcoin Forum
June 21, 2024, 05:01:28 AM *
News: Latest Bitcoin Core release: 27.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 34 35 36 37 38 39 40 41 42 »
  Print  
Author Topic: Bitmain AntMiner U1 Tips & Tricks  (Read 106568 times)
mrspades
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
January 07, 2014, 04:09:14 PM
 #221

okay, ive created it and put cgminer.exe --bmsc-options 115200:20 -o stratum.bitcoin.cz:3333 -u MisterSpades.worker2 -p x  --bmsc-freq 0881 --  into the start.bat, but its giving me a bmsc send golden nonce  and bmsc recv nonce timeout. any suggestions?

Have you only got one plugged in when you start the batch? And have you definitely updated the driver with Zadig? (try unplugging and plugging back into the same port after you've done that)

that was exactly what i had to do, start it up without anything else plugged in. but my question now would be, am i not able to add my 333mh bes in the same hub as it? is there a special command or is there just no way i can have them in the same hub?

put them on the same hub and run bfgminer  look at my photo  a few posts above  I run both cg and bfg

if i have them on the usb hub, then cgminer gives me the nonce timeout.
chromosoma
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
January 07, 2014, 04:34:10 PM
 #222

Did someone overclocked   Antminer to 4 GHS already?
I purchased big heatsink+resistors, and will try to overclock them  on Friday.
Will post my results here Wink

 
Luc-
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 07, 2014, 06:18:30 PM
 #223

@lucazane

How to install or configure bfgminer to make it working for Antminer U1? (debian weezy)

Thanks

I would imagine something like the following should do it;

Code:
git clone https://github.com/nwoolls/bfgminer.git
cd bfgminer
./autogen.sh
./configure --enable-bfsb
make

/edit
You'll also probably need to run the below if you haven't build bfgminer before;

Code:
apt-get update
apt-get install build-essential autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev -y


Thanks.. Smiley
How to start bfgminer... Are there any flags needed?
philipma1957
Legendary
*
Offline Offline

Activity: 4158
Merit: 8049


'The right to privacy matters'


View Profile WWW
January 07, 2014, 06:30:02 PM
 #224

Did someone overclocked   Antminer to 4 GHS already?
I purchased big heatsink+resistors, and will try to overclock them  on Friday.
Will post my results here Wink

 

let us know power per stick.

 my 36 sticks pull 115 watts  at the psu plug minus 2 fans 7 watts = 108 watts at the psu plug that is 3 watts per stick. I figure the psi is 85 percent effifecnt  so at a 2 oc it is 2.55 watts a stick.

If you get to 3 gh you will need a 3.o usb hub since they can give .9 x 5 = 4.5 watts per stick

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

Activity: 840
Merit: 1002


View Profile WWW
January 07, 2014, 07:45:17 PM
 #225

Thanks.. Smiley
How to start bfgminer... Are there any flags needed?

The --enable-bfsb flag isn't needed when compiling. To run bfgminer with the AntMiner U1 driver use:

Code:
bfgminer -S antminer:all

Note it's not currently easy to mix and match them with BEs, though it can be done with the -S argument.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
chadgroover
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 07, 2014, 08:31:03 PM
 #226

Thanks.. Smiley
How to start bfgminer... Are there any flags needed?

The --enable-bfsb flag isn't needed when compiling. To run bfgminer with the AntMiner U1 driver use:

Code:
bfgminer -S antminer:all

Note it's not currently easy to mix and match them with BEs, though it can be done with the -S argument.

Sorry, I was getting confused with having to enable bmsc for the cgminer build...

Just tried building it and launching with "-S antminer:all" on my Pi and it starts up OK, but shows "NO DEVICES FOUND: Press 'M' and '+' to add"
elpres
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
January 07, 2014, 09:06:59 PM
 #227

I believe the issue is that you git cloned the main repo.
If I am not mistaken you would have to checkout the antminer branch, but I am not sure. I was not able to clone the correct part of the git. I suppose I could just download the branch and try to compile...
Luc-
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 07, 2014, 09:22:41 PM
Last edit: January 07, 2014, 11:48:16 PM by Luc-
 #228

Thanks.. Smiley
How to start bfgminer... Are there any flags needed?

The --enable-bfsb flag isn't needed when compiling. To run bfgminer with the AntMiner U1 driver use:

Code:
bfgminer -S antminer:all

Note it's not currently easy to mix and match them with BEs, though it can be done with the -S argument.

Sorry, I was getting confused with having to enable bmsc for the cgminer build...

Just tried building it and launching with "-S antminer:all" on my Pi and it starts up OK, but shows "NO DEVICES FOUND: Press 'M' and '+' to add"

Im getting the same errors  Undecided
driver-avalon.c is not in the bfgminer dir but in don't know if it's a must?
 
Thom
Member
**
Offline Offline

Activity: 112
Merit: 10


Be kind man, don't be mankind


View Profile WWW
January 08, 2014, 12:37:31 AM
Last edit: January 08, 2014, 12:42:38 PM by Thom
 #229

You saved my sanity, buddy! I tried this once as per some other thread, and after a night of twarting about with linux on multiple devices and the nwools fork of bfgminer, i was ready to quit for the night. Before I tried this tweak to driver-bmsc.c

Now a hilarious 32-bit ASUS EEE netbook with 2GB of ram, 4GB of SSD and a cracked screen gets to run my ants for the night. (i need more hubs.)

Will be applying same to pi tomorrow.

MWAH <3

except... I had to
Code:
./autogen.sh 
./configure --enable-bmsc
[b]make -j 6[/b]
it a second time after editing the code in nano.

Now, its time to tackle cgminer itself.....

sudo apt-get install autoconf
git pull https://github.com/bitmaintech/cgminer
wget http://ck.kolivas.org/apps/cgminer/3.8/cgminer-3.8.5.tar.bz2
tar xvf cgminer-3.8.5.tar.bz2
mv ./cgminer-3.8.5/configure ./cgminer/configure
///This is done because the next command kept moaning that there was no configure directory, so I gave it one....\\\
./autogen.sh
This takes a long time....
./configure --enable-bmsc
This also takes a long time....
make-j

Next, is that all important file change to stop cgminer crashing as discussed on page 2 of this topic, but basically...

cd
cd cgminer
sudo nano  driver-bmsc.c
///Press ctrl+w then paste this...\\\
memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin));
///Remove that and replace with this...\\\
memcpy((char *)&nonce, nonce_bin, sizeof(nonce));
///Press ctrl+x to exit, y to save the file and then the Enter key to confirm...\\\

To test, run the following...

sudo ./cgminer/cgminer --config /home/pi/cgminer.conf --bmsc-options 115200:20

You should see CGminer start mining, if you do, press CTRL+c to exit.

Then, I launch with the following line on bootup by typing...
sudo nano /etc/rc.local
Paste the line below befpore the Exit 0 line in there...
nohup ./cgminer/cgminer --config /home/pi/cgminer.conf --bmsc-options 115200:20


This was (as im sure people realise) based heavily off of the adafruit PiMiner tutorial, but im putting it here in one single place so anyone such as me finds it easier to start mining with their Antminers.

It's short for Thomassina ⚥ • BTC veteran, Bitcointalk neophyte • BTC1THoM4cn8hHTyE637DEPMCLcerZe1mL1X • Cex.IO Cloud Mining - don't risk preorders, mine & trade now!
༺ ☤ Curecoin - Fold Proteins, Earn Coins! ☤   CURE: B8cjEuGKH3qofsxGGEVYdTwUrpfCTxQP7u ༻
fractalbc
Full Member
***
Offline Offline

Activity: 192
Merit: 100


View Profile
January 08, 2014, 03:33:35 AM
 #230

I gave up on the bitmaintech branch because of some of the other changes they made to cgminer and pulled the latest ckolivas 3.9.0 repository, merged the bmsc driver and posted it to https://github.com/fractalbc/cgminer.git

The result when built with "./configure --disable-opencl --enable-bmsc --enable-bitfury --enable-icarus" is



There is one intermittent timeout issue on startup when running with screen that I am still trying to track down.
darcimer
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
January 08, 2014, 04:00:07 AM
 #231

Well, I can't get zadig to replace the drivers from CP210X to WINUSB .  It keeps saying "driver installation failed".  I tried to manually install the driver, but that was way over my head.  So I fired up bfgminer, and got all(6) miners working, one at a time.  Speeds suck though, best I'm seeing is just under 1 ghs. 
Any advice on the zadig problem?  I'm using Windows 7 and the correct cgminer version.  I just can't switch to the right driver.

~D

I got them working, and since I haven't seen an answer to this yet, I'll post what I did to fix it. Don't ask me how or why, it just worked. I think it's a windows 7 problem with zadig, because I can use the same miners on my XP box.

1. Uninstalled all versions of zadig
2. Re-installed Zadig for Windows XP (http://zadig.akeo.ie/downloads/zadig_xp_v2.0.1.162.exe) not Zadig for Windows Vista or later
3. Right click Zadig > Properties>Compatibility  Check box to run in compatibility mode, and drop down box to Windows XP (Service pack 2)
4. Right click Zadig > Run as administrator

I don't know if you need to do all the steps, or if it was something altogether different I did, maybe I just got lucky, but this worked.  Got all miners running in every hole.
nwoolls
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
January 08, 2014, 04:19:17 AM
 #232

I believe the issue is that you git cloned the main repo.
If I am not mistaken you would have to checkout the antminer branch, but I am not sure. I was not able to clone the correct part of the git. I suppose I could just download the branch and try to compile...

Exactly. You have to clone that repository and then checkout the feature/antminer-u1-support branch. If you don't see driver-antminer.c in the folder you are not going to get AntMiner U1 support by compiling.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
Luc-
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 08, 2014, 07:19:42 AM
 #233

I believe the issue is that you git cloned the main repo.
If I am not mistaken you would have to checkout the antminer branch, but I am not sure. I was not able to clone the correct part of the git. I suppose I could just download the branch and try to compile...

Exactly. You have to clone that repository and then checkout the feature/antminer-u1-support branch. If you don't see driver-antminer.c in the folder you are not going to get AntMiner U1 support by compiling.

Where is feature/antminer-u1-support branch located? Is a git clone url available...
I'm a not very familiar with Linux (but nice to learn it).
dave111223
Legendary
*
Offline Offline

Activity: 1190
Merit: 1001


View Profile WWW
January 08, 2014, 07:31:15 AM
 #234

To clone the antminer branch do:

Code:
git clone https://github.com/nwoolls/bfgminer/ -b feature/antminer-u1-support
drtek
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 08, 2014, 08:13:04 AM
 #235

To clone the antminer branch do:

Code:
git clone https://github.com/nwoolls/bfgminer/ -b feature/antminer-u1-support

Thanks a bunch! I am also new to Linux and really appreciate any hint.

Is it possible to use the overclocking "command" with the AntBFGminer branch?
cs2000
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 08, 2014, 09:32:42 AM
 #236

I gave up on the bitmaintech branch because of some of the other changes they made to cgminer and pulled the latest ckolivas 3.9.0 repository, merged the bmsc driver and posted it to https://github.com/fractalbc/cgminer.git
This is very interesting.

Can you just clarify what you did when you "merged the bmsc driver"

The bitmain version of cgminer is terribly unstable and doesn't work with the adafruit piminer lcd scripts because of the API changes Bitmain have made so id be keen to replicate what you have done.
HolyScott
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
January 08, 2014, 01:06:30 PM
Last edit: September 27, 2017, 10:48:22 PM by HolyScott
 #237

A note, I had been running 40 antminers overclocked at 2.0 under cgminer. I finally got bfgminer to compile under linux, and recognize the ants and it seems to have kept the cgminer overclock, and they are running under bfgminer at the 2.0 overclock. Might be a temp solution until overclocking is added to bfgminer.
elpres
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
January 08, 2014, 01:38:47 PM
 #238

I believe the issue is that you git cloned the main repo.
If I am not mistaken you would have to checkout the antminer branch, but I am not sure. I was not able to clone the correct part of the git. I suppose I could just download the branch and try to compile...

Exactly. You have to clone that repository and then checkout the feature/antminer-u1-support branch. If you don't see driver-antminer.c in the folder you are not going to get AntMiner U1 support by compiling.

when I configure what option do I need? at the end of ./configure the enabled drivers does not say antminer neither does the disabled drivers say antminer.
Thom
Member
**
Offline Offline

Activity: 112
Merit: 10


Be kind man, don't be mankind


View Profile WWW
January 08, 2014, 02:04:15 PM
Last edit: January 09, 2014, 12:36:15 PM by Thom
 #239

Nothing goes to waste in my mining rig tangle.



bitmaintech cgminer, built as per cs2000's post on a fresh install of ubuntu desktop 32-bit, cgminer args include –bmsc-freq 0981
(–bmsc-freq A081 gave me nonce timeouts. Which is only funny in british english.)

The asus eee netbook itself is also cpumining scrypt at a hilarious 0.69 khash/s since why not, it's only running to be spare USB ports.

It's short for Thomassina ⚥ • BTC veteran, Bitcointalk neophyte • BTC1THoM4cn8hHTyE637DEPMCLcerZe1mL1X • Cex.IO Cloud Mining - don't risk preorders, mine & trade now!
༺ ☤ Curecoin - Fold Proteins, Earn Coins! ☤   CURE: B8cjEuGKH3qofsxGGEVYdTwUrpfCTxQP7u ༻
Luc-
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 08, 2014, 02:26:21 PM
Last edit: January 08, 2014, 07:49:56 PM by Luc-
 #240

To clone the antminer branch do:

Code:
git clone https://github.com/nwoolls/bfgminer/ -b feature/antminer-u1-support

Thanks a bunch! I am also new to Linux and really appreciate any hint.

Is it possible to use the overclocking "command" with the AntBFGminer branch?

It's running. Thanks a lot.
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!