LoginSignup
2
2

More than 5 years have passed since last update.

kdumpを使えないEC2でnetconsoleを活用してkernel panic時のstack traceを取得する(追憶編 : RHEL等での対応)

Last updated at Posted at 2015-10-15

概要

下記ページのnetconsoleがうまく導入できないよ。なんかnetpoll対応してないとかdmesgに出たよ。と若い人達に言われたのでちょっと調べてみた。

RedHatなどの少し古いネットワークドライバを持つ環境では動かない!!

少し調べてみた所、拡張ネットワーキング環境ではixgbevfのnetpoll対応がないと動かないようだ。

ドライバを取り敢えず入れ替えてみる。

RedHat7系等でのドライバ入れ替え手順(ixgbevf-2.16.4)

# yum -y update
# yum -y install gcc make kernel-devel kernel-headers wget
# reboot
# wget "http://downloads.sourceforge.net/project/e1000/ixgbevf%20stable/2.16.4/ixgbevf-2.16.4.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fe1000%2Ffiles%2Fixgbevf%2520stable%2F2.16.4%2F&ts=1444882282&use_mirror=jaist" -O ixgbevf-2.16.4.tar.gz
# tar xzf ixgbevf-2.16.4.tar.gz
# cd ixgbevf-2.16.4/src/
# make install
# echo "options ixgbevf InterruptThrottleRate=1,1,1,1,1,1,1,1" > /etc/modprobe.d/ixgbevf.conf
# dracut -f
# reboot

最新のドライバを入れてみると下記と同様の挙動が確認できた。

まとめ

ドライバ側の対応で何とかなることが確認できる場合は、ドライバ更新でうまくいきそう。

2
2
0

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
2
2