From owner-freebsd-usb@FreeBSD.ORG Tue Apr 26 13:10:22 2005 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDAB916A4CE for ; Tue, 26 Apr 2005 13:10:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 931CE43D3F for ; Tue, 26 Apr 2005 13:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j3QDALd5085281 for ; Tue, 26 Apr 2005 13:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j3QDALPk085278; Tue, 26 Apr 2005 13:10:21 GMT (envelope-from gnats) Resent-Date: Tue, 26 Apr 2005 13:10:21 GMT Resent-Message-Id: <200504261310.j3QDALPk085278@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fridtjof Busse Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EDC716A4CE for ; Tue, 26 Apr 2005 13:03:38 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8FED43D39 for ; Tue, 26 Apr 2005 13:03:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3QD3baX071152 for ; Tue, 26 Apr 2005 13:03:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j3QD3bnd071151; Tue, 26 Apr 2005 13:03:37 GMT (envelope-from nobody) Message-Id: <200504261303.j3QD3bnd071151@www.freebsd.org> Date: Tue, 26 Apr 2005 13:03:37 GMT From: Fridtjof Busse To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: usb/80361: mounting of usb-stick fails X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 13:10:22 -0000 >Number: 80361 >Category: usb >Synopsis: mounting of usb-stick fails >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 26 13:10:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Fridtjof Busse >Release: 5.4-RC3 >Organization: >Environment: >Description: If I try to mount my Dell Memory Stick 256 MB, I only get /dev/da0 (and not /dev/da0s1) and this appears in dmesg: umass0: M-SysT5 Dell Memory Key, rev 2.00/2.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: UNIT ATTENTION, 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): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present The "Medium not present" error is displayed multiple times until it fails with: (da0:umass-sim0:0:0:0): Retries Exhausted Opened disk da0 -> 6 The only way to get /dev/da0s1 is to do the following: cat /dev/null > /dev/da0s1 Then I get da0s1 and everything works fine, filesystem ist FAT32. But I'd like to be able to mount the stick without this "workaround", it works under Linux-2.6 without any problems at all. The dmesg during the "cat" is: (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): UNIT ATTENTION asc:28,0 (da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) >How-To-Repeat: Try to mount a current Dell Memory Stick. There's been a report on questions@ about the same behavior with a Kingston Elite >Fix: >Release-Note: >Audit-Trail: >Unformatted: