LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2006, 04:43 AM   #1
karnati
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
Trouble configuring pci serial port in fedora core5


Dear friends

I have installed 2 pci serial card in my system running on fedora core5. One card has 4 ports and another has 2 ports. My system has one built in serial port. Altogether I have 7 serial ports on my system. Out of these only 4 ports are working (ttyS0, ttyS1, ttyS2, ttyS3). Built in port and 3 ports from 4 port serial card are working. I could find the serial port card when I give 'lspci' command. I have added the required entries in 'inittab' file and also created ttyS4, ttyS5, ttyS6 files in 'default' directory. Through 'MAKEDEV' command created ttyS4 - ttyS6. When I give 'setserial /dev/ttyS4 irq 17 port 0x1038 autoconfig' command the output is /dev/ttyS4: No such device or address. I am unable configure remaining 3 ports.

I am unable to know where am I going wrong. Could you please help me out?

Thank you

thomas
 
Old 12-16-2006, 09:23 PM   #2
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
You may have to recompile your kernel. It's probably configured with the default of only 4 serial ports active.

CONFIG_SERIAL_8250_RUNTIME_UARTS=4
 
Old 12-17-2006, 07:26 PM   #3
karnati
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
thanks jcliburn

I am new to Fedora. Can you please explain how to recompile kernel?

thomas
 
Old 12-17-2006, 07:35 PM   #4
jcliburn
Member
 
Registered: Dec 2003
Location: Mississippi, USA
Distribution: Fedora
Posts: 435

Rep: Reputation: 33
It varies by distribution. Search for your distro's instructions.
 
Old 12-18-2006, 11:22 PM   #5
karnati
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
many many thanks jcliburn. Yesterday I could install all the 7 serial ports in my system running on fedora core5. The method I followed for configuring these ports is -

1. With root access I gave the following command in the terminal.

gedit /boot/grub/grub.conf

With this 'grub.conf' file is opened for editing

2.Disabled the "hiddenmenu" with the "#" comment and removed "rhgb quiet" from the kernel line in the 'grub.conf' file. Added special boot option argument "8250.nr_uarts=8" to the kernel line. After these modifications kernel line is like this -

#hiddenmenu
kernel/vmlinuz-2.6.18-1.2200.fc5 ro root=LABEL=/ 8250.nr_uarts=8

Saved these changes and rebooted the system. With this all the 7 ports (ttyS0-ttyS6) are working.

Thank you once again for your timely help.

Thomas
 
  


Reply



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
New SIIG 4 Port PCI serial card (16C954) driver problem gpedley Linux - Hardware 2 07-10-2008 10:35 PM
Problem in Configuring Serial Port based UPS on Linux AS 4 nadravian Linux - Hardware 0 06-08-2006 12:03 AM
Help configuring serial port and Internet budelak Linux - Networking 1 10-13-2004 06:03 AM
adding a additional pci card serial port da_kidd_er Linux - Hardware 0 01-09-2004 12:02 PM
trouble receiving serial port data mtPete Linux - General 1 08-20-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:37 PM.

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
Open Source Consulting | Domain Registration