Forum Discussion
Altera_Forum
Honored Contributor
21 years agoinput overrun(s)
I have a serial communications problem. I'm using NIOSserial device at the speed of 115200, and when I transfer a burst of 30 char, sometimes kernel send me a error message: ttyS0: input ov...
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by teo_icks@Jun 21 2005, 06:02 PM what about this? --- Quote End --- Use the source Luke!
$ find . -type f |xargs grep input\ overrun
./drivers/char/n_tty.c: printk(KERN_WARNING "%s: %d input overrun(s)\n", tty_name(tty, buf),
$ vim ./drivers/char/n_tty.c and in the source file /**
* n_tty_receive_overrun - handle overrun reporting
* @tty: terminal
*
* Data arrived faster than we could process it. While the tty
* driver has flagged this the bits that were missed are gone
* forever.
*
* Called from the receive_buf path so single threaded. Does not
* need locking as num_overrun and overrun_time are function
* private.
*/