Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2009 16:01:33 +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:  <49D0C2AD.70706@FreeBSD.org>
In-Reply-To: <49D0B3B7.60400@icyb.net.ua>
References:  <49D0A46B.3000306@icyb.net.ua> <49D0A99B.4030908@FreeBSD.org> <49D0B3B7.60400@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote:
> on 30/03/2009 14:14 Alexander Motin said the following:
>> 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.
> 
> It was stable/7, amd64.
> Maybe there is a small subset of the changes in current that I could try in stable/7?

There is significant sources difference due to modularization work done
on CURRENT, so it is not so easy to directly compare sources or backport
something. I haven't actually looked on/tested 7-STABLE much.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D0C2AD.70706>