Post by Sudhangathan B SI 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
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 ?
Post by Sudhangathan B SI 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 ?
Post by Sudhangathan B SAnd 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
Post by Sudhangathan B SBest,
---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------
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"
Post by Bruce AshfieldPost by Sudhangathan B SHi all,
I need to prevent my wifi drivers auto loading during boot time.
How do
Post by Bruce AshfieldPost by Sudhangathan B Swe 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
module_autoload_<module name>.
Post by Bruce AshfieldI'm not talking about a usermode helper / on demand load, but
an explicit autoload + dependencies.
Bruce
Post by Sudhangathan B SI tried both the fedora way and debian way, neither worked.!
this is as
http://www.cyberciti.biz/tips/avoid-linux-kernel-module-driver-autoloading.html
Post by Bruce AshfieldPost by Sudhangathan B SI'm using gumstix overo hardware..! Poky version 9.0.2, Yocto
Project
Post by Bruce AshfieldPost by Sudhangathan B S1.4 Reference Distro, 1.4.2 overo.
---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205 <tel:%28%2B91%29%209731-905-205>
---------------------------------
--