rhel5的xen内核没法使用串口的缘由和解决方法

    公司有一台服务器安装的了rhel5系统,默认的内核是带xen的内核,正好有个交换机要调试,链接后发现串口设备没法工做。     咨询服务器厂家客服后获得一下答复:     产生缘由:     这是由于Xen会缺省将串口1 ttyS0看做是虚拟控制台,从而其余串口设备没法正常工做。     解决方法:     一、安装不带XEN支持的内核,串口使用恢复正常。     二、按如下方法更改grub.conf 文件: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE:  You have a /boot partition.  This means that #          all kernel and initrd paths are relative to /boot/, eg. #          root (hd0,1) #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 #          initrd /initrd-version.img #boot=/dev/sda default=0 timeout=5 splashp_w_picpath=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-8.el5xen)  root (hd0,1)  kernel /xen.gz-2.6.18-8.el5  module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet  module /initrd-2.6.18-8.el5xen.img #新增如下启动项 title Red Hat Enterprise Linux Server (2.6.18-8.el5xen serial)  root (hd0,1)  kernel /xen.gz-2.6.18-8.el5 console=vga xencons=ttyS16 console=ttyS16  module /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet xencons=tty  module /initrd-2.6.18-8.el5xen.img     使用修改过参数的内核项启动,使用minicom链接交换机,登录调试一切正常。
相关文章
相关标签/搜索