LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-13-2007, 03:54 PM   #1
blythedj
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
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.

Any ideas?
 
Old 06-13-2007, 04:23 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Check your /etc/grub.conf for the Xen kernel you are running. Change the console options to remove ttyS0.
 
Old 06-13-2007, 04:42 PM   #3
blythedj
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Here's what came out:

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

title Fedora Core (2.6.18-1.2849.fc6xen)
root (hd0,0)
kernel /xen.gz-2.6.18-1.2849.fc6
module /vmlinuz-2.6.18-1.2849.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2849.fc6xen.img
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,0)
kernel /xen.gz-2.6.18-1.2798.fc6
module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2798.fc6xen.img

----EOF-------
 
Old 06-13-2007, 04:54 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
 
Old 06-13-2007, 04:59 PM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I found this in the Xen Wiki:

Quote:
To prevent Xen from taken the ttyS0 as a virtual console add in grub to kernel console=vga and add to module xencons=tty

This will give following waring in dmesg

WARNING: Failed to register Xen virtual console driver as 'tty1'
 
Old 06-13-2007, 04:59 PM   #6
blythedj
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 06-13-2007, 05:43 PM   #7
blythedj
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Problem...

I uninstalled Xen from the add/remove software list and this is what I got when I rebooted:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /xen.gz-2.6.18-1.2849.fc6

Error 15: File not found

Press any key to continue


Now it wont even boot anymore
Is there a fix for this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble configuring pci serial port in fedora core5 karnati Linux - Hardware 4 12-19-2006 12:22 AM
Turn On Serial Port in Fedora 6 ewtar Fedora 3 12-10-2006 09:23 AM
serial port mouse in fedora core 3 farzi Linux - Hardware 1 02-15-2006 08:38 PM
Serial port,cu, fedora core 2 issues minibootsy Linux - Networking 3 02-18-2005 04:27 PM
Serial Port not recognized in Fedora 2 Ignorant_User Linux - General 0 01-04-2005 11:34 PM


All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration