Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756793AbYJWQBP (ORCPT ); Thu, 23 Oct 2008 12:01:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755105AbYJWQA4 (ORCPT ); Thu, 23 Oct 2008 12:00:56 -0400 Received: from rtr.ca ([76.10.145.34]:40629 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025AbYJWQAz (ORCPT ); Thu, 23 Oct 2008 12:00:55 -0400 Message-ID: <49009FD7.9000504@rtr.ca> Date: Thu, 23 Oct 2008 12:01:27 -0400 From: Mark Lord Organization: Real-Time Remedies Inc. User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Tejun Heo Cc: David Greaves , Smartmontools Mailing List , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: SMART to USB/sata dock in 2.6.27-rc5 doesn't work References: <48EE7E0A.8040701@dgreaves.com> <48F40164.5000502@kernel.org> In-Reply-To: <48F40164.5000502@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1572 Lines: 45 Tejun Heo wrote: > David Greaves wrote: >> I just bought a usb/sata adapter like this: >> http://www.thinkgeek.com/computing/drives/a7ea/?cpg=ab >> lsusb -v is below >> >> Works OK as a hot-plug SATA disk so I can check what's on that old disk in the >> corner; but smartctl doesn't work so I can't see if it has any errors, run >> selftests etc. >> >> Kernel is 2.6.27-rc5 (I've also tried older kernels) >> >> I plugged a previously zeroed drive in and... >> >> root@ash:~ # smartctl -a /dev/sde >> smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen >> Home page is http://smartmontools.sourceforge.net/ >> >> Device: ST332062 0AS Version: >> Device type: disk >> Local Time is: Thu Oct 9 21:38:16 2008 BST >> Device supports SMART and is Enabled >> Temperature Warning Disabled or Not Supported >> SMART Health Status: OK >> >> Error Counter logging not supported >> Device does not support Self Test logging > > The USB bridge should support SAT (SCSI-ATA translation) and many > don't. Nothing much can be done about it. The hardware just don't know > how to do it. .. That may be true, or not. Try "hdparm -I /dev/sde" on it. If that *works*, then the USB interface *does* support SAT! Many, many new USB enclosures now have the modern InitIO bridge chips with SAT. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/