All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem w/ hotplug on sata_sil24 w/ PMP (sil3726)
@ 2008-10-11 14:27 Lars Michael Jogback
  2008-10-14  5:51 ` Tejun Heo
  0 siblings, 1 reply; 33+ messages in thread
From: Lars Michael Jogback @ 2008-10-11 14:27 UTC (permalink / raw)
  To: linux-ide

I've got trouble to get a drive to reconnect to the system after
hotplug.

I'm using Linux 2.6.26 (Debian 2.6.26-8) on AMD64. The controller card
is any Sil3124-based, and the disks are connected to a Sil3726.

The disks in this case (but I've got the same behaviour on different
disks) is SAMSUNG HD103UJ. Their Spin_Up_Time according to smartctl is
11030 (which I translate to approx 11 seconds, right?)

The disks are mounted in drivecages.

When I yank the disk this happens:
[75044.264218] ata4.03: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xf
[75044.264322] ata4: SError: { PHYRdyChg DevExch }
[75044.264971] ata4.03: hard resetting link
[75045.007015] ata4.03: SATA link down (SStatus 0 SControl 320)
[75045.007164] ata4: failed to recover some devices, retrying in 5 secs
[75050.035389] ata4.03: hard resetting link
[75050.371528] ata4.03: SATA link down (SStatus 0 SControl 320)
[75050.371672] ata4: failed to recover some devices, retrying in 5 secs
[75055.387768] ata4.03: hard resetting link
[75055.724346] ata4.03: SATA link down (SStatus 0 SControl 320)
[75055.724797] ata4.03: disabled
[75056.228377] ata4: EH complete
[75056.228469] ata4.03: detaching (SCSI 4:3:0:0)
[75056.228830] sd 4:3:0:0: [sdt] Synchronizing SCSI cache
[75056.228959] sd 4:3:0:0: [sdt] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK
[75056.229149] sd 4:3:0:0: [sdt] Stopping disk
[75056.229250] sd 4:3:0:0: [sdt] START_STOP FAILED
[75056.229346] sd 4:3:0:0: [sdt] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK

And when I plug the disk this happens.
[75096.396748] ata4.03: exception Emask 0x10 SAct 0x0 SErr 0x4050000 action 0xf
[75096.396849] ata4: SError: { PHYRdyChg CommWake DevExch }
[75096.716825] ata4.03: hard resetting link
[75097.461358] ata4.03: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[75097.477638] ata4.03: failed to IDENTIFY (I/O error, err_mask=0x11)
[75097.477745] ata4.15: hard resetting link
[75099.622365] ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[75099.943070] ata4.00: hard resetting link
[75100.278871] ata4.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[75100.278971] ata4.01: hard resetting link
[75100.615444] ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75100.615545] ata4.02: hard resetting link
[75100.950786] ata4.02: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75100.950887] ata4.03: hard resetting link
[75101.287528] ata4.03: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75101.287626] ata4.05: hard resetting link
[75101.624445] ata4.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
[75101.640432] ata4.00: configured for UDMA/100
[75101.652704] ata4.01: configured for UDMA/100
[75101.666964] ata4.02: configured for UDMA/100
[75101.684114] ata4.03: failed to IDENTIFY (I/O error, err_mask=0x11)
[75101.684211] ata4.15: hard resetting link
[75103.828553] ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[75104.149612] ata4.00: hard resetting link
[75104.486756] ata4.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[75104.486855] ata4.01: hard resetting link
[75104.823978] ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75104.824079] ata4.02: hard resetting link
[75105.162597] ata4.02: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75105.162698] ata4.03: hard resetting link
[75105.501892] ata4.03: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75105.501993] ata4.05: hard resetting link
[75105.838207] ata4.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
[75105.851061] ata4.00: configured for UDMA/100
[75105.863553] ata4.01: configured for UDMA/100
[75105.876447] ata4.02: configured for UDMA/100
[75105.890214] ata4.03: failed to IDENTIFY (I/O error, err_mask=0x11)
[75105.890321] ata4.03: failed to recover link after 3 tries, disabling
[75105.890415] ata4: failed to recover PMP, retrying in 5 secs
[75110.903191] ata4.15: hard resetting link
[75113.144415] ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[75113.788536] ata4.00: hard resetting link
[75114.127956] ata4.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
[75114.127956] ata4.01: hard resetting link
[75114.468727] ata4.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75114.468830] ata4.02: hard resetting link
[75114.803270] ata4.02: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75114.803371] ata4.05: hard resetting link
[75115.143819] ata4.05: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
[75115.157855] ata4.00: configured for UDMA/100
[75115.170739] ata4.01: configured for UDMA/100
[75115.183895] ata4.02: configured for UDMA/100
[75115.841430] ata4: EH complete

As I understand it, the first IDENTIFY happens 1 second after hotplug,
the second 5 seconds after hotplug, and the last and third one happens 9
seconds after the hotplug, and as I understand this disk need at least
11 seconds to spin-up.

The only way I can get the disk back online is to yank the cable between
the controller and the PMP, then it works.

Is it someway to extend the timeout to wait for spin-up of the disk?

Best Regards,
/LM


^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <359604ECF8F440408B9634E6146249B42923805F@mail.scl.local>]

end of thread, other threads:[~2011-10-13  2:09 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-11 14:27 Problem w/ hotplug on sata_sil24 w/ PMP (sil3726) Lars Michael Jogback
2008-10-14  5:51 ` Tejun Heo
2008-10-14 20:19   ` Lars Michael Jogback
2008-10-15  7:03     ` Tejun Heo
2008-10-18 16:52       ` Lars Michael Jogback
2008-10-23 18:14         ` Lars Michael Jogback
2008-10-27  7:35           ` Tejun Heo
2008-10-27  7:38             ` Tejun Heo
2008-10-27  8:47               ` Lars Michael Jogback
2008-10-27 19:40               ` Lars Michael Jogback
2008-11-10  6:47                 ` Tejun Heo
2008-11-10 18:26                   ` Lars Michael Jogback
2008-11-11  2:56                     ` Tejun Heo
     [not found] <359604ECF8F440408B9634E6146249B42923805F@mail.scl.local>
     [not found] ` <20110628095723.GC3386@htj.dyndns.org>
2011-06-30 17:53   ` Derry Bryson
2011-07-12 15:01     ` tj
2011-07-12 19:21       ` Derry Bryson
2011-07-13 13:34         ` tj
2011-07-13 14:39           ` tj
2011-07-13 16:23             ` Derry Bryson
2011-07-14  7:14               ` tj
2011-07-14 17:37                 ` Derry Bryson
2011-07-21  9:00                   ` tj
2011-07-21 16:22                     ` Derry Bryson
2011-07-22  9:50                       ` tj
2011-07-22 17:29                         ` Derry Bryson
2011-07-22 19:34                         ` Derry Bryson
2011-07-30 12:54                           ` tj
2011-09-30 21:54                             ` Mike I
2011-10-06  5:48                               ` Gwendal Grignou
     [not found]                                 ` <CAMHSBOV8rSW3jumpx8URZrgo8w1He9zruP7yAOw7uhQOaAj3Xg@mail.gmail.com>
2011-10-06  6:07                                   ` Gwendal Grignou
2011-10-08 18:25                                 ` Michael Ihrcke
2011-10-12  2:06                                   ` Michael Ihrcke
2011-10-13  2:09                                     ` Mike I

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.