Debian 6 , 十个串口为什么只识别到了 6个 剩下4 个被禁止了

0.946441] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    0.946533] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.946623] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    0.946896] 00:06: ttyS4 at I/O 0x210 (irq = 11) is a 16550A
[    0.947012] 00:07: ttyS5 at I/O 0x218 (irq = 11) is a 16550A
[    0.947128] 00:08: ttyS2 at I/O 0x220 (irq = 11) is a 16550A
[    0.947244] 00:09: ttyS3 at I/O 0x228 (irq = 11) is a 16550A
[    0.947369] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.947486] 00:0c: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    0.947718] serial 00:0e: disabled
[    0.947915] serial 00:0f: disabled
[    0.948094] serial 00:10: disabled
[    0.948271] serial 00:11: disabled


硬件是  Intel(R) ICH9M LPC Interface Controller - 2919串口

====================================================

解决方法 红色部分,

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=800
x600-24,mtrr=3,scroll=ywrap 8250.nr_uarts=10"
GRUB_CMDLINE_LINUX=""

然后记得执行  update-grub

另外, 需要打个补丁。

不清楚原因, 高手告诉我的。

 https://files.cnblogs.com/files/MysticBoy/sio_irq_share.7z

安装介绍

1. tar xf sio_irq_share.tar.gz

2. cp sio_irq_share/sio_share /bin

3. cp sio_irq_share/sio_share.sh /etc/init.d

4. cd /etc/init.d

5. update-rc.d sio_share.sh defaults 00

6. reboot

7. 检查启动日志 boot.log 或者在启动界面上也可以看到 "Fintek 216 SIO configuration successful"    

然后安装完成 ,  (cat /var/log/boot.log  | grep Fintek)   

 

删除补丁 

1. update-rc.d -f sio_share.sh remove

2. rm /bin/sio_share

3. rm /etc/init.d/sio_share.sh

4. reboot   

 

posted @ 2015-06-17 10:08  麦壳饼  阅读(937)  评论(0编辑  收藏  举报