最新消息:

serial8250: too much work for irq42

irq admin 6279浏览 0评论
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
Dec 22 14:32:47 Clone kernel: serial8250: too much work for irq4
查看串口驱动信息
[root@eNAC bin]# cat /proc/tty/drivers
/dev/tty             /dev/tty        5       0 system:/dev/tty
/dev/console         /dev/console    5       1 system:console
/dev/ptmx            /dev/ptmx       5       2 system
serial               /dev/ttyS       4 64-67 serial
pty_slave            /dev/pts      136 0-1048575 pty:slave
pty_master           /dev/ptm      128 0-1048575 pty:master
pty_slave            /dev/ttyp       3 0-15 pty:slave
pty_master           /dev/pty        2 0-15 pty:master
查看串口驱动信息
[root@eNAC bin]# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A mmio:0xF1012000 irq:41 tx:554906 rx:2346 RTS|DTR|DSR|CD
1: uart:16550A mmio:0xF1012100 irq:42 tx:20280 rx:0 RTS|DTR|DSR|CD
查看串口设备名称
[root@eNAC bin]# ll /dev |grep ttyS
crw-------  1 root root   4,  64 Feb 26 10:21 ttyS0
crw-rw----  1 root root   4,  65 Feb 26 10:21 ttyS1
crw-rw-rw-  1 root root   4,  66 Dec 18  2012 ttyS2
crw-rw-rw-  1 root root   4,  67 Dec 18  2012 ttyS3
crw-rw-rw-  1 root root 204,  64 Dec 18  2012 ttySAC0
crw-rw-rw-  1 root root 204,  65 Dec 18  2012 ttySAC1
crw-rw-rw-  1 root root 204,  66 Dec 18  2012 ttySAC2
crw-rw-rw-  1 root root 204,  67 Dec 18  2012 ttySAC3
crw-rw-rw-  1 root root 204,   8 Dec 18  2012 ttySC0
crw-rw-rw-  1 root root 204,   9 Dec 18  2012 ttySC1
crw-rw-rw-  1 root root 204,  10 Dec 18  2012 ttySC2
crw-rw-rw-  1 root root 204,  11 Dec 18  2012 ttySC3
crw-rw-rw-  1 root root 204,  12 Dec 18  2012 ttySC4
crw-rw-rw-  1 root root 204,  13 Dec 18  2012 ttySC5
问题解决:
对比测试发现,两个进程都在打开第二个串口,出现一定概率错误
serial8250: too much work for irq42
只允许其中一个进程打开串口2,问题解决。

 

转载请注明:爱开源 » serial8250: too much work for irq42

您必须 登录 才能发表评论!