Bug 130437 - Serial PCI card not assigned to the proper ttyS in dev directory. Serial Ports not working. (NetMos Exsys)
Summary: Serial PCI card not assigned to the proper ttyS in dev directory. Serial Port...
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Final
Hardware: i386 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Ihno Krumreich
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 07:09 UTC by Forgotten User gic99LgXZ-
Modified: 2008-04-28 15:14 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Kernel config file with "CONFIG_SERIAL_8250_NR_UARTS=24" (62.39 KB, text/plain)
2005-11-22 12:11 UTC, Forgotten User gic99LgXZ-
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User gic99LgXZ- 2005-10-25 07:09:21 UTC
The following Serial Cards are not assigned to the proper tty's within /dev direcory. The Serial ports are not working. Wrong tty assignment from Kernel.
Setserial commands (even in /etc/init.t/setserial) cannot be used as the Kernel/udev/hotplug gives not enought ttyS* devices inside /dev directory.
-------------------------------------------------------------------------
lspci -v output:
01:01.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
        Subsystem: LSI Logic / Symbios Logic 2S (16C550 UART)
        Flags: medium devsel, IRQ 5
        I/O ports at bc00 [size=8]
        I/O ports at b400 [size=8]
        I/O ports at b000 [size=8]
        I/O ports at ac00 [size=8]
        I/O ports at a800 [size=8]
        I/O ports at a400 [size=16]
-------------------------------------------------------------------------------
These ports where assigned by the Kernel to (dmesg | grep ttyS):
ttyS1 at I/O 0xbc00 (irq = 5) is a 16550A
ttyS2 at I/O 0xb400 (irq = 5) is a 16550A
-------------------------------------------------------------------------------
Using minicom with these ports does not work (or at least the receive buffer 'stucked' somehow)
-------------------------------------------------------------------------------
After recompiling the Kernel with the given source from DVD/CD, the ports where assigned to:
ttyS4 at I/O 0xbc00 (irq = 5) is a 16550A
ttyS5 at I/O 0xb400 (irq = 5) is a 16550A

I think the first 4 comports should be mapped for ISA based ports without irq-sharing, that's the reason why minicom is not receiving more than one line from a modem connected to the port...
------------------------------------------------------------------------------
After changing the Kernel settings in (make menuconfig):
Device drivers --> Character devices --> Serial drivers --> Maximum number of 8250/16550 serial ports from former value "4" to "24",
and recompiling the Kernel image with:
make clean bzImage
and
make modules
and
make modules_install
and
INSTALL_PATH=/boot make install
and a reboot. After this is done, the /dev direcory contains 24 ttyS ports.
-------------------------------------------------------------------------------
I saw this problem with the following Hardware components (4 diff. products):

Exsys EX-41052 (CS: NetMos NM9835CV) 2 Port Card.
Exsys EX-41251 (CS: NetMos NM2820CV) 1 Port Card.
Exsys EX-41054 (CS: NetMos NM9845CV) 4 Port Card.
Exsys EX-41098 (CS: Oxford OX16PCI954 with PCI bridge) 8 Port Card.
-------------------------------------------------------------------------------
As i wanted to rollout Suse linux on a wide range of PC Hardware, i need to re-compile the Kernel now, to get Serial Cards working, this takes me about 1-2 hours more... :o(
When is the next Kernel Update scheduled? will this be part of the next kernel rpm update?
Can i have a custom kernel rpm created, and how?
Comment 1 Ihno Krumreich 2005-11-14 11:29:04 UTC
Can you please attach the kernel config file?
Comment 2 Forgotten User gic99LgXZ- 2005-11-22 12:11:48 UTC
Created attachment 58083 [details]
Kernel config file with "CONFIG_SERIAL_8250_NR_UARTS=24"

Attached the kernel config for CONFIG_SERIAL_8250_NR_UARTS=24 (former default config was value = 4).

Is there any fast (an clean) way in creating my own kernel rpm (and kernel source rpm). I tried with make rpm, but the resulted rpm(s) cannot be installed on a "out of the box" suse 10.0 machine (not booting anymore...)
Your fast response is greatly appreciated :-)
Can i install a 10.1 alpha kernel instead to get serial cards working in a prod. env. ...?
Regards
Comment 3 Andreas Jaeger 2008-04-28 15:14:55 UTC
If you still find this bug in openSUSE 11.0, please reopen this bugreport and change the product to "openSUSE 11.0".

We will not fix this anymore, sorry for the long time to keep this open.