Re: Re-enabling Serial ATA ports possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux