Turn On Serial Port in Fedora 6
Hello:
Not sure if you have resolved this issue or not, but I ran into the same issue when attempting to set up a HA cluster. I installed the stock Fedora 6 distribution. Could not get the serial ports to work. I finally just installed the non-Xen Kernel.
1. Grab the yumdownloader which is part of the yum-utils packages
sudo yum install yum-utils
2. Download the non-Xen Kernel.
sudo yumdownloader kernel-2.6.18-1.2798.fc6.i686
3. Install the new Kernel.
sudo rpm -Uvh --replacefile --replacepkgs kernel-2.6.18-1.2798.fc6.i686
If this is successful, the new Kernel will be installed and /etc/grub.conf will be modified.
4. Stop the Xen services that are running.
sudo /sbin/chkconfig --list |grep xen
Password:
xend 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xendomains 0:off 1:off 2:off 3:on 4:on 5:on 6:off
sudo /sbin/chkconfig --level 2345 xend off
sudo /sbin/chkconfig --level 345 xendomains off
sudo /sbin/service xend stop
sudo /sbin/service xendomains stop
5. Modify the /etc/grub.conf file.
sudo cp /etc/grub.conf /etc/grub.conf-xen
sudo vi /etc/grub.conf
At this point either comment out the xen related kernel information(#) or delete that information. Here what a copy of my grub.conf looks like.
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 console=ttyS0,9600n8r
initrd /initrd-2.6.18-1.2798.fc6.img
6. Now re-boot the box so that the new Kernel is running.
I was able to login via the ttyS0 without issue after this.
I hoped this helps.
Last edited by Coremac; 12-09-2006 at 07:34 PM.
|