pl2303 regression after v4.17. Bisected to 7041d9c3f01b

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm using PL2303 based USB serial adapter for the kernel and getty serial console. I noticed getty console stopped working in v4.18 and bisected this into commit 7041d9c3f01b ("USB: serial: pl2303: add support for tx xon/xoff flow control").

Serial console works up to somewhere after when getty service starts. I can sometimes see on the serial console that getty was started but not always. After that there is no messages printed from the kernel or userspace.

[  OK  ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyUSB0.
[  OK  ] Reached target Login Prompts.
[ OK ] Started Login Service.

My userspace is up-to-date Debian/testing using systemd.

Things work if I revert 7041d9c3f01b. Revert works both on top of v4.18 or on today's head f2ce1065e767 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net").

I have "console=ttyUSB0,115200n8" in my command-line parameter and following serial-getty@ttyUSB0.service status:

# systemctl status serial-getty@ttyUSB0.service
� serial-getty@ttyUSB0.service - Serial Getty on ttyUSB0
Loaded: loaded (/lib/systemd/system/serial-getty@.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-11-20 11:26:03 EET; 15s ago
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html
 Main PID: 383 (agetty)
CGroup: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyUSB0.service 383 /sbin/agetty -o -p -- \u --keep-baud 115200,38400,9600 ttyUSB0 vt220

Nov 20 11:26:03 debian-i386-t systemd[1]: Started Serial Getty on ttyUSB0.

--
Jarkko



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux