From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 17 01:50:06 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D5D9D16A403 for ; Tue, 17 Apr 2007 01:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 68E4413C458 for ; Tue, 17 Apr 2007 01:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3H1o64Q017474 for ; Tue, 17 Apr 2007 01:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3H1o65n017472; Tue, 17 Apr 2007 01:50:06 GMT (envelope-from gnats) Date: Tue, 17 Apr 2007 01:50:06 GMT Message-Id: <200704170150.l3H1o65n017472@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dierk Sacher Cc: Subject: [patch] Re: usb/99418: external usb harddrive slow to accept X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dierk Sacher List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 01:50:06 -0000 The following reply was made to PR conf/99418; it has been noted by GNATS. From: Dierk Sacher To: bug-followup@FreeBSD.org, list@understudy.net Cc: peter.schuller@infidyne.com, jharris@widomaker.com Subject: [patch] Re: usb/99418: external usb harddrive slow to accept Date: Tue, 17 Apr 2007 03:46:56 +0200 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, looking at the debugging output it seemed to hang at Apr 17 03:36:52 hobo kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 retrying the INQUIRY 3 time which took about 10mins to finish on my X40. Attached patches work arround the issue by enabling the NO_INQUIRY_EVPD for the Device. I'd like to see some more owners of that particular device test the patch, which is against 6.2-RELEASE-p3 (not tracking CURRENT,sry). I'd didn't have the time yet to try how kern/107495 would fit in as a solution to the issue. My Drive is: External HDD(0x0901), Western Digital(0x1058), rev 1.08 WD 2500JB External 0108 -- |----+----|----+----|----+----|----+----|----+----|----+----|----+----|--< GPG Fingerprint: D14C 12BB 37A6 6745 7F4F F420 9E59 D79E A492 2A96 GPG KeyID : A4922A96 +------------------------------------------------------------------------+ --mYCpIKhGyMATD0i+ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="usbdevs.diff" --- usbdevs Tue Apr 17 05:17:02 2007 +++ usbdevs.orig Tue Nov 14 13:54:38 2006 @@ -1684,7 +1684,6 @@ /* Western Digital products */ product WESTERN EXTHDD 0x0400 External HDD product WESTERN HUB 0x0500 USB HUB -product WESTERN MYBOOK 0x0901 External HDD MyBook Series /* Windbond Electronics */ product WINBOND UH104 0x5518 4-port USB Hub --mYCpIKhGyMATD0i+ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="umass.c.diff" --- umass.c.orig Sat Dec 23 03:03:40 2006 +++ umass.c Tue Apr 17 05:14:04 2007 @@ -510,6 +510,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE }, + { USB_VENDOR_WESTERN, USB_PRODUCT_WESTERN_MYBOOK, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_INQUIRY_EVPD + }, { USB_VENDOR_YANO, USB_PRODUCT_YANO_U640MO, RID_WILDCARD, UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, FORCE_SHORT_INQUIRY --mYCpIKhGyMATD0i+--