linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russ Weeks <rweeks@razorwire.ca>
To: linux-ide@vger.kernel.org
Subject: sata-nv hotplug feature
Date: Wed, 7 Mar 2007 20:39:18 -0800	[thread overview]
Message-ID: <200703072039.18588.rweeks@razorwire.ca> (raw)

Hi,

First off, please let me know if I should repost this to a support mailing 
list.  Or, if the answer is 'rtfm', please just point me to the manual.  I 
checked the libata FAQ but can't find what I need.

I'd like some more information regarding the device hotplug feature for the 
sata-nv driver.  The FAQ indicates that 'device hotplug' == 'yank the drive': 
this seems more like 'hot-unplug' to me.  Can I then plug the drive back in 
after I've unplugged it?

This thread:
http://www.mail-archive.com/ubuntu-server@lists.ubuntu.com/msg00182.html

Seems to indicate that I can do it, but I may need to refresh the SCSI device 
system somehow.  This suits my needs just fine, as long as a plug doesn't 
necessitate a reboot.  But running rescan-scsi-bus.sh doesn't seem to work.

uname -a:
Linux backfire 2.6.19.2-smp #2 SMP Sat Mar 3 13:06:28 PST 2007 x86_64 x86_64 
x86_64 GNU/Linux

lspci shows this:
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)

lsmod shows that libata and sata-nv are present.

rescan-scsi-bus.sh shows this (after I boot with 1 drive plugged in and then 
try to plug in the other 2):
OLD: Host: scsi2 Channel: 00 Id: 00 Lun: 00
      Vendor: ATA      Model: ST3250824AS      Rev: 3.AA
      Type:   Direct-Access                    ANSI SCSI revision: 05

(this seems correct, just that 2 other drives are missing)

The hardware is a Tyan Thunder K8W 2895 motherboard with an onboard 
controller.  3 250Gb Seagate Barracudas are attached, 2 are in removable 
drive trays made by some company called 'ByteCC'.

_Any_ advice is appreciated.  I'm really in the dark here.

Thanks,

Russ

             reply	other threads:[~2007-03-08  4:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08  4:39 Russ Weeks [this message]
2007-03-08  8:21 ` sata-nv hotplug feature Tejun Heo
2007-03-08  9:38 ` Jim Paris
2007-03-10  6:36   ` Russ Weeks
2007-03-12  5:41     ` Tejun Heo

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=200703072039.18588.rweeks@razorwire.ca \
    --to=rweeks@razorwire.ca \
    --cc=linux-ide@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 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).