[Bug 125524] Re: Missing ports on PCI 8250 card

erwitte 125524 at bugs.launchpad.net
Tue Jul 20 15:50:22 UTC 2010


NetMos Technology PCI 9845 Multi-I/O Controller (rev 01) worked fine under Ubuntu 8.04 using
the kernel parameter  "8250.nr_uarts=7".  To avoid undesired iteration of ports I used a setserial
script which for Ubuntu 10.04 needed to be modified (autoconfig instead of irq). The script is
invoked by /etc/rc.local at boot time.

# Switch off all ports on PCI 6 port card
setserial /dev/ttyS1 uart none
setserial /dev/ttyS2 uart none
setserial /dev/ttyS3 uart none
setserial /dev/ttyS4 uart none
setserial /dev/ttyS5 uart none
setserial /dev/ttyS6 uart none
# Reconfigure each port
setserial /dev/ttyS1 uart 16550A port 0x1030 autoconfig 
setserial /dev/ttyS2 uart 16550A port 0x1028 autoconfig
setserial /dev/ttyS3 uart 16550A port 0x1020 autoconfig
setserial /dev/ttyS4 uart 16550A port 0x1018 autoconfig
setserial /dev/ttyS5 uart 16550A port 0x1010 autoconfig
setserial /dev/ttyS6 uart 16550A port 0x1000 autoconfig


lspci -vv lists the ports:

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]
	Kernel driver in use: serial
	Kernel modules: parport_serial

dmseg |grep tty

[    0.000000] console [tty0] enabled
[    0.344797] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.345897] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.346405] 0000:04:00.0: ttyS4 at I/O 0x1030 (irq = 21) is a 16550A
[    0.346755] 0000:04:00.0: ttyS5 at I/O 0x1028 (irq = 21) is a 16550A
[    0.347028] 0000:04:00.0: ttyS6 at I/O 0x1020 (irq = 21) is a 16550A
[    0.347288] 0000:04:00.0: ttyS1 at I/O 0x1018 (irq = 21) is a 16550A
[    0.347548] 0000:04:00.0: ttyS2 at I/O 0x1010 (irq = 21) is a 16550A
[    0.347847] 0000:04:00.0: ttyS3 at I/O 0x1000 (irq = 21) is a 16550A
[    4.792462] ttyS1: LSR safety check engaged!
[    4.793886] ttyS1: LSR safety check engaged!
[    4.795762] ttyS4: LSR safety check engaged!
[    4.797389] ttyS4: LSR safety check engaged!
[    4.799263] ttyS5: LSR safety check engaged!
[    4.801136] ttyS5: LSR safety check engaged!
[    5.464714] ttyS5: LSR safety check engaged!
[   11.555002] ttyS1: LSR safety check engaged!
[   11.561503] ttyS4: LSR safety check engaged!
[   11.563440] ttyS5: LSR safety check engaged!
[   11.576222] ttyS5: LSR safety check engaged!
[   63.870475] ttyS5: LSR safety check engaged!
[14600.814367] ttyS5: LSR safety check engaged!

setserial /dev/ttyS5 -a

/dev/ttyS5: No such device


Striking is that the ports ttyS1 to ttyS4 can be used - but with error messages from the programs
which actually control RS-232 hardware. ttyS6 -although available as you see from above listings
can not be used. Simply no communication.

Question: Would building a new kernel as my predecessor wrote sort that
Ubuntu 10.04 problem/bug out.

-- 
Missing ports on PCI 8250 card
https://bugs.launchpad.net/bugs/125524
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list