[opensuse] serial ports not working
Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login. Any ideas? thanks a lot for help, regards Paul - Here some info: setserial -ga /dev/ttyS? /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS4, Line 4, UART: 16950/954, Port: 0xac00, IRQ: 18 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS5, Line 5, UART: 16950/954, Port: 0xac08, IRQ: 18 Baud_base: 1130000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS6, Line 6, UART: 16550A, Port: 0xd800, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test /dev/ttyS7, Line 7, UART: 16550A, Port: 0xd480, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test ttyS4 was originally set to baud_base 1130000 like ttyS5, but setting it to 115200 didn't change anything. lspci 03:04.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter 06:07.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) the first one is the failing, second the working one hwinfo
serial.1: read info ----- /proc/tty/driver/serial ----- 0: uart:16550A port:000003F8 irq:4 tx:329 rx:11 brk:11 RTS|DTR 4: uart:16C950/954 port:0000AC00 irq:18 tx:1378 rx:883 fe:5 brk:174 RTS|CTS|DTR|CD 5: uart:16C950/954 port:0000AC08 irq:18 tx:1616 rx:556 fe:39 brk:143 RTS|DTR|DSR 6: uart:16550A port:0000D800 irq:22 tx:98031 rx:99245 fe:4 RTS|CTS|DTR|DSR 7: uart:16550A port:0000D480 irq:22 tx:3164 rx:4737 fe:3 brk:52 RTS|CTS|DTR|DSR ----- /proc/tty/driver/serial end ----- ----- serial info ----- uart 16550A, line 0, port 0x3f8, irq 4, baud 0 uart 16C950/954, line 4, port 0xac00, irq 18, baud 0 uart 16C950/954, line 5, port 0xac08, irq 18, baud 0 uart 16550A, line 6, port 0xd800, irq 22, baud 0 uart 16550A, line 7, port 0xd480, irq 22, baud 0 ----- serial info end ----- --
dmesg <6>[ 1.592092] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled <6>[ 1.592201] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A <6>[ 1.592637] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A <6>[ 1.592915] serial 0000:03:04.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 <4>[ 1.593061] ttyS4: detected caps 00000700 should be 00000100 <6>[ 1.593103] 0000:03:04.0: ttyS4 at I/O 0xac00 (irq = 18) is a 16C950/954 <4>[ 1.593230] ttyS5: detected caps 00000700 should be 00000100 <6>[ 1.593350] 0000:03:04.0: ttyS5 at I/O 0xac08 (irq = 18) is a 16C950/954 <6>[ 33.994284] 0000:06:07.0: ttyS6 at I/O 0xd800 (irq = 22) is a 16550A <6>[ 34.001349] 0000:06:07.0: ttyS7 at I/O 0xd480 (irq = 22) is a 16550A -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 3 Sep 2010 15:50:31 +0200
Paul Neuwirth
Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login.
Any ideas? thanks a lot for help, regards Paul
-
Here some info: setserial -ga /dev/ttyS? /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS4, Line 4, UART: 16950/954, Port: 0xac00, IRQ: 18 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS5, Line 5, UART: 16950/954, Port: 0xac08, IRQ: 18 Baud_base: 1130000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS6, Line 6, UART: 16550A, Port: 0xd800, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS7, Line 7, UART: 16550A, Port: 0xd480, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
ttyS4 was originally set to baud_base 1130000 like ttyS5, but setting it to 115200 didn't change anything.
lspci 03:04.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter 06:07.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
the first one is the failing, second the working one
hwinfo
serial.1: read info ----- /proc/tty/driver/serial ----- 0: uart:16550A port:000003F8 irq:4 tx:329 rx:11 brk:11 RTS|DTR 4: uart:16C950/954 port:0000AC00 irq:18 tx:1378 rx:883 fe:5 brk:174 RTS|CTS|DTR|CD 5: uart:16C950/954 port:0000AC08 irq:18 tx:1616 rx:556 fe:39 brk:143 RTS|DTR|DSR 6: uart:16550A port:0000D800 irq:22 tx:98031 rx:99245 fe:4 RTS|CTS|DTR|DSR 7: uart:16550A port:0000D480 irq:22 tx:3164 rx:4737 fe:3 brk:52 RTS|CTS|DTR|DSR ----- /proc/tty/driver/serial end ----- ----- serial info ----- uart 16550A, line 0, port 0x3f8, irq 4, baud 0 uart 16C950/954, line 4, port 0xac00, irq 18, baud 0 uart 16C950/954, line 5, port 0xac08, irq 18, baud 0 uart 16550A, line 6, port 0xd800, irq 22, baud 0 uart 16550A, line 7, port 0xd480, irq 22, baud 0 ----- serial info end -----
Hi Paul; For the mainboard port, did you check the BIOS to ensure it hadn't been disabled somehow? Also, what distro are you using? Tom -- Tom Taylor - retired penguin openSuSE 11.3 x86_64 KDE 4.4.4, FF 3.6.4 claws-mail 3.7.6 registered linux user 263467 linxt-At-comcast-DoT-net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, 3 Sep 2010 19:35:36 -0700
Thomas Taylor
On Fri, 3 Sep 2010 15:50:31 +0200 Paul Neuwirth
wrote: Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login.
Any ideas? thanks a lot for help, regards Paul
-
Here some info: setserial -ga /dev/ttyS? /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS4, Line 4, UART: 16950/954, Port: 0xac00, IRQ: 18 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS5, Line 5, UART: 16950/954, Port: 0xac08, IRQ: 18 Baud_base: 1130000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS6, Line 6, UART: 16550A, Port: 0xd800, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS7, Line 7, UART: 16550A, Port: 0xd480, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
ttyS4 was originally set to baud_base 1130000 like ttyS5, but setting it to 115200 didn't change anything.
lspci 03:04.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter 06:07.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
the first one is the failing, second the working one
hwinfo
serial.1: read info ----- /proc/tty/driver/serial ----- 0: uart:16550A port:000003F8 irq:4 tx:329 rx:11 brk:11 RTS|DTR 4: uart:16C950/954 port:0000AC00 irq:18 tx:1378 rx:883 fe:5 brk:174 RTS|CTS|DTR|CD 5: uart:16C950/954 port:0000AC08 irq:18 tx:1616 rx:556 fe:39 brk:143 RTS|DTR|DSR 6: uart:16550A port:0000D800 irq:22 tx:98031 rx:99245 fe:4 RTS|CTS|DTR|DSR 7: uart:16550A port:0000D480 irq:22 tx:3164 rx:4737 fe:3 brk:52 RTS|CTS|DTR|DSR ----- /proc/tty/driver/serial end ----- ----- serial info ----- uart 16550A, line 0, port 0x3f8, irq 4, baud 0 uart 16C950/954, line 4, port 0xac00, irq 18, baud 0 uart 16C950/954, line 5, port 0xac08, irq 18, baud 0 uart 16550A, line 6, port 0xd800, irq 22, baud 0 uart 16550A, line 7, port 0xd480, irq 22, baud 0 ----- serial info end -----
Hi Paul; For the mainboard port, did you check the BIOS to ensure it hadn't been disabled somehow? Also, what distro are you using?
Tom
Hi, It's not deactivated, running openSUSE 11.3 (x86_64), 2.6.34-12-desktop (default doesn't boot it hangs at EDD). Thanx, Paul -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2010-09-04 16:14, Paul Neuwirth wrote:
Hi, It's not deactivated, running openSUSE 11.3 (x86_64), 2.6.34-12-desktop (default doesn't boot it hangs at EDD).
You could try 11.2, to see if there is a regression or something weird. -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
On 2010-09-03 15:50, Paul Neuwirth wrote:
Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login.
It smells to me of bad speed settings, or bad cable (inside or outside the box). Double check that the speed, parity, stop bits are the same on all ports. If not that, then try to change the internal cables. -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Elessar) -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar))
On Sat, 04 Sep 2010 15:35:52 +0200
"Carlos E. R."
On 2010-09-03 15:50, Paul Neuwirth wrote:
Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login.
It smells to me of bad speed settings, or bad cable (inside or outside the box).
Double check that the speed, parity, stop bits are the same on all ports. If not that, then try to change the internal cables.
tried again my vt on all serial ports with 9600bauds 8N1. only ttyS[67] work, onboard - nothing happened, ttyS[45] hieroglyphics. The failing of the onboard serial port could be caused by bad cabling. There was an internal connector, bought an extra slot module, maybe it's not compatible. The non-working pci-express addon card(exsys ex-44390) doesn't have any internal cables, only an octopus cable. -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Some more information:
lspci -v
The working controller:
06:06.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O
Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 1P2S
Flags: medium devsel, IRQ 21
I/O ports at d880 [size=8]
I/O ports at d800 [size=8]
I/O ports at d480 [size=8]
I/O ports at d400 [size=8]
I/O ports at d080 [size=8]
I/O ports at d000 [size=16]
Kernel driver in use: parport_serial
the other:
03:04.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual
16950 Serial adapter (prog-if 06 [16950])
Subsystem: Oxford Semiconductor Ltd Device 0000
Flags: medium devsel, IRQ 18
I/O ports at ac00 [size=32]
Memory at fe7ff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at a880 [size=32]
Memory at fe7fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 1
Kernel driver in use: serial
wondering about the different "size" values, but not knowing
what it really means.
Also the output of setserial about the port of ttyS5 is
different?
"I/O ports at a880 [size=32]" vs.
"/dev/ttyS5, Line 5, UART: 16950/954, Port: 0xac08, IRQ: 18"
cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4
CPU5 0: 309 24 46 2698 2296165
421022221 IO-APIC-edge timer 1: 0 0
0 2 711 23245 IO-APIC-edge i8042
4: 0 0 0 0 0 33
IO-APIC-edge serial 8: 0 0 0
0 0 87 IO-APIC-edge rtc0 9: 0
0 0 0 0 14 IO-APIC-fasteoi acpi
14: 0 0 3 126 6112 126465
IO-APIC-edge pata_atiixp 15: 0 0
0 0 0 0 IO-APIC-edge pata_atiixp
16: 1 1 0 5 154 6852
IO-APIC-fasteoi hda_intel 17: 0 0
0 0 1 5 IO-APIC-fasteoi ehci_hcd:usb1,
ehci_hcd:usb2, ehci_hcd:usb3 18: 0 0
1 177 56959 1230365 IO-APIC-fasteoi ohci_hcd:usb4,
ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, radeon, xhci_hcd:usb8,
parport0, serial, fglrx[0]@PCI:1:5:0 20: 0 0
0 0 29 809 IO-APIC-fasteoi sata_sil24
21: 0 0 0 1 54 2609
IO-APIC-fasteoi serial 22: 0 1 0
1 174 14925 IO-APIC-fasteoi fcpci 29:
0 0 9 507 78259 2796161
PCI-MSI-edge ahci 30: 0 0 0
2 745 17716 PCI-MSI-edge eth0 31:
0 0 0 34 5946 165969
PCI-MSI-edge eth1
hmm, messy above...
IRQ 18 is claimed by many devices: ohci_hcd:usb4,
ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, radeon, xhci_hcd:usb8,
parport0, serial, fglrx[0]@PCI:1:5:0
IRQ 21 only by the working controller: serial
found a very similar problem, whcih wasn't solved:
http://ubuntuforums.org/showthread.php?t=1259529
thx again,
On Fri, 3 Sep 2010 15:50:31 +0200
Paul Neuwirth
Hello list, some of my serial ports are not working. ttyS0 mainboard's port doesn't work, ttyS[45] (PCI-express card) don't work, only ttyS[67] (PCI card) work correctly. I tried the different ports with my modems, a video terminal and my UPS, they work on ttyS[67] but not with the others - using the same configuration and permissions. Probing the modems (using hylafax's probemodem) makes the modem's leds blink, but will fail, on my VT i get hieroglyphics instead of a login.
Any ideas? thanks a lot for help, regards Paul
-
Here some info: setserial -ga /dev/ttyS? /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS4, Line 4, UART: 16950/954, Port: 0xac00, IRQ: 18 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS5, Line 5, UART: 16950/954, Port: 0xac08, IRQ: 18 Baud_base: 1130000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS6, Line 6, UART: 16550A, Port: 0xd800, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
/dev/ttyS7, Line 7, UART: 16550A, Port: 0xd480, IRQ: 22 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test
ttyS4 was originally set to baud_base 1130000 like ttyS5, but setting it to 115200 didn't change anything.
lspci 03:04.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter 06:07.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
the first one is the failing, second the working one
hwinfo
serial.1: read info ----- /proc/tty/driver/serial ----- 0: uart:16550A port:000003F8 irq:4 tx:329 rx:11 brk:11 RTS|DTR 4: uart:16C950/954 port:0000AC00 irq:18 tx:1378 rx:883 fe:5 brk:174 RTS|CTS|DTR|CD 5: uart:16C950/954 port:0000AC08 irq:18 tx:1616 rx:556 fe:39 brk:143 RTS|DTR|DSR 6: uart:16550A port:0000D800 irq:22 tx:98031 rx:99245 fe:4 RTS|CTS|DTR|DSR 7: uart:16550A port:0000D480 irq:22 tx:3164 rx:4737 fe:3 brk:52 RTS|CTS|DTR|DSR ----- /proc/tty/driver/serial end ----- ----- serial info ----- uart 16550A, line 0, port 0x3f8, irq 4, baud 0 uart 16C950/954, line 4, port 0xac00, irq 18, baud 0 uart 16C950/954, line 5, port 0xac08, irq 18, baud 0 uart 16550A, line 6, port 0xd800, irq 22, baud 0 uart 16550A, line 7, port 0xd480, irq 22, baud 0 ----- serial info end -----
-- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Paul Neuwirth
-
Thomas Taylor