From owner-freebsd-usb@FreeBSD.ORG Fri Feb 8 20:44:25 2008 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EAAE16A419; Fri, 8 Feb 2008 20:44:25 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from acme.spoerlein.net (acme.spoerlein.net [217.172.44.86]) by mx1.freebsd.org (Postfix) with ESMTP id A4A8D13C478; Fri, 8 Feb 2008 20:44:24 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (e180181231.adsl.alicedsl.de [85.180.181.231]) by acme.spoerlein.net (8.14.1/8.14.1) with ESMTP id m18KVReP010894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Feb 2008 21:31:28 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m18KVLeI004576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Feb 2008 21:31:21 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m18KVKra004575; Fri, 8 Feb 2008 21:31:20 +0100 (CET) (envelope-from uspoerlein@gmail.com) X-Authentication-Warning: roadrunner.spoerlein.net: uqs set sender to uspoerlein@gmail.com using -f Date: Fri, 8 Feb 2008 21:31:20 +0100 From: Ulrich Spoerlein To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20080208203120.GC1479@roadrunner.spoerlein.net> Mail-Followup-To: Miroslav Lachman <000.fbsd@quip.cz>, Dag-Erling =?utf-8?B?U23DuHJncmF2?= , usb@freebsd.org, scsi@freebsd.org References: <86ir19vx09.fsf@ds4.des.no> <47AA4765.8090601@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <47AA4765.8090601@quip.cz> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, Dag-Erling =?utf-8?B?U23DuHJncmF2?= , scsi@freebsd.org Subject: Re: SMART over USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 20:44:25 -0000 On Thu, 07.02.2008 at 00:48:53 +0100, Miroslav Lachman wrote: > Dag-Erling Smørgrav wrote: > > Consider a PATA or SATA disk attached over USB. AFAIK, the USB mass > > storage protocol is basically SCSI over USB. Is there a way to access > > the disk's SMART data over SCSI / USB? Perhaps as mode pages? Has > > anyone tried this? > > > > The reason I'm asking is this: > > > > http://www.sharkoon.com/html/produkte/externe_gehaeuse/sata_quickport/index.html > > > > This could be extremely useful to quickly extract SMART error logs from > > failing disks after you've replaced them, not to mention wipe them > > before RMAing them. Unfortunately, it doesn't have an eSATA connector. > > I tested many PATA/SATA to USB convertors and disc enclosures - none of them > allowed access to SMART (under FreeBSD, nor Windows). Maybe it is I/O chip > implementation problem. Did you try with atausb(4)? Perhaps it's a limitation of our SCSI layer? Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.