Hot-swap support with ATA_CAM on ICH9

Alexander Motin mav at FreeBSD.org
Thu Dec 24 18:11:09 UTC 2009


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.

-- 
Alexander Motin


More information about the freebsd-current mailing list