Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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: segfault at 0000000000000000 rip 000000000042d924 rsp 00007fff91b78230 error 4
<6>Myapp: 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.
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.