All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Mikael Pettersson <mikpelinux@gmail.com>
Cc: Peter Hurley <peter@hurleysoftware.com>, linux-kernel@vger.kernel.org
Subject: Re: [4.3-rc1 regression] modular 8250 doesn't load
Date: Mon, 14 Sep 2015 14:18:27 -0700	[thread overview]
Message-ID: <20150914211827.GA3440@kroah.com> (raw)
In-Reply-To: <20150914211243.GA3377@kroah.com>

On Mon, Sep 14, 2015 at 02:12:43PM -0700, Greg Kroah-Hartman wrote:
> On Mon, Sep 14, 2015 at 10:42:24PM +0200, Mikael Pettersson wrote:
> > 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.)
> 
> Ah, crap, yes, you are right.  You can test this with a simple:
> 	MODULE_LICENSE("GPL");
> line added to the 8250_base file.

Wait, 8250_base.c has a module license line.

Can you provide a full .config file?

thanks,

greg k-h

  reply	other threads:[~2015-09-14 21:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14 17:08 [4.3-rc1 regression] modular 8250 doesn't load Mikael Pettersson
2015-09-14 17:57 ` Greg Kroah-Hartman
2015-09-14 18:06   ` Mikael Pettersson
2015-09-14 18:50     ` Greg Kroah-Hartman
2015-09-14 20:42       ` Mikael Pettersson
2015-09-14 21:12         ` Greg Kroah-Hartman
2015-09-14 21:18           ` Greg Kroah-Hartman [this message]
2015-09-14 21:46             ` Mikael Pettersson
2015-09-21 20:23             ` [PATCH] " Jonathan McDowell
2015-09-23 13:09               ` [PATCH] serial: 8250: Add missing module license for 8250_base.ko Peter Hurley
2015-09-14 18:00 ` [4.3-rc1 regression] modular 8250 doesn't load Albino B Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150914211827.GA3440@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpelinux@gmail.com \
    --cc=peter@hurleysoftware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.