From owner-freebsd-usb@freebsd.org Tue Oct 27 16:05:01 2015 Return-Path: Delivered-To: freebsd-usb@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 0B076A1EB34 for ; Tue, 27 Oct 2015 16:05:01 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2F2A11DB for ; Tue, 27 Oct 2015 16:05:00 +0000 (UTC) (envelope-from 214748mv@gmail.com) Received: by iody8 with SMTP id y8so70785258iod.1 for ; Tue, 27 Oct 2015 09:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=bGy5M+Q6+opZZJZciJnmwrprNup35SlwKzHMj0g1QEk=; b=tshSuk+F8WmYPHkI3fQP2BrsRWMsHhnNFRqyMrCOVVcwqRzG87yuUTPdyYVTJe+f1k 73QEFf9yMykZfg2MMjeADWBZ9cCySWPiRfGMk2cyMs06/zKk4rr/I0+SKKPfOs+My/4e OWS58uDuh0n+U6xW2qSHD3OwYHWt58ROOBn+jxjLxPonIaYJF42urRH6zYEAZadkoo5u ZKO8MgDFyMVZ70tGM5xe2JjXuacuiXr6kQR3sJrGyCvOtwsdXgfHa3U2cp6Cdt4fDqz6 VaF7GTebZ5xSPViL0Wd1FZa7pEpol3fPDwZ7yEzKsT8CNxESqj93+PXzj1qBHuGMYcRr Fr2A== MIME-Version: 1.0 X-Received: by 10.107.132.73 with SMTP id g70mr2101642iod.11.1445961900138; Tue, 27 Oct 2015 09:05:00 -0700 (PDT) Received: by 10.79.0.105 with HTTP; Tue, 27 Oct 2015 09:05:00 -0700 (PDT) Date: Tue, 27 Oct 2015 17:05:00 +0100 Message-ID: Subject: Non working USB stick in FreeBSD. From: "Ranjan1018 ." <214748mv@gmail.com> To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 16:05:01 -0000 I have a 64GB USB stick that works correctly in Windows and Linux but not in FreeBSD. The problem is during the write. In FreeBSD I have tested the stick with the command: # dd if=/dev/zero of=/dev/daX bs=1m and, after some time, I received these errors in i386 and amd64: # uname -a FreeBSD qbic 10.1-STABLE FreeBSD 10.1-STABLE #0: Sat May 9 07:53:21 CEST 2015 root@ativ:/usr/obj/i386.i386/root/TEMP/i386_SRC/src/sys/KSTACK_PAGES_4 i386 dmesg output: ugen2.4: at usbus2 umass2: on usbus2 umass2: SCSI over Bulk-Only; quirks = 0xc100 umass2:4:2:-1: Attached to scbus4 da2 at umass-sim2 bus 2 scbus4 target 0 lun 0 da2: Removable Direct Access SPC-4 SCSI device da2: Serial Number ABCDEF000000000000001B61 da2: 40.000MB/s transfers da2: 64000MB (131072000 512 byte sectors: 255H 63S/T 8158C) da2: quirks=0x2 (da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error (da2:umass-sim2:2:0:0): Retrying command (da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error (da2:umass-sim2:2:0:0): Retrying command (da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error (da2:umass-sim2:2:0:0): Retrying command (da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error (da2:umass-sim2:2:0:0): Retrying command (da2:umass-sim2:2:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da2:umass-sim2:2:0:0): CAM status: CCB request completed with an error (da2:umass-sim2:2:0:0): Error 5, Retries exhausted # uname -a FreeBSD microserver 10.2-STABLE FreeBSD 10.2-STABLE #4 r289314M: Wed Oct 14 15:38:08 CEST 2015 root@microserver:/usr/obj/usr/src/sys/GENERIC amd64 dmesg output: ugen0.4: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:7:0:-1: Attached to scbus7 da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number ABCDEF000000000000001B61 da0: 40.000MB/s transfers da0: 64000MB (131072000 512 byte sectors: 255H 63S/T 8158C) da0: quirks=0x2 (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Error 5, Retries exhausted # uname -a FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r289378M: Thu Oct 15 21:57:57 CEST 2015 root@ativ:/usr/obj/usr/src/sys/GENERIC amd64 dmesg output: ugen1.3: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:3:0: Attached to scbus3 da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number ABCDEF000000000000001B61 da0: 40.000MB/s transfers da0: 64000MB (131072000 512 byte sectors) da0: quirks=0x2 (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 fe 58 80 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Error 5, Retries exhausted What can I do ? Thanks in advance, Maurizio