Software > User Zone
ata4: softreset failed. ata4.00 disabled (SATA devices not working sometimes)
FlyingBlackbird:
From time to time during the boot phase my SATA devices (HDD and BD reader) are disabled due to initialisation problems:
--- Code: ---[ 0.990587] ata4: SATA max UDMA/133 abar m2048@0x600c100000000 port 0x600c100000280 irq 30
[ 1.487797] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 1.491980] ata4.00: ATAPI: ASUS BW-16D1HT, 3.10, max UDMA/133
[ 1.499775] ata4.00: configured for UDMA/133
[ 97.577022] ata4: softreset failed (1st FIS failed)
[ 147.576656] ata4: reset failed, giving up
[ 147.576658] ata4.00: disabled
--- End code ---
The NVMe SSD is still working (always).
Rebooting does not help, sometimes even a cold start does not help (so the problems smells like a boot time Linux problem).
After this error also petitboot does no longer recognize the SATA devices (even when I choose the menu item "rescan devices").
I could reproduce this problem with Ubuntu Server 19.10 (kernel 5.3.x) as well as with Fedora 31 with a newer kernel (5.4.x)
What is the reason for that and how can I fix this?
BTW: There is a wiki entry at voidlinux bit it does not explain the background (reasons + impact):
https://wiki.voidlinux.org/Frequently_Asked_Questions#How_to_get_rid_of_.22ataN:_softreset_failed_.28device_not_ready.29.22_.3F
q66:
there is some issue with the SATA controller doing this when an optical drive is connected to SATA together with other devices (it will negotiate lower and lower speeds across kexecs until you get nothing). It requires a full reboot (i.e. either shut down and boot again, or disable fast-reboot, which will mitigate the problem by reinitializing everything on every boot). Or disconnect the optical drive.
FlyingBlackbird:
THX for the background :-)
So does this mean if I add
--- Code: ---libata.force=norst
--- End code ---
to the kernel boot parameters that the SATA controller is negotiating correctly then (or does this only suppress the dmesg output ;-) ?
q66:
yeah, i don't think it will help.
running:
nvram -p ibm,skiboot --update-config fast-reset=0
as root on your OS (need powerpc-utils installed) will make your reboots slower, but it should mitigate the problem.
FlyingBlackbird:
--- Quote from: q66 on February 01, 2020, 04:21:24 pm ---nvram -p ibm,skiboot --update-config fast-reset=0
as root on your OS (need powerpc-utils installed) will make your reboots slower, but it should mitigate the problem.
--- End quote ---
I have already tried this but with no reliable success - even cold starts don't help sometimes.
I suspect a kind of non-deterministic "race condition" (very difficult to diagnose from the logs -ideas welcome since I can reproduce the problem quite often ;-)
Navigation
[0] Message Index
[#] Next page
Go to full version