Pages:
Author

Topic: BITMAIN Antminer S3 support and OverClocking thread - page 9. (Read 158140 times)

full member
Activity: 213
Merit: 100
I want to thank you for giving me my first lessons in linux. More stuff to do during my daytime retirement hours.  Smiley  I can see where I could really mess some things up. Question; is it possible to get into a piece of usb hardware? I'd like to get into the r-box 110gh to (possibly) change the asic voltage. Just curious. Thanks again.
[/quote]

Are you talking about something like this im using it to get into and s3 USB-TTL Adapter 5V + 3.3V for Arduino CP2102 5 Pin Windows, Linux, MAC.
http://www.ebay.com/sch/i.html?_from=R40&_trksid=p4712.m570.l1313.TR0.TRC0.H0.TRS0&_nkw=USB-TTL+Adapter+5V+%2B+3.3V+for+Arduino+CP2102+5+Pin+Windows%2C+Linux%2C+MAC&_sacat=0
full member
Activity: 213
Merit: 100
i explained all this on this sight but no one would listen.

the firmware is screwed up and if you don't uncheck the save settings box above your flashing file  it will crash during flash and will be unbootable.
i explained this to many people the other day and no one believed me thy thought i was lying. but now you are down.
i have 26 s3's and my s3' were crashing many times a day thy were working good and then crash down to 40 gh/s i have been working on this problem for a month and finely fixed them.
if you had flashed bitmains last firmware 1226 thats the problem and reset wont work and if you flash back to earlier program it crashes the miner and is un bootable.
i am willing to enplane step by step how to recover the unbootable miner and flash crashing miners back to good firmware with success. bitmain is making tones of btc telling people the control boards are bad just like thy told me and i fixed it. it took me three hrs to set up and figure it out and now that im setup it only takes 15 minuts to fix a crashed s3's.
if you want the help i can give it and in return it would be nice to get a btc donation for saving you tons of time and money
but it can still be fixed
Hey read your post was trying to downgrade my firmware and I stopped in the middle flashing and now the red light blinks and cant reset. What is the solution ill send some btc your way if it works.

I think it's hard to brick these. First did you try holding down the reset button down when the unit was on for one minute and then having it pressed down for about a minute from when it was off powering it up?

The method generally available to devices essentially in panic mode is TFTP, and it may have a very limited shell to recover with. I'm surprised proper step-by-step info for Antminers with bad flashes can't be easily found here, instead of holding a pricetag on it. You will need to find out if it manages to connect to the network(wired only) and then do a port scan to see what low numbered ports are open if you want to see it it supports either.

Tried all that i have a usb debuging tool coming in the mail I could get it to connect to my computer I will be able to reflash once i get communication back with the miner the other choice bitmain gave me was for them to reboot control board for 15$ plus shipping
hero member
Activity: 1064
Merit: 500
MOBU
Howdy,

Dang it...my eyes hurt!!  Somewhere I read about changing the 'queue' size to help with so many discards. Can anybody help? Ideas about a good resize number and the file that needs to be edited?

Thank you ever so much.

When something goes wrong, or so I don't have to log into luci, I just run cgminer in ssh. Once you kill the cgminer that's already running, you can just start it up again in the shell. Once you have it started, that's the cgminer the web interface will monitor and that's what the cron job will take care of if something happens. If I didn't leave a computer on, I'd just run the miner to screen session or just a file my router. That way you can see everything that happens and test things too. While you are looking for the stuff to edit on the miner, test things out simply.

Here's my line for a 250 overclock:

cgminer --bitmain-options 115200:32:8:16:250:0982 -o pool1 -O user:pass -o pool2 -O user:pass -o pool3 -O user:pass --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --queue 4096

See the queue at the end? Edit that and test things. As a bonus, if you want to list more pools than 3, just keep adding them in the command-line. You'll want to copy and paste your line.

If and when you are ready, either add a new config item in the /etc/config/cgminer file for queue size, then change the static entry in /etc/init.d/cgminer (along with a config_get) to the variable one. Or just edit the init.d file with the queue size you want. Yep, I leave the easy way last.

I want to thank you for giving me my first lessons in linux. More stuff to do during my daytime retirement hours.  Smiley  I can see where I could really mess some things up. Question; is it possible to get into a piece of usb hardware? I'd like to get into the r-box 110gh to (possibly) change the asic voltage. Just curious. Thanks again.
full member
Activity: 213
Merit: 100
Dont know what happen but i was downgrading to older firmware. I did exactly like it said on forum i mad sure that I unchecked keep settings wanted a clean flash but it booted up with red light blinking cant connect to miner isp log on. I made sure i put in the proper isp. Reset wont work there is no reason to believe that i fried it becuase i was reflashing and it was running fine, I spent 3 hours trying every possible way to reset hardware nothing its not the first time i reset it it just wont work. I was thinking is i could attach the unit to run of the S4 controller board connected to its own power supply and linking the chip boards.


Hold the phone...you're gonna do WHAT? You must have money to burn. As they say...do you know where your child is? Have you logged into your router to see just where the antMiner went? Sounds like a lost child incident to me. Please don't do something you can't recover from.

yea i know the isp of the miner. control board is bricked. connecting it to the s4 is just for fun and a learning experience even if it fails becuase the info i need to even attempt it.Thanks for the post even thought it is just so you could hear yourself talk.

lol how does anything you say make any sense and why do i have to keep repeating myself to you. Take your time read a post tif you dont have anything to input be courteous and move on. It wouldnt give me any more hashing power than what i already have in hash boards and tool to unbrick my miner is on its way. 2.99 for the tool and i will find out more about the boards by using the tool. I also have a power supply 2800 w coming so it all run off one or i could connect two of my s4 to one when another power supply goes. Hate on someone else's hobbies. Also found a forum on people doing something similar with 2 S3's running on 1 controller board but board. https://bitcointalksearch.org/topic/diy-reward-100-antminer-s1s3-blade-on-raspberry-pi-671128

full member
Activity: 213
Merit: 100
Dont know what happen but i was downgrading to older firmware. I did exactly like it said on forum i mad sure that I unchecked keep settings wanted a clean flash but it booted up with red light blinking cant connect to miner isp log on. I made sure i put in the proper isp. Reset wont work there is no reason to believe that i fried it becuase i was reflashing and it was running fine, I spent 3 hours trying every possible way to reset hardware nothing its not the first time i reset it it just wont work. I was thinking is i could attach the unit to run of the S4 controller board connected to its own power supply and linking the chip boards.


Hold the phone...you're gonna do WHAT? You must have money to burn. As they say...do you know where your child is? Have you logged into your router to see just where the antMiner went? Sounds like a lost child incident to me. Please don't do something you can't recover from.

yea i know the isp of the miner. control board is bricked. connecting it to the s4 is just for fun and a learning experience even if it fails becuase the info i need to even attempt it.Thanks for the post even thought it is just so you could hear yourself talk.
full member
Activity: 213
Merit: 100
Dont know what happen but i was downgrading to older firmware. I did exactly like it said on forum i mad sure that I unchecked keep settings wanted a clean flash but it booted up with red light blinking cant connect to miner isp log on. I made sure i put in the proper isp. Reset wont work there is no reason to believe that i fried it becuase i was reflashing and it was running fine, I spent 3 hours trying every possible way to reset hardware nothing its not the first time i reset it it just wont work. I was thinking is i could attach the unit to run of the S4 controller board connected to its own power supply and linking the chip boards.

There is no benefit to downgrading firmware. What gets in to people's head, to make that a good idea?

Did you try to login via ssh? It might still be your old password, or it could have been reset to 'root'.

Sounds fun about putting the blades on an s4. If you get that to work, you really need to pay attention to the cooling part.

I was downgrading to original firmware to try to overclock at higher frequencies luckly I just tested it on one my miners first. Cooling isnt a problem I could wire fans to run at full speed of power supply. I just need so schematics to work with to know which pin does what on each board. i know i need to add a resistor to lower the voltage to 1.1 from 1.8. so things just got more complex when i started to look at the boards. the connectors dont add up so i would have to cut and wire each one individually.
sr. member
Activity: 294
Merit: 250
Dont know what happen but i was downgrading to older firmware. I did exactly like it said on forum i mad sure that I unchecked keep settings wanted a clean flash but it booted up with red light blinking cant connect to miner isp log on. I made sure i put in the proper isp. Reset wont work there is no reason to believe that i fried it becuase i was reflashing and it was running fine, I spent 3 hours trying every possible way to reset hardware nothing its not the first time i reset it it just wont work. I was thinking is i could attach the unit to run of the S4 controller board connected to its own power supply and linking the chip boards.

There is no benefit to downgrading firmware. What gets in to people's head, to make that a good idea?

Did you try to login via ssh? It might still be your old password, or it could have been reset to 'root'.

Sounds fun about putting the blades on an s4. If you get that to work, you really need to pay attention to the cooling part.
full member
Activity: 213
Merit: 100
Dont know what happen but i was downgrading to older firmware. I did exactly like it said on forum i mad sure that I unchecked keep settings wanted a clean flash but it booted up with red light blinking cant connect to miner isp log on. I made sure i put in the proper isp. Reset wont work there is no reason to believe that i fried it becuase i was reflashing and it was running fine, I spent 3 hours trying every possible way to reset hardware nothing its not the first time i reset it it just wont work. I was thinking is i could attach the unit to run of the S4 controller board connected to its own power supply and linking the chip boards.
sr. member
Activity: 294
Merit: 250
i explained all this on this sight but no one would listen.

the firmware is screwed up and if you don't uncheck the save settings box above your flashing file  it will crash during flash and will be unbootable.
i explained this to many people the other day and no one believed me thy thought i was lying. but now you are down.
i have 26 s3's and my s3' were crashing many times a day thy were working good and then crash down to 40 gh/s i have been working on this problem for a month and finely fixed them.
if you had flashed bitmains last firmware 1226 thats the problem and reset wont work and if you flash back to earlier program it crashes the miner and is un bootable.
i am willing to enplane step by step how to recover the unbootable miner and flash crashing miners back to good firmware with success. bitmain is making tones of btc telling people the control boards are bad just like thy told me and i fixed it. it took me three hrs to set up and figure it out and now that im setup it only takes 15 minuts to fix a crashed s3's.
if you want the help i can give it and in return it would be nice to get a btc donation for saving you tons of time and money
but it can still be fixed
Hey read your post was trying to downgrade my firmware and I stopped in the middle flashing and now the red light blinks and cant reset. What is the solution ill send some btc your way if it works.

I think it's hard to brick these. First did you try holding down the reset button down when the unit was on for one minute and then having it pressed down for about a minute from when it was off powering it up?

The method generally available to devices essentially in panic mode is TFTP, and it may have a very limited shell to recover with. I'm surprised proper step-by-step info for Antminers with bad flashes can't be easily found here, instead of holding a pricetag on it. You will need to find out if it manages to connect to the network(wired only) and then do a port scan to see what low numbered ports are open if you want to see it it supports either.
sr. member
Activity: 294
Merit: 250
Howdy,

Dang it...my eyes hurt!!  Somewhere I read about changing the 'queue' size to help with so many discards. Can anybody help? Ideas about a good resize number and the file that needs to be edited?

Thank you ever so much.

When something goes wrong, or so I don't have to log into luci, I just run cgminer in ssh. Once you kill the cgminer that's already running, you can just start it up again in the shell. Once you have it started, that's the cgminer the web interface will monitor and that's what the cron job will take care of if something happens. If I didn't leave a computer on, I'd just run the miner to screen session or just a file my router. That way you can see everything that happens and test things too. While you are looking for the stuff to edit on the miner, test things out simply.

Here's my line for a 250 overclock:

cgminer --bitmain-options 115200:32:8:16:250:0982 -o pool1 -O user:pass -o pool2 -O user:pass -o pool3 -O user:pass --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --queue 4096

See the queue at the end? Edit that and test things. As a bonus, if you want to list more pools than 3, just keep adding them in the command-line. You'll want to copy and paste your line.

If and when you are ready, either add a new config item in the /etc/config/cgminer file for queue size, then change the static entry in /etc/init.d/cgminer (along with a config_get) to the variable one. Or just edit the init.d file with the queue size you want. Yep, I leave the easy way last.

Ya know...you would. Such a d***. lol I'm kidding,.. of course. Jeez...I do love a person with humor. Ya put me thru all the blah, blah, which I have no clue about, then... Did get a chuckle tho. Ok..I get that I want to edit the init.d, but, I'm not a pro and can't find the d*** thing. Plus, not great with puTTy or code. Sure could use a hand and not clues. Comon. ..I wanna play...not work. How 'bout it? Help an ol' man out. BTW...thanks. (first things first). Later...how do ya run cgminer in ssh and is that upgradeable? Ohhhh...run with no computer?..load into the router? FASCINATING! Hmmmm... Could be interesting,..wanna know about the init first.
Thank you


Well, I know enough linux to make what I said child's play, so here's a few things to know:
cd /etc - will get you in the etc dir for example
ls - gets a list out of the files and dirs (I like 'ls -la' for more detail)
ps w - lists all processes
kill [pid of cgminer] - kills the running program as seen in ps
   Here's the relevant entry that ps showed me:  1169 root     49812 S <  cgminer --bitmain-options 115200:32:8:16:250:0982 -o stratum...
   It's pid is that first number or 1169 in this case.
cat [file] - types out the file you specify
vi - see the first post in this thread. 'i' starts edit mode, Esc will stop edit mode, 'ZZ' will save and exit when not in edit mode.

The miner on the latest update uses BusyBox v1.19.4. You could use that as a starting point to learn more what the linux on the machine can do.

If you only play with the cgminer files, you can only mess up that program running. So I'd suggest putting a # in front of lines that you will be editing, then copy the line in a new line with your changes. Or remember what you did--seems to make the most sense as you are worried about the queue.


I gave you the line to run cgminer in ssh already. You would just need to replace the pools and user:pass with real info.
If you add the patched cgminer, like from nicehash, you could run either version, as long as you renamed the original first. Other than that patch, the newer versions offer no additional speed benefits to a S3.

When summer rates kick in or it gets too hot, I'll probably have the main computer sleep or hibernate. In that case, the router will always be on, so I ssh to that from my phone, and then I use a script that just basically has the command line in it. The router is flashed with a version of Tomato, so that makes it a useful linux box. I use flash drives or a hard disk with it depending on how much storage it needs for what I need it to do.
hero member
Activity: 1064
Merit: 500
MOBU
Howdy,

Dang it...my eyes hurt!!  Somewhere I read about changing the 'queue' size to help with so many discards. Can anybody help? Ideas about a good resize number and the file that needs to be edited?

Thank you ever so much.

When something goes wrong, or so I don't have to log into luci, I just run cgminer in ssh. Once you kill the cgminer that's already running, you can just start it up again in the shell. Once you have it started, that's the cgminer the web interface will monitor and that's what the cron job will take care of if something happens. If I didn't leave a computer on, I'd just run the miner to screen session or just a file my router. That way you can see everything that happens and test things too. While you are looking for the stuff to edit on the miner, test things out simply.

Here's my line for a 250 overclock:

cgminer --bitmain-options 115200:32:8:16:250:0982 -o pool1 -O user:pass -o pool2 -O user:pass -o pool3 -O user:pass --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --queue 4096

See the queue at the end? Edit that and test things. As a bonus, if you want to list more pools than 3, just keep adding them in the command-line. You'll want to copy and paste your line.

If and when you are ready, either add a new config item in the /etc/config/cgminer file for queue size, then change the static entry in /etc/init.d/cgminer (along with a config_get) to the variable one. Or just edit the init.d file with the queue size you want. Yep, I leave the easy way last.

Ya know...you would. Such a d***. lol I'm kidding,.. of course. Jeez...I do love a person with humor. Ya put me thru all the blah, blah, which I have no clue about, then... Did get a chuckle tho. Ok..I get that I want to edit the init.d, but, I'm not a pro and can't find the d*** thing. Plus, not great with puTTy or code. Sure could use a hand and not clues. Comon. ..I wanna play...not work. How 'bout it? Help an ol' man out. BTW...thanks. (first things first). Later...how do ya run cgminer in ssh and is that upgradeable? Ohhhh...run with no computer?..load into the router? FASCINATING! Hmmmm... Could be interesting,..wanna know about the init first.
Thank you
sr. member
Activity: 294
Merit: 250
Howdy,

Dang it...my eyes hurt!!  Somewhere I read about changing the 'queue' size to help with so many discards. Can anybody help? Ideas about a good resize number and the file that needs to be edited?

Thank you ever so much.

When something goes wrong, or so I don't have to log into luci, I just run cgminer in ssh. Once you kill the cgminer that's already running, you can just start it up again in the shell. Once you have it started, that's the cgminer the web interface will monitor and that's what the cron job will take care of if something happens. If I didn't leave a computer on, I'd just run the miner to screen session or just a file my router. That way you can see everything that happens and test things too. While you are looking for the stuff to edit on the miner, test things out simply.

Here's my line for a 250 overclock:

cgminer --bitmain-options 115200:32:8:16:250:0982 -o pool1 -O user:pass -o pool2 -O user:pass -o pool3 -O user:pass --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --queue 4096

See the queue at the end? Edit that and test things. As a bonus, if you want to list more pools than 3, just keep adding them in the command-line. You'll want to copy and paste your line.

If and when you are ready, either add a new config item in the /etc/config/cgminer file for queue size, then change the static entry in /etc/init.d/cgminer (along with a config_get) to the variable one. Or just edit the init.d file with the queue size you want. Yep, I leave the easy way last.
sr. member
Activity: 294
Merit: 250
I noticed a few interesting lines in the logs. I don't remember anything happening when it occurred, just wondering if it's due to the overclock or anything to worry about. Here' the lines:

[383343.070000] bitmain 1-1.1:1.0: USB Bitmain asic device now attached to USB Bitmain asic-0
[383343.080000] PIC microchip usb OK
[383343.910000] bitmain 1-1.1:1.0: USB Bitmain asic #0 now disconnected

That might be what it does when one of the cores has an issue? I see chain 2 had oooxoooo oooooooo, so I rebooted it and it's fine again. Looks like I'll need to take it all apart and fix up the thermal paste on the chips.
hero member
Activity: 1064
Merit: 500
MOBU
Howdy,

Dang it...my eyes hurt!!  Somewhere I read about changing the 'queue' size to help with so many discards. Can anybody help? Ideas about a good resize number and the file that needs to be edited?

Thank you ever so much.
hero member
Activity: 700
Merit: 501
https://bitcointalk.org/index.php?topic=905210.msg
After making the changes to my S3+ the new frequencies show up in the gui. I selected 262.5 and input voltage as 0750. When I restarted the box it came back still hashing at 450gh, but the error rate jumped from basically 0 to 0.3%.  I set the frequency then to 250 and left voltage as 0750, restarted, and it came back hashing at 500gh with 0 error again. Why wouldn't the 262.5 frequency work?


0.3% error isnt much, but poor performance doesnt always show as errors - you could need slightly higher voltage

look at the discard rate - if its more than 100% of the accepted sharees, you might have a problem and need to tune lower

All of my miners have a much higher than 100% discard rate versus accepted.
The SP20s, S3s, S4s

What do you have on yours?
legendary
Activity: 1274
Merit: 1000
Aren't you overclockers looking at the effeciency with respect to energy cost?

Nope, I mine for hobby, I want as much hash as I can get while keeping hardware errors under 1%.  Heat and electricity cost be damned!  Tongue
sr. member
Activity: 442
Merit: 250
Found Lost beach - quiet now
I can't believe there's still so much interest in overclocking. Aren't you overclockers looking at the effeciency with respect to energy cost? Unless you're getting free electricity it's not worth it, especially with warmer weather coming to us in the northern hemisphere.

I'm wanting to underclock before summer and have seen many discussions related on which firmware you need and how to do. But, have seen a lot of conflicting info.

Is there a good S3 underclocking thread anywhere or a "solved or proven/best" technique?
legendary
Activity: 1274
Merit: 1000
After making the changes to my S3+ the new frequencies show up in the gui. I selected 262.5 and input voltage as 0750. When I restarted the box it came back still hashing at 450gh, but the error rate jumped from basically 0 to 0.3%.  I set the frequency then to 250 and left voltage as 0750, restarted, and it came back hashing at 500gh with 0 error again. Why wouldn't the 262.5 frequency work?


0.3% error isnt much, but poor performance doesnt always show as errors - you could need slightly higher voltage

look at the discard rate - if its more than 100% of the accepted sharees, you might have a problem and need to tune lower

My main point was that the increased frequency and voltage did not increase the hash rate, it should have been hashing ~530gh, but it was hashing like at stock 225 freq.
legendary
Activity: 2128
Merit: 1005
ASIC Wannabe
After making the changes to my S3+ the new frequencies show up in the gui. I selected 262.5 and input voltage as 0750. When I restarted the box it came back still hashing at 450gh, but the error rate jumped from basically 0 to 0.3%.  I set the frequency then to 250 and left voltage as 0750, restarted, and it came back hashing at 500gh with 0 error again. Why wouldn't the 262.5 frequency work?


0.3% error isnt much, but poor performance doesnt always show as errors - you could need slightly higher voltage

look at the discard rate - if its more than 100% of the accepted sharees, you might have a problem and need to tune lower
legendary
Activity: 1274
Merit: 1000
After making the changes to my S3+ the new frequencies show up in the gui. I selected 262.5 and input voltage as 0750. When I restarted the box it came back still hashing at 450gh, but the error rate jumped from basically 0 to 0.3%.  I set the frequency then to 250 and left voltage as 0750, restarted, and it came back hashing at 500gh with 0 error again. Why wouldn't the 262.5 frequency work?


The file with frequency values for the advanced page with miner settings is

Code:
/usr/lib/lua/luci/model/cbi/cgminer/cgminer.lua

Look at the end of the file for the frequency list.

Here are highlighted in red the lines with new frequency not included in the stock firmware.

Quote
pb:value("13:300:0b82", translate("300M"))
pb:value("14:293.75:1706", translate("293.75M"))
pb:value("14:287.5:0b02", translate("287.5M"))
pb:value("14:281.25:1606", translate("281.25M"))
pb:value("15:275:0a82", translate("275M"))
pb:value("15:268.75:1506", translate("268.75M"))
pb:value("15:262.5:0a02", translate("262.5M"))
pb:value("16:256.25:1406", translate("256.25M"))

pb:value("16:250:0982", translate("250M"))
pb:value("16:243.75:1306", translate("243.75M"))
pb:value("17:237.5:1286", translate("237.5M"))
pb:value("17:231.25:1206", translate("231.25M"))
pb:value("18:225:0882", translate("225M"))

pb:value("18:218.75:1106", translate("218.75M (default)"))
pb:value("18:212.5:1086", translate("212.5M"))
pb:value("19:206.25:1006", translate("206.25M"))
pb:value("20:200:0782", translate("200M"))
pb:value("20:196:1f07", translate("196M"))
pb:value("20:193:0f03", translate("193M"))
pb:value("23:175:0d83", translate("175M"))
pb:value("27:150:0b83", translate("150M"))
pb:value("33:125:0983", translate("125M"))
pb:value("40:100:0783", translate("100M"))

Many thanks, just made these changes to my S3+.  Very useful information, kudos to you for providing it!
Pages:
Jump to: