Date: Thu, 26 Aug 2004 10:44:56 GMT From: Vladimir Machulsky <bofhmail@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/70983: QUIRK: Datafab USB ComactFlash Reader Message-ID: <200408261044.i7QAiuJD047495@www.freebsd.org> Resent-Message-ID: <200408261050.i7QAoKhN078462@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70983 >Category: misc >Synopsis: QUIRK: Datafab USB ComactFlash Reader >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 26 10:50:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Vladimir Machulsky >Release: FreeBSD 5.1-RELEASE-p16 i386 >Organization: none >Environment: FreeBSD devastator.pirahna.net 5.1-RELEASE-p16 FreeBSD 5.1-RELEASE-p16 #32: Mon Aug 23 22:12:16 EEST 2004 mvb@devastator.pirahna.net:/usr/src/sys/i386/compile/DEVASTATOR5 i386 >Description: camcontrol inquiry da0 ----------------------------- pass1: < > Removable Direct Access SCSI-2 device pass1: 1.000MB/s transfers ----------------------------- usbdevs -v ----------------------------- Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 70 mA, config 1, Mass Storage(0xa400), USB(0x07c4), rev 1.13 ----------------------------- failed dmesg ----------------------------- Copyright (c) 1992-2003 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 5.1-RELEASE-p16 #32: Mon Aug 23 22:12:16 EEST 2004 mvb@devastator.pirahna.net:/usr/src/sys/i386/compile/DEVASTATOR5 Preloaded elf kernel "/boot/kernel/kernel" at 0xc040c000. Preloaded elf module "/boot/kernel/vesa.ko" at 0xc040c1f4. Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc040c2a0. Preloaded elf module "/boot/kernel/snd_sb16.ko" at 0xc040c34c. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc040c3fc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc040c4a8. Preloaded elf module "/boot/kernel/umass.ko" at 0xc040c554. Preloaded elf module "/boot/kernel/random.ko" at 0xc040c600. Preloaded elf module "/boot/kernel/apm.ko" at 0xc040c6ac. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 201314304 (191 MB) avail memory = 191074304 (182 MB) Pentium Pro MTRR support enabled VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc03b7d57 (1000117) VESA: 3dfx Interactive, Inc. npx0: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00f0d10 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe7000000-0xe7ffffff at device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 drm0: <3dfx Voodoo3 3000> port 0xd800-0xd8ff mem 0xe4000000-0xe5ffffff,0xe0000000-0xe1ffffff irq 11 at device 0.0 on pci1 info: [drm] Initialized tdfx 1.0.0 20010216 on minor 0 isab0: <PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb400-0xb41f at device 4.2 on pci0 pci_cfgintr: 0:4 INTD routed to irq 3 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 umass0: USB Mass Storage, rev 1.10/1.13, addr 2 umass0: Get Max Lun not supported (STALLED) pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached) orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 ep0 at port 0x300 irq 10 on isa0 ep0: Ethernet address 00:a0:24:5e:a2:9f fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x80 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ep1: <3Com 3C509-Combo EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep1: No irq?! ep1: ep_alloc() failed! (6) device_probe_and_attach: ep1 attach returned 6 unknown: <PNP0400> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0510> can't assign resources (port) unknown: <PNP0f13> can't assign resources (irq) unknown: <PNP0000> can't assign resources (port) unknown: <PNP0303> can't assign resources (port) sbc1: <Creative SB AWE64 Gold> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: <SB16 DSP 4.16> on sbc1 Timecounters tick every 10.000 msec ata1-slave: timeout waiting for interrupt ata1-slave: ATAPI identify failed ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA33 ad1: 19595MB <QUANTUM FIREBALLP LM20.5> [39813/16/63] at ata0-slave UDMA33 acd0: CD-RW <CD-W540E> at ata1-master UDMA33 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 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 cd0 at ata1 bus 0 target 0 lun 0 cd0: <TEAC CD-W540E 1.0C> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present 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 umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): got CAM status 0x4 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device (da0:umass-sim0:0:0:0): lost device 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 umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da0:umass-sim0:0:0:0): removing device entry Opened disk da0 -> 5 ----------------------------- working dmesg ----------------------------- Copyright (c) 1992-2003 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 5.1-RELEASE-p16 #32: Mon Aug 23 22:12:16 EEST 2004 mvb@devastator.pirahna.net:/usr/src/sys/i386/compile/DEVASTATOR5 Preloaded elf kernel "/boot/kernel/kernel" at 0xc040c000. Preloaded elf module "/boot/kernel/vesa.ko" at 0xc040c1f4. Preloaded elf module "/boot/kernel/if_ep.ko" at 0xc040c2a0. Preloaded elf module "/boot/kernel/snd_sb16.ko" at 0xc040c34c. Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc040c3fc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc040c4a8. Preloaded elf module "/boot/kernel/umass.ko" at 0xc040c554. Preloaded elf module "/boot/kernel/random.ko" at 0xc040c600. Preloaded elf module "/boot/kernel/apm.ko" at 0xc040c6ac. Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping = 0 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 201314304 (191 MB) avail memory = 191074304 (182 MB) Pentium Pro MTRR support enabled VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc03b7d57 (1000117) VESA: 3dfx Interactive, Inc. npx0: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 5 entries at 0xc00f0d10 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe7000000-0xe7ffffff at device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 drm0: <3dfx Voodoo3 3000> port 0xd800-0xd8ff mem 0xe4000000-0xe5ffffff,0xe0000000-0xe1ffffff irq 11 at device 0.0 on pci1 info: [drm] Initialized tdfx 1.0.0 20010216 on minor 0 isab0: <PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb400-0xb41f at device 4.2 on pci0 pci_cfgintr: 0:4 INTD routed to irq 3 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 umass0: USB Mass Storage, rev 1.10/1.13, addr 2 umass0: Get Max Lun not supported (STALLED) pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached) orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 ep0 at port 0x300 irq 10 on isa0 ep0: Ethernet address 00:a0:24:5e:a2:9f fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x80 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ep1: <3Com 3C509-Combo EtherLink III> at port 0x300-0x30f irq 10 on isa0 ep1: No irq?! ep1: ep_alloc() failed! (6) device_probe_and_attach: ep1 attach returned 6 unknown: <PNP0400> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0510> can't assign resources (port) unknown: <PNP0f13> can't assign resources (irq) unknown: <PNP0000> can't assign resources (port) unknown: <PNP0303> can't assign resources (port) sbc1: <Creative SB AWE64 Gold> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: <SB16 DSP 4.16> on sbc1 Timecounters tick every 10.000 msec ata1-slave: timeout waiting for interrupt ata1-slave: ATAPI identify failed ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA33 ad1: 19595MB <QUANTUM FIREBALLP LM20.5> [39813/16/63] at ata0-slave UDMA33 acd0: CD-RW <CD-W540E> at ata1-master UDMA33 cd0 at ata1 bus 0 target 0 lun 0 cd0: <TEAC CD-W540E 1.0C> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present da0 at umass-sim0 bus 0 target 0 lun 0 da0: < > Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 124MB (254465 512 byte sectors: 64H 32S/T 124C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. ----------------------------- >How-To-Repeat: connect the reader to usb port >Fix: diff -c usbdevs.orig usbdevs ----------------------------- *** usbdevs.orig Thu Jun 5 18:53:48 2003 --- usbdevs Fri Aug 20 19:31:34 2004 *************** *** 358,363 **** --- 358,364 ---- vendor DAISY 0x3579 Daisy Technology vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard + vendor DATAFAB 0x07c4 Datafab /* * List of known products. Grouped by vendor. *************** *** 545,550 **** --- 546,554 ---- /* Dallas Semiconductor products */ product DALLAS J6502 0x4201 J-6502 speakers + + /* Datafab products */ + product DATAFAB KECF_USB 0xa400 KECF-USB CompactFlash Card Reader /* Diamond products */ product DIAMOND RIO500USB 0x0001 Rio 500 USB ----------------------------- diff -c umass.c.orig umass.c ----------------------------- *** umass.c.orig Fri Aug 20 20:20:13 2004 --- umass.c Mon Aug 23 21:37:02 2004 *************** *** 382,387 **** --- 382,391 ---- UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, FORCE_SHORT_INQUIRY }, + { USB_VENDOR_DATAFAB, USB_PRODUCT_DATAFAB_KECF_USB, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_INQUIRY + }, { VID_EOT, PID_EOT, RID_EOT, 0, 0 } }; ----------------------------- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408261044.i7QAiuJD047495>