Random self poweroff and sata error's


(deltaray) #1

Hi,

I have setup my bananapi with latest bananian installed on an external ssd sata drive. This works great so far … but for some reason the bananapi turns itself off random. Often after 2-4 days. It still has power but the lights are turned off. From the syslog I can see that the shutdown is not greaceful.

I also have these error’s coming up in the syslog a few times a day:

<3>1 2016-10-26T06:01:30.421188+02:00 banana kernel - - - [161006.104976] ata1.00: exception Emask 0x10 SAct 0x8000000 SErr 0x10300 action 0xe frozen <3>1 2016-10-26T06:01:30.439734+02:00 banana kernel - - - [161006.124072] ata1.00: irq_stat 0x08400000, interface fatal error, PHY RDY changed <3>1 2016-10-26T06:01:30.454626+02:00 banana kernel - - - [161006.140793] ata1: SError: { UnrecovData Persist PHYRdyChg } <3>1 2016-10-26T06:01:30.468886+02:00 banana kernel - - - [161006.155362] ata1.00: failed command: WRITE FPDMA QUEUED <3>1 2016-10-26T06:01:30.507378+02:00 banana kernel - - - [161006.178845] ata1.00: cmd 61/40:d8:e0:51:4b/01:00:01:00:00/40 tag 27 ncq 163840 out <3>1 2016-10-26T06:01:30.507461+02:00 banana kernel - - - [161006.178855] res 40/00:d8:e0:51:4b/00:00:01:00:00/40 Emask 0x10 (ATA bus error) <3>1 2016-10-26T06:01:30.518479+02:00 banana kernel - - - [161006.206561] ata1.00: status: { DRDY } <6>1 2016-10-26T06:01:30.529633+02:00 banana kernel - - - [161006.217721] ata1: hard resetting link <6>1 2016-10-26T06:01:31.952239+02:00 banana kernel - - - [161007.637719] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) <4>1 2016-10-26T06:01:31.970660+02:00 banana kernel - - - [161007.655369] ata1.00: supports DRM functions and may not be fully accessible <4>1 2016-10-26T06:01:31.989138+02:00 banana kernel - - - [161007.673834] ata1.00: supports DRM functions and may not be fully accessible <6>1 2016-10-26T06:01:32.001321+02:00 banana kernel - - - [161007.688877] ata1.00: configured for UDMA/33 <6>1 2016-10-26T06:01:32.011345+02:00 banana kernel - - - [161007.700130] ata1: EH complete

Any help would be great. I switched the external USB Power supply already.