From owner-freebsd-questions@freebsd.org Thu Apr 21 06:27:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88E9CB16485 for ; Thu, 21 Apr 2016 06:27:28 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp207.alice.it (smtp207.alice.it [82.57.200.103]) by mx1.freebsd.org (Postfix) with ESMTP id 27B4119ED for ; Thu, 21 Apr 2016 06:27:27 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.32.5.200) by smtp207.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 57175E92003CD461 for freebsd-questions@freebsd.org; Thu, 21 Apr 2016 08:27:14 +0200 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.15.2/8.14.9) with ESMTP id u3L6RIvm042724 for ; Thu, 21 Apr 2016 08:27:18 +0200 (CEST) (envelope-from ml@netfence.it) To: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: External HD not working Message-ID: <41b7ddf8-8679-a5d8-5837-b306895081de@netfence.it> Date: Thu, 21 Apr 2016 08:27:18 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2016 06:27:28 -0000 Hello. I'm not sure this is a FreeBSD problem (as opposed to an hardware problem), since I've had no chance to test on different OSes... I've got a WD RED 3TB SATA drive and it won't work if attached as an external drive. I first tried with an USB-to-SATA adapter (which has always worked with different HDs) on a 10.2/i386 and I got: > Apr 16 09:04:51 alamar kernel: da7 at umass-sim1 bus 1 scbus10 target 0 lun 0 > Apr 16 09:04:51 alamar kernel: da7: Fixed Direct Access SPC-3 SCSI device > Apr 16 09:04:51 alamar kernel: da7: Serial Number 000001D91CC4 > Apr 16 09:04:51 alamar kernel: da7: 40.000MB/s transfers > Apr 16 09:04:51 alamar kernel: da7: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C) > Apr 16 09:04:51 alamar kernel: da7: quirks=0xa > ... > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 80 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 80 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 80 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 80 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 80 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Error 5, Retries exhausted > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 10 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 10 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): READ(10). CDB: 28 00 00 00 00 10 00 00 10 00 > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): CAM status: CCB request completed with an error > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Retrying command > (repeat ad lib until I disconneted it or the box wouldn't boot) > Apr 16 09:04:51 alamar kernel: da7 at umass-sim1 bus 1 scbus10 target 0 lun 0 > Apr 16 09:04:51 alamar kernel: da7: s/n 000001D91CC4 detached > Apr 16 09:04:51 alamar kernel: (da7:umass-sim1:1:0:0): Periph destroyed So I tried a eSATA-to-SATA adapter on a 9.3/i386 box, but connecting it didn't trigger anything: everything was like I didn't even plug it in (I heard the drive spinning, though). The drive works perfectly on three different computers if connected on the SATA controller on the MB. Any hint? At least knowing if it's an hardware or FreeBSD limitation could help me get on the right track. bye & Thanks av.