From owner-freebsd-stable@FreeBSD.ORG Sun Nov 6 21:23:23 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53E81106564A for ; Sun, 6 Nov 2011 21:23:23 +0000 (UTC) (envelope-from ml@os2.kiev.ua) Received: from s1.sdv.com.ua (s1.sdv.com.ua [77.120.97.61]) by mx1.freebsd.org (Postfix) with ESMTP id 071198FC15 for ; Sun, 6 Nov 2011 21:23:22 +0000 (UTC) Received: from 80-105-243-80.cust.centrio.cz ([80.243.105.80] helo=[192.168.101.100]) by s1.sdv.com.ua with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1RNABT-000NqF-Dj; Sun, 06 Nov 2011 23:23:21 +0200 Message-ID: <4EB6FABF.6060401@os2.kiev.ua> Date: Sun, 06 Nov 2011 22:23:11 +0100 From: Alex Samorukov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: "Marat N.Afanasyev" References: <4EB1BCAD.7080206@zzattack.org> <20111102233807.GA67112@icarus.home.lan> <4EB1D6F9.3060008@zzattack.org> <20111103000124.GA67550@icarus.home.lan> <4EB1DD51.4080808@zzattack.org> <20111103002352.GA67904@icarus.home.lan> <4EB2538D.3090108@zzattack.org> <4EB2CB75.6070003@os2.kiev.ua> <4EB2E2D7.2050809@os2.kiev.ua> <4EB2F510.5070804@os2.kiev.ua> <4EB307CC.8000705@os2.kiev.ua> <4EB6AD22.4080408@ksu.ru> <4EB6B20A.9090104@os2.kiev.ua> <4EB6B530.9000901@ksu.ru> <4EB6F004.9060501@os2.kiev.ua> In-Reply-To: <4EB6F004.9060501@os2.kiev.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-SA-Score: -1.0 Cc: FreeBSD Stable Mailing List Subject: Re: smartctl / mpt on 9.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 21:23:23 -0000 On 11/06/2011 09:37 PM, Alex Samorukov wrote: >> Command failed, ata.status=(0x00), ata.command=(0xec), ata.flags=(0x01) >> WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 0) >> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device) >> >> A mandatory SMART command failed: exiting. To continue, add one or >> more '-T permissive' options. >> > > > Ok, looking in the code i found that on "3ware" device only > "ata_command_interface" is implemented (with > TW_OSL_IOCTL_FIRMWARE_PASS_THROUGH). The question is if that interface > actually supports SAS drives at all. From the quick view of the > sources i found TWE_Command_ATA packet description, but nothing > related to SCSI/SATA packets. So i am not sure that it is possible at > all. If you know any tool which able to get health information for SAS > drives we can try to debug ioctl it using to find the way to talk with > disk. > One more update - there is TWA_FW_CMD_EXECUTE_SCSI command in the twa driver, so it should be possible to get required data. I have no access to such hardware, but if anyone if going to provide it - i could try at least.