Bug 181441 - [ahci] Asmedia ASM1061 Times out with AHCI driver
Summary: [ahci] Asmedia ASM1061 Times out with AHCI driver
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.2-BETA1
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 03:00 UTC by John Hickey
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hickey 2013-08-21 03:00:00 UTC
When using the ahci driver instead of the ata driver, my drive times out on an Asmedia 1061 controller.

ahcich0: Timeout on slot 0 port 0
ahcich0: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd 451 serr 00000000 cmd 0004c017 
ahcich0: AHCI reset...                                                          
ahcich0: SATA connect time=1000us status=00000123                               
ahcich0: AHCI reset: device found                                               
(aprobe0:ahcich0:0:0:0): SET_MULTI. ACB: c6 00 00 00 00 40 00 00 00 00 10 00    
(aprobe0:ahcich0:0:0:0): CAM status: Command timeout                            
(aprobe0:ahcich0:0:0:0): Error 5, Retry was blocked                             
ahcich0: AHCI reset: device ready after 100ms                                   


From a kernel with the ahci driver disabled, here is the pci information for the card:

atapci0@pci0:13:0:0:	class=0x010601 card=0x10601b21 chip=0x06121b21 rev=0x01 hdr=0x00

Fix: 

This setup has been running fine for over a year using the ata driver instead of ahci.
How-To-Repeat: Boot a system with an asmedia 1061 controller and the ahci driver enabled.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:41 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped