<br><br><div class="gmail_quote">On Sat, May 12, 2012 at 2:08 PM, Ajay Garg <span dir="ltr"><<a href="mailto:ajay@activitycentral.com" target="_blank">ajay@activitycentral.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks Martin.<br>Very neatly explained !!!! :)<br><br>I tried the "rmmod/modprobe" hack in "olpc-configure", and it worked (obviously because, this time the "/etc.modprobe.d/libertas.conf" could be fetched/read from persistent storage). Mesh-icons were no more visible in the neighborhood-view (both during reboot, and resume-from-suspend).<br>

<br>But I too felt that this is more of a hack, and not a clean solution.<br><br><br>So, I ventured out exploring dracut.<br>I created a initramfs image on my home/work laptop, hosting Fedora-14, via the command ::<br><br>

                           "dracut test.img"<br><br>and then listed the contents of it<br><br>                           "lsinitrd test.img"<br><br>I saw that "/etc/modprobe.d/*" files were a part of "test.img".<br>

So, I think that these files _are_ included as part of the initramfs image, as per say.<br><br><br>So,<br><br>"""<br>Is this observation (that /etc/modprobe.d/* files are included, as per say) in line with what is expected?<br>

If yes, that is kind of a relief, since that would mean that only "/etc/modprobe.d/libertas.conf" is not being included (in initramfs that is).<br>"""<br></blockquote><div><br>Well, just inspected "lsinitrd olpcrd.img" (assuming "olpcrd.img" _is_ the initramfs image in the signed build :D )<br>
"olpcrd.img", in fact, does not contain any /etc/modprobe/* files.<br><br><br>Am looking into exploring customized dracut-modules-olpc..<br><br><br>Thanks and Regards,<br>Ajay<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br><br><br>Thanks and Regards,<br>Ajay<div class="HOEnZb"><div class="h5"><br>
<br><br><div class="gmail_quote">On Fri, May 11, 2012 at 3:33 AM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com" target="_blank">martin.langhoff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div>On Thu, May 10, 2012 at 1:23 PM, Ajay Garg <<a href="mailto:ajay@activitycentral.com" target="_blank">ajay@activitycentral.com</a>> wrote:<br>
> If I boot with "/security/develop.sig" folder in my pendrive,<br>
> a)<br>
> mesh-icons are observed in neighborhood-view, both during reboot and<br>
> resume-from-suspend.<br>
<br>
</div>Welcome to the initramfs stage of your journey! When the laptop needs<br>
activation, it loads a different initramfs that among other things<br>
loads the libertas module.<br>
<br>
You need to get your /etc/modprobe.d/ files into the initramfs. For<br>
your vanilla build, look into dracut-modules-olpc. If you're hoping to<br>
get this integrated into a build with an alternative initramfs (hint:<br>
Ceibal) that build will have a custom version of dracut-modules-olpc.<br>
<br>
That is the right way. When the laptop is in secure mode, olpc.fth is<br>
_ignored_, so no chance to set a kernel cmdline there.<br>
<br>
An easier alternative might be to check for those flags under /sys,<br>
and if they are there, rmmod/modprobe libertas  for example in<br>
olpc-configure (so during early boot).<br>
<div><div><br>
<br>
<br>
<br>
m<br>
--<br>
 <a href="mailto:martin.langhoff@gmail.com" target="_blank">martin.langhoff@gmail.com</a><br>
 <a href="mailto:martin@laptop.org" target="_blank">martin@laptop.org</a> -- Software Architect - OLPC<br>
 - ask interesting questions<br>
 - don't get distracted with shiny stuff  - working code first<br>
 - <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>