[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Reply to: