From owner-freebsd-questions@FreeBSD.ORG Thu Apr 9 17:37:43 2009 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 D51FD106566B for ; Thu, 9 Apr 2009 17:37:43 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 964D88FC15 for ; Thu, 9 Apr 2009 17:37:43 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n39Hbhxq054008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 9 Apr 2009 10:37:43 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n39Hbhrp054007 for freebsd-questions@freebsd.org; Thu, 9 Apr 2009 10:37:43 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA00444; Thu, 9 Apr 09 10:14:52 PDT Date: Thu, 09 Apr 2009 10:12:58 -0700 From: perryh@pluto.rain.com To: freebsd-questions@freebsd.org Message-Id: <49de2c9a.QlCBOleCO/iBrMcf%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: USB SD-card reader recognized, but not working, on 6.1 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: Thu, 09 Apr 2009 17:37:44 -0000 Trying here, after no answer on usb@ When I plug in the reader, I get (on the console): umass0: SDMMC M121 USB 2.0 SD/MMC READER, rev 2.00/2.01, 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: 1962MB (4019200 512 byte sectors: 255H 63S/T 250C) So far, so good, and it appears -- based on this excerpt from the mtoolstest output -- that mtools is configured to read /dev/da0 as b: drive B: #fn=1 mode=0 defined in /usr/local/etc/mtools.conf file="/dev/da0" fat_bits=0 tracks=0 heads=0 sectors=0 hidden=0 offset=0x0 partition=0 However, when I try to read it with mtools: $ mdir -a b: init B: non DOS media Cannot initialize 'B:' When I try to investigate using file: $ file -s /dev/da0 I get a very long pause, during which this appears on the console: umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 umass0: BBB reset failed, TIMEOUT umass0: BBB bulk-in clear stall failed, TIMEOUT umass0: BBB bulk-out clear stall failed, TIMEOUT and the file command reports /dev/da0: ERROR: cannot read `/dev/da0' (Input/output error) Is there anything that can be done in the way of configuration adjustments, or is this reader just not usable on 6.1? USB part of dmesg.boot: uhci0: port 0xcce0-0xccff irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered