linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: SCSI Mailing List <linux-scsi@vger.kernel.org>, matthew@wil.cx
Subject: does sym53c8xx_2 hardware support hotplug
Date: Wed, 23 Apr 2008 15:10:06 -0500	[thread overview]
Message-ID: <480F979E.5060302@cs.wisc.edu> (raw)

Hi,

Does the hardware sym53c8xx_2 works with support removing and adding 
devices?

When using sym53c8xx_2 if we find storage, remove the device using the 
sysfs/proc interface, then physically remove the device, everything goes 
well. However, if we physically plug the disk back in and try to readd 
it through the sysfs/proc scanning interfaces, it looks like 
scsi_scan.c's inquiry will time out. This causes the sym error handler 
to run, which works great and we end up doing a BUS RESET (BDR failed so 
we got escalated), and after that the inqiury is retried and we find the 
device and it works fine.

Is the inquiry timing out expected? Does the hardware even support 
hotplug? Or does it support it partially support it (support it with 
some help), and we are we supposed to be manually resetting the bus, 
with something like a sg_reset, after we have physically plug the disk 
back in?

Thanks for any info,

Mike

             reply	other threads:[~2008-04-23 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 20:10 Mike Christie [this message]
2008-04-24  9:25 ` does sym53c8xx_2 hardware support hotplug Hannes Reinecke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=480F979E.5060302@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=linux-scsi@vger.kernel.org \
    --cc=matthew@wil.cx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).