DragonFly BSD
DragonFly users List (threaded) for 2012-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: SCSI hot-swap device discovery


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2012 10:11:55 -0700 (PDT)

:Hello
:
:On 10/19/12 05:19, sad@bestmx.ru wrote:
:> how to ask DFLY to scan SCSI in order to discover recently plugged hot-swap devices?
:
:camcontrol(8) is your friend here
:
:cheers,
:
:- Chris

    Depends on the driver.  For AHCI, if the AHCI chipset has the
    appropriate support it should detect the insertion automatically.
    If it doesn't then the port might not support hot-swap detection
    and camcontrol won't have any effect.

    That might make a nice mini project, though... to have the AHCI driver
    handle the SCSI bus-reset command from camcontrol and force the port
    into a hard reset sequence.

    For NATA/IDE attachments (adXX) you might be able to use natacontrol
    to force it to rescan the bus.

    For other devices it depends on the driver.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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