From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 26 17:30:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27363106564A for ; Wed, 26 Mar 2008 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1D08FC22 for ; Wed, 26 Mar 2008 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2QHU0qu011093 for ; Wed, 26 Mar 2008 17:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2QHU0o9011092; Wed, 26 Mar 2008 17:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 26 Mar 2008 17:30:00 GMT Resent-Message-Id: <200803261730.m2QHU0o9011092@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Matt D. Harris" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B891065673 for ; Wed, 26 Mar 2008 17:28:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A99D68FC2A for ; Wed, 26 Mar 2008 17:28:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2QHS4c2004714 for ; Wed, 26 Mar 2008 17:28:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2QHS4hH004713; Wed, 26 Mar 2008 17:28:04 GMT (envelope-from nobody) Message-Id: <200803261728.m2QHS4hH004713@www.freebsd.org> Date: Wed, 26 Mar 2008 17:28:04 GMT From: "Matt D. Harris" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/122119: umass device causes creation of daX but not daXsX entries; CAM error X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 17:30:01 -0000 >Number: 122119 >Category: misc >Synopsis: umass device causes creation of daX but not daXsX entries; CAM error >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 26 17:30:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matt D. Harris >Release: 7.0-STABLE >Organization: Solitox Networks >Environment: FreeBSD vesper.int.sykotik.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 22 00:59:20 EDT 2008 root@vesper.int.sykotik.org:/usr/src/sys/i386/compile/VESPER i386 >Description: I believe this problem appears similar to, but not the same as those described in usb/95037 and kern/114667 which are both open PR's. Those PR's are both on 6.1 however, and this occurs on 7.0-STABLE. This umass device worked as expected with FreeBSD 6.2 (which is why I do not believe the two above referenced PR's are the same problem), however upon moving to 7.0, it no longer works. When plugged in, daX is created, however the mountable slice (daXs1) is not. Under FreeBSD 6.2, daXs1 was created and was mountable/behaved normally. The USB device in question is a Motorola SLVR L7c phone with a 1gig MicroSD card installed. The MicroSD card is what is presented by the phone to the host system as a umass device, and is formatted msdosfs by the phone. The phone is visible and mounts just fine on my wife's Linux workstation, as well. Other umass devices work fine for me under FreeBSD 7.0 including a Seagate USB external hard drive and some random cheapo flash storage device s. Errors from dmesg: umass1: on uhub3 da1 at umass-sim1 bus 1 target 0 lun 0 da1: Removable Direct Access SCSI-2 device da1: 1.000MB/s transfers da1: 947MB (1939457 512 byte sectors: 64H 32S/T 947C) (da1:umass-sim1:1:0:0): READ(10). CDB: 28 0 0 1d 98 0 0 0 1 0 (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error (da1:umass-sim1:1:0:0): SCSI Status: Check Condition (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 (da1:umass-sim1:1:0:0): Medium not present field replaceable unit: 20 (da1:umass-sim1:1:0:0): Unretryable error (da1:umass-sim1:1:0:0): Invalidating pack (da1:umass-sim1:1:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 (da1:umass-sim1:1:0:0): Medium not present field replaceable unit: 20 umass1: at uhub3 port 2 (addr 2) disconnected (da1:umass-sim1:1:0:0): lost device (da1:umass-sim1:1:0:0): removing device entry umass1: detached (root@vesper) [/usr/ports]: usbdevs -v Controller /dev/usb5: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), AcerLabs(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 addr 2: high speed, self powered, config 1, product 0x0201(0x0201), vendor 0x050d(0x050d), rev 0.00 port 4 addr 3: full speed, power 100 mA, config 1, USB MMC Storage(0x1000), Qualcomm, Incorporated(0x05c6), rev 0.00 (root@vesper) [/usr/ports]: camcontrol devlist -v scbus0 on umass-sim0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) scbus1 on sbp0 bus 0: < > at scbus1 target -1 lun -1 () scbus2 on ata0 bus 0: at scbus2 target 0 lun 0 (cd0,pass1) < > at scbus2 target -1 lun -1 () scbus3 on ata1 bus 0: at scbus3 target 0 lun 0 (cd1,pass2) < > at scbus3 target -1 lun -1 () scbus4 on ata2 bus 0: < > at scbus4 target -1 lun -1 () scbus5 on ata3 bus 0: < > at scbus5 target -1 lun -1 () scbus6 on ata4 bus 0: < > at scbus6 target -1 lun -1 () scbus7 on ata5 bus 0: < > at scbus7 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) (root@vesper) [/usr/ports]: devinfo -v umass0 pnpinfo vendor=0x05c6 product=0x1000 devclass=0x00 devsubclass=0x00 release=0x0000 sernum="000000000002" intclass=0x08 intsubclass=0x06 at port=3 interface=0 The other referenced PR's don't contain the "field replaceable unit" output line in their information. Whether this is unique to my issue or unique/new beyond 6.1, I am unsure. >How-To-Repeat: The errors posted above appear upon connection of the phone via USB to the host system. >Fix: >Release-Note: >Audit-Trail: >Unformatted: