NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53524: ahcisata0 channel 0: clearing WDCTL_RST failed
The following reply was made to PR kern/53524; it has been noted by GNATS.
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/53524: ahcisata0 channel 0: clearing WDCTL_RST failed
Date: Mon, 17 Sep 2018 09:23:26 +0100
I experienced something similar on another Ryzen based system
(Asus Prime X370-PRO) in:
http://mail-index.netbsd.org/port-amd64/2018/08/24/msg002744.html
A working system with 6 SATA disks developed
ahcisata0 channel 3: timeout sending FIS
autoconfiguration error: ahcisata0 channel 3: clearing WDCTL_RST failed for drive 15
on all drives after a BIOS update from version 3803 to 4012.
Martin's suggestion in this PR allows me to boot as before.
Index: ahcisata_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/ahcisata_pci.c,v
retrieving revision 1.38
diff -u -r1.38 ahcisata_pci.c
--- ahcisata_pci.c 13 Oct 2016 17:11:09 -0000 1.38
+++ ahcisata_pci.c 17 Sep 2018 08:17:56 -0000
@@ -49,6 +49,7 @@
};
static const struct ahci_pci_quirk ahci_pci_quirks[] = {
+ { PCI_VENDOR_AMD, 0x43b5, AHCI_QUIRK_SKIP_RESET },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA,
AHCI_PCI_QUIRK_FORCE | AHCI_QUIRK_BADPMP },
{ PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_MCP65_SATA2,
Changing the timeout in
https://nxr.netbsd.org/xref/src/sys/dev/ic/ahcisata_core.c#820
from 310 to 620 didn't help. Oddly, after a cold boot, I see no disks
on ahcisata0. (I always see the M.2 disk on ahcisata1 - AMD product 7901.)
On (warm) reboot, some of the disks manage to reset.
Home |
Main Index |
Thread Index |
Old Index