Date: Mon, 30 Mar 2009 14:14:35 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: freebsd-hackers@FreeBSD.org Subject: Re: hot-attach SATA drive Message-ID: <49D0A99B.4030908@FreeBSD.org> In-Reply-To: <49D0A46B.3000306@icyb.net.ua> References: <49D0A46B.3000306@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote: > Recently I tried to hot-attach a SATA drive to a running system. > Controller is ICH9 in AHCI mode. Physically/electronically everything went > smoothly, the drive spun-up. Then I tried to detach and re-attach all channels > with no devices on them using atacontrol. I did it 3 times to be sure, but no new > disk showed up. Then I finally rebooted, the disk showed up OK. > > Question: was hot-attach expected to work? Is there a limitation in hardware or in > our driver? > > Note: I attached the drive to a regular SATA port, not eSATA. Which system version do you use? With recent CURRENT I have successfully tested insert/remove SATA drives with ICH8, ICH8M and JMB363 AHCI controllers channel attach/detach. Theoretically it is possible to insert/remove SATA drives even without channel attach/detach. Remove works fine, but such really hot insertion functionality is not implemented properly now and so blocked. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D0A99B.4030908>