linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hot Plug and LIBATA
@ 2004-11-05 17:22 Mark Klarzynski
  2004-11-05 17:38 ` Andy Warner
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Klarzynski @ 2004-11-05 17:22 UTC (permalink / raw)
  To: linux-ide

Forgive me as I am sure that this has been asked a 100 times and that
the answers are all there to be found, but I am a newbie to Linux and
all my experience is within the design of hardware raid. So I have to
resolve this, but have come to a dead end.

I have a problem hot-plugging a sata drive and have gone through the
following steps:

1 - Initially I was using a standard Linux 2.4.27 kernel and the Silicon
Image 3112A's presented the sata drives as HDx.  Although the drives
functioned fine, hot plug was not possible.

2 - I discovered LIBATA and as it is clearly superior and now presented
the drives as SDx.

3 - I could now use a bunch of newer found commands (such as # echo scsi
remove-single-drive..)  to add and remove the drives. this works as long
as I do not physically remove the drive.

4 - if I physically remove a drive, the system hangs when I do an echo
scsi add-single-drive..


I am presuming (and it is only a presumption) that LIBATA somehow cannot
rescan the sata bus. does anybody know of a workaround / fix /
suggestion or decent outlet for a tranquilizer?



Thank you






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

* Re: Hot Plug and LIBATA
  2004-11-05 17:22 Hot Plug and LIBATA Mark Klarzynski
@ 2004-11-05 17:38 ` Andy Warner
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Warner @ 2004-11-05 17:38 UTC (permalink / raw)
  To: Mark Klarzynski; +Cc: linux-ide

Mark Klarzynski wrote:
> [...]
> I am presuming (and it is only a presumption) that LIBATA somehow cannot
> rescan the sata bus. does anybody know of a workaround / fix /
> suggestion or decent outlet for a tranquilizer?

Hotplug and libata don't play nicely together, yet.

I am working on this, and I expect others are doing
stuff too. Doing anything actually useful is fairly
intrusive to the structure and flow of the existing
code. Another problem you'd hit is the SCSI layer
trying to sync a recently departed drive :)

I don't have a timetable for my work. There are still
two things that have got pushed on the stack ahead of
hotplug. Neither of these is anywhere near as large
or complex as hotplug, thankfully.
-- 
andyw@pobox.com

Andy Warner		Voice: (612) 801-8549	Fax: (208) 575-5634

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

end of thread, other threads:[~2004-11-05 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05 17:22 Hot Plug and LIBATA Mark Klarzynski
2004-11-05 17:38 ` Andy Warner

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