LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 10-21-2012, 07:51 PM   #1
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora
Posts: 167

Rep: Reputation: Disabled
Debugging Kernels that do not completely die (no Panic)


Hello,

I am looking for a way to debug a kernel lockup condition. I am trying the new kernel 3.7.0 rc2. It is working for about 40 minutes and then it is freezing. The keyboard is frozen, the display is frozen and the sound card is continually playing the last second or so. What I would like to do is get a good trace of where this is happening. I have checked the /var/log/messages on the next boot, and the dmesg and do not see anything of note. Any ideas? I am a newbie with kernel debugging, although I have successfully built the kernel from source and set a few options in it.
- Raj Upadhyaya
 
Old 10-22-2012, 11:11 PM   #2
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 358

Rep: Reputation: 34
The best advise is don't.

What was your last STABLE kernel? I say use that or recompile it with as few modifications as possible.

If there is some function that you need but isn't there, see if an app is available instead of messing with the kernel directly.

Modding the kernel is the option of last resort.
 
Old 10-23-2012, 12:44 AM   #3
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora
Posts: 167

Original Poster
Rep: Reputation: Disabled
My last stable kernel is 3.6.2-4.fc17.i686 delived via yum from Fedora. There isn't any option that my workstation has that isn't in this kernel that I know of. I am a old programmer that used to do C programming a few decades ago, but haven't done it in the Linux / x86 platform. I thought it would be nice to give back to the community with any help I could assist with.

My thought was download the 3.7.0 rc2 from kernel.org, and compile it on my workstation and run it for awhile. I am also a user of Linux, so stability of the OS is important. I figure the sooner that a real kernel developer is informed of this lockup, the sooner it will be fixed. Since I found it in 3.7.0 rc1 and 3.7.0 rc2, it might not be obvious to many unless you run the system under load for awhile. I figured that linux-next: from github is way too experimental as it contains the checkins from all the developers but the mainline builds of Release Candidates would work as a test base.

- Raj
 
  


Reply

Tags
debugging, kernel, kernel 3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic Debugging Snaidy1 Linux - Software 3 09-28-2012 08:27 AM
Debugging Kernel Panic Snaidy1 Linux - Newbie 1 09-26-2012 07:11 PM
Debugging kernel panic rbh123 Linux - General 4 05-25-2006 09:14 AM
LXer: Open source must die die die LXer Syndicated Linux News 0 01-28-2006 08:16 PM
old kernels never die? r.stiltskin Red Hat 3 01-12-2004 07:29 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration