Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2019 07:36:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229745] ahcich: CAM status: Command timeout
Message-ID:  <bug-229745-227-ZcbJ84aiyp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229745-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229745-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229745

--- Comment #20 from sec <szczepan@szczepan.net> ---
(In reply to sec from comment #19)
Ok, so I tried to downgrade pool to 11.1 - didn't helped.
Then I also started to get those errors with only one drive connected (which
was fine before).
Also tried to boot on 12.0R, same issue.

Weird thing is, that sometimes drives are OK, they resilver without any
problems, then after some read/write, timeout starts to show up:

In the end I tried something I think I've tried before. I've added those to
/boot/loader.conf and power cycle:
vfs.zfs.cache_flush_disable=3D1
kern.cam.ada.write_cache=3D0

And started to stress test - no errors.
Then I commented out the "write_cache" - no errors.
Commented out "cache_flush" - errors back again (I think I've tried that one
already, and got errors, but this time looks fine, fingers crossed).

So right know I'm running with cache_flush disabled - hope this will get ri=
d of
those errors until some proper fix is done.

Errors I was getting was something like that:
(ada2:ahcich2:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 00 b0 00 20 40 4c 00 00 0=
1 00
00
(ada2:ahcich2:0:0:0): CAM status: ATA Status Error
(ada2:ahcich2:0:0:0): ATA status: 41 (DRDY ERR), error: 10 (IDNF )
(ada2:ahcich2:0:0:0): RES: 41 10 b0 00 20 00 4c 00 00 00 00
(ada2:ahcich2:0:0:0): Retrying command

There were also READ and FLUSHCACHE48 errors - this depends on the load I w=
as
generating on the pool.

If needed I can provide more debug output.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229745-227-ZcbJ84aiyp>