I saw in Jeff Garzik the link to http://www.t13.org/ for the ata 's documentation. Unfortunately , I do seem to be able to correlate the errors in the specs to the errors appear in dmesg. If you would be kind to direct me a little, I would write a code that dumps more information, something like ata_error err = <error code > utility. thank you On Jan 21, 2008 10:04 AM, Tejun Heo <htejun@xxxxxxxxx> wrote: > > 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 > -- Raz - 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