Rockpro64 Sata Card kills itself
#6
Chiming in here: My sata card from Pine has been giving me same kind of trouble. Couple of dmesgs from ayufan's ubuntu minimal + kernels (4.4 and 4.20):
- https://pastebin.com/c9S7ECFt
- https://pastebin.com/N6gJ4Min

RockPro64 setup:
- RP64 4GB, v2.1
- Pine64 SATA card (ASM1062)
- 500GB Samsung 860 Evo SSD
- 7-port USB3 Hub in USB3 port
- Keyboard in USB2 port
- 12V/6A Salcar PSU (from Amazon). This powers all of above.

What seems to happen in my logs is that ata/sata errors and after a couple of tries kernel (at least 4.20) disables NCQ and after that the card starts working. There's a little difference between kernels: If I remember correctly in 4.4 mkfs already caused errors. From user's point of view it looks like the command just halted. In 4.20 mkfs and mount went ok but first attempt to actually do something (ls -l in mount point) caused errors. Removing keyboard and USB hub didn't have any effect.

I tried the card in x86_64 PC with 18.04 Ubuntu and same errors happened is that setup too. When I tried using the SSD drive connected directly to PC motherboard with same SATA cable it worked without errors. This makes me believe there's something wrong with the SATA card itself.

PC setup:
- Asus Fatal1ty H87 performance
- Intel Xeon E3-1230 v3
- 32GB Ram
- Pine64 SATA card (ASM1062, in PCIe 2.0 x16 slot)
- MSI Radeon R9 270X
- Seagate Momentus 500GB Hybrid drive as boot + rootfs device
- 500GB Samsung 860 Evo SSD as "drive under test"
- XFX TS 550W PSU

As a workaround I disabled NCQ from kernel by adding libata.force=noncq to kernel command line (to line that says "append" in /boot/extlinux/extlinux.conf). After that I haven't experienced any ATA/SATA errors yet. Note that disabling NCQ may cause serious performance drop especially with spinning disks! For me it's okayish as I'm using it on my retro/Recalbox build with SSD. But personally I wouldn't use it on NAS (I have Marvell 88SE9230 and 88SE9215 cards working just fine on that purpose).

Edit: Pine64 store page (https://www.pine64.org/?product=rockpro6...rface-card) says the card is ASM1061 but lspci says it's ASM1062. The card is from Pine store anyway Smile
  Reply


Messages In This Thread
Rockpro64 Sata Card kills itself - by jerry110 - 09-07-2018, 03:42 PM
RE: Rockpro64 Sata Card kills itself - by Luke - 01-18-2019, 05:30 AM
RE: Rockpro64 Sata Card kills itself - by nuumio - 01-18-2019, 07:16 AM
RE: Rockpro64 Sata Card kills itself - by nuumio - 01-27-2019, 01:57 AM
RE: Rockpro64 Sata Card kills itself - by aldrick - 08-21-2019, 01:52 AM
RE: Rockpro64 Sata Card kills itself - by aldrick - 12-26-2019, 04:20 AM
RE: Rockpro64 Sata Card kills itself - by aldrick - 05-08-2020, 02:00 PM
RE: Rockpro64 Sata Card kills itself - by aldrick - 05-14-2020, 06:44 AM
RE: Rockpro64 Sata Card kills itself - by LMM - 05-12-2021, 04:39 AM
RE: Rockpro64 Sata Card kills itself - by rantoie - 06-13-2021, 07:58 AM
RE: Rockpro64 Sata Card kills itself - by varac - 06-13-2021, 08:13 AM
RE: Rockpro64 Sata Card kills itself - by hyc - 06-14-2021, 12:23 PM
RE: Rockpro64 Sata Card kills itself - by rantoie - 06-15-2021, 10:11 AM
RE: Rockpro64 Sata Card kills itself - by hyc - 06-16-2021, 05:18 AM
RE: Rockpro64 Sata Card kills itself - by hyc - 06-21-2021, 05:19 AM
RE: Rockpro64 Sata Card kills itself - by fieni - 10-17-2021, 12:35 AM
RE: Rockpro64 Sata Card kills itself - by fieni - 10-20-2021, 04:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  AW-CM256SM wifi card mtek 4 2,216 10-30-2023, 12:00 PM
Last Post: diederik
  Powering on the Rockpro64 JPT223 1 826 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  Which SATA card should I use my NAS server RAID5 Louysa 3 810 09-24-2023, 04:40 AM
Last Post: JPT223
  ROCKPro64 Battery Power Supply hoarfrosty 11 1,629 09-23-2023, 04:17 PM
Last Post: hoarfrosty
  SATA keeps crashing JPT223 1 474 09-21-2023, 10:52 PM
Last Post: tllim
  SATA hotplug not working? JPT223 0 385 09-15-2023, 04:20 AM
Last Post: JPT223
  Compatible PCIe Sata Controller spacebricker 1 1,501 02-06-2023, 10:03 AM
Last Post: diizzy
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 25,270 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 798 12-16-2022, 02:05 PM
Last Post: misterc
  GPIO on the RockPro64 - all pins high? colinmarc 2 1,523 11-18-2022, 10:20 AM
Last Post: colinmarc

Forum Jump:


Users browsing this thread: 2 Guest(s)