ata qc timeout messages should also print the timeout duration

Solution Unverified - Updated -

Issue

  • When a HDD on an AHCI controller is starting to fail, the following kernel messages may be observed:

    66192 [Wed Apr  1 13:37:59 2020] ata1.00: qc timeout (cmd 0xef)
    66193 [Wed Apr  1 13:37:59 2020] ata1.00: failed to set xfermode (err_mask=0x4)
    66194 [Wed Apr  1 13:37:59 2020] ata1: hard resetting link
    
  • The qc timeout message does not display the actual duration of the timeout.

  • It is valuable to see how long the timeouts are in order to further diagnose problems.

Environment

  • Red Hat Enterprise Linux (RHEL) 8.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content