Pages:
Author

Topic: Bounty for Cracking Bitmain S9 BMminer - page 9. (Read 38662 times)

legendary
Activity: 1260
Merit: 1006
Mine for a Bit
September 01, 2016, 04:04:20 PM
Great work here. Thanks for your efforts.

I would also like to see this working on kano.is since that is where I mine exclusively.

Thanks!

I also mine Kano.is and would like to see some test as well. Phil mines Kano as well.

I am with you on the Kano.is test.
legendary
Activity: 938
Merit: 1000
September 01, 2016, 03:29:41 PM
#99
Great that this is rolling. Im a noob when it comes to compiling cgminer and have to trust that someone is better than me. I do have batch 1 S9`s and later batches as well. 14TH and 12.93TH versions.
Im willing to try it out as well and point it at KANO to see the results. Hopefully -CK and KANO will back-up this project and give it a heads-up with a green light, since this really shows what community is all about.

Thanks Phillipma1957 for your efforts and helping me bringing this project to life. Thanks as well to Fubly for his hard work cracking this nut.

Paid: 0.55 BTC to 16PP93e8tL1QuM7eoGNvLGtdfvHw5rAcd9

https://btc.blockr.io/tx/info/1a9fd9ac65a36a44802c06b11154250a4cd5bcd703393cd8d81af7ad5d09c2a1

From: Xircom
sr. member
Activity: 546
Merit: 253
September 01, 2016, 02:43:13 PM
#98
Great work here. Thanks for your efforts.

I would also like to see this working on kano.is since that is where I mine exclusively.

Thanks!

I also mine Kano.is and would like to see some test as well. Phil mines Kano as well.
member
Activity: 135
Merit: 11
September 01, 2016, 10:32:44 AM
#97
Great work here. Thanks for your efforts.

I would also like to see this working on kano.is since that is where I mine exclusively.

Thanks!
hero member
Activity: 561
Merit: 521
Trustless IceColdWallet
September 01, 2016, 08:31:51 AM
#96
Building now the script for upgrading:

atm it looks like this:

Code:
#!/bin/sh
set -v
# local ##### upload this file on "restore config" Menu only !!!
##############################################################################
 #
 # @category "Cgminer 4.9.2 for Bitmain Antminer S9"
 # @package "Mintorro-S9 Firmware"
 # @author Miguel Padilla
 # @copyright (c) 2016 - Miguel Padilla
 # @link "hhttps://github.com/Zwilla/bmminer-master/"
 #
 # According to our dual licensing model, this program can be used either
 # under the terms of the GNU Affero General Public License, version 3,
 # or under a proprietary license.
 #
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 # GNU Affero General Public License for more details.
 #
##############################################################################
#
# vi restoreConfig-sh
# paste this code into
# press "esc" "w" "q"
#
# create the md5 sum at the folder where you compiled the source
#
#  cp cgminer bmminer
#  cp cgminer-api bmminer-api
#  md5sum bmminer-api > bmminer-api.md5
#  md5sum bmminer > bmminer.md5
#  md5sum restoreConfig.sh > restoreConfig.md5
#
# create the tar
# tar -cf AntminerS9-Update-Bmminer.tar restoreConfig.md5 bmminer.md5 bmminer-api.md5 restoreConfig.sh bmminer-api bmminer
#
# now copy AntminerS9-Update-Bmminer.tar to your computer from where you have access to the frontend of your Antminer S9
#
#  * click on Menu System
#  * click on Menu Upgrade
#  * click on menu "Restore backup"
#  * choose the AntminerS9-Update-Bmminer.tar
#  * click on "upload Archive..."
#
# now the following process will start:
#
#   * uploading AntminerS9-Update-Bmminer.tar
#   * check for old version and delete them
#   * check the md5sum of the files

mkdir -p /config/.old_config

rm -rf /config/.old_config/*
cd /config/

rm -rf /config/bmminer
rm -rf /config/bmminer-api
rm -rf /config/bmminer.md5
rm -rf /config/bmminer-api.md5

for f in restoreConfig.md5 bmminer.md5 bmminer-api.md5 restoreConfig.sh bmminer-api bmminer; do
    if [ -f $f ] ; then
   cp $f /config/
    fi
done

md5ok1=$(md5sum -c /config/bmminer.md5);
md5ok2=$(md5sum -c /config/bmminer-api.md5);
md5ok3=$(md5sum -c /config/restoreConfig.md5);

if [ "$md5ok1"="bmminer: OK" ] && [ "$md5ok2"="bmminer-api: OK" ] && [ "$md5ok3"="restoreConfig.md5: OK" ] ; then
cp /usr/bin/bmminer /config/bmminer-backup
cp /usr/bin/bmminer-api /config/bmminer-api-backup
rm -- /usr/bin/bmminer
rm -- /usr/bin/bmminer-api
cp /config/bmminer /usr/bin/bmminer
cp /config/bmminer-api /usr/bin/bmminer-api
/etc/init.d/bmminer.sh -restart
fi;

cd - >> /dev/null
cp * /config/
sync

# NOTE!!! Not yet tested !!!


p.s. I will also build a script for rolling back! I do not know if the files are "reboot save", but if not, I know also how to!
hero member
Activity: 561
Merit: 521
Trustless IceColdWallet
September 01, 2016, 08:25:58 AM
#95
thx -ck for donating me your 10,000th post.

Congrats! For 10,000 posts

and yes I will do this!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
September 01, 2016, 08:09:47 AM
#94
Please put your long pastes in code tags (I did it for you on the previous post.)
hero member
Activity: 561
Merit: 521
Trustless IceColdWallet
September 01, 2016, 06:47:16 AM
#93
hi together,

now, after some hours I saw enough, to say as higher the diff as higher the hashrate, but if this is also only a luck. I don´t know.

Here is the screenshot for the next diff test.

Code:
bmminer version 4.9.2 - Started: [2016-08-31 10:14:40.706]
--------------------------------------------------------------------------------
 (5s):13.35T (1m):12.62T (5m):12.55T (15m):12.48T (avg):12.36Th/s
 A:149091508  R:46991  HW:189  WU:116095.5/m
 Connected to eu.stratum.bitcoin.cz diff 121K with stratum as user Zwilla.W94
 Block: 38b087a0...  Diff:221G  Started: [10:35:30.174]  Best share: 57.5M
--------------------------------------------------------------------------------
 [Po]ol management [Se]ttings [Di]splay options [Q]uit
 0: BC5 0       :                         | 14.46T / 12.36Th/s WU:0.0/m
--------------------------------------------------------------------------------
 [2016-09-01 10:08:29.500] Stratum from pool 0 detected new block at height 427790
 [2016-09-01 10:09:27.288] Accepted 35115f26 Diff 316K/121217 BC5 0 pool 0
 [2016-09-01 10:11:05.281] Accepted 7fc402e2 Diff 131K/121217 BC5 0 pool 0
 [2016-09-01 10:13:06.653] Accepted 3154974c Diff 340K/121217 BC5 0 pool 0
 [2016-09-01 10:14:11.381] Accepted 79dcb16d Diff 138K/121217 BC5 0 pool 0
 [2016-09-01 10:14:21.881] Accepted 6713cd4b Diff 163K/121217 BC5 0 pool 0
 [2016-09-01 10:14:35.033] Accepted 6fc05cc3 Diff 150K/121217 BC5 0 pool 0
 [2016-09-01 10:15:15.368] Accepted 05429844 Diff 3.19M/121217 BC5 0 pool 0
 [2016-09-01 10:15:54.087] Accepted 0edfca14 Diff 1.13M/121217 BC5 0 pool 0
 [2016-09-01 10:16:41.037] Accepted 027694f3 Diff 6.81M/121217 BC5 0 pool 0
 [2016-09-01 10:18:04.983] Accepted 4a029e08 Diff 227K/121217 BC5 0 pool 0
 [2016-09-01 10:18:26.702] Accepted 70d4fa3e Diff 149K/121217 BC5 0 pool 0
 [2016-09-01 10:19:39.379] Accepted 38589709 Diff 298K/121217 BC5 0 pool 0
 [2016-09-01 10:20:09.899] Accepted 3ac6497c Diff 285K/121217 BC5 0 pool 0
 [2016-09-01 10:20:13.637] Accepted 05514257 Diff 3.15M/121217 BC5 0 pool 0
 [2016-09-01 10:20:40.200] Accepted 10e1cc5a Diff 994K/121217 BC5 0 pool 0
 [2016-09-01 10:20:50.873] Stratum from pool 0 detected new block at height 427791
 [2016-09-01 10:21:07.760] Accepted 3b5325f7 Diff 283K/121217 BC5 0 pool 0
 [2016-09-01 10:21:49.756] Accepted 89c73ef1 Diff 122K/121217 BC5 0 pool 0
 [2016-09-01 10:21:52.233] Accepted 6eae9afb Diff 152K/121217 BC5 0 pool 0
 [2016-09-01 10:22:57.985] Accepted 3c2a2739 Diff 279K/121217 BC5 0 pool 0
 [2016-09-01 10:24:09.317] Accepted 54347f8f Diff 199K/121217 BC5 0 pool 0
 [2016-09-01 10:25:06.654] Accepted 13031d1e Diff 882K/121217 BC5 0 pool 0
 [2016-09-01 10:25:48.109] Accepted 6e18c399 Diff 152K/121217 BC5 0 pool 0
 [2016-09-01 10:27:10.596] Accepted 6fd7c232 Diff 150K/121217 BC5 0 pool 0
 [2016-09-01 10:27:51.648] Accepted 0c727275 Diff 1.35M/121217 BC5 0 pool 0
 [2016-09-01 10:28:05.992] Accepted 89bca8d4 Diff 122K/121217 BC5 0 pool 0
 [2016-09-01 10:28:09.935] Accepted 1fe660b2 Diff 526K/121217 BC5 0 pool 0
 [2016-09-01 10:28:53.834] Accepted 15b80884 Diff 772K/121217 BC5 0 pool 0
 [2016-09-01 10:30:42.887] Accepted 52a531ed Diff 203K/121217 BC5 0 pool 0
 [2016-09-01 10:31:26.886] Accepted 4c5c19e6 Diff 220K/121217 BC5 0 pool 0
 [2016-09-01 10:32:11.416] Accepted 546ac233 Diff 199K/121217 BC5 0 pool 0
 [2016-09-01 10:32:18.855] Accepted 8645d00c Diff 125K/121217 BC5 0 pool 0
 [2016-09-01 10:32:21.560] Accepted 07db244a Diff 2.13M/121217 BC5 0 pool 0
 [2016-09-01 10:32:27.516] Accepted 37c6450b Diff 301K/121217 BC5 0 pool 0
 [2016-09-01 10:32:33.869] Accepted 4602e955 Diff 240K/121217 BC5 0 pool 0
 [2016-09-01 10:32:50.749] Stratum from pool 0 detected new block at height 427792
 [2016-09-01 10:33:01.317] Accepted 79a29cc6 Diff 138K/121217 BC5 0 pool 0
 [2016-09-01 10:33:08.688] Accepted 2886209c Diff 414K/121217 BC5 0 pool 0
 [2016-09-01 10:33:15.705] Accepted 32966b3a Diff 332K/121217 BC5 0 pool 0
 [2016-09-01 10:33:21.481] Accepted 7182485b Diff 148K/121217 BC5 0 pool 0
 [2016-09-01 10:33:25.862] Accepted 3fdd7eab Diff 263K/121217 BC5 0 pool 0
 [2016-09-01 10:33:38.377] Accepted 06a69d4d Diff 2.52M/121217 BC5 0 pool 0
 [2016-09-01 10:34:31.948] Accepted 4b8bb9ed Diff 222K/121217 BC5 0 pool 0
 [2016-09-01 10:34:43.964] Stratum from pool 0 detected new block at height 427793
 [2016-09-01 10:35:10.833] Accepted 834db8a1 Diff 128K/121217 BC5 0 pool 0
 [2016-09-01 10:35:25.499] Accepted 473f0856 Diff 235K/121217 BC5 0 pool 0
 [2016-09-01 10:35:30.174] Stratum from pool 0 detected new block at height 427794
 [2016-09-01 10:35:52.702] Accepted 42c1b171 Diff 251K/121217 BC5 0 pool 0
 [2016-09-01 10:36:36.075] Accepted 6a6ec8d7 Diff 158K/121217 BC5 0 pool 0


Next Test: 256923
hero member
Activity: 561
Merit: 521
Trustless IceColdWallet
September 01, 2016, 01:52:47 AM
#92








Now changing the diff to: 121217

legendary
Activity: 1834
Merit: 1080
---- winter*juvia -----
August 31, 2016, 09:45:38 PM
#91
Paid: 0.25 BTC to 16PP93e8tL1QuM7eoGNvLGtdfvHw5rAcd9

https://btc.blockr.io/tx/info/6755abe723748811d426d840f9ebb613a367a8f299efaa1819c24be11663f1ac

From: citronick
legendary
Activity: 1834
Merit: 1080
---- winter*juvia -----
August 31, 2016, 09:38:43 PM
#90
member
Activity: 93
Merit: 10
August 31, 2016, 05:02:14 PM
#89
Love to see this happening for all the reasons listed in this thread.  Definitely want to see this working as part of the main cgminer trunk rather than only on a fork.

I have both a batch 9 and batch 13 S9 that I might be able to help test with.  They are hosted so it depends on what the update and testing process will involve since I only have remote access to the web interface.

Willing to put my money where my mouth is so I sent 0.25 BTC to the escrow account:
https://blockchain.info/tx/ab6662e1afdb29923f0a09ec03c5edb0f99e5961a232f340af96540111c1d399

hero member
Activity: 561
Merit: 521
Trustless IceColdWallet
August 31, 2016, 04:43:39 PM
#88
Update:

bmminer version 4.9.2 - Started: [2016-08-31 10:14:40.706]
--------------------------------------------------------------------------------
 (5s):14.14T (1m):12.40T (5m):12.23T (15m):12.27T (avg):12.38Th/s
A:103306843  R:256  HW:108  WU:174135.0/m
 Connected to eu.stratum.bitcoin.cz diff 63.6K with stratum as user Zwilla.W94
 Block: 2333a366...  Diff:221G  Started: [19:54:56.449]  Best share: 22.8M
--------------------------------------------------------------------------------
 [Po]ol management [Se]ttings [Di]splay options [Q]uit
 0: BC5 0       :                         | 14.51T / 12.38Th/s WU:0.0/m
--------------------------------------------------------------------------------
 [2016-08-31 19:54:56.450] Stratum from pool 0 detected new block at height 427712
 [2016-08-31 19:54:57.860] Accepted d1f16b0c Diff 79.9K/63645 BC5 0 pool 0
 [2016-08-31 19:55:00.943] Accepted e143f65b Diff 74.5K/63645 BC5 0 pool 0

Now I change the diff from 63645 to 9347.

I think it is now working really stable.

Now I make a new build with updated Api. I will report later the output of:

bmminer-api -o version
bmminer-api -o stats
bmminer-api -o
bmminer-api -o pools

The source included the latest addition on api.c
      root = api_add_uint32(root, "Current Block Height", &(pool->current_height), true);
      uint32_t nversion = (uint32_t)strtoul(pool->bbversion, NULL, 16);
      root = api_add_uint32(root, "Current Block Version", &nversion, true);

Note! The source will be updated later!

And thx for the donations atm.

You will get a very readable source. And an absolut stable code and binary.

This is the escrow donation address: 16PP93e8tL1QuM7eoGNvLGtdfvHw5rAcd9
verify it here https://bitcointalksearch.org/topic/m.16099916

newbie
Activity: 1
Merit: 0
August 31, 2016, 03:25:13 PM
#87
How to ?
sr. member
Activity: 261
Merit: 257
August 31, 2016, 02:52:53 PM
#86
yeah I am aware of this and this concerns me a lot.

Also I know the 10 and up batch is missing the bbb or is different in some way then batches 1 to 9.

Could be it won't take the mod.

So you are far from being an A$$
Pretty sure at least for bmminer/cgminer hardware batch doesn't matter, the firmware version however might need to be a particular version to be compatible.
legendary
Activity: 4158
Merit: 8049
'The right to privacy matters'
August 31, 2016, 02:45:02 PM
#85
not until kman n ck gives the green light

talking abt gree, kpool is getting some green would like to see more greens.

don't mean to be an a$$ here but few by just flashing stock bitememiner fw have bricked their s9's .. must be manufacturer fault.

but obviously looking into further progress & updates.

yeah I am aware of this and this concerns me a lot.

Also I know the 10 and up batch is missing the bbb or is different in some way then batches 1 to 9.

Could be it won't take the mod.

So you are far from being an A$$
legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
August 31, 2016, 02:37:19 PM
#84
not until kman n ck gives the green light

talking abt gree, kpool is getting some green would like to see more greens.

don't mean to be an a$$ here but few by just flashing stock bitememiner fw have bricked their s9's .. must be manufacturer fault.

but obviously looking into further progress & updates.
legendary
Activity: 4158
Merit: 8049
'The right to privacy matters'
August 31, 2016, 02:06:29 PM
#83
yeah  I certainly do want Kano and CK to say this is a good mod.


also my batch 10 may or may not take the mod. as I understand the 10 and newer are a little different then the 1 to 9 or 1 to 8.

Since I have 5 older models if all goes well I would certainly want this .

So we have some details that have to be done. before we distribute all the coin collected.

below is donation address.

https://blockchain.info/address/16PP93e8tL1QuM7eoGNvLGtdfvHw5rAcd9

note that is my coinbase account but it is a dedicated address so all into it would be funds for this.

So Kano and CK need to sound off on build
we need some older batch 1-9 loaded to tested.
we need some newer batch 10 and up to be tested.

Someone has to hold my hand like a kindergarten kid to help me load my s-9's.

I am only so so loading software.  Maybe like a  C or C+
I do not want to pass this software and pay and it crashes and or a lot of people brick gear.

@ fubly thanks for doing work I am sure a lot of people will use this.
I think fubly's branch it's quite a ways from being mergeable with mainline cgminer, his changes needs to be re-based on top of -ck's master branch first and cleaned up a lot.

I'd say the best metric for it being completed would be to have it go through code review and get merged into mainline cgminer.


I am very good at a lot of IT  ,but not code.

So we will use the boards talented members to determine how good this is.

Mean while  we have collected .51 btc

.01 from me ---- I need to put in 95 usd more.
.25 from NotFuzzywarm --------- Fixed it
.25 from d57heinz

legendary
Activity: 1453
Merit: 1011
Bitcoin Talks Bullshit Walks
sr. member
Activity: 261
Merit: 257
August 31, 2016, 12:31:15 PM
#81
yeah  I certainly do want Kano and CK to say this is a good mod.


also my batch 10 may or may not take the mod. as I understand the 10 and newer are a little different then the 1 to 9 or 1 to 8.

Since I have 5 older models if all goes well I would certainly want this .

So we have some details that have to be done. before we distribute all the coin collected.

below is donation address.

https://blockchain.info/address/16PP93e8tL1QuM7eoGNvLGtdfvHw5rAcd9

note that is my coinbase account but it is a dedicated address so all into it would be funds for this.

So Kano and CK need to sound off on build
we need some older batch 1-9 loaded to tested.
we need some newer batch 10 and up to be tested.

Someone has to hold my hand like a kindergarten kid to help me load my s-9's.

I am only so so loading software.  Maybe like a  C or C+
I do not want to pass this software and pay and it crashes and or a lot of people brick gear.

@ fubly thanks for doing work I am sure a lot of people will use this.
I think fubly's branch it's quite a ways from being mergeable with mainline cgminer, his changes needs to be re-based on top of -ck's master branch first and cleaned up a lot.

I'd say the best metric for it being completed would be to have it go through code review and get merged into mainline cgminer.
Pages:
Jump to: