From owner-freebsd-questions@freebsd.org Mon Nov 13 07:56:03 2017 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 AD943D7CCB0 for ; Mon, 13 Nov 2017 07:56:03 +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 4800C64E23 for ; Mon, 13 Nov 2017 07:56:02 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (82.57.190.113) by smtp207.alice.it (8.6.060.28) id 59D204AC0770B1F4 for freebsd-questions@freebsd.org; Mon, 13 Nov 2017 08:55:56 +0100 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id vAD7ttlU049147 for ; Mon, 13 Nov 2017 08:55:55 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu From: Andrea Venturoli Subject: USB HD problem To: freebsd-questions@freebsd.org Message-ID: <4743f7ef-4214-36b8-e03b-6fa6d03029c0@netfence.it> Date: Mon, 13 Nov 2017 08:55:50 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 07:56:03 -0000 Hello. On a server I manage, we use an external WD USB HD to make backups. This has been working properly for two years. Now it's getting hard to recognize the HD when it's plugged in: camcontrol will show the "pass" device, but no "da" comes up. On the same box, another very similar HD still works fine. So I tried this HD on several other machines and the conclusion is that on two Windows ones it always works, while on five FreeBSD I see very different results, ranging from always recognized to never recognized. On a couple of box it takes three or four tentatives before da0 comes up. When the disk is not recognized (pass, but no da) I get: > kernel: (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error > kernel: (probe0:umass-sim0:0:0:1): Retrying command > kernel: (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error > kernel: (probe0:umass-sim0:0:0:1): Retrying command > kernel: (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error > kernel: (probe0:umass-sim0:0:0:1): Retrying command > kernel: (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error > kernel: (probe0:umass-sim0:0:0:1): Retrying command > kernel: (da0:umass-sim0:0:0:0): got CAM status 0x44 > kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device > kernel: g_access(918): provider da0 has error > kernel: g_access(918): provider da0 has error > kernel: (probe0:umass-sim0:0:0:1): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe0:umass-sim0:0:0:1): CAM status: CCB request completed with an error > kernel: (probe0:umass-sim0:0:0:1): Error 5, Retries exhausted I fail to understand the above codes. Searching the web only yielded a result in German, but AFAICT it's a similiar problem, not the exact one I have. Can someone shed some light on them? Any other suggestion? bye & Thanks av.