Re: ata error codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Raz wrote:
> Mr Garzik Hello
> ata errors are some times cryptic. I am refering to this line, in the
> ata_qc_timeout which holds lots of information.
> printk(KERN_ERR "ata%u: command 0x%x timeout, stat 0x%x host_stat 0x%x\n",
>  ap->id,
>  qc->tf.command,
>  drv_stat,
>  host_stat)
> 
> These errors varries , and many times SMART cannot help. Is there a
> repository for these error codes, (  ata_dump_status isn't enough ).
> Is there an API to get these error codes translated to human readable format ?
> thank you

Those values are directly from hardware registers and can be decoded
with information from ATA and SFF specs.  It could be nice to have
decoded strings but I'm not too sure.  Even when decoded, they're pretty
cryptic and don't carry too much information by themselves.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux