USB problems (I/O-Error => USB da(4) quirks, uscanner0)

Holger Kipp Holger.Kipp at alogis.com
Sat Aug 9 03:48:03 PDT 2003


Hi,

I have some problems with usb da and uscanner giving me I/O-errors.
This is on a ASRock K7VT2 board.

If there is anything else I could do (testing patches, providing further info),
please let me know.

4.8-STABLE from 04.08.2003:
- MBO USB-MultiCardReader 6-in-1  mount_msdos      => Input/output error
- Epson Perfection 1260 Scanner   scanimage --test => Error during device I/O

4.8-STABLE from 09.08.2003 (at about now):
- MBO USB-MultiCardReader 6-in-1  mount_msdos etc. => OK
  => SD/MMS-Cards are located at 0:0:2
     camcontrol rescan 0:0:2
     mounting and reading works, but I assume one shouldn't mount devices RW
     if they are read-only...
     Do we have the same problem here as with floppy disks?
- Epson Perfection 1260 Scanner   scanimage --test => Error during device I/O
  (this is plustek 0x04b8 0x011d)
  => scanimage --test
     scanimage: scanning image of size 248x150 pixels at 24 bits/pixel
     scanimage: acquiring RGB frame, 8 bits/sample
     scanimage: reading one scanline, 744 bytes...
     FAIL Error: Error during device I/O
  I have reports that this scanner is working correctly with
  FreeBSD (but presumably with a different board).


Could whoever solved the usb da-thing have a look at uscanner?

Regards,
Holger

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 4.8-STABLE #23: Mon Aug  4 22:33:07 CEST 2003
    root at katrin:/usr/obj/usr/src/sys/KATRIN
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (1300.23-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (524224K bytes)
avail memory = 518320128 (506172K bytes)
Preloaded elf kernel "kernel" at 0xc03e8000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f8010
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=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xdfffff00-0xdfffffff irq 11
at device 12.0 on pci0
rl0: Ethernet address: 00:50:fc:96:57:d3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 16.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 11 at device 16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
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
pci0: <USB controller> at 16.3 irq 10
isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 ATA133 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <VIA VT8235> port 0xdc00-0xdcff irq 11 at device 17.5 on pci0
pcm0: <unknown ac97 codec> (id=0x56494161)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem 0xdffffd00-0xdffffdff
irq 11 at device 18.0 on pci0
vr0: Ethernet address: 00:e0:18:ad:3a:7f
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
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 IntelliMouse, device ID 3
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=0x300>
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 0x278-0x27f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master UDMA133
acd0: DVD-ROM <DV-516E> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
umass0: ICSI IC1100 V2.5B, rev 1.10/2.5b, addr 3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <ICSI IC1100        CF 2.5B> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <ICSI IC1100        MS 2.5B> Removable Direct Access SCSI-0 device
da1: 650KB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <ICSI IC1100    MMC/SD 2.5B> Removable Direct Access SCSI-0 device
da2: 650KB/s transfers
da2: 60MB (124160 512 byte sectors: 64H 32S/T 60C)
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <ICSI IC1100        SM 2.5B> Removable Direct Access SCSI-0 device
da3: 650KB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
(da4:umass-sim0:0:0:4): got CAM status 0x4
(da4:umass-sim0:0:0:4): fatal error, failed to attach to device
(da4:umass-sim0:0:0:4): lost device
(da4:umass-sim0:0:0:4): removing device entry
uscanner0: at uhub2 port 2 (addr 2) disconnected
uscanner0: detached
uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 7
done
Uptime: 1h42m6s
Rebooting...
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 4.8-STABLE #24: Sat Aug  9 11:48:40 CEST 2003
    root at katrin:/usr/obj/usr/src/sys/KATRIN
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (1300.23-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (524224K bytes)
avail memory = 518324224 (506176K bytes)
Preloaded elf kernel "kernel" at 0xc03e7000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f8010
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=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xdfffff00-0xdfffffff irq 11
at device 12.0 on pci0
rl0: Ethernet address: 00:50:fc:96:57:d3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 16.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 11 at device 16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
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
pci0: <USB controller> at 16.3 irq 10
isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 ATA133 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <VIA VT8235> port 0xdc00-0xdcff irq 11 at device 17.5 on pci0
pcm0: <unknown ac97 codec> (id=0x56494161)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem 0xdffffd00-0xdffffdff
irq 11 at device 18.0 on pci0
vr0: Ethernet address: 00:e0:18:ad:3a:7f
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
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 IntelliMouse, device ID 3
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=0x300>
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 0x278-0x27f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master UDMA133
acd0: DVD-ROM <DV-516E> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
umass0: ICSI IC1100 V2.5B, rev 1.10/2.5b, addr 3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <ICSI IC1100        CF 2.5B> Removable Direct Access SCSI-0 device
da0: 650KB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <ICSI IC1100        MS 2.5B> Removable Direct Access SCSI-0 device
da1: 650KB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <ICSI IC1100    MMC/SD 2.5B> Removable Direct Access SCSI-0 device
da2: 650KB/s transfers
da2: 60MB (124160 512 byte sectors: 64H 32S/T 60C)
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <ICSI IC1100        SM 2.5B> Removable Direct Access SCSI-0 device
da3: 650KB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
da2: reading primary partition table: error reading fsbn 0


More information about the freebsd-stable mailing list