debuginfoの設定(RHEL AS 4U4)

故あって、RHEL AS 4U4にカーネルdebuginfoを設定し、crashコマンドが使えるようにすることに。



まず、カーネルのバージョンを確認。

# uname -a
Linux localhost.localdomain 2.6.9-42.EL #1 Wed Jul 12 23:16:43
EDT 2006 i686 athlon i386 GNU/Linux

debuginfoパッケージを入手。

# wget http://ftp.redhat.com/pub/redhat/linux/updates/enterpri
se/4AS/en/os/Debuginfo/i386/RPMS/kernel-debuginfo-2.6.9-42.EL.
i686.rpm

インストール。

# rpm -ihv kernel-debuginfo-2.6.9-42.EL.i686.rpm

最後に確認。

# crash
...
crash>

crashコマンドのプロンプトが出ればOK。

コメント