Results 1 to 2 of 2
I often use modprobe to set a value of a parameter for a kernel module:
modprobe bnx2 disable_msi=1
But before doing that sometimes I want to check what the current ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-05-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
finding the value of a kernel module parameter: modprobe / modinfo?
I often use modprobe to set a value of a parameter for a kernel module:
modprobe bnx2 disable_msi=1
But before doing that sometimes I want to check what the current setting of the "disable_msi" option is. Is there a way to check this?
I did try "modinfo -p bnx2"
enable_entropy:Allow bnx2 to populate the /dev/random entropy pool
disable_msi:Disable Message Signaled Interrupt (MSI)
But this seems to just list the available options without really telling me what the current set value is.
Any pointers?
--
Rahul
- 08-06-2011 #2Just Joined!
- Join Date
- Aug 2011
- Posts
- 1
re:finding the value of a kernel module parameter: modprobe / modinfo?
I had the same question and a post on linuxquestions (show-options-that-kernel-module-was-loaded-with #3) pointed out that some modules choose to expose their parameter values through /sys but are not required to do so:
(I was lucky and the one I was interested in was there.)Code:$ cat /sys/module/<module_name>/parameters/<param_name>



