Re: Kernel Debug pointers?
> > 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...
Ah. I don't have an oops to debug. Instead, I'd like to run gdb on
the kernel so I can inspect data structures. I'm certain there is a
way to run gdb on it, but I haven't found anything definitive. KHG
doesn't have anything as far as I could tell.
Reply to: