From owner-freebsd-ports@FreeBSD.ORG Sat Aug 30 19:07:44 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 384301065677 for ; Sat, 30 Aug 2008 19:07:44 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5B88FC18 for ; Sat, 30 Aug 2008 19:07:43 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id BF5181A90DB; Sat, 30 Aug 2008 11:57:45 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AXA5NK4KdJ-y; Sat, 30 Aug 2008 11:57:45 -0700 (PDT) Received: from [10.47.1.6] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 032881A90D4; Sat, 30 Aug 2008 11:57:44 -0700 (PDT) Message-ID: <48B99A7E.3020703@miralink.com> Date: Sat, 30 Aug 2008 12:07:42 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Christian Hiris <4711@chello.at> References: <48B6E216.30609@miralink.com> <200808300945.14447.4711@chello.at> <48B991BE.2000607@miralink.com> <200808302100.39036.4711@chello.at> In-Reply-To: <200808302100.39036.4711@chello.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: -d 3ware,0 not working with 3ware 9550(sx) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2008 19:07:44 -0000 Christian Hiris wrote: > On Saturday 30 August 2008, Sean Bruno wrote: > >> Christian Hiris wrote: >> >>> On Thursday 28 August 2008, Sean Bruno wrote: >>> >>>> I sent this over to the smartmontools mailing list, but thought I would >>>> post it here in case anyone else has run into this: >>>> >>>> >>>> Using smartmontools 5.38 under FreeBSD 6/7 doesn't seem to work with the >>>> following card: >>>> twa0@pci4:12:0: class=0x010400 card=0x100313c1 chip=0x100313c1 rev=0x00 >>>> hdr=0x00 >>>> vendor = '3ware >>>> Inc.' >>>> device = '9550SX/9590SE Series SATA2 Raid >>>> Controller' >>>> class = mass >>>> storage >>>> subclass = RAID >>>> >>>> smartctl command output: >>>> Source # smartctl -d3ware,0 >>>> /dev/da0 >>>> smartctl version 5.36 [i386-portbld-freebsd6.3] Copyright (C) 2002-6 >>>> Bruce Allen >>>> Home page is >>>> http://smartmontools.sourceforge.net/ >>>> >>>> >>>> >>>> Unrecognized escalade_type 4 in freebsd_3ware_command_interface(disk >>>> 0) >>>> Please contact >>>> smartmontools-support@lists.sourceforge.net >>>> Unrecognized escalade_type 4 in freebsd_3ware_command_interface(disk >>>> 0) >>>> Please contact >>>> smartmontools-support@lists.sourceforge.net >>>> Smartctl: Device Read Identity Failed (not an ATA/ATAPI >>>> device) >>>> >>>> >>>> >>>> A mandatory SMART command failed: exiting. To continue, add one or more >>>> '-T per. >>>> Source # >>>> >>> Try # smartctl -d3ware,0 /dev/twa0 >>> ^^^^ >>> Works here with a 9500S-8 card on FreeBSD 7.0-STABLE. >>> >>> Cheers, >>> ch >>> >> Hmmm ... that didn't seem to work for me: >> >> Source # smartctl -d3ware,0 /dev/twa0 >> smartctl version 5.36 [i386-portbld-freebsd6.3] Copyright (C) 2002-6 >> Bruce Allen >> Home page is http://smartmontools.sourceforge.net/ >> >> 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. >> Source # uname -a >> FreeBSD 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #0 r5811:5829: Thu Aug 28 >> 11:01:38 PDT 2008 >> sbruno@desdemona.office.miralink.com:/home/sbruno/work/src/ankeny/src/FreeB >> SD_RELENG6/sys/i386/compile/MIRALINK i386 >> > > Is there a HDD connected to port 0? I get something similar if I check on a > port w/o any disk attached to: > > # smartctl -d3ware,7 /dev/twa0 > smartctl version 5.38 [i386-portbld-freebsd7.0] Copyright (C) 2002-8 Bruce > Allen > Home page is http://smartmontools.sourceforge.net/ > > Command failed, ata.status=(0x03), ata.command=(0xec), ata.flags=(0x01) > WARNING - NO DEVICE FOUND ON 3WARE CONTROLLER (disk 7) > 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. > # > > Btw, I run version 5.38. > Cheers, > ch > > Ah ... thank you. My drives are 12, 13,14 and 15. By probing: smartctl -d3ware,12 /dev/twa0 I now get good status from the drives. Thanks! -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Cell 503-358-6832 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com