From: Tejun Heo <htejun@gmail.com>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linux-ide@vger.kernel.org, openembedded@haerwu.biz
Subject: Re: Re-enabling Serial ATA ports possible?
Date: Fri, 26 Oct 2007 11:23:27 +0900 [thread overview]
Message-ID: <47214F9F.50306@gmail.com> (raw)
In-Reply-To: <200710171251.l9HCpCv7021811@harpo.it.uu.se>
Mikael Pettersson wrote:
> 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
Care to post full boot log and the result of "hdparm -I /dev/sr0"?
>> 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.
You don't have to wait till EH finishes. As long as PHY event is
generated, EH should do the right thing. Also, you can trigger rescan
by "echo - - - > /sys/class/scsi_host/hostX/scan".
--
tejun
next prev parent reply other threads:[~2007-10-26 2:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 12:51 Re-enabling Serial ATA ports possible? Mikael Pettersson
2007-10-26 2:23 ` Tejun Heo [this message]
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
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=47214F9F.50306@gmail.com \
--to=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=openembedded@haerwu.biz \
/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).