LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-25-2009, 11:05 AM   #1
Niteflite
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Kernel oops message


Hi All,
I'm trying to capture Kernel oops messages on my Centos 5.2 Linux system.
All klogd is logging is oops messages that have minimal information for the segfaults.
Please see below a snapshot of my klogd log file...
It shows segfaults generated by one process "Myapp".

klogd 1.4.1, log source = /proc/kmsg started.
Inspecting /boot/System.map-2.6.18-92.1.22.el5
Loaded 29143 symbols from /boot/System.map-2.6.18-92.1.22.el5.
Symbols match kernel version 2.6.18.
No module symbols loaded - kernel modules not enabled.

<6>Myapp[14888]: segfault at 0000000000000000 rip 000000000042d924 rsp 00007fff91b78230 error 4

<6>Myapp[14961]: segfault at 0000000000000000 rip 000000000042d924 rsp 00007fff519f91a0 error 4



From what I see and have read oops messages are more detailed for
seg faults. Please see below...(Which shows more registers, call trace, stack trace etc..)
Could anyone please let me know what I need to do? Is this a klogd or a kernel config?..or something else? Thanks!!
Also, I need to enable symbolic information. The app is being compiled with gcc -g.


Unable to handle kernel NULL pointer dereference at virtual address
>00000c10
>current->tss.cr3 = 00745000, (r3 = 00745000
>*pde = 00000000
>Oops: 0002
>CPU: 0
>EIP: 0010:[<c011ccfd>]
>EFLAGS: 00013286
>eax: 00000000 ebx: 0070c063 ecx: 00044000 edx: c073e000
>esi: c001f860 edi: c0101c10 ebp: 00000304 esp: c0079f3c
>ds: 0018 es: 0018 ss: 0018
>Process squake (pid: 371, process nr: 16, stackpage=c0079000)
>Stack: 00001000 c1043000 bffffc58 0000000c 00044000 00000003 00044000 00400000
> c1044000 c0101c10 c011ce83 c1043000 00001000 00000002 00000002 c1006262
> 0000000c 800c5012 c01a1b00 bffffc58 00000007 c009c1e0 00000000 00000003
>Call Trace: [<c1043000>] [<c1044000>] [<c0101c10>] [<c011ce83>] [<c1043000>] [<c1006262>] [<c012a8be>]
> [<c010924a>]
>Code: 89 1c a8 8b 52 44 81 fa 00 60 10 c0 75 e5 8b 44 24 2c 05 00
>
>Using `/System.map' to map addresses to symbols.
>
>>>EIP: c011ccfd <vmalloc_area_pages+1f9/23c>
>Trace: c1043000
>Trace: c1044000
>Trace: c0101c10 <swapper_pg_dir+c10/1000>
>Trace: c011ce83 <vmalloc+3f/5c>
>Trace: c1043000
>Trace: c1006262
>Trace: c012a8be <sys_ioctl+14e/164>
>Trace: c010924a <system_call+3a/40>
 
Old 07-03-2009, 01:43 AM   #2
contusion
Member
 
Registered: Mar 2005
Posts: 310

Rep: Reputation: 35
First decide whether it's a kernel or kernel module which is giving the oops or a program.
Next you can use ksysoops package to figure it on your own. It it's a kernel or kernel module oops you can send it to the distribution support team. If it's a vanilla kernel that's giving it you can send the oops message to the Linux kernel mailing list.
 
  


Reply

Tags
kernel, oops


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel oops message vinnie_vinodh Fedora 2 02-01-2009 08:07 AM
Kernel Oops 2.6.11 --What does it mean??? ynakacs Linux - General 4 08-06-2005 04:38 AM
how to capture oops message??? cranium2004 Linux - Newbie 0 01-06-2005 02:28 AM
how to solve oops message problem linux_lover2005 Linux - Newbie 4 12-21-2004 10:51 AM
Kernel Oops (error message) DigiCrime Linux - Software 1 02-09-2004 05:07 PM


All times are GMT -5. The time now is 10:38 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