From: Greg KH <gregkh@linuxfoundation.org>
To: "Ko, Kang Jun" <kang-jun.ko@hpe.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: USB: urb error log during reboot on devices with multiple serial consoles (Linux Kernel version 5.15.71)
Date: Thu, 25 Sep 2025 10:20:10 +0200 [thread overview]
Message-ID: <2025092503-chitchat-detection-283c@gregkh> (raw)
In-Reply-To: <MW5PR84MB2083421899199020C49FB35ABD1FA@MW5PR84MB2083.NAMPRD84.PROD.OUTLOOK.COM>
On Thu, Sep 25, 2025 at 01:29:57AM +0000, Ko, Kang Jun wrote:
> Hello,
>
> Thank you for the kind response. I've tried updating the kernel version to 6.12.3
> and the same error message still exists during shutdown.
>
> I understand this is not a bug or a functional issue and the kernel is correctly noting that the hardware is no longer reachable.
>
> However, I would like to know if canceling the USB messages when the
> hardware has gone away so that the error message doesn't happen is
> something that is considered for future kernel versions.
The "problem" here is that the console does not seem to close the
backing tty device properly. And that is required so that the usb
driver will shut down the submission of the urbs, which will prevent the
message you see from showing up.
The fact that a console works over a usb-serial device at all is a
wonderful hack. It was me loosing a bet many years ago that even caused
that code to be written in the first place. So if this even works is
amazing, a little bit of error messages when the device is yanked from
the system is a small price to pay for this feature :)
thanks,
greg k-h
prev parent reply other threads:[~2025-09-25 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 8:39 USB: urb error log during reboot on devices with multiple serial consoles (Linux Kernel version 5.15.71) Ko, Kang Jun
2025-09-18 9:09 ` Greg KH
2025-09-25 1:29 ` Ko, Kang Jun
2025-09-25 8:20 ` Greg KH [this message]
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=2025092503-chitchat-detection-283c@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=kang-jun.ko@hpe.com \
--cc=linux-usb@vger.kernel.org \
/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