Public bug reported:
Problem concerning linux mint with kernel 6.8.0-149 and kernel 6.8.0-151 with
serial port ttyS0
The parse driver for refclock generic mode 5 (in ntp classic), refclock generic
subtype 5 (in ntpsec) initializes since aprox 10 years the serial port (ttyS0)
with CS8 | CREAD | CLOCAL | PARENB and IGNPAR (refclock_parse.c).
Since Linux mint kernel 6.8.0-149 and kernel 6.8.0-151 you only receive
parity errors (no time telegram) from the DCF77 refclock connected to
the onboard RS232 port (ttyS0). So I switched back to kernel 6.8.0-147
and everything works fine, like many years before.
Might there be a regression in the 8250 serial UART driver or the TTY layer in
the 6.8.0-149
and 6.8.0-151?
Regression in how the kernel handles low-baud-rate divisor, latency, line
discipline flags, ...?
Hopefully, you can find the problem and switch back to the earlier
implementation for the future releases?
Any answer appreciated, thanks in advance, kind regards
Jürgen Götz
The settings for ttyS0 didn't change:
stty -a -F /dev/ttyS0
speed 50 baud; rows 0; columns 0; line = 0;
intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>;
eol = <undef>; eol2 = <undef>; swtch = <undef>; start = <undef>; stop =
<undef>; susp = <undef>; rprnt = <undef>; werase = <undef>;
lnext = <undef>; discard = <undef>; min = 1; time = 0;
parenb -parodd -cmspar cs8 -hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke -flusho -extproc
The ntpd is the same as before (ntpsec 1.2.4).
The serial connection looks the same as before:
[ 0.500861] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.522642] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16550A
With kernel 6.8.0-149 and kernel 6.8.0-151 only parity errors every
minute from ntpd:
Nov 20 14:14:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:15:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:16:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:17:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:18:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:19:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:20:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:21:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "###############RADMLS1248124P124812P1248121241248112481248P"
Nov 20 14:22:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
Nov 20 14:23:00 Shuttle-SH570R6 ntpd[1295]: ERR: parse: convert_rawdcf: parity
check FAILED for "--------------------s-------p------p----------------------p"
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175411
Title:
Problem concerning linux mint with kernel 6.8.0-149 and kernel
6.8.0-151 with serial port ttyS0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175411/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs