From owner-freebsd-stable@FreeBSD.ORG Wed May 17 14:14:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0798616A439 for ; Wed, 17 May 2006 14:14:09 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from brev.sics.se (brev.sics.se [193.10.64.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id C45BD43D45 for ; Wed, 17 May 2006 14:14:07 +0000 (GMT) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (P142.sics.se [193.10.66.253]) by brev.sics.se (8.12.8/8.12.8) with ESMTP id k4HEE2Xu006209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 May 2006 16:14:02 +0200 Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.13.6/8.13.6) with ESMTP id k4HEEfRG001783; Wed, 17 May 2006 16:14:41 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.13.6/8.13.6/Submit) id k4HEEfVD001782; Wed, 17 May 2006 16:14:41 +0200 (CEST) (envelope-from bengta@P142.sics.se) To: "Dennis Melentyev" From: Bengt Ahlgren In-Reply-To: (Dennis Melentyev's message of "Wed, 17 May 2006 14:10:14 +0300") References: Date: Wed, 17 May 2006 16:14:40 +0200 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new Cc: freebsd-stable@freebsd.org Subject: Re: 6.1 and USB: problems with mounting SonyEricsson K750 flash X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 14:14:09 -0000 Hi! "Dennis Melentyev" writes: > I've got a problem with mounting SonyEricsson K750 flash card: > 6.1 is not stabily mounting/recognizing device, and, after several tries > ended up in creating TWO IDENTICAL device nodes in /dev!!! > > Has anyone any suggestion on how to resolve such a problem? > > Here is kind of my actions log: > After connecting the cable, got this in console: > umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1902MB (3895296 512 byte sectors: 255H 63S/T 242C) > > so far everything is ok, except the reported disk size: it's 1Gb, not 2Gb. I get a different error, but which could possibly be related. I am running 6.1R on a Thinkpad X40. I just thought my connectors have accumulated too much dirt, because after retrying two-three times it succeeds. But perhaps dirt is not the issue, because when it succeeds in reading the size, mounting and reading works perfectly without errors. Here is what I get about 3 times out of 4 when attaching: umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 2 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 (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 Opened disk da0 -> 6 And, correctly when it succeeds: umass0: Sony Ericsson Sony Ericsson K750, rev 2.00/0.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 61MB (126912 512 byte sectors: 64H 32S/T 61C) I am not sure when the above problems started. When my phone was new (July 2005) it worked without any problems. I was most likely running 5.4 at that time. Bengt