[Bug 258382] comms/ser2net: uses 100% of CPU
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Sep 2021 07:46:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258382
Bug ID: 258382
Summary: comms/ser2net: uses 100% of CPU
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: egypcio@FreeBSD.org
Reporter: chrisj@rtems.org
Flags: maintainer-feedback?(egypcio@FreeBSD.org)
Assignee: egypcio@FreeBSD.org
# uname -v
FreeBSD 13.0-RELEASE-p1 #0: Wed May 26 22:15:09 UTC 2021
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
I have a hardware board (Xilinx Ultrascale Cortex-A53) with a USB FDTI serial
console configured at 115200 baud and if I connect using telnet or the
`rtems-test` command `ser2net` seems to spin with 100% CPU load.
I ran `ser2net` from the command line with a number of threads and a number of
CPUs seems to max at 100%.
The serial output `set2net` sents over the telnet connection has dropped data.
Observing the data stream from the RTEMS applications running on the Utlrascale
hardware it seems the dropped data is from the start of a block. The UART has a
TX FIFO and it is being used.
Note, the `rtems-test` command uses Python's `telnetlib` to connect using the
telnet protocol.
--
You are receiving this mail because:
You are the assignee for the bug.