Linux USB
 help / color / mirror / Atom feed
From: Michal Pecio <michal.pecio@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Pierre Tomon <pierretom+12@ik.me>, linux-usb@vger.kernel.org
Subject: Re: USB disconnection after mounting file system
Date: Thu, 9 Oct 2025 16:07:31 +0200	[thread overview]
Message-ID: <20251009160731.58dd47bb.michal.pecio@gmail.com> (raw)
In-Reply-To: <2025100905-gestation-founder-3e70@gregkh>

On Thu, 9 Oct 2025 15:35:55 +0200, Greg KH wrote:
> On Wed, Oct 08, 2025 at 05:48:05PM -0000, Pierre Tomon wrote:
> > Kernel 6.16.9
> > FS: ext4, does not happen with NTFS.  
> 
> Perhaps ext4 pushes more data to the disk causing it to draw more power
> and things flake out?

It seems to be something weirder than that, because there is a few
minute gap between the last storage traffic and the hub interrupt,
which is indeed disconnection if my Wireshark decoding is correct.

ffff8b7808d86540 959060304 S Bi:6:006:1 -115 13 <
ffff8b7808d86540 959060697 C Bi:6:006:1 0 13 = 55534253 53080000 00000000 00
ffff8b780a96c240 1218406664 C Ii:6:001:1 0:2048 1 = 10
ffff8b780a96c240 1218406695 S Ii:6:001:1 -115:2048 4 <
ffff8b782ae2ac00 1218406713 S Ci:6:001:0 s a3 00 0000 0004 0004 4 <
ffff8b782ae2ac00 1218406731 C Ci:6:001:0 0 4 = a0020100

Potential hypotheses:
1. It is actually *lack* of activity which triggers it.
2. You need to wait a little longer until you see it happen on NTFS,
   then stop worrying about filesystems and software ;)

I too would suggest trying other cables or USB ports (SuperSpeed link
quality sometimes varies from port to port). Or xHCI controllers - I
don't know which one you have, but those with "broken streams" quirk
coincidentally (or not) also tend not to be most reliable, IME.

Regards,
Michal

  reply	other threads:[~2025-10-09 14:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-08 17:48 USB disconnection after mounting file system Pierre Tomon
2025-10-09 13:35 ` Greg KH
2025-10-09 14:07   ` Michal Pecio [this message]
2025-10-09 14:31     ` Pierre Tomon
2025-10-13  8:46       ` Michal Pecio
2025-10-13 12:28         ` Pierre Tomon
2025-10-14 20:09         ` Pierre Tomon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251009160731.58dd47bb.michal.pecio@gmail.com \
    --to=michal.pecio@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pierretom+12@ik.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox