Serial Port already in use... how can I release it? Fedora
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Serial Port already in use... how can I release it? Fedora
I am using a laptop with Fedora on it. I'm trying to use minicom to connect to a Cisco router. I want to use ttyS0 (Com1) but I think its being used by another program. I ran this command:
dmesg | grep tty and got this output:
Xen Virtual console successfully installed as ttyS0.
Do I need to run some command to release this com port? I ended all Xen processes but I still get this error.
Ok, I edited grub.conf and this is what I saw. I didn't really see anything related to ttyS0.
Am I missing something?
# 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,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
It must be defaulted. You can try specifying another console option (e.g., console=tty). See the Fedora Xen documentation for the serial console settings.
By the way, you are intentionally running the Xen hypervisor, right? I've run into several folks that have installed this kernel when they have no intention of running Xen.
I never even wanted this Xen stuff. From what I'm seeing, it is primarily for running and managing virtual machines. This was never on my to-do list with this laptop. If uninstalling Xen will work, I would like to do that too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.