Have a look at post#2 here:
http://www.linuxquestions.org/questi...38#post3651838 for the basics of the file
/etc/serial.conf where you can configure the serial ports on the machine, like which one is ttyS0, which is ttyS1, etc., as well as telling the machine the location(s) of the registers used for each port.
Basically I gave an example based on my Slackware system, but yours should be similar, providing you have the serial.conf file or a Kubuntu equivalent file.
Now, by default, I believe that the kernel, and thus, most common distros, are configured to provide for a max of 4 serial ports. Usually, you would need to rebuild the kernel to add support for more. You *might* need to do this anyway, depending on the nature/make/model/chipset of the card you're using. If it's a typical dumb serial board, maybe you can get around rebuilding the kernel. Try the following:
On the kernel boot-line you use to boot your OS (or with an APPEND to/on the boot line in LILO or GRUB) add the following parameter:
To try to tell the OS you want a max of 5 uarts (serial IC's) configured. I got that parameter from the file "kernel-parameters.txt" which is included in the linux kernel /Documentation folder, or which you can quickly locate by Googling it.
Using these two options (the serial.conf file, plus the boot parameter) you should be able to enable 5 (or however many) serial ports, as well as define which tty is which, if you need specific ports to be specific ttys.
Good luck, and do tell us if this works for you.
Sasha