Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2002 16:09:06 -0500
From:      Bob Bomar <bulldog@fxp.org>
To:        questions@freebsd.org
Subject:   USB Card reader problem
Message-ID:  <20021230210906.GA53884@peitho.fxp.org>

Next in thread | Raw E-Mail | Index | Archive | Help

--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: <SanDisk ImageMate II 1.30> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=3D0xc0400000<AMIE,DSP,3DNow!>
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: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=3D1106 device=3Db099)> at device 1.0 on p=
ci0
pci1: <PCI bus> on pcib1
nvidia0: <RIVA TNT> irq 5 at device 0.0 on pci1
nvidia0: Unable to allocate NVIDIA register resource.
device_probe_and_attach: nvidia0 attach returned 6
ahc0: <Adaptec 2902/04/10/15/20/30C SCSI adapter> 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: <BrookTree 878> mem 0xdccfe000-0xdccfefff irq 5 at device 6.0 on pci0
bktr0: Hauppauge Model 44801 C310
bktr0: Hauppauge WinCast/TV, Philips NTSC tuner.
pci0: <unknown card> (vendor=3D0x109e, dev=3D0x0878) at 6.1 irq 5
pcib2: <PCI to PCI bridge (vendor=3D3388 device=3D0021)> at device 7.0 on p=
ci0
pci2: <PCI bus> on pcib2
pci2: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 11
dc0: <ADMtek AN985 10/100BaseTX> 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: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0: <NEC uPD 9210 USB controller> mem 0xdfff4000-0xdfff4fff irq 11 at de=
vice=20
11.0 on pci0
usb0: OHCI version 1.0
usb0: <NEC uPD 9210 USB controller> 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: <NEC uPD 9210 USB controller> mem 0xdfff5000-0xdfff5fff irq 10 at de=
vice=20
11.1 on pci0
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> 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: <USB controller> at 11.2 irq 5
atapci0: <Promise TX2 ATA133 controller> 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: <PCI to ISA bridge (vendor=3D1106 device=3D3147)> at device 17.0 on =
pci0
isa0: <ISA bus> on isab0
atapci1: <VIA 8233 ATA133 controller> port 0xfc00-0xfc0f at device 17.1 on =
pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 10 at device 17.2=
 on p
ci0
usb2: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 10 at device 17.3=
 on p
ci0
usb3: <VIA 83C572 USB controller> 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: <VIA VT8233A> port 0xd000-0xd0ff irq 11 at device 17.5 on pci0
orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xc8800-0xd0fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 850C> PCL,MLC,PML
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ar0: 152638MB <ATA RAID0 array> [19458/255/63] status: READY subdisks:
 0 READY ad4: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata2-master UD=
MA100
 1 READY ad6: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata3-master UD=
MA100
acd0: CDROM <CD-ROM CDU701> at ata0-master PIO4
afd0: 96MB <IOMEGA ZIP 100 ATAPI> [96/64/32] at ata0-slave PIO0
acd1: CD-RW <SONY CD-RW CRX195E1> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
pass0 at ahc0 bus 0 target 1 lun 0
pass0: <HP C2520A 3503> Fixed Processor SCSI-2 device=20
pass0: 3.300MB/s transfers
Mounting root from ufs:/dev/ar0s2a
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SanDisk ImageMate II 1.30> Removable Direct Access SCSI-2 device=20
da0: 650KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present

--=20
/----------------------------------------------------------------\
| Bob Bomar 	bulldog@fxp.org 	http://www.bomar.us/~bob |
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|
| FreeBSD: The Power to Serve.		http://www.freeBSD.org   |
\----------------------------------------------------------------/

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE+ELXy9Jm/aTrtdKoRAooEAJ9lHzqXeaTMK1dKTiZljxqXc0+zOwCfbMGc
tiRTPFS4qyAKO/u+S/FeLQ0=
=udGw
-----END PGP SIGNATURE-----

--y0ulUmNC+osPPQO6--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20021230210906.GA53884>