From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Sudhangathan B S <sudhangathan@gmail.com>,
"General mailing list for gumstix users."
<gumstix-users@lists.sourceforge.net>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Blacklisting drivers in poky or in yocto project
Date: Fri, 2 May 2014 00:47:19 -0400 [thread overview]
Message-ID: <53632357.1070904@windriver.com> (raw)
In-Reply-To: <CAGX3a99ixL0CvRQLmxLCaK0Zrdd22ET25S=OCKpk+AJnQxRmOQ@mail.gmail.com>
On 2014-05-01, 2:24 PM, Sudhangathan B S wrote:
> The Update:
> I blacklisted all related drivers, i.e., libertas, libertas_sdio,
> cfg80211 and ipv6, but still all these driver modules got autoloaded..!!
>
> The method I used: in the file /etc/modprobe.d/blacklist.conf, i added
> these following lines:
> blacklist ipv6
> blacklist cfg80211
> blacklist libertas
> blacklist libertas_sdio
I can't recall if yocto 1.4 had switched to kmod, or if it was still
the legacy mod-utils ? Can you confirm with one is in play here ?
>
> I also tried the same in /lib/modprobe.d/blacklist.conf, but to no
> avail. Every time the modules were getting autoloaded..!!!
Have you looked for /etc/modules ? Or any other references to them
on the filesystem ?
>
> And also where can I look for this autoload feature..?
I'm not familiar with the kernel you are using, but have you confirmed
that either hotplug events or uevents and a helper are not being
triggered and loading the modules ?
Bruce
>
> Best,
>
>
>
> ---------------------------------
> Sudhangathan BS
> Ph:(+91) 9731-905-205
> ---------------------------------
>
>
> On Thu, May 1, 2014 at 1:46 AM, Sudhangathan B S <sudhangathan@gmail.com
> <mailto:sudhangathan@gmail.com>> wrote:
>
> Yes i confirm the loading of modules everytime using lsmod.
>
> I'm using the standard installation of yocto project from Gumstix
> Repo, and also the PM branch kernel from Kevin Hilman's repo. Kernel
> version is 3.4. So i did not specify autoloading of modules anywhere.
>
> A grep of module_autoload showed kernel-module-split.bbclass as a
> reference. Is this the file you are talking about..? It will be good
> to know if it is because this module_autoload..!!
>
> And moreover I now have a doubt if the blaclisting is not working
> because of the dependencies. I will reply again after blacklisting
> all related drivers. Esp. the cfg802 driver.
>
> Thanks Bruce,
>
> Sudhangathan BS.
>
> Working on a MMX Android 110.
> --If you have not travelled, you have not lived.
>
> On 30-Apr-2014 6:57 PM, "Bruce Ashfield"
> <bruce.ashfield@windriver.com <mailto:bruce.ashfield@windriver.com>>
> wrote:
> >
> > On 14-04-30 03:40 AM, Sudhangathan B S wrote:
> >>
> >> Hi all,
> >>
> >> I need to prevent my wifi drivers auto loading during boot time.
> How do
> >> we do it in the Poky OS or in the Yocto project..?
> >
> >
> > Are you actually seeing a confirmed auto load of modules ?
> >
> > In a standard image kernel modules will not be autoloaded unless
> > specifically requested via a recipe with :
> module_autoload_<module name>.
> >
> > I'm not talking about a usermode helper / on demand load, but
> > an explicit autoload + dependencies.
> >
> > Bruce
> >
> >
> >
> >
> >>
> >> I tried both the fedora way and debian way, neither worked.!
> this is as
> >> given in this website..:
> >>
> http://www.cyberciti.biz/tips/avoid-linux-kernel-module-driver-autoloading.html
> >>
> >>
> >> I'm using gumstix overo hardware..! Poky version 9.0.2, Yocto
> Project
> >> 1.4 Reference Distro, 1.4.2 overo.
> >>
> >>
> >> ---------------------------------
> >> Sudhangathan BS
> >> Ph:(+91) 9731-905-205 <tel:%28%2B91%29%209731-905-205>
> >> ---------------------------------
> >>
> >>
> >
>
>
>
>
next prev parent reply other threads:[~2014-05-02 4:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 7:40 Blacklisting drivers in poky or in yocto project Sudhangathan B S
2014-04-30 13:27 ` Bruce Ashfield
2014-04-30 20:16 ` Sudhangathan B S
2014-05-01 18:24 ` Sudhangathan B S
2014-05-02 4:47 ` Bruce Ashfield [this message]
2014-05-02 6:39 ` Khem Raj
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=53632357.1070904@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=gumstix-users@lists.sourceforge.net \
--cc=sudhangathan@gmail.com \
--cc=yocto@yoctoproject.org \
/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.