From owner-freebsd-current@FreeBSD.ORG Sun Nov 20 15:24:48 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 34410106564A for ; Sun, 20 Nov 2011 15:24:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 82D708FC0C for ; Sun, 20 Nov 2011 15:24:47 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA04756; Sun, 20 Nov 2011 17:24:42 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RS9G6-000MPi-5P; Sun, 20 Nov 2011 17:24:42 +0200 Message-ID: <4EC91BB9.3090107@FreeBSD.org> Date: Sun, 20 Nov 2011 17:24:41 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: Pegasus Mc Cleaft References: <20111028200227.GA50663@sandvine.com> <201111201454.49863.ken@mthelicon.com> In-Reply-To: <201111201454.49863.ken@mthelicon.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: Adding disk firmware programming capability to camcontrol 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: Sun, 20 Nov 2011 15:24:48 -0000 on 20/11/2011 16:54 Pegasus Mc Cleaft said the following: > Hi Nima, > > I have tried your latest patch against current, but I am having difficulty > getting it to work. I was wondering, is this feature limited to SCSI drives? > I have been trying it against my SATA drives but it looks like it is failing > on issuing a TUR. > > IE: > > feathers# camcontrol fwdownload ada5 -f JP0NB3MA.BD -s -v > Running in simulation mode > camcontrol: Device is not ready > (pass5:ahcich4:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (pass5:ahcich4:0:0:0): CAM status: CCB request was invalid > Firmware download failed > > > I have tried issuing a TUR to all my drives to see if it was controller or > drive specific, but all of them return the same error (The drives are Seagate, > Hitachi and WD). > > What am I doing wrong? You are sending SCSI commands to a (S)ATA drive. -- Andriy Gapon