RM wrote:
> 
> hi all,
>         i was wondering what techniques everyone was using to go about
> finding the causes of crashes, and lockups with the kernel.  up to this
> point i've only really worked with device drivers, and having never worked
> with the kernel proper much, i don't have much of an idea on how to begin
> or go about it.
>                                 thanks,
>                                   rob

Hi,
In my case , I always define :

// #define __DEBUG

#ifdef __DEBUG
#define DEBUG(x) printk(x)
#else
#define DEBUG(x)
#endif

And then , when I define __DEBUG , I do lots of printk in
all critical points ... When it's OK , I just take out 
the #define __DEBUG .

Good Luck.

-- KUMSTA Christophe
-- <[EMAIL PROTECTED]>
-- real-time system developper
-- RT-Linux (Use the source luke)
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to