Search content
Sort by

Showing 11 of 11 results by dzindra
Post
Topic
Board Mining (Altcoins)
Re: Swedish ASIC miner company kncminer.com
by
dzindra
on 02/11/2013, 23:00:37 UTC
Thank you so much dzindra and kill-switch for not only finally settling this but for going through datasheets and what not to give us all this insight into temps!

You are welcome Wink I have been digging in my miner since it arrived and finally I can put the gained knowledge to good use Smiley
Post
Topic
Board Mining (Altcoins)
Re: Swedish ASIC miner company kncminer.com
by
dzindra
on 02/11/2013, 22:30:38 UTC
Both normal firmware and bertmod are using data from lm75 temp sensors (chip in red circle in the picture below). One sensor is on each mining board and one is on controller board. Differences are probably caused by refresh rate of the temp data. Stock firmware refreshes data each minute, stores them to /var/run/stats.knc and displays this file. Bertmod refreshes when requested.

Unfortunately, there is no way how to get temperature from VRMs (or at least I did not found it in datasheet)
http://i.imgur.com/HFZZ6t9.jpg


Awesome!  There is temp data available if the VRM is the 'digital' version, the details are on page 16 of the datasheet.  After a close read, it does seem you are indeed correct, that the PMBus will only report two temperature 'flags' OT_WARN and OT_FAULT, not actual temperature data.  The location of the lm75 makes sense why it seems to track the DC/DC module (PCB) temperatures better than reporting accurately for the ASIC itself.

Exactly. And it also seems that these limits are hardwired into VRM (so no way of lowering them and checking warn flags to get at least approximate temp value).
Post
Topic
Board Mining (Altcoins)
Re: Swedish ASIC miner company kncminer.com
by
dzindra
on 02/11/2013, 22:11:57 UTC
just confirming, yes.
But also good to know the temp sensor readings are from a different location on bertmod than the normal firmware...  perhaps the Bertmod Dev could add the asic temp, or KNC could add vrm temps....
 
Based on the vrm info.. I'm trying a few things....  details later.


Both normal firmware and bertmod are using data from lm75 temp sensors (chip in red circle in the picture below). One sensor is on each mining board and one is on controller board. Differences are probably caused by refresh rate of the temp data. Stock firmware refreshes data each minute, stores them to /var/run/stats.knc and displays this file. Bertmod refreshes when requested.

Unfortunately, there is no way how to get temperature from VRMs (or at least I did not found it in datasheet)

IMAGE EDITED OUT
thanks...
guess FeedBackLoop may be right!, right?

Yes, temperature readings are measured by the same sensors but timing is critical here. You can have slightly different readings each time you measure temperature.

If you are interested and want a proof, ssh into your box, open /sbin/monitordcdc, read through it and look for following line (present at line 42 in 0.98):

Code:
temp1=$(i2cget -y $bus 0x48 0 w 2>/dev/null)

This line reads two bytes from miner board temp sensor. You can find same command being issued in asic_status.pl (bertmod0.3, line 37)
Post
Topic
Board Mining (Altcoins)
Re: Swedish ASIC miner company kncminer.com
by
dzindra
on 02/11/2013, 21:53:02 UTC
just confirming, yes.
But also good to know the temp sensor readings are from a different location on bertmod than the normal firmware...  perhaps the Bertmod Dev could add the asic temp, or KNC could add vrm temps....
 
Based on the vrm info.. I'm trying a few things....  details later.


Both normal firmware and bertmod are using data from lm75 temp sensors (chip in red circle in the picture below). One sensor is on each mining board and one is on controller board. Differences are probably caused by refresh rate of the temp data. Stock firmware refreshes data each minute, stores them to /var/run/stats.knc and displays this file. Bertmod refreshes when requested.

Unfortunately, there is no way how to get temperature from VRMs (or at least I did not found it in datasheet)

http://i.imgur.com/HFZZ6t9l.jpg
Post
Topic
Board Hardware
Re: KnC die #0 disabled
by
dzindra
on 02/11/2013, 16:57:05 UTC
Does anyone know what exactly this firmware does?

It seems to get mixed results.

I am only getting 460 on my Jupiter. I am tempted to try this firmware.

tl;dr: this patch lowers some voltage on controller board from 1.95V to 1.45V and tries to restart failed dies in 20 sec intervals.

Long story:
Running diff on images
Code:
diff -rq kncminer-0.98/ramdisk kncminer-0.98.1\(beta\)/ramdisk 2> /dev/null
results in
Code:
Files kncminer-0.98/ramdisk/etc/init.d/initc.sh and kncminer-0.98.1(beta)/ramdisk/etc/init.d/initc.sh differ
Files kncminer-0.98/ramdisk/etc/rcS.d/S36initc.sh and kncminer-0.98.1(beta)/ramdisk/etc/rcS.d/S36initc.sh differ
Files kncminer-0.98/ramdisk/etc/shadow and kncminer-0.98.1(beta)/ramdisk/etc/shadow differ
Files kncminer-0.98/ramdisk/sbin/monitordcdc and kncminer-0.98.1(beta)/ramdisk/sbin/monitordcdc differ
Files kncminer-0.98/ramdisk/usr/sbin/lighttpd and kncminer-0.98.1(beta)/ramdisk/usr/sbin/lighttpd differ
Files kncminer-0.98/ramdisk/var/cache/ldconfig/aux-cache and kncminer-0.98.1(beta)/ramdisk/var/cache/ldconfig/aux-cache differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/initc-bin.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/initc-bin.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/initscripts.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/initscripts.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-access.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-access.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-accesslog.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-accesslog.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-auth.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-auth.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-cgi.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-cgi.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-dirlisting.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-dirlisting.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-expire.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-expire.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-indexfile.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-indexfile.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd-module-staticfile.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd-module-staticfile.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/info/lighttpd.control and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/info/lighttpd.control differ
Files kncminer-0.98/ramdisk/var/lib/opkg/status and kncminer-0.98.1(beta)/ramdisk/var/lib/opkg/status differ
Files kncminer-0.98/ramdisk/www/pages/firmware_upgrade.html and kncminer-0.98.1(beta)/ramdisk/www/pages/firmware_upgrade.html differ

We are actually interested in /etc/init.d/initc.sh and /sbin/monitordcdc as other files are just some new versions or changed timestamps.

In initc.sh few lines were added at the end of file. First four lines sets DCDC1 voltage adjustment in controller board voltage controller to 1.450 V (value for 0.98 on my Mercury is 1.950 V). The rest sets GO flag in Slew rate register in order to apply voltage change. I am not sure what exactly is powered by this voltage.
Code:
v=56
i2cset -y 1 0x24 0xb 0x73
i2cset -y 1 0x24 0xe $v
i2cset -y 1 0x24 0xb 0x73
i2cset -y 1 0x24 0xe $v

i2cset -y 1 0x24 0xb 0x6c
i2cset -y 1 0x24 0x11 0x86
i2cset -y 1 0x24 0xb 0x6c
i2cset -y 1 0x24 0x11 0x86


Monitordcdc has more changes: Interval for checking VRMs that ouput zero current in monitordcdc was decreased from 15 minutes to 20 seconds (15 checks in 1minute vs 5 checks in 4secs). When VRM has more than 3 failures(=zero current output) in this 20 sec interval the die powered by this VRM is restarted (this was not present in 0.98). I am not sure why die 0 is restarted only when other dies have failed too (maybe die 0 is somehow connected to other dies?).

Code:
# restart die
if [ "$failed0" = "1" ] ; then
if [ "$failed_non0" = "1" ] ; then
i2cset -y 2 0x2$channel 0xe5 0
fi
fi
if [ "$failed1" = "1" ] ; then
i2cset -y 2 0x2$channel 0xe5 1
fi
if [ "$failed2" = "1" ] ; then
i2cset -y 2 0x2$channel 0xe5 2
fi
if [ "$failed3" = "1" ] ; then
i2cset -y 2 0x2$channel 0xe5 3
fi


Dies 1-3 are also restarted in the beginning of the script.

Code:
# Give them a kick!
i2cset -y 2 0x2$channel 0xe5 1 >/dev/null 2>&1
i2cset -y 2 0x2$channel 0xe5 2 >/dev/null 2>&1
i2cset -y 2 0x2$channel 0xe5 3 >/dev/null 2>&1
Post
Topic
Board Group buys
Re: [GB]Terraminer IV, 1.6 BTC=67GH/s 9/30 shares
by
dzindra
on 13/10/2013, 20:13:43 UTC
Payment for one share sent

txid 23236d178404bfee39322f5c738f68c964352955c933c6af156b7296a50bfa53
Post
Topic
Board Beginners & Help
Re: How did you first hear about Bitcoin?
by
dzindra
on 13/10/2013, 13:52:16 UTC
When security researches discovered some virus which stole wallets and used infected PCs as miners :]
Post
Topic
Board Beginners & Help
Re: What's your Mhash/s? (Pissing contest here)
by
dzindra
on 13/10/2013, 13:08:16 UTC
2x asic usb erupters overclocked at 16 Mhz (444 MH/s each), one usb erupter not overclocked (333 MH/s) and new blade (10.75 GH/s) - almost 12GH/s :]
Post
Topic
Board Beginners & Help
Re: Asicminer Blade API
by
dzindra
on 01/10/2013, 11:55:30 UTC
Thanks for the script - it will definitely come to use.

I wrote simple parser for bfgminer api - check it out at https://github.com/dzindra/bfg-stats
Post
Topic
Board Beginners & Help
Re: Asicminer Blade API
by
dzindra
on 26/09/2013, 11:48:28 UTC
I did not know that bfgminer has getwork proxy Smiley I removed slush's python proxy and installed bfgminer and now I have low cpu usage, API access and pool switching. Thanks!
Post
Topic
Board Beginners & Help
Topic OP
Asicminer Blade API
by
dzindra
on 25/09/2013, 09:29:31 UTC
I was wondering if there is some way to get machine-friendly data (json, xml) from asicminer blade.

Also is there any way of discovering the blade on the network (such as UDP broadcast packet)?