From owner-freebsd-questions@FreeBSD.ORG Sat Sep 8 15:00:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3416616A421 for ; Sat, 8 Sep 2007 15:00:19 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id C24AF13C459 for ; Sat, 8 Sep 2007 15:00:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from Lowell-Desk.lan (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 2C19C2845F; Sat, 8 Sep 2007 11:00:15 -0400 (EDT) Received: by Lowell-Desk.lan (Postfix, from userid 1147) id 500201CDAE; Sat, 8 Sep 2007 11:00:15 -0400 (EDT) To: "Snow Mountains" References: <3cf9f8920709071235i5d0a1083q603e3e1ca3b93ae6@mail.gmail.com> From: Lowell Gilbert Date: Sat, 08 Sep 2007 11:00:15 -0400 In-Reply-To: <3cf9f8920709071235i5d0a1083q603e3e1ca3b93ae6@mail.gmail.com> (Snow Mountains's message of "Fri\, 7 Sep 2007 21\:35\:34 +0200") Message-ID: <44vealnqww.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Sony Ericsson: (da0:umass-sim0:0:0:0): NOT READY asc:3a, 0 (repeated) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2007 15:00:19 -0000 "Snow Mountains" writes: > I posted this question 10 days ago, got no replies. Is it possible > nobody here installed CD release of FreeBSD 6.2 and has Sony Ericsson > mobile phone or something similar which causes similar problem? :-) > > Maybe summer time is the cause :-) So let me repeat: > > ========= > > Hi list, > > If I plug in my Secure Digital reader with the card from kamera, it is > detected very fine and I can mount using -t msdosfs on /mnt/da0s1. > > But I have a little problem when trying to attach my Sony Ericcson > W810 mobile phone to FreeBSD 6.2. See what I get: > > umass0: Sony Ericsson Sony Ericsson W810, rev 2.00/0.00, addr 5 > umass1: Sony Ericsson Sony Ericsson W810, rev 2.00/0.00, addr 5 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > da1 at umass-sim1 bus 1 target 0 lun 0 > da1: Removable Direct Access SCSI-0 device > da1: 1.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > > .................. this block repeats many many times for da0 and da1 too. > > umass0: at uhub4 port 1 (addr 5) disconnected > (da0:umass-sim0:0:0:0): lost device > (da0:umass-sim0:0:0:0): removing device entry > umass0: detached > umass1: at uhub4 port 1 (addr 5) disconnected > (da1:umass-sim1:1:0:0): lost device > (da1:umass-sim1:1:0:0): removing device entry > > When I plug out the Ericsson, > > umass1: detached > > Other data: FreeBSD 6.2, straight from instalation cd: > FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 > root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > dmesg | grep usb > usb0: on uhci0 > usb0: USB revision 1.0 > usb1: on uhci1 > usb1: USB revision 1.0 > usb2: on uhci2 > usb2: USB revision 1.0 > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > > I searched google, more than 100 results with mistake messages, but > nothing I can really use. > > What can be the reason? Do I have to send more data? I have a Sony Ericsson phone, but it isn't a USB device. These kinds of messages usually mean that the umass device is not responding as expected to queries. Some other Sony devices (cameras) seem to have extra padding requirements; you could try adding a quirk to the code for the umass device driver. To look more deeply, you would need someone with a decent knowledge of the USB protocols.