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 "My module test"<br> help <br> Enable to test it<br><br>4)make menuconfig => setting my module to be built into the kernel<br>
<br>Thank you,<br> Luca<br><br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 6:55 AM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca">rpjday@crashcourse.ca</a>></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;">
<div class="im">On Mon, 11 Jan 2010, Luca wrote:<br>
<br>
> Thank you.<br>
> I do not have the file /etc/modprobe.conf<br>
><br>
> Besides, I think what I want to do is little different, as I want<br>
> to be able with grub to change the value assigned to mymodule's<br>
> argument.<br>
><br>
> Essentially, I have mymodule.ko. If i do insmod mymodule.ko<br>
> param="valueOfParam" I can see everything works (looking at<br>
> /proc/devices I can see mymodule has registered) and I can read<br>
> param (the read function implemented in mymodule just returns the<br>
> value of the string module argument param.<br>
><br>
> What I would like to do now, is to use grub and do something like<br>
> ttile Fedora<br>
> root (hd1,0)<br>
> kernel /vmlinuz-2.6.30.9 ro root=/dev/.... mymodule.param="valueOfParam"<br>
> initrd /initrd-2.6.30.9<br>
><br>
> Tried several things so far, but with no luck.<br>
<br>
</div> i'm pretty sure that you can only use that "mymodule.param" notation<br>
on the kernel command line for modules that have been *compiled into*<br>
the kernel, no? that won't work for loadable modules, but i'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>--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">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><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br></blockquote></div><br>