All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>,
	Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: Re: strange behaviour from "make localmodconfig" throws out ath9k stuff
Date: Mon, 29 Apr 2013 11:01:33 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1304291056410.13584@oneiric> (raw)
In-Reply-To: <1367246499.30667.9.camel@gandalf.local.home>

On Mon, 29 Apr 2013, Steven Rostedt wrote:

... snip ...

> I should probably have localmodconfig stop here and wait for user input,
> as this is usually lost in the make oldconfig that runs later.
>
> >
> >   so it sees the currently loaded modules:
> >
> > ath9k                 110134  0
> > ath9k_common           14053  1 ath9k
> > ath9k_hw              405771  2 ath9k,ath9k_common
> > ath                    23827  3 ath9k,ath9k_common,ath9k_hw
> >
> > it just has no idea how to hang onto them, yes?
> >
> >   at this point, i think this is one of those anomalous corner cases
> > that has to be recognized and resolved manually. but i can reproduce
> > all of this from scratch if you'd like to see it.
>
> This looks like one of those things that happen when you use an older
> config with a newer kernel. localmodconfig is really made for just
> turning off what's not used, not for turning on things that were not
> there before. This is because it wont know the right dependency to turn
> on.
>
> I don't consider this a bug, just something you need to be aware of.
>
> I could add to localmodconfig to stop after the warnings and say
> something like:
>
> "The above warnings could be caused by running an older config with a
> newer kernel. You may want to run the origin config against 'make
> oldconfig' to select any new dependencies that might be required."

  i threw all this onto a wiki page, if anyone else wants to play
along:

http://www.crashcourse.ca/wiki/index.php/Atheros_and_localmodconfig

and you're right, of course, it's not a "localmodconfig" thing after
all.

  however, the last bit on that wiki page still puzzles me and i just
noticed it -- even after i manually add in the atheros stuff,
localmodconfig still throws it away again, this time without warning.

  anyway, i know the workaround so i'll go with that. i figure i've
beaten this adequately senseless.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

  reply	other threads:[~2013-04-29 15:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 19:05 strange behaviour from "make localmodconfig" throws out ath9k stuff Robert P. J. Day
2013-04-26 19:36 ` Yann E. MORIN
2013-04-27  0:47   ` Robert P. J. Day
2013-04-27 15:38 ` Yann E. MORIN
2013-04-27 17:30   ` Robert P. J. Day
2013-04-27 17:42     ` Yann E. MORIN
2013-04-27 17:48       ` Robert P. J. Day
2013-04-27 18:19       ` Robert P. J. Day
2013-04-28 20:28         ` Yann E. MORIN
2013-04-29 10:54           ` Robert P. J. Day
2013-04-29 14:11             ` Steven Rostedt
2013-04-29 14:28               ` Robert P. J. Day
2013-04-29 14:41                 ` Steven Rostedt
2013-04-29 15:01                   ` Robert P. J. Day [this message]
2013-04-29 15:13                     ` Steven Rostedt
2013-04-29 15:19                       ` Robert P. J. Day
     [not found]                       ` <alpine.DEB.2.02.1304291121180.26536@oneiric>
2013-04-29 16:15                         ` Steven Rostedt
2013-04-29 18:00                         ` Steven Rostedt
2013-04-29 18:26                           ` Robert P. J. Day
2013-04-29 18:41                           ` Robert P. J. Day
2013-04-29 19:15                           ` Robert P. J. Day
2013-04-29 20:43                             ` Steven Rostedt
2013-04-29 20:50                               ` Robert P. J. Day
2013-04-29 20:39                           ` Robert P. J. Day
2013-04-29 23:40                             ` Steven Rostedt
2013-04-29 14:02           ` Steven Rostedt
2013-04-27 17:47   ` Robert P. J. Day

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=alpine.DEB.2.02.1304291056410.13584@oneiric \
    --to=rpjday@crashcourse.ca \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=yann.morin.1998@free.fr \
    /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.