SATA controller problem - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=166) +--- Forum: Quartz64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=169) +--- Thread: SATA controller problem (/showthread.php?tid=16776) |
SATA controller problem - tobs - 06-04-2022 Hi there, Does anyone know what can be the problem with the controller below? Code: 01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) in dmesg I see Code: [64391.518074] ata1.15: SATA link up 1.5 Gbps (SStatus 113 SControl 310) and disks are making weird sound of spinning up. Any help appreciated RE: SATA controller problem - vs_cy - 02-15-2023 I'm having the same issue but with ASM1166 controller RE: SATA controller problem - CounterPillow - 02-15-2023 How are the disks being powered? If you're using the PINE64 SATA power cable, make sure you're also using the 12V5A power supply and not the 12V3A one. RE: SATA controller problem - vs_cy - 02-15-2023 I have 6 HDDs which are powered up from the external PSU (provides ~25A (300W PC PSU)). Quartz64 A is powered from it as well. RE: SATA controller problem - CounterPillow - 02-15-2023 What distribution/kernel version are you using? Also which precise Quartz64 board? One potential issue on the Quartz64 Model A is that the 3.3V regulator for PCIe only provides up to 10W, so if the card draws more than that through the 3.3V PCIe rail it's going to keep resetting from voltage drop. Another issue is the PCIe reg ranges for which the fix never made it upstream properly, I don't think. RE: SATA controller problem - vs_cy - 02-15-2023 (02-15-2023, 07:58 AM)CounterPillow Wrote: What distribution/kernel version are you using? Also which precise Quartz64 board?Currently I'm trying with 6.0.12-1-MANJARO-ARM #1 SMP PREEMPT Thu Dec 8 14:18:34 UTC 2022 aarch64 GNU/Linux Quartz64 A 8Gb (02-15-2023, 09:42 AM)CounterPillow Wrote: One potential issue on the Quartz64 Model A is that the 3.3V regulator for PCIe only provides up to 10W, so if the card draws more than that through the 3.3V PCIe rail it's going to keep resetting from voltage drop. Another issue is the PCIe reg ranges for which the fix never made it upstream properly, I don't think. I have a PCIe extension with extra power ports on it. Do you think it's a good idea to try to add power through it? I tried to search some info related to PCIe reg ranges, but couldn't find any mentions.. Can you please share some links to that? Thank you! RE: SATA controller problem - CounterPillow - 02-15-2023 Quote:I have a PCIe extension with extra power ports on it. Do you think it's a good idea to try to add power through it? Can't hurt to try, if it's from the same power supply. Quote:I tried to search some info related to PCIe reg ranges, but couldn't find any mentions.. Can you please share some links to that? https://lore.kernel.org/linux-rockchip/20221112114125.1637543-2-aholmes@omnom.net/ Needs another fix though before it can be applied. RE: SATA controller problem - vs_cy - 02-16-2023 Quote:CounterPillow I tried but unfortunately the behaviour of SATA ports is the same. Dropping the connection all the time irregardless of how many drives is connected - 1 or 6. Quote:https://lore.kernel.org/linux-rockchip/20221112114125.1637543-2-aholmes@omnom.net/ I think I found the same thread but on different platform https://patchew.org/linux/20221107130157.1425882-1-megi@xff.cz/ Thanks you very much for the tips! Seems that I have to wait and monitor the progress of this issue since my knowledge and skills not allowing me to debug and contribute solution RE: SATA controller problem - vs_cy - 03-14-2023 I've updated the system to Linux DietPi 6.1.14 #1 SMP PREEMPT Tue Mar 7 17:05:42 UTC 2023 aarch64 GNU/Linux and all drives are fine except the one that is connected to SATA port 0. I tried to connect different drives (HDD and SSD) to the port 0 but all have the same issue Code: [ 12.258466] ata1.00: exception Emask 0x11 SAct 0x80 SErr 0x480100 action 0x6 frozen If I'm not connecting any drive to SATA0 - everything is fine. I assume that some fixes was applied to the kernel. Is there a way that I can participate in testing and report any useful info? RE: SATA controller problem - CounterPillow - 03-17-2023 The reg ranges fix still isn't in but I'm not sure if it's relevant, I bought an ASM1166 and it seems to work fine (though I haven't tried all ports). If you want to test kernels, you can git clone torvalds' linux git tree, grab a config from your running system, put that in .config, run `make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j$(nproc) bindeb-pkg` and it will spit out a .deb with a kernel in it you can install. I don't know how dietpi handles multiple kernels though. |