FS#17474 - [mkinitcpio] 8250.nr_uarts=8 stop the kernel booting
Attached to Project:
Arch Linux
Opened by zhengyi (goodmen) - Saturday, 12 December 2009, 10:06 GMT
Last edited by Thomas Bächler (brain0) - Friday, 19 February 2010, 17:31 GMT
Opened by zhengyi (goodmen) - Saturday, 12 December 2009, 10:06 GMT
Last edited by Thomas Bächler (brain0) - Friday, 19 February 2010, 17:31 GMT
|
Details
Description:
when set kernel param "8250.nr_uarts=8" in the grub, the kernel booting will run into truble. In the initrd scrip init, the "case" block can not process this param correctly. It will turn that param into a scrip line "8250_nr_uarts=8" then, sh will complain that 8250_nr_uarts is not a valide variable name! Because the 8250 driver is not compile as a kernel module, so the only way to assign to number of serial port is by kernel params( if one do not want to rebuild the kernel). Would you please imporve the initrd/init script to let the kernel itself to deel with that param? Additional info: * package version(s) all version of mkinitcpio * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Thomas Bächler (brain0)
Friday, 19 February 2010, 17:31 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed, and no further response.
Friday, 19 February 2010, 17:31 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed, and no further response.
Any kernel param that begin with [0123456789] will fail if the /lib/initcpio/init is not updated
Side note: why do you have to set this on the kernel command line? Can it not be set as a module parameter in a modprobe conf file?
Do you agree with me?
Serial port is a basic hardware, some machines do not have a video card(embeded system and telcom system), so a serial terminal is an important way to run the system. If 8250 is compiled as a kernel module, one can not see the
precdure of kernel booting( an important way to debug system ).
I'll try to get this fixed sometime this week, assuming Thomas gets back to me :)
Do you agree with me?
Serial port is a basic hardware, some machines do not have a video card(embeded system and telcom system), so a serial terminal is an important way to run the system. If 8250 is compiled as a kernel module, one can not see the
precdure of kernel booting( an important way to debug system ).