From nobody Sat Jul 17 14:53:56 2021 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 BC85E8D6552 for ; Sat, 17 Jul 2021 14:53:59 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GRrj34Lznz3CcR for ; Sat, 17 Jul 2021 14:53:59 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x436.google.com with SMTP id g16so15533037wrw.5 for ; Sat, 17 Jul 2021 07:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=AfsYQHx9GrY7xXqinx0m7Tw7aLyHgznsXt2qf9dXlwM=; b=VbIO8+p7BOrFlDw8IV8mjPSq1MMFQRmTX/vspzJGqF4dHH5Y25cZ8Z1pT1ES8zXDl/ BXudLGnhATWCDs9zhkcWsF9Ur78yknziMpirpOUaWASV1I2mjYrc8AtbvhI1Gr9M7xqB Z7IMjA1yF4E3D/R0Zgmirmw3MhLz5dqXJsLpyc95kinGimr5wVs8KU6cmsjTlzwRRwbR x1TKgH+6EI60c7lCEGUHj8WkKYicVOR0fIcQ2RjQDIiIw2X3Mrh+cnabIpM4lyrETp9A 2PBatbr2VefV7BB6+KDKtYIm6AR+OfogW+AzacxuRfwDWQAZN8q8u+PtYToOZbq3YXE4 FyBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=AfsYQHx9GrY7xXqinx0m7Tw7aLyHgznsXt2qf9dXlwM=; b=OFUamNefgUtdaup8OFudNefNSfwvISsZb6xkBre2HU99LgQCjmOiCm5WqcQNt/FlgD 1077kaBzTR4oRpJFeImpsSXTTdyfW4iMP+5HyQFzb2JotzPNxzbAc7kpfmI2kAZ84QAL QcupZyS7DmJvnJwessYm5eLoJiXaiaqp1wDcdIIYGsuAhp3KaWK28Cs5HAj9pTuKVyJk DE+v/FpuKp15bzvecA06LQ2WijPgd6H7eTyZMa/Ac/i4MU7pcUnMlaqrhaVoH4MaILXQ XQuihs3cuy1M794MRDRKkSEu/cfJEVBw9TE2hi8rO4yCKKwu0CAaXYUAtdksno+d0FSd oDlg== X-Gm-Message-State: AOAM531EnxGeJMij3/gZD4vJco3RRLMUDqozWK/vGsPWszpmcySqTcmr kX+orN38aWDGMKywLWrgSmM1FNf1Crvdsg== X-Google-Smtp-Source: ABdhPJyZgETTID1q/aDl5t+vUyzj0aqkJSkoaEC7DvFBKXjuFuEQZP9E0sV8HT/EkfOvLOH8kQOg3w== X-Received: by 2002:adf:f907:: with SMTP id b7mr19279655wrr.357.1626533637208; Sat, 17 Jul 2021 07:53:57 -0700 (PDT) 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 n11sm2306924wms.0.2021.07.17.07.53.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Jul 2021 07:53:56 -0700 (PDT) Subject: USB: disk controller disconnection To: doa379 Cc: Current FreeBSD References: <994d22b5-c8b7-1183-8198-47b8251e896e@gmail.com> From: Graham Perrin Message-ID: Date: Sat, 17 Jul 2021 15:53:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 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 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: 4GRrj34Lznz3CcR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 17/07/2021 14:36, doa379 wrote: Re: nvme(4) losing control, and subsequent use of fsck_ffs(8) with UFS > I have a similar issue with a system that runs off a USB drive. The > fs is UFS. The system does minimal disk io but the system fails without > warning on repeated intervals. The disk controller gets disconnected > thereby taking the whole system offline. I'm sure the drive itself is > not perfect but I'd have expected the fs to account for that. USB can be a strange, horrible creature. Always carry an old-fashioned hand-held mirror; if you look at USB the wrong way, you might turn to stone. I learnt to not trust some USB ports for storage. What's the hardware in your case, and how exactly is it connected? Share a hardware probe, if you like.