Date: Wed, 3 Jan 2007 14:36:52 -0500 (EST) From: Jason Harris <jharris@widomaker.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jason Harris <jharris@widomaker.com> Subject: kern/107495: Fix long wait before WD My Book 250GB (USB) is recognized Message-ID: <200701031936.l03JaqZY000921@wilma.widomaker.com> Resent-Message-ID: <200701032000.l03K0dvu013431@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107495
>Category: kern
>Synopsis: Fix long wait before WD My Book 250GB (USB) is recognized
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 03 20:00:38 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jason Harris
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
Not usually...
>Environment:
System: FreeBSD wilma.widomaker.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #13: Wed Jan 3 14:06:08 EST 2007 root@wilma.widomaker.com:/usr/obj/usr/src/sys/TUNER i386
>Description:
My "WD My Book 250GB" (USB) doesn't give up its serial number,
causing about a 10min delay before the device is recognized.
>How-To-Repeat:
apply patch below, esp. to tag=RELENG_6
>Fix:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message
/usr/src/sys/cam/cam_xpt.c:
$FreeBSD: src/sys/cam/cam_xpt.c,v 1.155.2.10 2006/12/24 03:23:43 mjacob Exp $
===================================================================
RCS file: /usr/src/sys/cam/cam_xpt.c,v
retrieving revision 1.1
diff -u -r1.1 /usr/src/sys/cam/cam_xpt.c
--- /usr/src/sys/cam/cam_xpt.c 2007/01/03 17:39:53 1.1
+++ /usr/src/sys/cam/cam_xpt.c 2007/01/03 19:14:46
@@ -539,6 +539,18 @@
},
{
/*
+ * Western Digital My Book 250GB (USB)
+ * hangs upon serial number probing.
+ * Patched by: "Jason Harris" <jharris@widomaker.com>
+ */
+ {
+ T_DIRECT, SIP_MEDIA_FIXED, "WD",
+ "2500JB External", "*"
+ },
+ CAM_QUIRK_NOSERIAL, /*mintags*/0, /*maxtags*/0
+ },
+ {
+ /*
* Would repond to all LUNs if asked for.
*/
{
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iJ0EARECAF0FAkWcAhtWGGh0dHA6Ly9rZXlzZXJ2ZXIua2pzbC5jb206MTEzNzEv
cGtzL2xvb2t1cD9vcD1nZXQmc2VhcmNoPTB4RDM5REEwRTMmd2VoYXZleW91bm93
PXRydWUACgkQSypIl9OdoOPglACgp3z9aUpAF6EGASGOIti+VSmqnDcAn1VrZbpN
utgOvpfmONO8iq63D/Mi
=EQy/
-----END PGP SIGNATURE-----
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701031936.l03JaqZY000921>
