From: Marcin Juszkiewicz <openembedded@haerwu.biz>
To: Tejun Heo <htejun@gmail.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>, linux-ide@vger.kernel.org
Subject: Re: Re-enabling Serial ATA ports possible?
Date: Fri, 26 Oct 2007 14:51:15 +0200 [thread overview]
Message-ID: <200710261451.17154.openembedded@haerwu.biz> (raw)
In-Reply-To: <4721B7EB.7010209@gmail.com>
Dnia piątek, 26 października 2007, Tejun Heo napisał:
> Marcin Juszkiewicz wrote:
> > /dev/sr0:
> >
> > ATAPI CD-ROM, with removable media
> > Model Number: TSSTcorpCD/DVDW SH-S183A
> I have the same one. Do you have a reliable scenario to trigger the
> problem so that I can try to reproduce it here?
Sometimes it is just boot and wait (there was no usage of drive at all):
[ 104.015912] usb0: no IPv6 routers present
[ 1916.018636] ata6.00: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0xa frozen
[ 1916.018642] ata6: SError: { PHYRdyChg 10B8B }
[ 1916.018648] ata6.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
[ 1916.018649] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x14 (ATA bus error)
[ 1916.018652] ata6.00: status: { DRDY }
[ 1916.018659] ata6: hard resetting link
[ 1917.122120] ata6: SATA link down (SStatus 1 SControl 310)
[ 1917.122131] ata6: failed to recover some devices, retrying in 5 secs
[ 1919.619573] ata6: hard resetting link
[ 1920.721232] ata6: SATA link down (SStatus 1 SControl 310)
[ 1920.721245] ata6.00: limiting speed to UDMA/33:PIO3
[ 1920.721248] ata6: failed to recover some devices, retrying in 5 secs
[ 1923.218697] ata6: hard resetting link
[ 1924.319358] ata6: SATA link down (SStatus 1 SControl 310)
[ 1924.319369] ata6.00: disabled
[ 1924.569558] ata6: EH complete
[ 1924.569602] sr 5:0:0:0: rejecting I/O to offline device
[ 1924.569658] ata6.00: detaching (SCSI 5:0:0:0)
> >> Also, you can trigger rescan by "echo - - -
> >> /sys/class/scsi_host/hostX/scan".
> >
> > This does not worked here - I mean it found only online drives not
> > offline dvd/rw drive.
>
> From the log, it seems PHY went down completely. The device probably
> needs power removed and reapplied to get out of the lock up. Nothing
> much software can do.
This time it worked (log below). Should I check power supply and replace
it if needed?
[ 6760.345046] ata6: exception Emask 0x10 SAct 0x0 SErr 0x90000 action 0xb
[ 6760.345053] ata6: SError: { PHYRdyChg 10B8B }
[ 6760.345064] ata6: hard resetting link
[ 6760.380877] sd 4:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
[ 6760.394034] sd 4:0:0:0: [sdb] Write Protect is off
[ 6760.394039] sd 4:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 6760.394073] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6761.189114] ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 6761.330641] ata6.00: ATAPI: TSSTcorpCD/DVDW SH-S183A, SB02, max UDMA/33
[ 6761.330646] ata6.00: applying bridge limits
[ 6761.473567] ata6.00: configured for UDMA/33
[ 6761.473579] ata6: EH complete
[ 6761.476735] scsi 5:0:0:0: CD-ROM TSSTcorp CD/DVDW SH-S183A SB02 PQ: 0 ANSI: 5
[ 6761.494702] sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 6761.494763] sr 5:0:0:0: Attached scsi CD-ROM sr0
[ 6761.494801] sr 5:0:0:0: Attached scsi generic sg6 type 5
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
Reincarnation: Life sucks, then you die. Then life sucks again.
next prev parent reply other threads:[~2007-10-26 12:51 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
2007-10-26 9:18 ` Marcin Juszkiewicz
2007-10-26 9:48 ` Tejun Heo
2007-10-26 12:51 ` Marcin Juszkiewicz [this message]
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=200710261451.17154.openembedded@haerwu.biz \
--to=openembedded@haerwu.biz \
--cc=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=mikpe@it.uu.se \
/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).