Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2024 22:39:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229745] ahcich: CAM status: Command timeout
Message-ID:  <bug-229745-227-YQwyyrAR5O@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

Kevin Zheng <kevinz5000@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevinz5000@gmail.com

--- Comment #73 from Kevin Zheng <kevinz5000@gmail.com> ---
Hi there, sorry to resurrect a long-closed thread. I ran into a similar:

ahcich3: Timeout on slot 7 port 0
ahcich3: is 00000000 cs 00000080 ss 00000000 rs 00000080 tfd c0 serr 000000=
00
cmd 0000c717
(ada1:ahcich3:0:0:0): FLUSHCACHE48. ACB: ea 00 00 00 00 40 00 00 00 00 00 00
(ada1:ahcich3:0:0:0): CAM status: Command timeout
(ada1:ahcich3:0:0:0): Retrying command, 0 more tries remain
ahcich3: AHCI reset: device not ready after 31000ms (tfd =3D 00000080)
ahcich3: Timeout on slot 8 port 0
ahcich3: is 00000000 cs 00000000 ss 00000000 rs 00000100 tfd 150 serr 00000=
000
cmd 0000c817
(aprobe0:ahcich3:0:0:0): ATA_IDENTIFY. ACB: ec 00 00 00 00 40 00 00 00 00 0=
0 00
(aprobe0:ahcich3:0:0:0): CAM status: Command timeout
(aprobe0:ahcich3:0:0:0): Retrying command, 0 more tries remain
ahcich3: AHCI reset: device not ready after 31000ms (tfd =3D 00000080)
...
GEOM_ELI: Device ada1p4.eli destroyed.
GEOM_ELI: Detached ada1p4.eli on last close.
(ada1:ahcich3:0:0:0): Periph destroyed

I'm running 14.0-RELEASE-p3 GENERIC amd64 on a Dell consumer-grade motherbo=
ard.
The HDD that is timing out is a Seagate Barracuda 7200.12.

I also suspect that there is a hardware issue, but the reason I'm reporting
this is that I have this set up in a zfs mirror on top of GELI drives where=
 I
expect FreeBSD to not block all disk I/O waiting for this disk that is timi=
ng
out. Instead what happens is that the whole system feels like it's hanging
(probably on I/O) while the device that is timing out is eventually detache=
d.

Perhaps this timeout needs to be made much shorter, or a timeout on a single
SATA device to not stall all I/O to this zpool? (I'm not even sure what
subsystem this is stalling, is it at the ZFS/GELI/CAM level?)

Thanks for your consideration.

--=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-YQwyyrAR5O>