RE: sata-nv hotplug feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx 
> [mailto:linux-ide-owner@xxxxxxxxxxxxxxx] On Behalf Of Jim Paris
> Sent: Thursday, March 08, 2007 1:38 AM
> To: Russ Weeks
> Cc: linux-ide@xxxxxxxxxxxxxxx; htejun@xxxxxxxxx
> 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@xxxxxxxxxxxxxxxx/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@xxxxxxxxxxxxxxx More majordomo info
at  http://vger.kernel.org/majordomo-info.html

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux