tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New "ahcisata0 port 1: device present" messages with NetBSD 9



(maybe I should also put this into the PR)

>     ahcisata0 port 1: device present, speed: 3.0Gb/s
> 
> for the two attached SSDs, seemingly triggered by disk activity.  These
> SSDs are running as a RAIDframe mirror.  Unpacking the 9.0_RC1 sets with
> the new kernel triggered around 50 of these, as well as a few "soft
> error (corrected)" messages like these:
> 
>     wd0a: error writing fsbn 15440256 of 15440256-15440271 (wd0 bn 15452544; cn 15329 tn 14 sn 30), xfer 330, retry 0
 :
> Second, can this be fixed assuming it's a software issue? :)

I have similar problems, as filed in PR/54790.
 https://gnats.netbsd.org/54790

No "ahcisata0 port 1: device present, speed: 3.0Gb/s"
but many soft errors.  No error on NetBSD 8.1 GENERIC.

The problem here doesn't happen once after disabling NCQ by
"hw.wd2.use_ncq=0" in /etc/sysctl.conf.

One interesting point:

Yours are
> wd0: <Samsung SSD 860 EVO 1TB>
> wd0: drive supports 1-sector PIO transfers, LBA48 addressing
> wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

Mine is also Samsung SSD 860 EVO:
> wd2: <Samsung SSD 860 EVO 500GB>
> wd2: drive supports 1-sector PIO transfers, LBA48 addressing
> wd2: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
> wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> wd2(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

No errors on the following drives on my other machine:
> wd0 at atabus0 drive 0
> wd0: <TS1TSSD230S>
> wd0: drive supports 2-sector PIO transfers, LBA48 addressing
> wd0: 953 GB, 1984533 cyl, 16 head, 63 sec, 512 bytes/sect x 2000409264 sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

> wd1 at atabus1 drive 0
> wd1: <INTEL SSDSC2CT240A4>
> wd1: drive supports 16-sector PIO transfers, LBA48 addressing
> wd1: 223 GB, 465141 cyl, 16 head, 63 sec, 512 bytes/sect x 468862128 sectors
> wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
> wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)

There might be some device quirk around NCQ of Samsung SSD 860 EVO?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index