FC6 中串口不能正常使用的原因与解决办法
2007-08-03 22:28
344 查看
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-2132256014190581";
/* 160x600, 创建于 09-1-4 */
google_ad_slot = "4461398019";
google_ad_width = 160;
google_ad_height = 600;
//-->
</SCRIPT>
<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
新安装了个FC6,用来调我的SIGMAL 8260的板子,由于对XEN感兴趣,索兴在安装FC6时就将XEN选上了,装完后,感觉不错,但是当用串口时就发现不能正常使用,因为我的PC只有一个串口出来,即ttyS0,可以用minicom正常打开,但就是不能工作,后来想想可能是XEN的配置有问题,我就又编了一个新的KERNEL,然后改了改GRUB,新的内核不在XEN上跑,串口正常工作。
其实,FC6以XEN的方式安装时,GRUB中就已经为你做了一个不能XEN的跑的选项,你只要修改一下grub.conf文件,将hiddenmenu 关掉即可。
如果非要在XEN下用串口也可以,默认情况XEN用了ttyS0,你可以用dmesg|grep ttyS0 可以看到
kernel: Xen virtual console successfully installed as ttyS0
这个提示,说明XEN占用了ttyS0, 这时你只要修改xen的启动参数,在grub.conf中,如下
xencons=off.
module /boot/vmlinuz-2.6-xen ro root=/dev/sda1 xencons=ttyS9
重新reboot,后进入linux就可测试一下你的ttyS0是不是可以用了。如果不能用,那你就要查查你的是不是装上了串口驱动了!
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-2132256014190581";
/* 160x600, 创建于 09-1-4 */
google_ad_slot = "4461398019";
google_ad_width = 160;
google_ad_height = 600;
//-->
</SCRIPT>
<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
google_ad_client = "pub-2132256014190581";
/* 160x600, 创建于 09-1-4 */
google_ad_slot = "4461398019";
google_ad_width = 160;
google_ad_height = 600;
//-->
</SCRIPT>
<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
新安装了个FC6,用来调我的SIGMAL 8260的板子,由于对XEN感兴趣,索兴在安装FC6时就将XEN选上了,装完后,感觉不错,但是当用串口时就发现不能正常使用,因为我的PC只有一个串口出来,即ttyS0,可以用minicom正常打开,但就是不能工作,后来想想可能是XEN的配置有问题,我就又编了一个新的KERNEL,然后改了改GRUB,新的内核不在XEN上跑,串口正常工作。
其实,FC6以XEN的方式安装时,GRUB中就已经为你做了一个不能XEN的跑的选项,你只要修改一下grub.conf文件,将hiddenmenu 关掉即可。
如果非要在XEN下用串口也可以,默认情况XEN用了ttyS0,你可以用dmesg|grep ttyS0 可以看到
kernel: Xen virtual console successfully installed as ttyS0
这个提示,说明XEN占用了ttyS0, 这时你只要修改xen的启动参数,在grub.conf中,如下
xencons=off.
module /boot/vmlinuz-2.6-xen ro root=/dev/sda1 xencons=ttyS9
重新reboot,后进入linux就可测试一下你的ttyS0是不是可以用了。如果不能用,那你就要查查你的是不是装上了串口驱动了!
<SCRIPT type=text/javascript><!--
google_ad_client = "pub-2132256014190581";
/* 160x600, 创建于 09-1-4 */
google_ad_slot = "4461398019";
google_ad_width = 160;
google_ad_height = 600;
//-->
</SCRIPT>
<SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
</SCRIPT>
相关文章推荐
- iOS9 HTTP 不能正常使用的解决办法
- IntelliJ IDEA 更新版本之后,中文输入法不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- linux下安装redis---解决redis-cli不能正常使用的办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS 9 iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- sublime使用Package Control不能正常使用的解决办法
- 使用hibernate与mysql时数据不能插入的原因及解决办法
- iOS10 HTTP 不能正常使用的解决办法
- eWebEditor不能正常使用的解决办法
- Eclipse编译Arduino程序不能使用串口函数Serial.begin解决办法
- 关于spring的roo shell不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法
- iOS9 HTTP 不能正常使用的解决办法