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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"