Modinfo

From LQWiki
Jump to: navigation, search

modinfo is a utility which displays the module's information. Example:

tweedleburg:~ # modprobe megaraid
tweedleburg:~ # modinfo megaraid
filename:       /lib/modules/2.6.22.18-0.2-default/kernel/drivers/scsi/megaraid.ko
version:        2.00.4
license:        GPL
description:    LSI Logic MegaRAID legacy driver
author:         sju@lsil.com
srcversion:     0B9772B0EF3D2D72BB6CB24
alias:          pci:v00008086d00001960sv*sd*bc*sc*i*
alias:          pci:v0000101Ed00009060sv*sd*bc*sc*i*
alias:          pci:v0000101Ed00009010sv*sd*bc*sc*i*
depends:        scsi_mod
supported:      yes
vermagic:       2.6.22.18-0.2-default SMP mod_unload
parm:           max_cmd_per_lun:Maximum number of commands which can be issued to a single LUN (default=DEF_CMD_PER_LUN=63) (uint)
parm:           max_sectors_per_io:Maximum number of sectors per I/O request (default=MAX_SECTORS_PER_IO=128) (ushort)
parm:           max_mbox_busy_wait:Maximum wait for mailbox in microseconds if busy (default=MBOX_BUSY_WAIT=10) (ushort)

Here you can see the version of your megaraid raid controller's driver is 2.00.4.

See also