[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Debug pointers?



Marc Singer <elf@netcom.netcom.com> wrote:

> I'm looking for information on how to setup for kernel debugging.
> Any help?

$ cd /usr/src/linux/scripts
$ g++ -o ksymoops ksymoops.cc -I/usr/include/g++
$ cp ksymoops /usr/local/bin

Then, when you get an oops, you can:

  1. Save the oops (get it from /var/log/syslog) to ~/some_oops
  2. ksymoops [System.map for kernel] < some_oops

and you'll find out exacly where/what went wrong...

-- 
-- Microsoft: Do less with more.   UNIX on Intel: Do more with less. --
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /          Live long and prosper
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson    turbo@tripnet.se
  \\\/  \____/_|_| |_|\__,_/_/\_\ Surrey/B.C./Canada      (604)572-3523
Debian Certified Linux Developer  PGP#788CD1A9   www5.tripnet.se/~turbo
------- PGP:  B7 92 93 0E 06 94 D6 22  98 1F 0B 5B FE 33 A1 0B --------

-- 
plutonium NORAD Peking Marxist Khaddafi security BATF assassination
Kennedy explosion Honduras North Korea Albanian arrangements Ortega

Attachment: pgpeI_O8uonkF.pgp
Description: PGP signature


Reply to: