Mailinglist Archive: opensuse (1517 mails)

< Previous Next >
Re: [opensuse] serial ports not working
  • From: Paul Neuwirth <mail@xxxxxxxxxxxxxxxx>
  • Date: Mon, 6 Sep 2010 15:28:23 +0200
  • Message-id: <20100906152823.0f7b9a1e@xxxxxxxxxxxx>
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 <mail@xxxxxxxxxxxxxxxx> 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 -----



--
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References