Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 07:13:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229712] no cts/rts for serial port in bhyve connected to serial port on host
Message-ID:  <bug-229712-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229712

            Bug ID: 229712
           Summary: no cts/rts for serial port in bhyve connected to
                    serial port on host
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: stb@lassitu.de

When trying to run ppp(8) inside a VM against a USB serial port on the host, it
appears that CTS/RTS is not handled correctly. While cu(1) can talk to the
modem without issue, ppp(8) just hangs. Setting ctsrts to false in ppp(8) works
around this. On the host, ppp(8) works fine without disabling ctsrts.

The bhyve VM is managed with vm-bhyve, and the USB serial port is exposed to
the VM by -lcom2,/dev/cuaU0. The USB serial port is:
umodem0 on uhub1
umodem0: <HUAWEI Technology HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 1> on 
umodem0: data interface 0, has no CM over data, has no break

This is on 11.2-RELEASE with GENERIC.

Here's some more detail about the setup:
https://lists.freebsd.org/pipermail/freebsd-stable/2018-July/089293.html

Right now I don't have a test case better than trying to set up this exact
scenario.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229712-227>