Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2010 18:00:34 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, Crazy Alex <crazyalexnt@inbox.ru>
Subject:   Re: usb/143294: copying process stops at some time (10 - 50 seconds) from usb disk only nForce motherboards in 8.0-RELEASE/STABLE
Message-ID:  <201001291800.34182.hselasky@c2i.net>
In-Reply-To: <201001291650.o0TGo6CT077268@freefall.freebsd.org>
References:  <201001291650.o0TGo6CT077268@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 29 January 2010 17:50:06 Crazy Alex wrote:
> The following reply was made to PR usb/143294; it has been noted by GNATS.
> 
> From: Crazy Alex <crazyalexnt@inbox.ru>
> To: bug-followup@FreeBSD.org, crazyalexnt@inbox.ru
> Cc:
> Subject: Re: usb/143294: copying process stops at some time (10 - 50
>  seconds) from usb disk only nForce motherboards in 8.0-RELEASE/STABLE
> Date: Fri, 29 Jan 2010 21:54:15 +0500
> 
>  Hi,
> 
>  This patch only adds the output message?
>  Please advice, what do I do next?

Edit: src/sys/dev/usb/storage/umass.c and make the modification shown below

        [UMASS_T_BBB_COMMAND] = {
                .type = UE_BULK,
                .endpoint = UE_ADDR_ANY,
                .direction = UE_DIR_OUT,
                .bufsize = sizeof(umass_bbb_cbw_t),
                .callback = &umass_t_bbb_command_callback,
                .timeout = 5000,        /* 5 seconds */
+                               .interval = 1,                  /* ms */
        },

1) Apply the patch above by hand and rebuild the kernel. 
2) Test your USB device.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001291800.34182.hselasky>