Bitcoin Forum

Bitcoin => Mining support => Topic started by: tim-bc on March 28, 2018, 02:59:28 PM



Title: How to address "PIC need restore" from Antminer S9 kernel?
Post by: tim-bc on March 28, 2018, 02:59:28 PM
Antminer S9 with kernel 3.14.0-xilinx-ge8a2f71-dirty

Look at this section of the log:

Code:
use critical mode to search freq...
get PLUG ON=0x000000e0
Find hashboard on Chain[5]
Find hashboard on Chain[6]
Find hashboard on Chain[7]
set_reset_allhashboard = 0x0000ffff
Check chain[5] PIC fw version=0x00
chain[5] PIC need restore ...
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
Error of set PIC FLASH addr: addr_H=3(0) addr_L=0(0) on Chain[5]
After restore: chain[5] PIC fw version=0x00

I have had this issue with multiple S9s. Sometimes chains 5 and 6 will have fw=0x03 and chain 7 will have 0xf1, for example, and the pic flash errors are only on that chain.

This problem obviously blocks the machines from mining, although they stay on with stable api and not rebooting. How can I address the PIC needing restoration? Is the issue here with the flash or the firmware? Is it unable to restore fw due to flash error?


Title: Re: How to address "PIC need restore" from Antminer S9 kernel?
Post by: fanatic26 on March 28, 2018, 05:51:42 PM
I have consistantly seen this error with the bitmain miners I have purchased in the last 4 months. They all have 1127 dated firmware. Rolling this firmware back has solved the issue nearly 100% of the time for me. I run the 42817 firmware with no issues.


Title: Re: How to address "PIC need restore" from Antminer S9 kernel?
Post by: tim-bc on March 28, 2018, 07:24:42 PM
I have consistantly seen this error with the bitmain miners I have purchased in the last 4 months. They all have 1127 dated firmware. Rolling this firmware back has solved the issue nearly 100% of the time for me. I run the 42817 firmware with no issues.

Hey fanatic,

Thanks for the tip. It seems that the miner does indeed have the latest firmware dated 2017-11-17
Do you know of a reliable place to download the older firmware image that you mentioned?

Much appreciated.


Title: Re: How to address "PIC need restore" from Antminer S9 kernel?
Post by: tim-bc on March 28, 2018, 07:55:29 PM
So on Bitmain's S9 firmware page I noticed this firmware note:

https://i.stack.imgur.com/xNZdE.png

I figured that was what you were talking about, so I flashed this firmware and the miner is hashing normally now. On the first reboot it complained that a few chips on the chain[5] were failed, but after rebooting itself again, everything seems to be operating as it should. Thanks again for the help! I'm going to flash this firmware to a couple of other miners with the same problem and let you all know how it goes.



Moderator's note: This post was edited by frodocooper to remove inline image tags.


Title: Re: How to address "PIC need restore" from Antminer S9 kernel?
Post by: tim-bc on March 28, 2018, 09:01:36 PM
I ended up fixing three that had the same error and one slightly different:

Code:
use critical mode to search freq...
get PLUG ON=0x000000e0
Find hashboard on Chain[5]
Find hashboard on Chain[6]
Find hashboard on Chain[7]
set_reset_allhashboard = 0x0000ffff
Check chain[5] PIC fw version=0x03
Check chain[6] PIC fw version=0x03
Check chain[7] PIC fw version=0xf1
chain[7] PIC need restore ...
Error of set PIC FLASH addr: addr_H=3(f1) addr_L=0(3) on Chain[7]
After restore: chain[7] PIC fw version=0x00

It looks like only chain[7] needed the fw in this case.

Regardless, I appreciate your help with these issues!