From owner-freebsd-current@FreeBSD.ORG Thu Apr 21 13:32:15 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B6C41065673 for ; Thu, 21 Apr 2011 13:32:15 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id E635E8FC0C for ; Thu, 21 Apr 2011 13:32:14 +0000 (UTC) Received: by gyg13 with SMTP id 13so607190gyg.13 for ; Thu, 21 Apr 2011 06:32:14 -0700 (PDT) Received: by 10.236.111.19 with SMTP id v19mr7235688yhg.444.1303390965179; Thu, 21 Apr 2011 06:02:45 -0700 (PDT) Received: from wawanesa.iciti.ca (CPE0080c8f208a5-CM001371173cf8.cpe.net.cable.rogers.com [99.246.61.82]) by mx.google.com with ESMTPS id z47sm832078yhc.30.2011.04.21.06.02.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 06:02:43 -0700 (PDT) Message-ID: <4DB02AF0.8060608@bellanet.org> Date: Thu, 21 Apr 2011 09:02:40 -0400 From: Graham Todd User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110118 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4DAEAE1B.70207@FreeBSD.org> In-Reply-To: <4DAEAE1B.70207@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Switch from legacy ata(4) to CAM-based ATA X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2011 13:32:15 -0000 On 04/20/2011 05:57, Alexander Motin wrote: > Hi. > > With 9.0 release approaching quickly, I believe it the best time now to > manage migration from legacy ata(4) ATA to the new CAM-based one. New > ATA code present in the tree for more then a year now, used by many > people and proved it's superior functionality and reliability. The only > major issue with it now is the migration process. Sooner or later we > have to pass it, but due to major UI and API changes we can't do it > after 9.0 release. So I propose to do it the next Sunday (April 24) to > have as much time for troubleshooting as possible. > > I have prepared the following patch to do it: > http://people.freebsd.org/~mav/ata_switch.patch > > I haven't added geom_raid to the kernel configurations because we have > no other GEOM classes there. But tell me if you thing I should. > > If somebody has any problems with new ATA stack, please repeat your > tests with latest HEAD code and contact me if problem is still there. > Next three weeks before BSDCan I am going to dedicate to fixing possibly > remaining issues. Will camcontrol replace atacontrol and somehow magically recognize the atacontrol set (list, status, info, attach/detach,etc.)? I haven't tried CURRENT for a while but I seem to recall that when I tried switching over to using CAM-based ATA there were some tricks one had to do in order to pass atacontrol commands through CAM and it didn't always work. The subcommands for camcontrol seemed to be more SCSI-ish and passing "raw" commands was subject to numerous local PEBKAC issues. cheers,