Bananian

SATA errors on R1

7 2996
thehoff  
Hi Guys.
This is probably a hardware thread question but thought I would ask here in case anyone else has seen it with bananian and the R1

Bpi-R1 - New install. Running on a ~2a power supply that I run cubieTrucks on with SATA connected.

When I run a SSD on my R1 I just get the following in the logs and eventually (5mins) the disk just disconnects from the OS.

I have tried two different SSD's and 3 PSUs and reinstalled a few times.

No luck.

[  193.822949] ata1: EH complete
[  193.860465] ata1.00: limiting speed to UDMA/100IO4
[  193.884391] ata1.00: exception Emask 0x10 SAct 0x100000 SErr 0x10200 action 0xe frozen
[  193.908899] ata1.00: irq_stat 0x00400000, PHY RDY changed
[  193.929963] ata1: SError: { Persist PHYRdyChg }
[  193.950927] ata1.00: failed command: READ FPDMA QUEUED
[  193.981137] ata1.00: cmd 60/08:a0:00:00:00/00:00:00:00:00/40 tag 20 ncq 4096 in
[  193.981146]          res 40/00:a0:00:00:00/00:00:00:00:00/40 Emask 0x10 (ATA bus error)
[  194.023401] ata1.00: status: { DRDY }
[  194.041890] ata1: hard resetting link
[  194.813789] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  194.841654] ata1.00: configured for UDMA/100
[  194.843696] ata1: EH complete
[  199.669929] ata1.00: exception Emask 0x10 SAct 0x0 SErr 0x10200 action 0xe frozen
[  199.689279] ata1.00: irq_stat 0x00400000, PHY RDY changed
[  199.705554] ata1: SError: { Persist PHYRdyChg }
[  199.721007] ata1.00: failed command: FLUSH CACHE
[  199.744786] ata1.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 9
[  199.744792]          res 40/00:40:00:4b:f9/00:00:0d:00:00/40 Emask 0x10 (ATA bus error)
[  199.781071] ata1.00: status: { DRDY }
[  199.794741] ata1: hard resetting link
[  200.992982] ata1: SATA link down (SStatus 0 SControl 310)
[  201.074555] ata1: hard resetting link
[  201.552982] ata1: SATA link down (SStatus 0 SControl 310)
[  201.726675] ata1: hard resetting link
[  202.222976] ata1: SATA link down (SStatus 0 SControl 310)
[  202.237711] ata1.00: disabled
[  202.252415] ata1.00: device reported invalid CHS sector 0
[  202.256515] end_request: I/O error, dev sda, sector 0
[  202.266378] sd 0:0:0:0: rejecting I/O to offline device
[  202.268428] ata1: EH complete
[  202.271771] ata1.00: detaching (SCSI 0:0:0:0)
[  202.295409] end_request: I/O error, dev sda, sector 0
[  202.399901] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
[  202.420106] ata1: irq_stat 0x00000040, connection status changed
[  202.437804] ata1: SError: { CommWake DevExch }
[  202.452753] ata1: hard resetting link
[  202.457066] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  203.922986] ata1: SATA link down (SStatus 0 SControl 300)
[  203.937651] ata1: EH complete
[  203.951778] sd 0:0:0:0: [sda]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[  203.979849] sd 0:0:0:0: [sda] Stopping disk
[  203.994823] sd 0:0:0:0: [sda] START_STOP FAILED
[  204.008441] sd 0:0:0:0: [sda]  
[  204.014791] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4050002 action 0xe frozen
[  204.020068] ata1: irq_stat 0x00400040, connection status changed
[  204.028347] ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
[  204.032477] ata1: limiting SATA link speed to 1.5 Gbps
[  204.035123] ata1: hard resetting link
[  204.096483] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[  204.763006] ata1: SATA link down (SStatus 0 SControl 310)
[  204.777468] ata1: EH complete
[  204.973169] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
[  204.992653] ata1: irq_stat 0x00000040, connection status changed
[  205.009266] ata1: SError: { CommWake DevExch }


Any thoughts?
thehoff  
This thread makes sense http://forum.lemaker.org/thread-777-4-1-4.html
Any other thoughts?

thehoff  
Think ive solved this.
USB cable's are not all the same. Found a small 5cm one in the shed, everyhing powers up right on it. All my other cables are 1m or 2m
http://forum.lemaker.org/forum.p ... 2&fromuid=33332

thehoff  
so that managed to get a seagate hard drive to boot but my SSD's still wont stay online.

thehoff  
Segate 500g/7200rpm drive 5v .5amp
OCZ Arc100 5v 1amp
OCZ Vertex 5v .5amp

My Vertex appears stable, the ARC100 wont stay online. drives are not drives either.

thehoff  

and still issues with the drive on the unit. anyone have any other thoughts to look at?

Yuri  
I think you should to change script.bin
Instructions can be found in this manual

tkaiser  
The Lamobo R1 (or "router board") has SATA power issues. Details here: http://www.bananapi.com/index.php/forum/general

You have to log in before you can reply Login | Sign Up

Points Rules