linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PMP and Smart Enclosure ...
@ 2011-03-22 14:54 Herbert Poetzl
  2011-03-22 15:25 ` Herbert Poetzl
  0 siblings, 1 reply; 11+ messages in thread
From: Herbert Poetzl @ 2011-03-22 14:54 UTC (permalink / raw)
  To: linux-ide; +Cc: Tejun Heo


following up on a thread about PMP and SEP from earlier this
year, I have now prepared a test system which should allow
me to control all involved parts (i.e. SATA controller, PMP
and the SEP) for testing and debugging ...

during the initial system tests, I found some strange
behaviour, which I am unable to explain, and it might as
well be a SATA/PMP bug in Linux ...

the problem basically arises when I pull a drive from the 
enclosure (without telling Linux first), wait some time
till the kernel becomes aware of the fact, and then put it 
back into the enclosure ...

at this point, the drive indicator (PMP and the drive one)
goes on, the drive spins up, but Linux refuses to detect
the device ... I tried the following things:

 echo "- - -" >/sys/class/scsi_host/host9/scan

 scsiadd -s 9

 resetting the PMP (via small front panel button)

note that the target is still listed in sysfs:
# ls /sys/class/scsi_host/host9/device/
power/  scsi_host/  subsystem@  target9:0:0/  target9:1:0/  target9:2:0/  target9:3:0/  target9:4:0/  uevent

only way to get the device back seems to be to remove the
driver (rmmod sata_sil24) and to reload it again, which is
probably a little tricky assuming that the other disks are
in use :)

many thanks in advance,
Herbert


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-29 15:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 14:54 PMP and Smart Enclosure Herbert Poetzl
2011-03-22 15:25 ` Herbert Poetzl
2011-03-28  8:52   ` Tejun Heo
2011-03-28 12:36     ` Herbert Poetzl
2011-03-28 16:01       ` Tejun Heo
2011-03-28 22:46         ` Herbert Poetzl
2011-03-28 23:47           ` Herbert Poetzl
2011-03-29  8:03             ` Tejun Heo
2011-03-29 14:49               ` Herbert Poetzl
2011-03-29 15:01                 ` Tejun Heo
2011-03-29 15:39                   ` Herbert Poetzl

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