Date: Thu, 17 Nov 2011 03:20:13 -0800 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Willem Jan Withagen <wjw@digiware.nl> Cc: freebsd-stable@freebsd.org, Peter Maloney <peter.maloney@brockmann-consult.de> Subject: Re: Trouble with SSD on SATA Message-ID: <20111117112013.GA42497@icarus.home.lan> In-Reply-To: <4EC4E9FE.2060208@digiware.nl> References: <4EC3E0E4.5010704@digiware.nl> <4EC3F13B.4020700@brockmann-consult.de> <4EC4E9FE.2060208@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 17, 2011 at 12:03:26PM +0100, Willem Jan Withagen wrote: > On 2011-11-16 18:22, Peter Maloney wrote: > >Willem, > > > >I can only guess, but... > > > >Is AHCI enabled in the bios? If you are not using 'fake-raid' for any > >disks, you should [depending on FreeBSD version, HBA, etc.] probably > >enable AHCI. Some servers actually come with SATA set in IDE mode. And > >if you are using zfs, the controller optimally should not be RAID at > >all. And if you have AHCI enabled already, try disabling it (losing hot > >swapping ability, and some performance). > > ACHI is enabled otherwise I cannot used the last set of SATA > connectors with this MB. Controller for these connectors is CH9. There are two "kinds" of AHCI on FreeBSD -- and I'm speaking strictly about the kernel bits, not AHCI the option ROM/BIOS option: ataahci.ko -- this is "AHCI support using ata(4)" ahci.ko -- this is "AHCI support using CAM(4)" You want the latter, and I can tell you're using the former (if at all). There would be no "ata6" if you were using ahci.ko; it would be called something like ahcichX, indicating "AHCI channel X". Furthermore, because CAM(4) gets used, your disk device names change from adX to adaX. This is expected. Using ataahci.ko results in the disks still being named adX, because it uses ata(4). Hope this helps shed some light on the confusion. Generally speaking you want to be using ahci.ko, mav@ and many others have spent a lot of time working on that and getting it to play nice with CAM -- it's beautiful, and hot-swapping works perfectly on all the Intel ICHxx systems I've tried it on (ICH7R, ICH9R). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111117112013.GA42497>