19
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NICがどのドライバを使っているか確認

Posted at

dmesgのバッファがあふれてなければ、dmesg | grep ethX でOKだし、/var/log/boot.msg でもわかるけど。
udevadm や udevinfo でも確認できる。
(RHELだと grep eth /etc/modprobe.conf でもわかるみたい)

udevadm info -a -p /sys/class/net/ethX | grep DRIVER
udevadmが無ければ、以下でもOK.
udevinfo -a -p /sys/class/net/ethX | grep DRIVER

linux:~ # udevadm info -a -p /sys/class/net/eth4 | grep DRIVER
DRIVER==""
DRIVERS=="ixgbe"
DRIVERS=="pcieport"
DRIVERS==""
linux:~ #

この例の場合、ixgbe となる。

あとは、modinfo -F version ixgbe でバージョンを確認したり、
modinfo -F filename ixgbe でファイル名を確認して、
rpm -qf /path/to/driver/file でkernelに含まれるものなのか、
rpmでドライバのパッケージを追加したものか、等を確認。

19
17
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
17

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?