mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Mike Robak <mrobak@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: libATA error message doc
Date: Wed, 03 Oct 2007 13:54:35 -0400	[thread overview]
Message-ID: <4703D75B.6070608@garzik.org> (raw)
In-Reply-To: <2b40bfd30710031039y70252a8bk898b102c993a92af@mail.gmail.com>

Mike Robak wrote:
> Does a doc exist that provides a detailed description of the different
> errors that could be produced by libata and its associated drivers?
> The libATA developer's guide provides a very good general description
> of the types of messages, but I'm looking for more detail.
> 
> For example I got this error message last week:
> 
> Sep 27 17:29:26 server kernel: ata2.00: exception Emask 0x0 SAct 0x0
> SErr 0x0 action 0x1
> Sep 27 17:29:26 server kernel: ata2.00: (irq_stat 0x40000001)
> Sep 27 17:29:26 server kernel: ata2.00: tag 0 cmd 0xb0 Emask 0x1 stat
> 0x51 err 0x4 (device error)
> 
> I'd like to know what the following items means?
> 
> (irq_stat 0x40000001)
> tag 0
> cmd 0xb0
> emask 0x1
> stat 0x51
> err 0x4

It's pretty much all defined in the ATA or controller specifications...

Well, except for emask, which is a libata-only invention.

	Jeff




  reply	other threads:[~2007-10-03 17:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 17:39 Mike Robak
2007-10-03 17:54 ` Jeff Garzik [this message]
2007-10-03 18:24 ` Alan Cox
2007-10-05 19:13   ` Andi Kleen
2007-10-05 20:51     ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4703D75B.6070608@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mrobak@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®