linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Daniel Schroeder <sec@dschroeder.info>
Cc: linux-ide@vger.kernel.org
Subject: Re: device error via SDB FIS
Date: Sat, 30 Jun 2007 17:22:47 -0400	[thread overview]
Message-ID: <4686C9A7.1070309@garzik.org> (raw)
In-Reply-To: <46868E82.8010906@dschroeder.info>

Daniel Schroeder wrote:
> hello list,
> 
> i do not know, what this could mean, but i have never seen it before.
> System is 2.6.22-rc6, sil3132, samsung hd501lj (new hd under 10 power on 
> hours)
> 
> time line:
> 1: power on (single esata enclosure)
> 2: system recognizes and configures the disk
> 3: mount disk
> 4: use disk
> 5: device error via SDB FIS
> 6: mount is still there, everything looks good except of this entry in logs
> 
> <quote>
> ata3: exception Emask 0x10 SAct 0x0 SErr 0x80000 action 0x2 frozen
> ata3: (irq_stat 0x01140010, PHY RDY changed)
> ata3: soft resetting port
> ata3: SATA link down (SStatus 0 SControl 300)
> ata3: EH complete
> ata3: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x2 frozen
> ata3: (irq_stat 0x00b00090, PHY RDY changed)
> ata3: soft resetting port
> ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata3.00: ata_hpa_resize 1: sectors = 976773168, hpa_sectors = 976773168
> ata3.00: ATA-8: SAMSUNG HD501LJ, CR100-10, max UDMA7
> ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
> ata3.00: ata_hpa_resize 1: sectors = 976773168, hpa_sectors = 976773168
> ata3.00: configured for UDMA/100
> ata3: EH complete
> scsi 2:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 PQ: 0 
> ANSI: 5
> sd 2:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
> sd 2:0:0:0: [sdc] Write Protect is off
> sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
> sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
> sd 2:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB)
> sd 2:0:0:0: [sdc] Write Protect is off
> sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
> sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't 
> support DPO or FUA
> sdc: sdc1
> sd 2:0:0:0: [sdc] Attached SCSI disk
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on dm-4, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> ata3.00: exception Emask 0x0 SAct 0x2ef SErr 0x0 action 0x0
> ata3.00: (irq_stat 0x00020002, device error via SDB FIS)
> ata3.00: cmd 61/28:30:17:83:68/00:00:1f:00:00/40 tag 6 cdb 0x0 data 
> 20480 out
>         res 51/04:30:17:83:68/50:04:1f:00:00/40 Emask 0x1 (device error)

Command 0x61 is FPDMA WRITE (NCQ WRITE).

Error 0x04 is 'command aborted'.

Not much the driver can do but follow what the device is telling us...

If you disable NCQ, presumably this should go away.

	Jeff




  parent reply	other threads:[~2007-06-30 21:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30 17:10 device error via SDB FIS Daniel Schroeder
2007-06-30 17:12 ` Justin Piszcz
2007-06-30 21:12   ` Daniel Schroeder
2007-06-30 21:14     ` Justin Piszcz
2007-06-30 21:22 ` Jeff Garzik [this message]
2007-06-30 21:33   ` Justin Piszcz
2007-06-30 21:42   ` Daniel Schroeder
2007-06-30 21:46     ` Jeff Garzik

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=4686C9A7.1070309@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=sec@dschroeder.info \
    /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;
as well as URLs for NNTP newsgroup(s).