Subject: kern/19573: JetFlash 64MB USBDrive delays kernel boot when connected
To: None <gnats-bugs@gnats.netbsd.org>
From: Daniel de Kok <daniel@blowgish.org>
List: netbsd-bugs
Date: 12/26/2002 19:47:23
>Number:         19573
>Category:       kern
>Synopsis:       JetFlash USB 64MB has no mode sense and big mode sense
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 26 10:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
>Environment:
	
	
System: NetBSD tazzy.blowgish.org 1.6 NetBSD 1.6 (TAZZY) #0: Thu Dec 26 13:13:03 CET 2002 danieldk@tazzy.blowgish.org:/usr/src/sys/arch/i386/compile/TAZZY i386
Architecture: i386
Machine: i386
>Description:
The JetFlash 64MB USBDrive delays kernel boot, because it needs 
PQUIRK_NOMODESENSE and PQUIRK_NOBIGMODESENSE. When connected
after booting, same delays occur when trying to mount/fdisk/
disklabel the device.
>How-To-Repeat:
Connect the JetFlash 64MB USBDrive and boot the kernel or connect
after booting and do some device operations.
>Fix:
Diff:

--- usbdevs.orig	Tue Dec 24 19:05:49 2002
+++ usbdevs	Tue Dec 24 19:08:56 2002
@@ -328,6 +328,7 @@
vendor EASYDISK		0x0c76	EasyDisk
vendor TANGTOP		0x0d3d	Tangtop
vendor PEN		0x0d7d	Pen Drive
+vendor JETFLASH		0x0ea0  JetFlash
vendor MOTOROLA		0x1063	Motorola
vendor CCYU		0x1065	CCYU Technology
vendor PLX		0x10b5	PLX
@@ -767,6 +768,9 @@
       
/* Jaton products */
product JATON EDA		0x5704	Ethernet Device Adapter
+
+/* Transcend JetFlash products */
+product JETFLASH 64MB		0x6803  64MB
 
/* Kawatsu products */
 product KAWATSU MH4000P		0x0003	MiniHub 4000P
--- umass_quirks.c.orig	Thu Dec 26 12:57:06 2002
+++ umass_quirks.c	Thu Dec 26 12:41:29 2002
@@ -90,6 +90,14 @@
	  NULL, NULL
	},
			 
+	{ { USB_VENDOR_JETFLASH, USB_PRODUCT_JETFLASH_64MB },
+	  UMASS_WPROTO_BBB, UMASS_CPROTO_SCSI,
+	  0,
+	  PQUIRK_NOMODESENSE | PQUIRK_NOBIGMODESENSE,
+	  UMATCH_VENDOR_PRODUCT,
+	  NULL, NULL
+	},
+
	{ { USB_VENDOR_MICROTECH, USB_PRODUCT_MICROTECH_DPCM },
	  UMASS_WPROTO_CBI, UMASS_CPROTO_ATAPI,
	  0,

>Release-Note:
>Audit-Trail:
>Unformatted: