From owner-freebsd-questions Mon Dec 30 13: 9:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 251EA37B401 for ; Mon, 30 Dec 2002 13:09:29 -0800 (PST) Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D4B043E4A for ; Mon, 30 Dec 2002 13:09:28 -0800 (PST) (envelope-from bulldog@fxp.org) Received: by peitho.fxp.org (Postfix, from userid 1206) id 22C1A1372E; Mon, 30 Dec 2002 16:09:07 -0500 (EST) Date: Mon, 30 Dec 2002 16:09:06 -0500 From: Bob Bomar To: questions@freebsd.org Subject: USB Card reader problem Message-ID: <20021230210906.GA53884@peitho.fxp.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline User-Agent: Mutt/1.4i X-Mailer: socket() Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have a SanDisk compact flash reader. When I try to mount the drive=20 I get this: [bob@warrior] ~>sudo mount -t msdos /dev/da0s1 /flash Password: msdos: /dev/da0s1: Input/output error When I look at dmesg I get this: da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device=20 da0: 650KB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present =2E.. umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR =2E.. Then I changed the usb port: uhub_explore: port=3D1 reset failed umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR Here is my dmesg: Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #3: Thu Dec 26 23:07:24 CST 2002 root@warrior.bomar.us:/usr/obj/usr/src/sys/Warrior Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(tm) XP 2200+ (1800.08-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x680 Stepping =3D 0 Features=3D0x383fbff AMD Features=3D0xc0400000 real memory =3D 536805376 (524224K bytes) avail memory =3D 517046272 (504928K bytes) Preloaded elf kernel "kernel" at 0xc0558000. Preloaded elf module "linux.ko" at 0xc055809c. Preloaded elf module "nvidia.ko" at 0xc055813c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 10 entries at 0xc00f8060 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on p= ci0 pci1: on pcib1 nvidia0: irq 5 at device 0.0 on pci1 nvidia0: Unable to allocate NVIDIA register resource. device_probe_and_attach: nvidia0 attach returned 6 ahc0: port 0xd800-0xd8ff mem 0x= dfff7 000-0xdfff7fff irq 5 at device 5.0 on pci0 aic7850: Single Channel A, SCSI Id=3D7, 3/253 SCBs bktr0: mem 0xdccfe000-0xdccfefff irq 5 at device 6.0 on pci0 bktr0: Hauppauge Model 44801 C310 bktr0: Hauppauge WinCast/TV, Philips NTSC tuner. pci0: (vendor=3D0x109e, dev=3D0x0878) at 6.1 irq 5 pcib2: at device 7.0 on p= ci0 pci2: on pcib2 pci2: at 0.0 irq 11 dc0: port 0xd400-0xd4ff mem 0xdfff6c00-0xdfff6f= ff ir q 10 at device 8.0 on pci0 dc0: Ethernet address: 00:20:78:04:1b:45 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ohci0: mem 0xdfff4000-0xdfff4fff irq 11 at de= vice=20 11.0 on pci0 usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xdfff5000-0xdfff5fff irq 10 at de= vice=20 11.1 on pci0 usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at 11.2 irq 5 atapci0: port 0xdc00-0xdc0f,0xe000-0xe003,0= xe400 -0xe407,0xe800-0xe803,0xec00-0xec07 mem 0xdfffc000-0xdfffffff irq 10 at dev= ice 1 2.0 on pci0 ata2: at 0xec00 on atapci0 ata3: at 0xe400 on atapci0 isab0: at device 17.0 on = pci0 isa0: on isab0 atapci1: port 0xfc00-0xfc0f at device 17.1 on = pci0 ata0: at 0x1f0 irq 14 on atapci1 ata1: at 0x170 irq 15 on atapci1 uhci0: port 0xc800-0xc81f irq 10 at device 17.2= on p ci0 usb2: on uhci0 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 10 at device 17.3= on p ci0 usb3: on uhci1 usb3: USB revision 1.0 uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr= 2 umass0: Get Max Lun not supported (STALLED) pcm0: port 0xd000-0xd0ff irq 11 at device 17.5 on pci0 orm0: