[Bug 235625] Repeated excessive logging about unsuccessful port reset during device enumeration
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Feb 9 20:22:23 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235625
Bug ID: 235625
Summary: Repeated excessive logging about unsuccessful port
reset during device enumeration
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: usb
Assignee: usb at FreeBSD.org
Reporter: maxsteciuk at gmail.com
Since FreeBSD 12 build around last summer it was noticed the syslog was flooded
with the following messages
>>>Jan 29 20:18:44 kernel: uhub_reattach_port: giving up port reset - device vanished
Although the log message is displayed the USB devices and hubs are functional:
successfully connected and working.
The following sysctl configuration helps to get rid of excessive logging but
the downside that certain USB devices (e.g. Create SoundBlaster) are not even
getting recognized by USB hub controller.
>>>hw.usb.disable_enumeration=1
As a quick solution I decreased log level for the message from 0 to 1 so that
at least to reduce log noise.
Here is a small proposed patch for decreasing log level:
https://github.com/trueos/trueos/pull/283/files
As a more elaborate solution I was thinking about possibility to implement log
throttling for this warning so it logs a suficient number of times to bring to
attention but not inifinitely.
Another question is whether this is a symptom of a larger problem: is
something broken (e.g. sys/dev/usb/usb_hub.c , /sys/dev/usb_device.c) or not
functioning as expected...
Thanks,
Max
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list