From owner-freebsd-hardware@FreeBSD.ORG Tue Sep 2 21:39:04 2014 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46889E21; Tue, 2 Sep 2014 21:39:04 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6137182E; Tue, 2 Sep 2014 21:39:03 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id im17so7821519vcb.32 for ; Tue, 02 Sep 2014 14:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Mk9VeXwWq/UcpLlxNixKYEajLN6vZWBGKWQk51pw5sI=; b=lW2EdmeoAkIvyxc4GdFSh7Abd+1dqLUZPF03z/eQMQBq1vbnLvCcQ8CtbHnejwgbBS CXA8jdLVgqPxmSibmJ8L/25ClrJXGR77ctrulEsBWuBI7D2RzDWsMuE+hJYmeOtlleTQ mknULTqSlj/KOZLwY7iv04RUAJih0CMYrqMN9yh+cCTwyMSXKE+3FEPwWb6GAeKmV6S4 7Mg2kQfElZ5vYEMgs0kAg5QTFO3Jpj0YoxedMvgcvvfbyp6v8IyGcuEj1mSak7ROIn5n wKuXa/nSfDD8nDJQSlDAPcO8QEyfL46TihTbd1XVWabvmadftCTksUfqCE3TtPNU0tYV OSwg== MIME-Version: 1.0 X-Received: by 10.220.172.8 with SMTP id j8mr2599494vcz.32.1409693942938; Tue, 02 Sep 2014 14:39:02 -0700 (PDT) Received: by 10.221.64.74 with HTTP; Tue, 2 Sep 2014 14:39:02 -0700 (PDT) In-Reply-To: References: <540300A7.6050505@selasky.org> <54040827.5060002@selasky.org> Date: Tue, 2 Sep 2014 17:39:02 -0400 Message-ID: Subject: Re: USB storage device not recognized From: grarpamp To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Hans Petter Selasky , freebsd-hardware@freebsd.org X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 21:39:04 -0000 > Is there a way to actively probe out for a device from a usb port? > [The other ports act the same way... a usbstick is recognized, > this device isn't.] The problem was bad cable mating... power pair connected but data pair did not. Cutting back some plastic shroud let USB seat further in and fixed it. Mountable and files accessible now. New problem... the kernel is picking up what might be a second LUN and throwing a lot of errors. If this LUN is real and intentional I have no idea what purpose it would be for. It is not accessible in a usual way with dd... # camcontrol devl -v scbus3 on umass-sim0 bus 0: at scbus3 target 0 lun 0 (da0,pass2) at scbus3 target 0 lun 1 (da1,pass3) # ls /dev/*da* /dev/da0 /dev/da0s1 /dev/da1 # dd if=/dev/da1 of=/dev/null dd: /dev/da1: Device not configured [Update: This has both soldered flash and microSD slot, the second LUN may be the SD slot. Will test...] Also the kernel does not print USB 'port' number except on disconnect... kernel: umass0: at uhub3, port 5, addr 2 (disconnected) It needs to print a corresponding 'connected' line on connect, or perhaps add the 'port' in here... kernel: umass0: on usbus3 Here's the full LUN / port issue log... k: ugen3.2: at usbus3 k: umass0: on usbus3 k: umass0: SCSI over Bulk-Only; quirks = 0x4000 k: umass0:3:0:-1: Attached to scbus3 k: (probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0? k: pass2 at umass-sim0 bus 0 scbus3 target 0 lun 0 k: pass2: Removable Direct Access SCSI-0 device k: pass2: Serial Number 0123456789ABCDEF k: pass2: 40.000MB/s transfers k: GEOM: new disk da0 k: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 k: da0: Removable Direct Access SCSI-0 device k: da0: Serial Number 0123456789ABCDEF k: da0: 40.000MB/s transfers k: da0: 3770MB (7722483 512 byte sectors: 255H 63S/T 480C) k: da0: quirks=0x2 k: da0: Delete methods: k: (probe0:umass-sim0:0:0:1): Down reving Protocol Version from 2 to 0? k: (probe0:umass-sim0:0:0:1): SCSI status error k: (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 00 20 00 00 00 00 k: (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error k: (probe0:umass-sim0:0:0:1): SCSI status: Check Condition k: (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) k: (probe0:umass-sim0:0:0:1): Error 6, Unretryable error k: pass3 at umass-sim0 bus 0 scbus3 target 0 lun 1 k: pass3: Removable Direct Access SCSI-0 device k: pass3: Serial Number 0123456789ABCDEF k: pass3: 40.000MB/s transfers k: (da1:umass-sim0:0:0:1): SCSI status error k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00 k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error k: da1 at umass-sim0 bus 0 scbus3 target 0 lun 1 k: da1: Removable Direct Access SCSI-0 device k: da1: Serial Number 0123456789ABCDEF k: da1: 40.000MB/s transfers k: da1: Attempt to query device size failed: NOT READY, Medium not present k: da1: quirks=0x2 k: da1: Delete methods: k: GEOM: new disk da1 k: (da1:umass-sim0:0:0:1): SCSI status error k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00 k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error k: Opened disk da1 -> 6 k: (da1:umass-sim0:0:0:1): SCSI status error k: (da1:umass-sim0:0:0:1): READ CAPACITY(10). CDB: 25 20 00 00 00 00 00 00 00 00 k: (da1:umass-sim0:0:0:1): CAM status: SCSI Status Error k: (da1:umass-sim0:0:0:1): SCSI status: Check Condition k: (da1:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) k: (da1:umass-sim0:0:0:1): Error 6, Unretryable error k: Opened disk da1 -> 6 k: ugen3.2: at usbus3 (disconnected) k: umass0: at uhub3, port 5, addr 2 (disconnected) k: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 0 refs k: (da0:umass-sim0:0:0:0): removing device entry k: (pass2:umass-sim0:0:0:0): lost device k: (pass2:umass-sim0:0:0:0): removing device entry k: (da1:umass-sim0:0:0:1): lost device - 0 outstanding, 0 refs k: (da1:umass-sim0:0:0:1): removing device entry k: (pass3:umass-sim0:0:0:1): lost device k: (pass3:umass-sim0:0:0:1): removing device entry