LinuxQuestions.org
Review your favorite Linux distribution.
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 08-13-2004, 03:16 AM   #1
cits
LQ Newbie
 
Registered: Aug 2004
Location: Sweden
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
Multiport serial card and kernel 2.6


Hi,
I have a problem with a multiport serial card (rs-232 ports) since I moved to Fedora Core 2 (from red hat 9). When i add the devices on the card with the setserial command I get an error

setserial /dev/ttyS4 port 0x800 irq 9 ^fourport autoconfig
setserial /dev/ttyS5 port 0x480 irq 9 ^fourport autoconfig
setserial /dev/ttyS6 port 0x400 irq 9 ^fourport autoconfig
setserial /dev/ttyS7 port 0x080 irq 9 ^fourport autoconfig
setserial /dev/ttyS4 set_multiport port1 0x8407 mask1 0xf match1 0x0
Cannot get multiport config: I/O error

This was no problem under kernel 2.4 (I got no error).
If I add 'uart 16850' to all the commands (except the last), I get another error.

Cannot get multiport config: Invalid argument

The ports and irq's are selected by the OS (those listed with the 'lspci -nv' command).
Another difference between 2.4 and 2.6 is that 2.4 could detect that the uart was 16850 by itself while 2.6 just says unknown unless you tell it what it is.
I have enabeled both the 'support for more than 4 serial ports' and 'support for sharing serial interupts' in the kernel
The card I use is a sealevel 7404.

Has anyone else experienced the same thing (and hopefully solved it)?
 
Old 03-16-2005, 07:52 AM   #2
veeblevetzer
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
multi port modem issue

I am having a similar problem with a mainpine rockforce octo+ 8 port modem card

I ran setserial for all 8 modems
eg. setserial /dev/ttyS4 port 0xdc80 irq 9 autoconfig ^fourport
then I ran :

setserial /dev/ttyS4 set serial_multiport port1 0xdce0 mask1 0XFF match1 0x00

and got the following:
Cannot get multiport config: Invalid argument

dmesg reveals the following interesting info, not sure if first blobk is relevant:


ACPI: ACPI tables contain no PCI IRQ routing entries
PCI: Invalid ACPI-PCI IRQ routing table
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:07.0

Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
PCI: Found IRQ 9 for device 0000:02:0b.0
PCI: Sharing IRQ 9 with 0000:01:00.0
ttyS4 at I/O 0xdc80 (irq = 9) is a 16550A
ttyS5 at I/O 0xdc88 (irq = 9) is a 16550A
ttyS6 at I/O 0xdc90 (irq = 9) is a 16550A
ttyS7 at I/O 0xdc98 (irq = 9) is a 16550A
ttyS2 at I/O 0xdca0 (irq = 9) is a 16550A
ttyS3 at I/O 0xdca8 (irq = 9) is a 16550A
Couldn't register serial port 0000:02:0b.0: -28
 
Old 03-17-2005, 01:20 AM   #3
cits
LQ Newbie
 
Registered: Aug 2004
Location: Sweden
Distribution: Fedora Core 2
Posts: 2

Original Poster
Rep: Reputation: 0
Unfortunatley we have not resolved the problem yet.
The project is put on hold for now, but maybe we will restart it if someone out there can help us.
 
Old 03-17-2005, 08:41 AM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
At work I have one Debian box with an 8 port serial card connected to VT terminals.
I have used the 2.6 kernel at home and see that there are some real differences on how it handles hardware. Throw that in with the fact there could very well be other unknown difficulties and I have no reason to attempt to use the 2.6 kernel in the VT terminal configuration (at this point).
Not that there couldn't be a good reason, but what function of the 2.6 kernel is more important to you than getting the configuration running on the 2.4 kernel? (Does Fedora offer a 2.4 option?)
Well, at least this will bump your post up for one more shot.
 
  


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
RH doesn't detect my Serial modem connected to a PCI Serial card ricky_ds Linux - Hardware 1 08-17-2006 02:37 PM
PC-COM Multiport Serial card king_nothingzzz Linux - Hardware 18 05-27-2005 08:15 PM
complie kernel for multi port serial card chai_itm Linux - Hardware 1 03-18-2005 07:05 AM
Multiport Serial Card question FuriousGeorge Linux - Hardware 4 06-22-2004 07:59 AM
Multiport serial card for RAS Server uthlekan Linux - Networking 2 07-12-2003 10:04 AM

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

All times are GMT -5. The time now is 10:14 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
Open Source Consulting | Domain Registration