From nobody Mon Feb 07 04:02:16 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A9B9519C74D1 for ; Mon, 7 Feb 2022 04:02:20 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsXXW6j3Vz3LMm for ; Mon, 7 Feb 2022 04:02:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id j5-20020a05600c1c0500b0034d2e956aadso7678844wms.4 for ; Sun, 06 Feb 2022 20:02:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=AUpKPg3OON2k6AqJtem+6F59FQzOGXmtswdH67BMJwU=; b=FjmK9SvjWHJQa1GcCaRCYatgD6uo+kDXIRzNM9bxTF06bFkIJkAwdqExK2LJ7ePW7m hTZ9mcp0LHuNM/HddQXQWjW7rBDS2Zxcl9W/Tc0GUblkyznNS1GbNFOK0GXe7Zn3h0YA QE7lAyM70IQFK+UDmI8VSnUxHYZQd34hzHzZQqPQVp7eB0n7UCPA+jSEd84eXL6jD2Gr v240q7oMe72H5W0wNYVMI8t6hqxqOKaBS78RF/oPasZPpMUQALj59DAQxIxiZwLkUN26 IYmtsT4CJylvPqSEiBCsRO/r9utoAQqmSvdfQs95alaJaRrw74rOi2C2XnlzDUa0myUQ E5ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=AUpKPg3OON2k6AqJtem+6F59FQzOGXmtswdH67BMJwU=; b=6k2KROidklm/xOPKnTANZrKudMlIGCKt7HKvVqftSveBpWpSp6LNBhkcIlYh6Ew/df B5zd2onzZCwHGi/LS4EjTZkmNgPX72O/OuB1df1/40QJSeC1TQ78iTssFQapl2jJBOcC Ui2I6wCQxtggFfeok6LpstGJWPB2yjmYphMgzVQPI/zCiEdX5YcGq+ukVtn5lH9MBqQJ YVmRU7UXm99TXxJ/FizWLiwEzaYgkABv5mY1vfn2khE58HmizzN2hsEy5Cq84bUG4sKA eRzmwtQfB6czAlK9pkjHdzD79buyY5Ecm6c4k56+mQTYZRJ02GRv8CBsK0T/ppyr9IxR RHHg== X-Gm-Message-State: AOAM533hGa6EJEQPyWYA4k2alXMCh1aENRg+EsNBKg/wubwbTjEnOTiw ipXbUjkC6Lk2y1K1p1NlhFUlx+6uLWNBcQ== X-Google-Smtp-Source: ABdhPJx6ILjPGjzNp7BquSs/ImHKhhG2aa4uIUY+7ccsoJeUdhkdWY7BZttHac2Bq/r64K6+hmV7vQ== X-Received: by 2002:a05:600c:a0d:: with SMTP id z13mr9396534wmp.20.1644206538344; Sun, 06 Feb 2022 20:02:18 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id f25sm5207702wml.16.2022.02.06.20.02.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Feb 2022 20:02:17 -0800 (PST) Message-ID: <2bc20b06-d2f6-2dd1-2fdc-c4a288515604@gmail.com> Date: Mon, 7 Feb 2022 04:02:16 +0000 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: USB Disk Stalls on -current Content-Language: en-GB To: freebsd-current References: <7e8459e4-d708-7750-402c-cda2adf6199f@freebsd.org> <60ebd011-c2b8-3524-1476-123f11128ffe@freebsd.org> From: Graham Perrin In-Reply-To: <60ebd011-c2b8-3524-1476-123f11128ffe@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4JsXXW6j3Vz3LMm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=FjmK9Svj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32d:from]; MLMMJ_DEST(0.00)[freebsd-current]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 06/02/2022 17:14, Sean Bruno wrote: > … the clanking/grinding sound of the spinning rust on my desk > completely stops, the encoding of the video files stops (so its > waiting for a read to complete)… On 06/02/2022 19:02, Sean Bruno wrote: > … assuming that I have a fairly dodgy USB device, as the pauses seem > to correspond to this from CAM being emitted: > > Feb  6 11:56:43 alice kernel: (da0:umass-sim1:1:0:0): READ(10). CDB: > 28 00 36 69 02 6e 00 00 80 00 > Feb  6 11:56:43 alice kernel: (da0:umass-sim1:1:0:0): CAM status: CCB > request completed with an error > Feb  6 11:56:43 alice kernel: (da0:umass-sim1:1:0:0): Retrying > command, 2 more tries remain > > Things resume after this is emitted, but there is a substantial > (multiple minutes) pause here. … Yep, for a pause of that length (without a logged exhaustion) I'd suspect the hard disk drive. Over the years, I've seen 'CCB request completed with an error' often enough, and in various situations, with _good_ media e.g. , to get a sense (for myself) of whether there's a marginal cable, marginal port at the computer, marginal port at the drive, or some combination of those three things. Can you get S.M.A.R.T. data? An extended self-test might not expose an issue that becomes evident with sustained _writes_ (although I note your opening post comment about waiting for a read to complete). HTH Graham