Bitcoin Forum

Bitcoin => Mining support => Topic started by: tim-bc on September 18, 2018, 02:17:10 PM



Title: [Antminer S9] System Upgrade Failed - cp write error
Post by: tim-bc on September 18, 2018, 02:17:10 PM
I have an Antminer S9 that keeps resetting its pools to factory default. FW version is 2017 Jan 24 but when I try to upgrade I get this error:

Code:
System Upgrade Failed

cp: write error: Input/output error cp: can't create '/mnt/upgrade/upgrade/soc_system.rbf': No space left on device cp: can't create '/mnt/upgrade/upgrade/upgrade-marker.bin': No space left on device

https://i.stack.imgur.com/0XCiK.png

It's highly unlikely that this machine was hijacked while in my possession, but it was used before I received it. Kernel log: https://pastebin.com/ZGKws3cV

I blocked the default pools so it will not mine for bitmain, but I do need to figure out how to change the pools without the machine reverting back to the default pools.


Title: Re: [Antminer S9] System Upgrade Failed - cp write error
Post by: fanatic26_ on September 18, 2018, 05:38:06 PM
Have you SSH'd in to check if the filesystem is full somehow?


Title: Re: [Antminer S9] System Upgrade Failed - cp write error
Post by: BitMaxz on September 19, 2018, 10:46:45 PM
It looks like the program is fully corrupted that is why upgrading doesn't work.

Did you try to use s9_fix_upgrade.tar.gz to flash your miner? If not try to flash it using this fix-upgrade, then upgrade it with factory firmware then fully reset the miner to factory default.

Here's the new antminer s9 fix upgrade link https://file11.bitmain.com/shop-product/firmware/s9_fix_upgrade.tar.gz


Title: Re: [Antminer S9] System Upgrade Failed - cp write error
Post by: tim-bc on September 20, 2018, 11:18:18 PM
This is strange. Before I asked the question I did ssh and check the filesystem with df -h and I think there was only around 60MB available. I figured that this was why I was getting the cp error. Today I saw that it was only 23 MB used and 104 MB available, still couldn't flash the firmware.

I tried the s9_fix_upgrade but I got the errors you can see in https://pastebin.com/icy9au1x. Mainly this one seems very similar still:

Code:
mkdir: can't create directory '/mnt/config/home/usr_config': No space left on device

The miner seems to be rebooting itself every 15-30 minutes, and every time the factory default pools are restored...

I guess trying to flash with microSD is the next step?