2005-10-27 07:14:53

by Jarek

[permalink] [raw]
Subject: dumb muliport serial cards not supported in 2.6.13.4 ???

Hi all!

I've PCM 3643, 8 port dumb multiport serial card from Advantech.
This card works nice with 2.6.12 but with 2.6.13.4 I can see only two
ports!
This is dumb 8250 (exactly: 16550A) multiport board. In 2.6.12 I've the
following settings:

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_MULTIPORT=y
CONFIG_SERIAL_8250_RSA=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y

I've tried to setup same in 2.6.13.4, but it claims:
.config:761: trying to assign nonexistent symbol SERIAL_8250_MULTIPORT

I suspect that this is the problematic setting but there is nothing
about this in any Changelog.

What should I do ?

Jarek.


2005-10-27 08:08:48

by Russell King

[permalink] [raw]
Subject: Re: dumb muliport serial cards not supported in 2.6.13.4 ???

On Thu, Oct 27, 2005 at 09:14:18AM +0200, Jarek wrote:
> Hi all!
>
> I've PCM 3643, 8 port dumb multiport serial card from Advantech.
> This card works nice with 2.6.12 but with 2.6.13.4 I can see only two
> ports!
> This is dumb 8250 (exactly: 16550A) multiport board. In 2.6.12 I've the
> following settings:
>
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_8250_NR_UARTS=4
> CONFIG_SERIAL_8250_EXTENDED=y
> CONFIG_SERIAL_8250_MANY_PORTS=y
> CONFIG_SERIAL_8250_SHARE_IRQ=y
> CONFIG_SERIAL_8250_MULTIPORT=y
> CONFIG_SERIAL_8250_RSA=y
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
>
> I've tried to setup same in 2.6.13.4, but it claims:
> .config:761: trying to assign nonexistent symbol SERIAL_8250_MULTIPORT
>
> I suspect that this is the problematic setting but there is nothing
> about this in any Changelog.
>
> What should I do ?

Please send the kernel messages from this kernel so we can see what's
going on. (this would be useful whatever.)

At a guess you need to increase CONFIG_SERIAL_8250_NR_UARTS. It now
represents the _total_ number of ports.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core

2005-10-27 09:47:06

by Jarek

[permalink] [raw]
Subject: Re: dumb muliport serial cards not supported in 2.6.13.4 ???

Dnia 27-10-2005, czw o godzinie 09:08 +0100, Russell King napisa?(a):

> Please send the kernel messages from this kernel so we can see what's
> going on. (this would be useful whatever.)

>From dmesg:

Serial: 8250/16550 driver $Revision: 1.90 $ 16 ports, IRQ sharing
enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A


$cat /proc/tty/driver/serial:

serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:47 rx:0 RTS|DTR
1: uart:16550A port:000002F8 irq:3 tx:0 rx:0 CTS|DSR
2: uart:16550A port:00000240 irq:5 tx:2828 rx:2826 fe:81
3: uart:16550A port:00000248 irq:5 tx:0 rx:0 RTS|CTS|DTR|DSR
4: uart:unknown port:00000000 irq:0
5: uart:unknown port:00000000 irq:0
6: uart:unknown port:00000000 irq:0
7: uart:unknown port:00000000 irq:0
8: uart:unknown port:00000000 irq:0
9: uart:unknown port:00000000 irq:0
10: uart:unknown port:00000000 irq:0
11: uart:unknown port:00000000 irq:0
12: uart:unknown port:00000000 irq:0
13: uart:unknown port:00000000 irq:0
14: uart:unknown port:00000000 irq:0
15: uart:unknown port:00000000 irq:0


setserial /dev/ttyS4 port 0x250 irq 5 uart 16550A ^fourport
Cannot set serial info: Invalid argument

(ports 2-9 are from PCM3643)

$grep CONFIG_SERIAL .config
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=16
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y
# CONFIG_SERIAL_8250_FOURPORT is not set
# CONFIG_SERIAL_8250_ACCENT is not set
# CONFIG_SERIAL_8250_BOCA is not set
# CONFIG_SERIAL_8250_HUB6 is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set

best regards
Jarek