linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Russ Weeks" <rweeks@razorwire.ca>
To: 'Jim Paris' <jim@jtan.com>
Cc: linux-ide@vger.kernel.org, htejun@gmail.com
Subject: RE: sata-nv hotplug feature
Date: Fri, 9 Mar 2007 22:36:49 -0800	[thread overview]
Message-ID: <000401c762de$7baf5b60$6400a8c0@foxbat> (raw)
In-Reply-To: <20070308093810.GA19929@jim.sh>

Thanks, Jim, Tejun.  Upgrading to 2.6.20 solved all my problems.

What I observe now is that once the drive is plugged in again, 2-3
minutes may pass before the device entry appears in /dev.  This isn't a
problem for me, but if you have time to explain I'd be interested to
know why.

Also, if you have any tips on 'best practices' for drive yanking, I'd
appreciate 'em.  So far I'm just doing 'sdparm --command=stop'.

Thanks again for the great drivers!

Russ

> -----Original Message-----
> From: linux-ide-owner@vger.kernel.org 
> [mailto:linux-ide-owner@vger.kernel.org] On Behalf Of Jim Paris
> Sent: Thursday, March 08, 2007 1:38 AM
> To: Russ Weeks
> Cc: linux-ide@vger.kernel.org; htejun@gmail.com
> Subject: Re: sata-nv hotplug feature
> 
> 
> > 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.ht
> > ml
> > 
> > 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)
> 
> Hi Russ,
> 
> I believe you need this patch from Tejun:
> 
 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=722420fe6e2ab63bebc5a9ea346016b59076d75d

which is in kernel 2.6.20.  Original thread is here:
  
  http://thread.gmane.org/gmane.linux.ide/13219

-jim
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org More majordomo info
at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2007-03-10  6:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08  4:39 sata-nv hotplug feature Russ Weeks
2007-03-08  8:21 ` Tejun Heo
2007-03-08  9:38 ` Jim Paris
2007-03-10  6:36   ` Russ Weeks [this message]
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='000401c762de$7baf5b60$6400a8c0@foxbat' \
    --to=rweeks@razorwire.ca \
    --cc=htejun@gmail.com \
    --cc=jim@jtan.com \
    --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).