Take the 2-minute tour ×

Can a linux 2.6 serial console driver that registers itself using the console_initcall() macro be developed as a loadable module or must it be compiled in-kernel?

share|improve this question

migrated from unix.stackexchange.com Mar 14 '12 at 2:52


2 Answers 2

up vote 3 down vote accepted

As described in the kernel documentation there needs to be a system console driver which is called during the initialization phase.

So if you want default system console support for the serial drivers, you need to have them in-kernel. See drivers/tty/serial/Kconfig for the existing drivers.

This discussion might be also interesting for you.

share|improve this answer

serial console module can be initialize also inside the UART driver also if UART supports serial console then UART driver structure's cons field would be pointing to serial console.

share|improve this answer

Your Answer


