Subject: kern/28369: USB flash drive not recognized
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: netbsd-bugs
Date: 11/20/2004 21:40:01
>Number:         28369
>Category:       kern
>Synopsis:       PNY Attache 2.0 flash drive not recognized
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 20 21:40:00 +0000 2004
>Originator:     Steven M. Bellovin
>Release:        NetBSD 2.0_RC4
>Organization:
>Environment:
	
	
System: NetBSD berkshire.research.att.com 2.0_RC4 NetBSD 2.0_RC4 (BERKSHIRE) #1: Wed Oct 20 09:10:57 EDT 2004 smb@berkshire.research.att.com:/usr/BUILD/obj/sys/arch/i386/compile/BERKSHIRE i386
Architecture: i386
Machine: i386
>Description:
	When I plug in the flash drive, it recognizes the SCSI bus and then
	does nothing:

	umass0 at uhub0 port 1 configuration 1 interface 0
	umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2
	umass0: using SCSI over Bulk-Only
	uhci0: usb_reserve_allocm of size 65536 --> offs 0
	scsibus0 at umass0: 2 targets, 1 lun per target

	Here are the dmesg lines about my USB port:

	uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
	uhci0: interrupting at irq 11
	uhci0: setup of reserve of size 262144 successful; p 01d2c000 v 0xcaae2000
	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

	I see the same thing on -current with ehci.  Other USB 2.0
	flash disks work properly:

	umass0 at uhub0 port 1 configuration 1 interface 0
	umass0: SanDisk Corporation Cruzer Mini, rev 2.00/0.20, addr 2
	umass0: using SCSI over Bulk-Only
	uhci0: usb_reserve_allocm of size 65536 --> offs 0
	scsibus0 at umass0: 2 targets, 1 lun per target
	sd0 at scsibus0 target 0 lun 0: <SanDisk, Cruzer Mini, 0.2> disk removable
	sd0: 244 MB, 979 cyl, 16 head, 32 sec, 512 bytes/sect x 501759 sectors

	Note: I have Frank van der Linden's bypass for the USB memory
	problem installed; however, I've reproduced the problem on other
	machines that don't have it.

>How-To-Repeat:
	See above
>Fix:
	Unknown

>Unformatted: