[Bug 229745] ahcich: CAM status: Command timeout

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 7 07:36:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229745

--- Comment #20 from sec <szczepan at 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=1
kern.cam.ada.write_cache=0

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 rid 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 01 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 was
generating on the pool.

If needed I can provide more debug output.

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


More information about the freebsd-bugs mailing list