On Mon, 11 Jan 2010, Luca wrote:
> Thank you.
> I do not have the file /etc/modprobe.conf
>
> Besides, I think what I want to do is little different, as I want
> to be able with grub to change the value assigned to mymodule's
> argument.
>
> Essentially, I have mymodule.ko. If i do insmod mymodule.ko
> param="valueOfParam" I can see everything works (looking at
> /proc/devices I can see mymodule has registered) and I can read
> param (the read function implemented in mymodule just returns the
> value of the string module argument param.
>
> What I would like to do now, is to use grub and do something like
> ttile Fedora
> root (hd1,0)
> kernel /vmlinuz-2.6.30.9 ro root=/dev/.... mymodule.param="valueOfParam"
> initrd /initrd-2.6.30.9
>
> Tried several things so far, but with no luck.
i'm pretty sure that you can only use that "mymodule.param" notation
on the kernel command line for modules that have been *compiled into*
the kernel, no? that won't work for loadable modules, but i'm willing
to be corrected.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines