Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
maximilian attems wrote: On Tue, Jan 08, 2008 at 02:50:41PM -0600, Lukasz Szybalski wrote: Currently we have 1 serial port on motherboard and 2 port pci card. I would like to add another 4 port pci card. I am not able to do it because I get a conflict on ttyS. Since regular pc pci limit is on average 3. the max serial ports I could install is 3x(6port serial card) + 1 on mother board. So Max I could fit on is 19 if I wanted to. Realistically it would be optimal for me to have at least 7 available. Is there some kind of setting that can be changed without recompiling the kernel to allow this many serial ports or some kernel header that would increase the number of available serial ports without much problem? $ egrep NR_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_NR_UARTS=16 $ egrep RUNTIME_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 This can be overridden with the module parameter nr_uarts, or boot-time parameter 8250.nr_uarts. up to 16 evidently Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled I edited /boot/grub/menu.lst and change the following lines by adding the 8250.nr_uarts=16 at the end of kernel option. title Debian GNU/Linux, kernel 2.6.18-5-686 root (hd0,1) kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sda2 ro 8250.nr_uarts=16 initrd /boot/initrd.img-2.6.18-5-686 savedefault Now I've got: Serial: 8250/16550 driver $Revision: 1.90 $ 16 ports, IRQ sharing enabled Just for the my info. Is there a setting I could pass on boot time to increase the max number of serial ports and then set my 8250.nr_uarts=16 to let say 20. Thanks, Lucas ps. I added the info on the process of going from 4 to 16 here: http://lucasmanual.com/mywiki/FaxServer#head-e5a4f60720205d4c950a7ba608cd73a35c978946 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
On Wed, Jan 09, 2008 at 09:42:15AM -0600, Lukasz Szybalski wrote: maximilian attems wrote: $ egrep NR_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_NR_UARTS=16 $ egrep RUNTIME_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 This can be overridden with the module parameter nr_uarts, or boot-time parameter 8250.nr_uarts. up to 16 evidently Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled I edited /boot/grub/menu.lst and change the following lines by adding the 8250.nr_uarts=16 at the end of kernel option. title Debian GNU/Linux, kernel 2.6.18-5-686 root (hd0,1) kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sda2 ro 8250.nr_uarts=16 initrd /boot/initrd.img-2.6.18-5-686 savedefault that is _not_ the recommended way. add the bootparam to koopt and run update-grub. your setting above will be overwritten soon. Now I've got: Serial: 8250/16550 driver $Revision: 1.90 $ 16 ports, IRQ sharing enabled Just for the my info. Is there a setting I could pass on boot time to increase the max number of serial ports and then set my 8250.nr_uarts=16 to let say 20. you start greeedy, the first question was to get 9 devices, currently no. -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
maximilian attems wrote: On Wed, Jan 09, 2008 at 09:42:15AM -0600, Lukasz Szybalski wrote: maximilian attems wrote: $ egrep NR_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_NR_UARTS=16 $ egrep RUNTIME_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 This can be overridden with the module parameter nr_uarts, or boot-time parameter 8250.nr_uarts. up to 16 evidently Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled I edited /boot/grub/menu.lst and change the following lines by adding the 8250.nr_uarts=16 at the end of kernel option. title Debian GNU/Linux, kernel 2.6.18-5-686 root (hd0,1) kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/sda2 ro 8250.nr_uarts=16 initrd /boot/initrd.img-2.6.18-5-686 savedefault that is _not_ the recommended way. add the bootparam to koopt and run update-grub. your setting above will be overwritten soon. soon, as in in the next kernel upgrade or? Now I've got: Serial: 8250/16550 driver $Revision: 1.90 $ 16 ports, IRQ sharing enabled Just for the my info. Is there a setting I could pass on boot time to increase the max number of serial ports and then set my 8250.nr_uarts=16 to let say 20. you start greeedy, the first question was to get 9 devices, currently no. Since the limit is 16 then why not go 16. Could you tell me the proper exact way I should run the command. My knowledge on the kernel parameters is limited. I run it as root on a command line? bootparam 8250.nr_uarts=16 ?? or? Thanks, Lucas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
On Wed, Jan 09, 2008 at 12:06:16PM -0600, Lukasz Szybalski wrote: I run it as root on a command line? bootparam 8250.nr_uarts=16 ?? or? add the bootparam 8250.nr_uarts=16 to the kopt line in /boot/grub/menu.lst then run update-grub. (as already told ;) 2.6.24 wil have 32 as upper limit, so this bug is marked as pending. happy usage -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
Hello, I have similar problem. We are running a hylafax fax server with multiple serial ports with attached fax modems to it. Currently we have 1 serial port on motherboard and 2 port pci card. I would like to add another 4 port pci card. I am not able to do it because I get a conflict on ttyS. Since regular pc pci limit is on average 3. the max serial ports I could install is 3x(6port serial card) + 1 on mother board. So Max I could fit on is 19 if I wanted to. Realistically it would be optimal for me to have at least 7 available. Is there some kind of setting that can be changed without recompiling the kernel to allow this many serial ports or some kernel header that would increase the number of available serial ports without much problem? Thanks, Lucas -- Lukasz Szybalski Unique Insurance Co www.UniqueInsuranceCo.com 773-299-7527 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
On Tue, Jan 08, 2008 at 02:50:41PM -0600, Lukasz Szybalski wrote: Currently we have 1 serial port on motherboard and 2 port pci card. I would like to add another 4 port pci card. I am not able to do it because I get a conflict on ttyS. Since regular pc pci limit is on average 3. the max serial ports I could install is 3x(6port serial card) + 1 on mother board. So Max I could fit on is 19 if I wanted to. Realistically it would be optimal for me to have at least 7 available. Is there some kind of setting that can be changed without recompiling the kernel to allow this many serial ports or some kernel header that would increase the number of available serial ports without much problem? $ egrep NR_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_NR_UARTS=16 $ egrep RUNTIME_UARTS /boot/config-2.6.24-rc7-amd64 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 This can be overridden with the module parameter nr_uarts, or boot-time parameter 8250.nr_uarts. up to 16 evidently -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#440807: increase CONFIG_SERIAL_8250_NR_UARTS (number of serial ports)
Package: linux-2.6 Severity: wishlist Version: 2.6.22-4 Hi, I run a console server with a serial port replicator, but the number of serial ports in the kernel is limited to 16 (CONFIG_SERIAL_8250_NR_UARTS), so I have to rebuild the kernel every time I update it. It would be good if the limit could be set higher. It would, however, increase memory use -- but perhaps it could be enabled in the -686-bigmem flavour, as memory is less of a concern there? -- Pelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]