NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52372: various SATA controllers throwing 'setting WDCTL_RST failed'
The following reply was made to PR kern/52372; it has been noted by GNATS.
From: Petar Bogdanovic <petar%smokva.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: jdolecek%NetBSD.org@localhost
Subject: Re: kern/52372: various SATA controllers throwing 'setting WDCTL_RST
failed'
Date: Sat, 9 Dec 2017 19:24:22 +0100
jaromir.dolecek%gmail.com@localhost wrote:
>
> Can you try if attached patch makes any difference? It merely changes the
> timeout for the command to 1s. It's not likely the problem since the
> attached devices are supposed to be fast (SSD and very recent WD disks).
Patch managed to get 2 out of 4 drives up; or 3 out of 5 if we count the
ghost-device at port 7:
ahcisata0 port 0: device present, speed: 6.0Gb/s
ahcisata0 port 1: device present, speed: 6.0Gb/s
ahcisata0 port 7: device present, speed: 1.5Gb/s
ahcisata0 port 3: device present, speed: 6.0Gb/s
ahcisata0 port 2: device present, speed: 6.0Gb/s
ahcisata0 channel 2: clearing WDCTL_RST failed for drive 0
ahcisata0 channel 3: clearing WDCTL_RST failed for drive 0
wd0 at atabus0 drive 0
wd0: <Samsung SSD 840 EVO 500GB>
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd1 at atabus1 drive 0
wd1: <WDC WD60EZRZ-00GZ5B1>
wd1: 5589 GB, 11628021 cyl, 16 head, 63 sec, 512 bytes/sect x 11721045168 sectors
https://smokva.net/wdctl_rst/dmesg-nbC_1.txt (full dmesg)
So rootfs is up but since wd[23] are missing, rf setup fails.
> Other thing to check, is the controller set to 'AHCI' mode in BIOS and not
> RAID or 'compatible' or some such?
In the adapter-BIOS, I see:
"HBA 0: Marvell 0"
-> "Configure SATA as: AHCI Mode"
(I just checked netbsd-7, same issue)
Home |
Main Index |
Thread Index |
Old Index