Enabling a four-port serial card

Rick Stevens rstevens at internap.com
Fri Dec 7 01:14:51 UTC 2007


On Thu, 2007-12-06 at 16:51 -0800, David Scriven wrote:
> Dear All,
> 
> I'm trying to enable a four-port serial card (you'ld be 
> surprised how many pieces of equipment still have 
> RS232 interfaces). I'm using Fedora 7 on a  quad-core
> Intel Q6600 machine with 4GB of memory. 
> 
> #/sbin/lspci -vvvx shows the following:
> 
> 07:01.0 Serial controller: NetMos Technology PCI 9845 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
>     Subsystem: LSI Logic / Symbios Logic 0P4S (4 port 16550A serial card)
>     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>     Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>     Interrupt: pin A routed to IRQ 21
>     Region 0: I/O ports at 1030 [size=8]
>     Region 1: I/O ports at 1028 [size=8]
>     Region 2: I/O ports at 1020 [size=8]
>     Region 3: I/O ports at 1018 [size=8]
>     Region 4: I/O ports at 1010 [size=8]
>     Region 5: I/O ports at 1000 [size=16]
> 00: 10 97 45 98 03 00 80 02 01 02 00 07 10 20 00 00
> 10: 31 10 00 00 29 10 00 00 21 10 00 00 19 10 00 00
> 20: 11 10 00 00 01 10 00 00 00 00 00 00 00 10 04 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00
> 
> when I do a setserial I get this:
> 
> # /bin/setserial -avg /dev/ttyS*
> /dev/ttyS0, Line 0, UART: 16550A, Port: 0x1030, IRQ: 21
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000
>         Flags: spd_normal skip_test
> 
> /dev/ttyS1, Line 1, UART: undefined, Port: 0x02f8, IRQ: 3
>         Baud_base: 921600, close_delay: 50, divisor: 0
>         closing_wait: 3000
>         Flags: spd_normal skip_test auto_irq
> 
> /dev/ttyS2, Line 2, UART: 16550A, Port: 0x1028, IRQ: 21
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000
>         Flags: spd_normal skip_test
> 
> /dev/ttyS3, Line 3, UART: 16550A, Port: 0x1020, IRQ: 21
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000
>         Flags: spd_normal skip_test
> 
> 
> Clearly /dev/ttyS1 is not OK, but I've no idea how to
> set it up so it is OK  - I'd be grateful for any help.

Hmmm.  S0, S2 and S3 are all on IRQ21 and using high port numbers, but
S1 is in the normal spot for a COM2 or second serial port (port 0x2f8,
IRQ3).  Do you possibly have another device sharing IRQ3 or possibly
port 0x2f8?  Check /proc/ioports and any files under /proc/irq/3.  Also
check /var/log/messages and dmesg for any possible information.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
- Millihelen, adj: The amount of beauty required to launch one ship. -
----------------------------------------------------------------------




More information about the fedora-list mailing list