[4.3-rc1 regression] modular 8250 doesn't load

From: Mikael Pettersson
Date: Mon Sep 14 2015 - 13:08:17 EST


I have CONFIG_SERIAL_8250=m. With 4.2 '/sbin/modprobe 8250' worked
and resulted in:

[ 41.354550] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 41.375156] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

With 4.3-rc1 however the command fails and logs the following:

[ 34.140300] 8250_base: module license 'unspecified' taints kernel.
[ 34.141846] Disabling lock debugging due to kernel taint
[ 34.143388] 8250_base: Unknown symbol uart_insert_char (err 0)
[ 34.144908] 8250_base: Unknown symbol uart_handle_dcd_change (err 0)
[ 34.146439] 8250_base: Unknown symbol __pm_runtime_resume (err 0)
[ 34.147901] 8250_base: Unknown symbol tty_termios_encode_baud_rate (err 0)
[ 34.149354] 8250_base: Unknown symbol uart_handle_cts_change (err 0)
[ 34.150798] 8250_base: Unknown symbol __pm_runtime_suspend (err 0)
[ 34.152240] 8250_base: Unknown symbol nr_irqs (err 0)

Relevant .config fragments:

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODVERSIONS=y

# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_SERIAL_8250=m
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
# CONFIG_SERIAL_8250_PNP is not set
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_FINTEK is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set

/Mikael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/