Bug 851827
Summary: | Can't log in on USB serial console | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Adams <linux> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | jonathan, kzak, mluscon, rrankin |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-01 16:40:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chris Adams
2012-08-26 05:04:34 UTC
I have also seen this problem in an armv7l system with kernel 3.4.5 and a ch341 usb-tty dongle. This smells like a kernel bug to me, but if I modify login to close 0, 1 and 2 prior to opening ttyUSB0 and then duping 0 to 1 and 2, then login works as expected. (In reply to comment #1) > I have also seen this problem in an armv7l system with kernel 3.4.5 and a > ch341 usb-tty dongle. This smells like a kernel bug to me, but if I modify > login to close 0, 1 and 2 prior to opening ttyUSB0 and then duping 0 to 1 > and 2, then login works as expected. Roy, do you mean something like: https://lkml.org/lkml/2012/6/5/145 https://github.com/karelzak/util-linux/commit/2e7035646eb85851171cc2e989bfa858a4f00cd4 This should be supported since util-linux 2.22 (f18). Karel, I was closing the 0, 1 and 2 in open_tty so it was after the vhangup. I have compiled login out of util-linux 2.22 and it works OK on my USB system console port. |