Sorry my bad. It actual works compiling the module into the kernel and then using module.param=value sintax.<br><br>Sorry again.<br><br>Thank you, <br> Luca<br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 7:01 AM, Luca <span dir="ltr">&lt;<a href="mailto:lucarx76@gmail.com">lucarx76@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You are right. My module has been compiled into the kernel though. <br>But when the kernel starts I do not see it registered.<br>
<br>This is what I did<br>1)saved my module .c file in drivers/crypto/<br>2)edited drivers/kernel/Makefile adding obj-$(CONFIG_CRYPTO_MYMODULE) += mymodule.o <br>
3)edited the drivers/crypto/Kconfig adding <br> config CRYPTO_MYMODULE<br> tristate &quot;My module test&quot;<br> help <br>   Enable to test it<br><br>4)make menuconfig =&gt; setting my module to be built into the kernel<br>

<br>Thank you,<br> Luca<br><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Jan 11, 2010 at 6:55 AM, Robert P. J. Day <span dir="ltr">&lt;<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div>On Mon, 11 Jan 2010, Luca wrote:<br>
<br>
&gt; Thank you.<br>
&gt; I do not have the file /etc/modprobe.conf<br>
&gt;<br>
&gt; Besides, I  think what I want to do is little different, as I want<br>
&gt; to be able with grub to change the value assigned to mymodule&#39;s<br>
&gt; argument.<br>
&gt;<br>
&gt; Essentially, I have mymodule.ko. If i do insmod mymodule.ko<br>
&gt; param=&quot;valueOfParam&quot; I can see everything works (looking at<br>
&gt; /proc/devices I can see mymodule has registered) and I can read<br>
&gt; param (the read function implemented in mymodule just returns the<br>
&gt; value of the string module argument param.<br>
&gt;<br>
&gt; What I would like to do now, is to use grub and do something like<br>
&gt; ttile Fedora<br>
&gt;      root (hd1,0)<br>
&gt;      kernel /vmlinuz-2.6.30.9 ro root=/dev/.... mymodule.param=&quot;valueOfParam&quot;<br>
&gt;      initrd /initrd-2.6.30.9<br>
&gt;<br>
&gt; Tried several things so far, but with no luck.<br>
<br>
</div>  i&#39;m pretty sure that you can only use that &quot;mymodule.param&quot; notation<br>
on the kernel command line for modules that have been *compiled into*<br>
the kernel, no?  that won&#39;t work for loadable modules, but i&#39;m willing<br>
to be corrected.<br>
<br>
rday<br>
--<br>
<br>
========================================================================<br>
Robert P. J. Day                               Waterloo, Ontario, CANADA<br>
<br>
            Linux Consulting, Training and Kernel Pedantry.<br>
<br>
Web page:                                          <a href="http://crashcourse.ca" target="_blank">http://crashcourse.ca</a><br>
Twitter:                                       <a href="http://twitter.com/rpjday" target="_blank">http://twitter.com/rpjday</a><br>
========================================================================<br></div></div>--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org" target="_blank">users@lists.fedoraproject.org</a><br>
To unsubscribe: <a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><div class="im"><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br></div></blockquote></div><br>
</blockquote></div><br>