From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751896AbbINUmn (ORCPT ); Mon, 14 Sep 2015 16:42:43 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:33350 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887AbbINUm2 (ORCPT ); Mon, 14 Sep 2015 16:42:28 -0400 From: Mikael Pettersson X-Google-Original-From: "Mikael Pettersson" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22007.12592.340250.148887@gargle.gargle.HOWL> Date: Mon, 14 Sep 2015 22:42:24 +0200 To: Greg Kroah-Hartman Cc: Mikael Pettersson , Peter Hurley , linux-kernel@vger.kernel.org Subject: Re: [4.3-rc1 regression] modular 8250 doesn't load In-Reply-To: <20150914185052.GA10687@kroah.com> References: <22006.65274.114552.472501@gargle.gargle.HOWL> <20150914175713.GA8384@kroah.com> <22007.3229.404183.315075@gargle.gargle.HOWL> <20150914185052.GA10687@kroah.com> X-Mailer: VM 8.1.2 under 24.3.1 (x86_64-redhat-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg Kroah-Hartman writes: > On Mon, Sep 14, 2015 at 08:06:21PM +0200, Mikael Pettersson wrote: > > Greg Kroah-Hartman writes: > > > On Mon, Sep 14, 2015 at 07:08:10PM +0200, Mikael Pettersson wrote: > > > > 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. > > > > > > Oops, need to fix that. > > > > > > > [ 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) > > > > > > Are you sure you did 'modprobe' and not 'insmod'? > > > > Yes, I used modprobe. I double-checked. > > Then your build should have failed if these functions are not being > exported properly by your .config. Most of these are in the serial_core > module, is that present/loaded? Yes, serial_core is loaded. uart_insert_char is EXPORT_SYMBOL_GPL, so could the missing license tag be preventing 8250_core from binding to it? (I haven't checked the other symbols but I assume they are also _GPL.)