linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Re-enabling Serial ATA ports possible?
@ 2007-10-17 12:51 Mikael Pettersson
  2007-10-26  2:23 ` Tejun Heo
  0 siblings, 1 reply; 7+ messages in thread
From: Mikael Pettersson @ 2007-10-17 12:51 UTC (permalink / raw)
  To: linux-ide, openembedded

On Wed, 17 Oct 2007 14:38:04 +0200, Marcin Juszkiewicz wrote:
> On my system (2.6.23-rc9) I have Serial-ATA DVD/RW drive connected 
> to sata_sil controller. Sometimes when there is a problem with CD
> or DVD disk controller shutdowns drive:
> 
> [53560.095573] cdrom: sr0: mrw address space DMA selected
> [53561.001946] ISO 9660 Extensions: Microsoft Joliet Level 3
> [53561.002777] ISOFS: changing to secondary root
> [53621.380238] ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0x2
> [53621.380249] ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
> [53621.380252]          res 51/60:03:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
> [53621.380263] ata6: hard resetting port
> [53623.783961] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> [53642.595278] ata6.00: qc timeout (cmd 0xa1)
> [53642.595285] ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> [53642.595288] ata6.00: revalidation failed (errno=-5)
> [53642.595292] ata6: failed to recover some devices, retrying in 5 secs
> [53645.092046] ata6: hard resetting port
> [53646.193870] ata6: SATA link down (SStatus 1 SControl 310)
> [53646.193881] ata6.00: limiting speed to UDMA/25:PIO3
> [53646.193884] ata6: failed to recover some devices, retrying in 5 secs
> [53648.690501] ata6: hard resetting port
> [53649.792323] ata6: SATA link down (SStatus 1 SControl 310)
> [53649.792333] ata6.00: disabled
> [53650.042442] ata6: EH pending after completion, repeating EH (cnt=4)
> [53650.042459] ata6: EH complete
> [53650.042512] sr 6:0:0:0: rejecting I/O to offline device
> [53650.042518] sr 6:0:0:0: rejecting I/O to offline device
> [53650.042522] sr 6:0:0:0: rejecting I/O to offline device
> [53650.042536] sr 6:0:0:0: rejecting I/O to offline device
> [53650.042632] ata6.00: detaching (SCSI 6:0:0:0)
> 
> Is there a way to re-enable ata6.00 in other way then power down/power up
> whole machine? Looks like reboot is not a way to get it working again.

If the driver supports SATA hotplugging, then removing the cable, waiting
for libata EH to complete, and then inserting it again, should do the trick.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re-enabling Serial ATA ports possible?
@ 2007-10-17 12:38 Marcin Juszkiewicz
  0 siblings, 0 replies; 7+ messages in thread
From: Marcin Juszkiewicz @ 2007-10-17 12:38 UTC (permalink / raw)
  To: linux-ide


Hi

On my system (2.6.23-rc9) I have Serial-ATA DVD/RW drive connected 
to sata_sil controller. Sometimes when there is a problem with CD
or DVD disk controller shutdowns drive:

[53560.095573] cdrom: sr0: mrw address space DMA selected
[53561.001946] ISO 9660 Extensions: Microsoft Joliet Level 3
[53561.002777] ISOFS: changing to secondary root
[53621.380238] ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0x2
[53621.380249] ata6.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
[53621.380252]          res 51/60:03:00:00:00/00:00:00:00:00/a0 Emask 0x10 (ATA bus error)
[53621.380263] ata6: hard resetting port
[53623.783961] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[53642.595278] ata6.00: qc timeout (cmd 0xa1)
[53642.595285] ata6.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[53642.595288] ata6.00: revalidation failed (errno=-5)
[53642.595292] ata6: failed to recover some devices, retrying in 5 secs
[53645.092046] ata6: hard resetting port
[53646.193870] ata6: SATA link down (SStatus 1 SControl 310)
[53646.193881] ata6.00: limiting speed to UDMA/25:PIO3
[53646.193884] ata6: failed to recover some devices, retrying in 5 secs
[53648.690501] ata6: hard resetting port
[53649.792323] ata6: SATA link down (SStatus 1 SControl 310)
[53649.792333] ata6.00: disabled
[53650.042442] ata6: EH pending after completion, repeating EH (cnt=4)
[53650.042459] ata6: EH complete
[53650.042512] sr 6:0:0:0: rejecting I/O to offline device
[53650.042518] sr 6:0:0:0: rejecting I/O to offline device
[53650.042522] sr 6:0:0:0: rejecting I/O to offline device
[53650.042536] sr 6:0:0:0: rejecting I/O to offline device
[53650.042632] ata6.00: detaching (SCSI 6:0:0:0)

Is there a way to re-enable ata6.00 in other way then power down/power up
whole machine? Looks like reboot is not a way to get it working again.

Drive is found as:
 
[   96.858283] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[   97.012480] ata6.00: ATAPI: TSSTcorpCD/DVDW SH-S183A, SB02, max UDMA/33
[   97.012482] ata6.00: applying bridge limits
[   97.169126] ata6.00: configured for UDMA/33

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

         You can close your eyes to reality, but not to memories.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-29  3:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-17 12:51 Re-enabling Serial ATA ports possible? Mikael Pettersson
2007-10-26  2:23 ` Tejun Heo
2007-10-26  9:18   ` Marcin Juszkiewicz
2007-10-26  9:48     ` Tejun Heo
2007-10-26 12:51       ` Marcin Juszkiewicz
2007-10-29  3:22         ` Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2007-10-17 12:38 Marcin Juszkiewicz

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).