All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott O'Connor <soconnor@sanblaze.com>
To: linux-scsi@vger.kernel.org
Subject: scsi_transport_sas and device hotplug
Date: Fri, 19 May 2006 09:29:47 -0400	[thread overview]
Message-ID: <446DC84B.1070203@sanblaze.com> (raw)

Hello,

I have a question about this transport layer and SAS Hot plugging.

With a LSI1068 (SAS) card, I'm trying to do device hotplug.
Back in the day I used the /proc calls below to hotplug a device.

scsi remove-single-device <args>
scsi add_single-device <args>

With 2.6.16-1 kernel, the "remove" call below works, the /dev/sd*
structure is removed.

echo scsi remove-single-device 0 07 00 00 > /proc/scsi/scsi

However, this does not add the device back (the /dev/sd* node
is not created):

echo scsi add-single-device 0 07 00 00 > /proc/scsi/scsi

I see the scsi_proc.c to scsi_transport_sas.c user_scan transport
layer code and it seems hooked up properly.  Before I debug, has
anyone else seen a problem here?

Thanks for any help,
-Scott.

             reply	other threads:[~2006-05-19 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-19 13:29 Scott O'Connor [this message]
2006-05-19 15:49 ` scsi_transport_sas and device hotplug James Bottomley

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=446DC84B.1070203@sanblaze.com \
    --to=soconnor@sanblaze.com \
    --cc=linux-scsi@vger.kernel.org \
    /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 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.