Bug 235092 - [ahci] Intel Sunrise Point AHCI (Intel C236), CAM ATA Status Error, with ctld (iSCSI)
Summary: [ahci] Intel Sunrise Point AHCI (Intel C236), CAM ATA Status Error, with ctld...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.2-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-20 22:16 UTC by lexxai
Modified: 2019-01-21 18:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lexxai 2019-01-20 22:16:51 UTC
Used:

FreeBSD 11.2-STABLE #0 r325575+fc3d65faae6(HEAD): Thu Dec 20 16:12:30 EST 2018     root@nemesis.tn.ixsystems.com:/freenas-releng-final/freenas/_BE/objs/freenas-releng-final/freenas/_BE/os/sys/FreeNAS.amd64  amd64

MB: ASUS P10S-E/4L (Intel® C236), 32G RAM ECC.
CPU: Intel(R) Xeon(R) CPU E3-1230 v5
Disks SATA, WD RE 2TB. 
ZFS, RAID Z2, 8 disks.

On the topic of the FreeNAS forum, I raised the issue of using an HDD in a ZFS pool using the Intel Sunrise Point AHCI Controller (Intel C236). If I start using the iscsi service (ctld - CAM Target Layer / iSCSI target daemon) then I can get chaotic mistakes from different disks.

Have errors with:
Jan  2 21:33:40 nas (ada5:ahcich5:0:0:0): Retrying command
Jan  2 21:33:43 nas (ada7:ahcich7:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 0d d8 42 6a 40 78 00 00 00 00 00
Jan  2 21:33:43 nas (ada7:ahcich7:0:0:0): CAM status: ATA Status Error
Jan  2 21:33:43 nas (ada7:ahcich7:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
Jan  2 21:33:43 nas (ada7:ahcich7:0:0:0): RES: 41 10 d8 42 6a 00 78 00 00 00 00
Jan  2 21:33:43 nas (ada7:ahcich7:0:0:0): Retrying command
Jan  2 21:33:43 nas (ada6:ahcich6:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 02 b1 97 6a 40 78 00 00 00 00 00
Jan  2 21:33:43 nas (ada6:ahcich6:0:0:0): CAM status: ATA Status Error

Restarting the server does not resolve the issue with "CAM status: ATA Status Error." Just turning off the server and turning the power on solves the problem.


When I start use external SAS controller "LSI 3008 in IT mode", now no any errors with disk. 
If start use again AHCI controller Intel Sunrise Point , CAM errors back.

https://forums.freenas.org/index.php?threads/by-start-use-iscsi-service-on-freenas-core-system-start-pull-errors-device-ata-error-count-increased-if-used-achi-of-intel-c236.72519/

Vendor support say that FreeBSD not in "ASUSTek Server Platform Supported OS List" - https://dlcdnets.asus.com/pub/ASUS/mb/socket1151/P10S-X/QVL/P10S_Series_OS_Support_List_2017.pdf

Does the Intel Sunrise Point AHCI Controller have any problems with FreeBSD?
Comment 1 Bob Bishop 2019-01-21 10:55:02 UTC
(In reply to lexxai from comment #0)

We have a system running a ZFS mirror on Intel S1200SPO m/b with Sunrise Point AHCI with no problems. But not using iSCSI.

Is there a BIOS update to try?
Comment 2 lexxai 2019-01-21 18:58:32 UTC
(In reply to Bob Bishop from comment #1)

If not use iSCSI , with SAMBA and zfs scrub all OK.

Latest BIOS, tested on two same m/b.