Re: Intermittent SATA link down SStatus 0

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

 



> On Thu, 21 Jan 2010 10:57:39 -0500
> "Paul Check" <paul@xxxxxxxxxxxx> wrote:
>
>> I am having an intermittent problem:
>>
>> ata1.01: SATA link down (SStatus 0 SControl 301)
>>
>> which is causing one of my four hard drives to not get recognized.
>>
>> This happens on ata1.01, ata2.00 or ata2.01, although it seems to happen
>> more on the 01 channels, I believe.  My motherboard is an ASUS P6T
>> Deluxe
>> V2, with the Marvel 88SE61XX ATA controller.
>
> My first suspect would be power - that's a drive dropping off the link by
> the look of it. One thing you could try is swapping the cables over
> (first the SATA and then the power) and seeing if the problem moves with
> either.
>
> Do you get other errors (in particular a message about resetting) just
> before the link down error?

Hey Alan. Thanks for the reply (and much appreciated your work on Linux
over the years).

No other errors that I can see. I've attached the output from kern.log
from the last time the link was down below (I don't want to clutter this
area).  I've included the kern.log file from the point where "SCSI system
initialized (new line) libata version 3.00 loaded" down to the last sd /sr
messages.

I'm not sure if our messages crossed, but the problem occurs
intermittently on both sets of drives, and they have separate power
cables.  The power supply is Antec CP-850. I have checked both the power
and sata cables.

>> Would deselecting the pata_marvell likely get rid of this problem? The
>> descriptor says:
>
> Probably not. The Marvell situation is this (ignoring Jeff's devel driver
> whose state I'm not sure of)
>
> PATA_MARVELL - can drive SATA and PATA ports but without all the extra
> features
> AHCI - can drive Marvell SATA fully featured but not the PATA at all.
>
> The kernel tries to select the AHCI driver if it sees no PATA drive is
> present. So you can turn it off on a SATA only box but I'd expect no
> change.
>
>> As I look through kern.log I see that the numbering on the ATA channels
>> is
>> not always consistent.  For example, sometimes the Seagates come on
>> ata3.00, ata3.01, ata4.00 and ata4.01. Is this usual, or indicating a
>> problem with the controller/driver?

>
> Difficult to tell without more info.

Here is the kern.log from the last time the link failed.  Any other
thoughts?  Regards, Paul


Jan 21 01:33:50 min kernel: [    1.298419] SCSI subsystem initialized
Jan 21 01:33:50 min kernel: [    1.307312] libata version 3.00 loaded.
Jan 21 01:33:50 min kernel: [    1.308742] ata_piix 0000:00:1f.2: version
2.13
Jan 21 01:33:50 min kernel: [    1.308750]   alloc irq_desc for 20 on node 0
Jan 21 01:33:50 min kernel: [    1.308751]   alloc kstat_irqs on node 0
Jan 21 01:33:50 min kernel: [    1.308755] ata_piix 0000:00:1f.2: PCI INT
B -> GSI 20 (level, low) -> IRQ 20
Jan 21 01:33:50 min kernel: [    1.308759] ata_piix 0000:00:1f.2: MAP [ P0
P2 P1 P3 ]
Jan 21 01:33:50 min kernel: [    1.308785] ata_piix 0000:00:1f.2: setting
latency timer to 64
Jan 21 01:33:50 min kernel: [    1.308816] scsi0 : ata_piix
Jan 21 01:33:50 min kernel: [    1.308907] scsi1 : ata_piix
Jan 21 01:33:50 min kernel: [    1.310237] ata1: SATA max UDMA/133 cmd
0x8000 ctl 0x7c00 bmdma 0x7480 irq 20
Jan 21 01:33:50 min kernel: [    1.310241] ata2: SATA max UDMA/133 cmd
0x7880 ctl 0x7800 bmdma 0x7488 irq 20
Jan 21 01:33:50 min kernel: [    1.310268] ata_piix 0000:00:1f.5: PCI INT
B -> GSI 20 (level, low) -> IRQ 20
Jan 21 01:33:50 min kernel: [    1.310272] ata_piix 0000:00:1f.5: MAP [ P0
-- P1 -- ]
Jan 21 01:33:50 min kernel: [    1.310297] ata_piix 0000:00:1f.5: setting
latency timer to 64
Jan 21 01:33:50 min kernel: [    1.310321] scsi2 : ata_piix
Jan 21 01:33:50 min kernel: [    1.310390] scsi3 : ata_piix
Jan 21 01:33:50 min kernel: [    1.311419] ata3: SATA max UDMA/133 cmd
0x9000 ctl 0x8c00 bmdma 0x8480 irq 20
Jan 21 01:33:50 min kernel: [    1.311422] ata4: SATA max UDMA/133 cmd
0x8880 ctl 0x8800 bmdma 0x8488 irq 20
Jan 21 01:33:50 min kernel: [    1.342568] firewire_ohci: Added fw-ohci
device 0000:08:02.0, OHCI version 1.10
Jan 21 01:33:50 min kernel: [    1.360870] ahci 0000:05:00.0: version 3.0
Jan 21 01:33:50 min kernel: [    1.640689] ata4: SATA link down (SStatus 0
SControl 300)
Jan 21 01:33:50 min kernel: [    1.793866] ata3: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Jan 21 01:33:50 min kernel: [    1.801807] usb 1-5: new high speed USB
device using ehci_hcd and address 4
Jan 21 01:33:50 min kernel: [    1.802253] ata3.00: ATAPI: SONY    BDRW
BWU-300S, 1.0c, max UDMA/66
Jan 21 01:33:50 min kernel: [    1.822227] ata3.00: configured for UDMA/66
Jan 21 01:33:50 min kernel: [    1.837796] firewire_core: created device
fw0: GUID 001e8c0000b9c49a, S400
Jan 21 01:33:50 min kernel: [    1.933879] usb 1-5: New USB device found,
idVendor=0409, idProduct=005a
Jan 21 01:33:50 min kernel: [    1.933882] usb 1-5: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Jan 21 01:33:50 min kernel: [    1.933945] usb 1-5: configuration #1
chosen from 1 choice
Jan 21 01:33:50 min kernel: [    1.934096] hub 1-5:1.0: USB hub found
Jan 21 01:33:50 min kernel: [    1.934129] hub 1-5:1.0: 4 ports detected
Jan 21 01:33:50 min kernel: [    2.109345] ata1.00: SATA link up 3.0 Gbps
(SStatus 123 SControl 300)
Jan 21 01:33:50 min kernel: [    2.109358] ata1.01: SATA link down
(SStatus 0 SControl 301)
Jan 21 01:33:50 min kernel: [    2.117681] ata1.00: ATA-8: ST31000528AS,
CC37, max UDMA/133
Jan 21 01:33:50 min kernel: [    2.117685] ata1.00: 1953525168 sectors,
multi 16: LBA48 NCQ (depth 0/32)
Jan 21 01:33:50 min kernel: [    2.133663] ata1.00: configured for UDMA/133
Jan 21 01:33:50 min kernel: [    2.133752] scsi 0:0:0:0: Direct-Access    
ATA      ST31000528AS     CC37 PQ: 0 ANSI: 5
Jan 21 01:33:50 min kernel: [    2.173189] usb 2-1: new full speed USB
device using uhci_hcd and address 2
Jan 21 01:33:50 min kernel: [    2.181240] ata2.00: SATA link up 3.0 Gbps
(SStatus 123 SControl 300)
Jan 21 01:33:50 min kernel: [    2.181254] ata2.01: SATA link up 3.0 Gbps
(SStatus 123 SControl 320)
Jan 21 01:33:50 min kernel: [    2.201542] ata2.00: ATA-8: ST31000528AS,
CC37, max UDMA/133
Jan 21 01:33:50 min kernel: [    2.201546] ata2.00: 1953525168 sectors,
multi 16: LBA48 NCQ (depth 0/32)
Jan 21 01:33:50 min kernel: [    2.201791] ata2.01: ATA-8: ST31000528AS,
CC37, max UDMA/133
Jan 21 01:33:50 min kernel: [    2.201794] ata2.01: 1953525168 sectors,
multi 16: LBA48 NCQ (depth 0/32)
Jan 21 01:33:50 min kernel: [    2.217522] ata2.00: configured for UDMA/133
Jan 21 01:33:50 min kernel: [    2.233497] ata2.01: configured for UDMA/133
Jan 21 01:33:50 min kernel: [    2.233579] scsi 1:0:0:0: Direct-Access    
ATA      ST31000528AS     CC37 PQ: 0 ANSI: 5
Jan 21 01:33:50 min kernel: [    2.233669] scsi 1:0:1:0: Direct-Access    
ATA      ST31000528AS     CC37 PQ: 0 ANSI: 5
Jan 21 01:33:50 min kernel: [    2.235406] scsi 2:0:0:0: CD-ROM           
SONY     BDRW BWU-300S    1.0c PQ: 0 ANSI: 5
Jan 21 01:33:50 min kernel: [    2.237031] pata_marvell 0000:05:00.0: PCI
INT A -> GSI 16 (level, low) -> IRQ 16
Jan 21 01:33:50 min kernel: [    2.237049] pata_marvell 0000:05:00.0:
setting latency timer to 64
Jan 21 01:33:50 min kernel: [    2.237451] scsi4 : pata_marvell
Jan 21 01:33:50 min kernel: [    2.237530] scsi5 : pata_marvell
Jan 21 01:33:50 min kernel: [    2.237551] ata5: PATA max UDMA/100 cmd
0xcc00 ctl 0xc880 bmdma 0xc400 irq 16
Jan 21 01:33:50 min kernel: [    2.237553] ata6: PATA max UDMA/133 cmd
0xc800 ctl 0xc480 bmdma 0xc408 irq 16
Jan 21 01:33:50 min kernel: [    2.239264] sd 0:0:0:0: [sda] 1953525168
512-byte logical blocks: (1.00 TB/931 GiB)
Jan 21 01:33:50 min kernel: [    2.239289] sd 0:0:0:0: [sda] Write Protect
is off
Jan 21 01:33:50 min kernel: [    2.239290] sd 0:0:0:0: [sda] Mode Sense:
00 3a 00 00
Jan 21 01:33:50 min kernel: [    2.239303] sd 0:0:0:0: [sda] Write cache:
enabled, read cache: enabled, doesn't support DPO or FUA
Jan 21 01:33:50 min kernel: [    2.239338] sd 1:0:0:0: [sdb] 1953525168
512-byte logical blocks: (1.00 TB/931 GiB)
Jan 21 01:33:50 min kernel: [    2.239376]  sda:
Jan 21 01:33:50 min kernel: [    2.239384] sd 1:0:0:0: [sdb] Write Protect
is off
Jan 21 01:33:50 min kernel: [    2.239387] sd 1:0:0:0: [sdb] Mode Sense:
00 3a 00 00
Jan 21 01:33:50 min kernel: [    2.239476] sd 1:0:0:0: [sdb] Write cache:
enabled, read cache: enabled, doesn't support DPO or FUA
Jan 21 01:33:50 min kernel: [    2.239479] sd 1:0:1:0: [sdc] 1953525168
512-byte logical blocks: (1.00 TB/931 GiB)
Jan 21 01:33:50 min kernel: [    2.239501] sd 1:0:1:0: [sdc] Write Protect
is off
Jan 21 01:33:50 min kernel: [    2.239503] sd 1:0:1:0: [sdc] Mode Sense:
00 3a 00 00
Jan 21 01:33:50 min kernel: [    2.239524] sd 1:0:1:0: [sdc] Write cache:
enabled, read cache: enabled, doesn't support DPO or FUA
Jan 21 01:33:50 min kernel: [    2.239570]  sdb: sda1 sda2 sda3 sda4 <sr0:
scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw xa/form2 cdda tray
Jan 21 01:33:50 min kernel: [    2.245151] Uniform CD-ROM driver Revision:
3.20
Jan 21 01:33:50 min kernel: [    2.245246] sr 2:0:0:0: Attached scsi
CD-ROM sr0
Jan 21 01:33:50 min kernel: [    2.250328]  sdb1
Jan 21 01:33:50 min kernel: [    2.250394]  sdc: sda5
Jan 21 01:33:50 min kernel: [    2.260257] sd 1:0:0:0: [sdb] Attached SCSI
disk
Jan 21 01:33:50 min kernel: [    2.260265]  sdc1
Jan 21 01:33:50 min kernel: [    2.260448] sd 1:0:1:0: [sdc] Attached SCSI
disk
Jan 21 01:33:50 min kernel: [    2.275404]  sda6 >
Jan 21 01:33:50 min kernel: [    2.275626] sd 0:0:0:0: [sda] Attached SCSI
disk
Jan 21 01:33:50 min kernel: [    2.347208] usb 2-1: New USB device found,
idVendor=051d, idProduct=0003
Jan 21 01:33:50 min kernel: [    2.347212] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Jan 21 01:33:50 min kernel: [    2.347215] usb 2-1: Product: Sm           
   FW:COM 01.1 / UPS.02.D
Jan 21 01:33:50 min kernel: [    2.347218] usb 2-1: Manufacturer: American
Power Conversion
Jan 21 01:33:50 min kernel: [    2.347221] usb 2-1: SerialNumber:
AS0942125041
Jan 21 01:33:50 min kernel: [    2.347288] usb 2-1: configuration #1
chosen from 1 choice
Jan 21 01:33:50 min kernel: [    2.577495] usbcore: registered new
interface driver hiddev
Jan 21 01:33:50 min kernel: [    2.578758] sd 0:0:0:0: Attached scsi
generic sg0 type 0
Jan 21 01:33:50 min kernel: [    2.578775] sd 1:0:0:0: Attached scsi
generic sg1 type 0
Jan 21 01:33:50 min kernel: [    2.578791] sd 1:0:1:0: Attached scsi
generic sg2 type 0
Jan 21 01:33:50 min kernel: [    2.578806] sr 2:0:0:0: Attached scsi
generic sg3 type 5



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