LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Is it possible to disable (or limit) kernel panic messages? (https://www.linuxquestions.org/questions/linux-kernel-70/is-it-possible-to-disable-or-limit-kernel-panic-messages-711943/)

xodr 03-16-2009 07:28 AM

Is it possible to disable (or limit) kernel panic messages?
 
I'm writing a kernel module and currently it's causing kernel panics. Unfortunately the resolution of the monitor I'm using is quite low, thus debug output on panic does not help at all (the screen overflows and I'm left irrelevant info). I already use printk() on key points to help me trace the problem. I wonder if it's possible to disable or limit the kernel messages (call trace, etc.) on panic like the reboot behaviour which can be altered through /proc/sys?

regards.

Mara 03-18-2009 03:57 PM

Is inserting loops to slow things down when printing the panic an acceptable idea for you? I'd try that if running the kernel in a virtual machine is not an option.


All times are GMT -5. The time now is 08:58 PM.