LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-16-2009, 07:28 AM   #1
xodr
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
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.
 
Old 03-18-2009, 03:57 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to capture Kernel Panic messages on serial console? g_kapoor85 Linux - Kernel 1 12-18-2008 05:58 PM
Disable kernel messages. introuble Linux - General 1 01-03-2007 06:37 AM
how to disable shutdown messages in FC3 m.harshavardhan Linux - Software 0 07-19-2005 07:21 AM
Kernel Panic, MCE messages, and an Error Code tvynr Linux - Software 1 06-02-2005 01:57 AM
Boot failure: kernel panic, busybox messages ethrbunny Linux - General 2 06-18-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration