FastNetMon

Thursday 25 March 2010

Как узнать подробности о модуле ядра?

Легко, командой modinfo module_name

Пример выдачи:

modinfo r8168
filename: /lib/modules/2.6.26-2-amd64/kernel/drivers/net/r8168.ko
version: 8.017.00-NAPI
license: GPL
description: RealTek RTL-8168 Gigabit Ethernet driver
author: Realtek and the Linux r8168 crew
srcversion: A1C7F4F267B431A9A62A658
alias: pci:v000010ECd00008168sv*sd*bc*sc*i*
depends:
vermagic: 2.6.26-2-amd64 SMP mod_unload modversions
parm: speed:force phy operation. Deprecated by ethtool (8). (array of int)
parm: duplex:force phy operation. Deprecated by ethtool (8). (array of int)
parm: autoneg:force phy operation. Deprecated by ethtool (8). (array of int)
parm: rx_copybreak:Copy breakpoint for copy-only-tiny-frames (int)
parm: use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm: debug:Debug verbosity level (0=none, ..., 16=all) (int)

No comments :

Post a Comment

Note: only a member of this blog may post a comment.