Subject: USB / Flash DIisk / Prolific / problem
To: None <>
From: Dawid Szymanski <>
List: current-users
Date: 05/22/2003 23:53:56
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Hello, I'd like to ask you for any hints, when plugging in Prolific PL-2516 256 MB Flash Disk.

The main problem is that NetBSD-current as of the day 20030522 correctly recognize Flash Drive, and even touch him with sd0, but after _any_ access to /dev/sd0 it is freezing.

After near 5 minuts I get response that device is offline.

Any idea?

Attached dmesg.

Ready to allow some to log in and hack if would like to help ;)

Dawid Szymański aka SQ6EMM
"If it isn't possible with NetBSD, it isn't worth doing."
  -- Petter "Nosfisk" Lindquist

Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: attachment; filename="prolifik.txt"

NetBSD 1.6T (GENERIC_DIAGNOSTIC) #1: Thu May 22 22:44:05 CEST 2003
total memory = 191 MB
avail memory = 170 MB
using 2477 buffers containing 9908 KB of memory
BIOS32 rev. 0 found at 0xfdb70
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Celeron (Mendocino) (686-class), 400.95 MHz, id 0x665
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 128 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT2 Model 64 (rev. 0x15)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST313021A>
wd0: drive supports 32-sector PIO transfers, LBA addressing
wd0: 12419 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25434228 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST GCE-8481B, , 1.00> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
ne2 at pci0 dev 9 function 0: KTI Ethernet
ne2: Ethernet address 00:40:f6:14:a3:38
ne2: interrupting at irq 12
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
ym0 at isapnp0 port 0x220/16,0x530/8,0x388/8,0x330/2,0x370/2 irq 5 drq 0,1
ym0: OPL3-SA2 Sound Board : OPL3-SA2
audio0 at ym0: full duplex, mmap
opl0 at ym0: model OPL3
midi1 at opl0: OPL3-SA2 Yamaha OPL3
mpu0 at ym0
midi2 at mpu0: OPL3-SA2 MPU-401 MIDI UART
joy0 at isapnp0 port 0x201/1
joy0: OPL3-SA2 Sound Board 
joy0: joystick not connected
Kernelized RAIDframe activated
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
uhub1 at uhub0 port 1
uhub1: Prolific Technology Inc. USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 3
uhub1: 2 ports with 0 removable, self powered
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Prolific Technology Inc. USB Mass Storage Device, rev 2.00/0.01, addr 4
umass0: using ATAPI over Bulk-Only
atapibus1 at umass0 channel 0: 2 targets
sd0 at atapibus1 drive 0: <Prolific, USB Flash Disk, 1.00> disk removable
sd0: drive offline
ugen0 at uhub1 port 2
ugen0: Prolific Technology Inc. product 0x2516, rev 2.00/0.01, addr 5