Re: kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thank you
  Luca

On Fri, Jan 8, 2010 at 2:17 PM, Chris Smart <mail@xxxxxxxxxxxxxxxxxxxx> wrote:
2010/1/9 Luca <lucarx76@xxxxxxxxx>:
> Hi all,
>  I created a kernel module which can be passed some command line arguments
> (I tried that with insmod and it works).
>
> Now I would like, when I start the kernel with grub, to have this module
> loaded at boot time so I can pass, at boot time, a kernel boot option to it.
>

I think this usually happens in a modules configuration file.
Something like this?
"https://fedoraproject.org/wiki/KernelCommonProblems#How_to_set_module_options_for_boot_drivers"

-c

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux