Hot-swap support with ATA_CAM on ICH9

Boris Kochergin spawk at acm.poly.edu
Thu Dec 24 21:02:30 UTC 2009


Alexander Motin wrote:
> Boris Kochergin wrote:
>   
>> Ahoy. I have a machine with some SATA disks connected to an ICH9
>> controller. The BIOS has no options to enable AHCI support on the
>> controller (not that I know for sure that it even has AHCI support).
>> Once a disk on the controller is removed, using the old ata(4) driver,
>> no new disks are detected using atacontrol's "reinit" or "detach" and
>> the machine must be rebooted for the new disk to be seen. I'm wondering
>> whether this has a chance of working with the new ATA_CAM code. If so,
>> I'll give it a whirl and report back. Thank you.
>>     
>
> It should work fine with ATA_CAM. To completely reinitialize and rescan
> bus you should do now:
> camcontrol reset X
> camcontrol rescan X
> I am going to make it more automatic later.
>   
I tried it out in 8-STABLE and it works with the ICH9 controllers, and 
some SiI 3132 controllers in the same machine. Thank you for working on it.

-Boris


More information about the freebsd-current mailing list