ksymoops - Utility to decode Linux kernel Oops ChangeLog

HOWTO


# ksymoops 2.4.11
# ===============
# Prerequisites:
# make
# gcc
# binutils
# fileutils or coreutils

cd
test -f installed/ksymoops-2.4.11.tar.bz2 &&
mv installed/ksymoops-2.4.11.tar.bz2 .
test ! -f ksymoops-2.4.11.tar.bz2 &&
wget ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/\
ksymoops-2.4.11.tar.bz2

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "4a8249e182a5dbc75e566d162e9f3314" ; md5sum ksymoops-2.4.11.tar.bz2

# Verify tarball w/ gpg:
( gpg --list-keys 517D0F0E > /dev/null 2>&1 || gpg --recv-keys 517D0F0E ) &&
wget -nc ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/\
ksymoops-2.4.11.tar.bz2.sign &&
gpg --verify ksymoops-2.4.11.tar.bz2.sign && rm ksymoops-2.4.11.tar.bz2.sign

cd /usr/local/src
find -type d -maxdepth 1 -name "ksymoops-*" -exec rm -r {} \;
tar xjvf ~/ksymoops-2.4.11.tar.bz2
cd ksymoops-2.4.11
chown -R root.root .

# If make fails with an error like this:
# /usr/local/src/binutils-2.14/bfd/merge.c:652: undefined reference to
#  `htab_create_alloc'
# that's because your /usr/include/libiberty.h and /usr/lib/libiberty.a
# come from gcc, but they should come from binutils.  To fix that, run this:
# mkdir -p -m 0700 ~/backup/libiberty
# mv -f /usr/include/libiberty.h /usr/lib/libiberty.a ~/backup/libiberty/
# cp /usr/local/src/binutils-*/include/libiberty.h /usr/include/
# cp /usr/local/src/binutils-*/libiberty/libiberty.a /usr/lib/
# and then cd back into /usr/local/src/ksymoops-2.4.11 and re-run make.

make
make install
cd
mkdir -p -m 0700 installed
rm -f installed/ksymoops-*.tar.*
mv ksymoops-2.4.11.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2005-01-12 10:16am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]