Bitcoin Forum
September 23, 2024, 12:00:10 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 43 44 45 »
701  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! on: October 04, 2018, 04:18:51 AM
Howdy folk,

Just a quick update on progress. Addition of per-board frequency support is moving along, but a little slower than I would have liked. If anyone happens to have a spare Z9 control board, please let me know -- I'm looking to acquire one.

If anyone else is looking for Z9 firmware, I'll be online the next couple of hours for instant processing.

Thank you!

Jason
702  Alternate cryptocurrencies / Mining (Altcoins) / Re: Antminer Z9 non-mini (Biggie/Maxi?) on: October 03, 2018, 04:08:01 PM
Anybody seen the following:

In "turbo" mode when i adjust fan to a static 80 or 85%, miner does not show any hashing speed on multiple window refreshes (yes, I waited 5-10 min for initial load).
Most likely, the machine still hashes, but i don't see anything shown on the panel.
I decided to try static speed just to make sure that i can load modded firmware (efudd or smartass111), but now not sure that it is worth a try.

Does modded soft have "balanced" and "turbo" or just a pulldown menu for various speeds?

In other words, is there a pulldown menu or you enter mhz by some other means?

Biodom, are you using Awesomeminer to manage your miner by chance? There are some conditions in awesome miner as it manages these where the status page will no longer work and just be blank, yet the data can be returned from the API.

As far as the modified, my current version supports 500-650 in 5Mhz increments and also allows selection of 651-700 in 1Mhz increments all via the web page/pulldown.

-j
703  Alternate cryptocurrencies / Mining (Altcoins) / Re: unlocked frequencies Z9 firmware (free) on: October 03, 2018, 02:30:15 AM
Able to have a look at the E3 - or is that still a closely guarded secret until the profit dies in the arse and someone finally releases it for the community ....


yeah that happens too with software - we can blame bitmain etc for mining months in advance only to sell off them when the profit dies but these firmware tweaks are done exactly the same way.   Now that the z9s are no longer great - these software hacks are coming out now.

Ironic much.  (looking at you l3+) etc

However to the OP ..thanks.... i guess.

I released my Z9 hack basically the same day I got my Z9, so, unsure about the "hack coming out after z9 no longer great" -- if it did, it's cause of bitmain. Smiley

704  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! on: October 03, 2018, 01:49:32 AM
So just download again and re-flash?



Yes sir. The primary dashboard will say "Version 1.1" if I remember what I wrote correctly. :-)

I'll try to update the download infrastructure soon to send a versioned filename to make this easier in the future.

-j
705  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! on: October 03, 2018, 12:39:14 AM

As of 10/2/2018 the download links for all unlocked firmware have been updated to an image that now supports 500-650 in 5Mhz steps, and 651-700 in 1Mhz steps. There is no guarantee that your machine(s) will work with these frequencies, they have just been exposed to make it easier on users.

Thank you,

Jason
706  Alternate cryptocurrencies / Mining (Altcoins) / Re: unlocked frequencies Z9 firmware (free) on: October 02, 2018, 07:49:41 PM
I'm trying to understand why your resulting cgminer is 28kB smaller than stock, however. Can you help me understand why that is the case? What else did you change?

exactly, prefer to keep things simple.
nothing else, only 2 bytes changed

may be you tried to compare with cgminer from another fw version, I got source from bitmain site.

Nod - ok. That was the conclusion I came to, different starting firmware.

Thank you.

-j
707  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! on: October 02, 2018, 05:12:37 PM
@efudd

Sorry wont let me send a dm now.  To continue my temps at higher frequencies is expected due to other miners in the vicinitywhich raises the ambient temp in the room.  The main thing is my unit will not accept higher frequencies unfortunately.  I even tested by moving to another area to keep temps down and same issue even when fan at 100 and temps around 76

Thank you

Ok. I will contact you.

708  Alternate cryptocurrencies / Mining (Altcoins) / Re: unlocked frequencies Z9 firmware (free) on: October 02, 2018, 04:22:13 PM
Your patch is interesting.

It looks like you actually left the conditional check for a maximum of 550Mhz in place, and simply changed the result call which otherwise would force 500, to force what the user put in... it looks like you just copied the opcode at the end of the subroutine to the previous opcode to make both results the same.

In mine, I simply removed the conditional checks, leaving the result in place.

I'm trying to understand why your resulting cgminer is 28kB smaller than stock, however. Can you help me understand why that is the case? What else did you change?

-j

709  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! Adds up a Z9 minis hash to each Z9! on: October 02, 2018, 01:23:01 PM
Going forward, I am available to work with commercial entities for consulting, customization, on all aspects of crypto-mining to help maximize profit margins. PM/DM to discuss details as I am still accepting commercial consulting clients for long-term working relationships.

Future updates will go to pre-existing customers, as promised.

Thank you,

Jason

710  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! Adds up a Z9 minis hash to each Z9! on: October 02, 2018, 01:11:12 PM
Just got a response from nicehash, I don't really understand the file they are talking about but maybe you do efudd..

Hi,

Unfortunately we do not have these two ASICS. To give you exact instructions
we need to get two tpcdump files, one tcpdump should be from miner which
is connected to remote pool and is working properly and second tcpdump
should be when miner is connected to NiceHash. We are iust assuming where
could be the issue. With tpcdump files we will see exactly where is the issue.

Best regards,
NiceHash Team

I understand what they are talking about -- they responded to me with the same information last night. I asked another question in response and they replied immediately.

Thank you for the follow-up -- I'll see if I can throw together some basic instructions and get what we'd need pulled together.

I'll "add it to the list", lol!

-j
711  Alternate cryptocurrencies / Mining (Altcoins) / Re: 4 x Z9 mini or 1 x Z9 ? Z9 teardown on: October 02, 2018, 03:46:54 AM
...and ship via DHL, not UPS. My UPS Z9s got hit with 25%, DHL ones just got 2.9%.

Batch1 minis, if you can find them at a good price, hash well, and overclock well.

The Z9s are pretty variable -- most will OC up to 650 ( and around 55-57kSol. Some will go up to 680-700 and get 60-62kSol... but those are the rare ones.
They are voltage limited.
(overclock for Z9: https://bitcointalk.org/index.php?topic=5036968)

-j

712  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain launches the new AntMiner DR3 (Decred ASIC Miner) on: October 02, 2018, 03:28:43 AM
Just setup. Everything looks smooth under Miner Status:



Pumping 1487W on an APW3++ @ 18.1C (65F) ambient temp with 65% relative humidity.

Ah, so at 1487W, you don't have much room power wise to push it more with the APW3. That's getting close to the power limits on that PSU. Hmmmm....
713  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! Adds up a Z9 minis hash to each Z9! on: October 02, 2018, 03:27:38 AM
Really appreciate your hard work.   I messaged you regarding the unlocked version I received.  As far as batch 1 z9.   I tried a little research of my own by taking the control board from my 750 hashing batch one mini and placing it on the batch 2 mini and the same issue existed where the hashing would go to zero after some time and could only handle 650 at times.  So not sure what they really changed with batch 2 as I assumed all config were stored on the control board.

Thanks

I responded to your PM re: unlock/Z9. My understanding, and note I never had a Z9 batch2+ myself - my 12 were all batch1, is that the Batch2s had a hardware change.  From the pictures I saw, my best guess is 2 VRMs (voltage regulation modules) were removed which limited the power distribution ability to the boards. Again, just a wild guess.

-j
714  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! Adds up a Z9 minis hash to each Z9! on: October 02, 2018, 01:34:21 AM
Oh, adding to this, the firmware for Z9 and Z9 mini can be combined, I'm 98% confident. One piece would have be tested.

The primary difference between the Mini firmware and the Z9 firmware is a hard coded constant that limits the number of ASICs in a given chain initialized. Both the Mini and Z9 firmware are configured to start up to 4 chains (4 hashboards). The Mini is limited to bringing up 4 ASICs on each chain, while the Z9 firmware will bring up [at least] 16. At least in the Z9 firmware, it has hard coded limits to actually bring up *32* ASICs per chain -- I have not verified if that particular code is the same in the mini firmware.

Net-Net, with just one modification (and 1 test to make sure I'm correct), the Z9 mini firmware will run on the Z9.... and conversely, the Z9 modified firmware would run on the Z9mini. There are a couple of other places that I've flagged to check in the code just to be sure, but are possible conditions where  they have hard coded the number of ASICs. If that were true, then I'd simply have to add a configurable option and/or auto-detect (which is a slight challenge for a couple of reasons) the hardware.

Lastly, a short-cut to voltage regulation questions (I have spent literally 0 time looking at this in the disassembly yet) is to start with the batch1 Z9 mini firmware and evaluate the voltage handling vs. the later batches of mini firmwares and the Z9 large firmware.

I really have put real time/effort into this firmware beyond "greed" as at least one person has suggested.

... I would actually appreciate it if more people supported the Z9 firmware by getting the unlocked version, as it helps to fund research like this.


Thank you,

Jason

715  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain launches the new AntMiner DR3 (Decred ASIC Miner) on: October 01, 2018, 11:34:20 PM
I can usually fumble my way through linux, vi, and an ssh interface.

I assume you meant cgminer.conf. The value 415 is not available in the web interface drop down. Changing the 410 to 415 in cgminer.conf results in the listed frequencies in the Miner Status page to show 415. Going to the Advanced Settings page where you would normally change the frequencies using the drop down, the drop down box is blank.

For this test, I had to reboot the miner via the web interface. How do you restart cgminer through the ssh?

Yeah,I meant cgminer.conf, doh.

This will restart it through the command line: "/etc/init.d/cgminer.sh restart"

I expect the web interface, after changing to 415, will be blank (don't worry, if you select any other frequency and apply, it'll be back to the way it was) since the web interface is reading the frequency and doesn't have a match in the html for "415".. so it just shows blank.

Ok, so if the miner status page showed 415, that suggests this one is *NOT* factory locked on frequencies.

It's just a matter of figuring out how far it can be pushed... Thank you!

-j
716  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain launches the new AntMiner DR3 (Decred ASIC Miner) on: October 01, 2018, 11:15:19 PM
Yep, those worked. Here's the interesting info of the cgminer.conf (after the pool info):

"api-listen" : true,
"api-network" : true,
"api-groups" : "A:stats:pools:devs:summary:version",
"api-allow" : "A:0/0,W:*",
"bitmain-fan-ctrl" : true,
"bitmain-fan-pwm" : "100",
"bitmain-use-vil" : true,
"bitmain-freq" : "410"

Anything specifically, I can help out with? Feel free to PM me.

Yeah, just something simple, pick any frequency that is NOT in the list on the web page, and change the '410' value to that freq. like, if 415 isn't listed, change 410 to 415. (I assume you know how to use vi? I'll try to describe the actual commands, one per line, just below this comment by pretending I'm editing it... Once that's done, run "/etc/init.d/cgminer.sh restart". All I'm looking to see is if the actual frequency changes to what you put in (like 415) or if it goes back to 410. The change will show up in the web interface with the regular miner stats.

SSH in, type these commands:
vi /config/cgminer.sh (hit enter)
/410
cw415 (Hit Escape)
:wq! (hit enter)

Then restart cgminer.sh

So that's literally typing 'c', then 'w', then '4', then '1', then '0', as if it was one word. no spaces, no enters, only, etc.

Thank you for helping as best you can!

-j
717  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain launches the new AntMiner DR3 (Decred ASIC Miner) on: October 01, 2018, 10:53:22 PM
try root/admin

that's the default unless you change the password in the web server.
718  Alternate cryptocurrencies / Mining (Altcoins) / Re: Bitmain launches the new AntMiner DR3 (Decred ASIC Miner) on: October 01, 2018, 10:41:38 PM
What kind of temps are your dr3 chips running at and at how much wall power?

Mine temps are 88C, 85C, and 83C at 100% fan and my meter is telling me it's pulling 1570W. Miner says it's between 7.8 and 7.9 Th/s.

At least I don't have any chain errors and my HW errors are relatively low (less than 50 after 10min).

what frequencies are available by default?

Can you set a frequency other than the included ones via the browser/inspect or editing /config/cgminer.comf?

If so, I can move on, if not, I want get get the firmware and open it up.

-j
719  Alternate cryptocurrencies / Mining (Altcoins) / Re: unlocked frequencies Z9 firmware (free) on: October 01, 2018, 09:18:29 PM
..snip...

There goes your Millions man.

Also, releasing it for free is great (really) but throwing mud at the other developer isn't kosher.

hashestohashes - I am unsure how I've thrown mud at another developer, and will fix it if I have. Please point me to it.

... as far as millions, don't we all wish...

I can't speak to the capabilities of others, but I spent a reasonable amount of time on my work (if others can do it faster, that is awesome!) and actually acquired licensed copies of IDA Professional and Hex-Rays ARM32 compiler to support this work, that alone cost $4100 USD plus tax. I also had to import a Z9, which after customs/taxes/shipping cost $4179. So before I even started the work, I was out $8279.

I've also spent numerous hours responding to email inquiries and PMs to provide support for installation, for overclocking, etc. I've spent a couple of hours this past week in 'teamviewer' helping another individual load on 8 machines....

I definitely didn't do this to "get rich". I only hacked this because I was frustrated that bitmain had locked 'my unit' after delaying it 3+ weeks. Smiley

-j
720  Alternate cryptocurrencies / Mining (Altcoins) / Re: Efudd's Custom Z9 OC Firmware available! Adds up a Z9 minis hash to each Z9! on: October 01, 2018, 09:00:02 PM
For posterity, here is how this was done.

A PE file has many segments in it (varies by file), like .data, .bss, .text ... .text is where strings are stored. From the .text segment, with a good disassemeblerwill break those out and point you back to the assembly for the function(s) that reference those strengths.

So, I started backward.

.text -> "frequency" -> function calling it. Then I spent some time exploring that function, it's callers and callees, and started mapping out the code path around it.

In that, I found the setup functions which took in the frequency and passed it down to a function I could readily tell was calld "set_frequency_chain". Using hexrays I was able to track that back to the fact it takes a chain and a frequency as an argument (as an aside...).

The fact that bitmain limited this to 2 frequencies made it easier than it should have been.  In the calling function, I found their 2 hardcoded constansts for 500 and 550.

Initially I just modified 550 to 650 (simplest byte changes), and realized it could do 650/500 -- that's basically what the free one is. 575+500.

The "paid" version is different in that the constants are not changed, but rather the conditionals that limit it are removed.
That allows you to pass anything you want down to set_frequency_chain.

Now, to enable per-board frequency control, we can continue from there.

That same set_frequency_chain has a calling function (this is about the per-board stuff) which bitmain neutered. Right now it iterates over 4 boards (a constant) and calls set_frequency_chain for eacho f those 4 boards with the frequency passsed in.

To enable per-board freuqency, that function calling set_frequency_chain needs to be completely rewritten and the binary patched. From some research papers, I found how how to add segments to a PE file (this wasn't possible a couple of years ago). So a new function can be written to read the config file, just reeanble finding/processing bitmain-freqX, then simply iterate over the number of boards and initialize each chain. The original iterator has to be skipped, so you have to jump into what you add, then jump back.

That'll enable freq-per-board. For bonus points, an API call can be added to enable calling bitmain_ZCASH_reinit_chain on a given chain if you change the frequency. That'll overload the 'reset' condition for a board to enable changing frequency on the fly.

Add some intelligence to tune the frequencies based on observations of the data in the system, and boom, you'll have a self-tuning, maximally overclockable image.

Some of these tactics will work for any cgminer reverse engineering activity.

Thanks,

Jason
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 43 44 45 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!