From: Steven Rostedt <srostedt@redhat.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
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 10:11:40 -0400 [thread overview]
Message-ID: <1367244700.28120.6.camel@fedora> (raw)
In-Reply-To: <alpine.DEB.2.02.1304290645150.16211@oneiric>
On Mon, 2013-04-29 at 06:54 -0400, Robert P. J. Day wrote:
> On Sun, 28 Apr 2013, Yann E. MORIN wrote:
> note there is no module named "ath_cards", but my starting .config
> indeed contains an entry for that as a module:
>
> $ grep CONFIG_ATH ../3.9.config
> CONFIG_ATH_COMMON=m
> CONFIG_ATH_CARDS=m <-- there
Ah, it was enabled when you ran localmodconfig?
> # CONFIG_ATH_DEBUG is not set
> # CONFIG_ATH5K is not set
> # CONFIG_ATH5K_PCI is not set
> CONFIG_ATH9K_HW=m
> CONFIG_ATH9K_COMMON=m
> CONFIG_ATH9K_BTCOEX_SUPPORT=y
> CONFIG_ATH9K=m
> CONFIG_ATH9K_PCI=y
> # CONFIG_ATH9K_AHB is not set
> # CONFIG_ATH9K_DEBUGFS is not set
> CONFIG_ATH9K_RATE_CONTROL=y
> # CONFIG_ATH9K_HTC is not set
> # CONFIG_ATH6KL is not set
> $
>
> and that symbol is defined in drivers/net/wireless/ath/Kconfig as a
> "menuconfig":
>
> config ATH_COMMON
> tristate
>
> menuconfig ATH_CARDS <-- there
> tristate "Atheros Wireless Cards"
> ... snip ...
>
> so i'm just going to *guess* that the config procedure, when faced
> with the line "CONFIG_ATH_CARDS=m", goes looking for a loaded module
> called "ath_cards" or "ath9k_cards", doesn't find it, and turns off
> that selection, consequently turning off *all* of my atheros
> functionality.
>
> the Kconfig file claims that:
>
> "menuconfig ATH_CARDS
> tristate "Atheros Wireless Cards"
> depends on CFG80211 && (!UML || BROKEN)
> ---help---
> This will enable the support for the Atheros wireless drivers.
> ath5k, ath9k, ath9k_htc and ar9170 drivers share some common code, this option
> enables the common ath.ko module which shares common helpers.
> ^^^^^^
>
> but the corresponding Makefile has:
>
> obj-$(CONFIG_ATH_COMMON) += ath.o
>
> where ath.o depends on ATH_COMMON, *not* ATH_CARDS.
>
> that just seems like a badly-written set of Kconfig structures and
> dependencies.
localmodconfig is set up to recognize options dependent on config menus.
I'll have to take a look. Can you send me your .config file you started
with, and what lsmod gives you. "lsmod > file". I'll see what broke.
Oh, and one last thing. It's best to email me at rostedt@goodmis.org, as
I don't always check my work email ;-)
Thanks,
-- Steve
next prev parent reply other threads:[~2013-04-29 14:11 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 [this message]
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
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=1367244700.28120.6.camel@fedora \
--to=srostedt@redhat.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=rpjday@crashcourse.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox