Re: /var/log/messages doesn't have crash info when kernel gets panic/oops/crash

Dharmosoth Seetharam
2009-06-13T10:20:58Z

> -----Original Message-----
> From: ebiederm@xmission.com
> Sent: Sat, 13 Jun 2009 00:11:25 -0700
> To: dseetharam@inbox.com
> Subject: Re: /var/log/messages doesn't have crash info when kernel gets
> panic/oops/crash
>
> Dharmosoth Seetharam <dseetharam@inbox.com> writes:
>
>> Hi Neil,
>>
>> Thanks for your quick reply.
>>
>> What you have suggested is nice when we got/save crash dump (i.e vmcore)
>> What if we failed to save/capture vmcore info or vmcore is corrupted
>> etc. then we dont get any information
>> regarding the panic/crash/oops at anywhere?
>
Hi Eric,

> Basic questions.
> 1) Do you have panic on oops set?
> I think that setting more than anything else will be the
> difference in what shows up in /var/log/messages.

Yes, in my case panic_on_oops was set with 1

> 2) Have you tried a dry run and confirmed you can get a crash dump?

No, I haven't tried this.

> 3) Are you using kvm
kvm? kernel virtual memory?

thanks,
Seetharam

>
>
> Eric
>
>
>> Thanks and Regards
>>
>> Seetharam
>>
>>
>>> -----Original Message-----
>>> From: nhorman@redhat.com
>>> Sent: Fri, 12 Jun 2009 16:05:13 -0400
>>> To: dseetharam@inbox.com
>>> Subject: Re: /var/log/messages doesn't have crash info when kernel gets
>>> panic/oops/crash
>>>
>>> On Fri, Jun 12, 2009 at 01:25:49AM -0800, Dharmosoth Seetharam wrote:
>>>> Hi,
>>>>
>>>> I have encounter a problem called /var/log/messages does not contain
>>>> any
>>>> information
>>>> on kernel crash dump.
>>>>
>>>> Prior to enabling KEXEC we saw stack traces and bug info etc in
>>>> /var/log/messages.
>>>> After enabling KEXEC feature those info was missed.
>>>>
>>>> How can we get those missed info in /var/log/messages even when KEXEC
>>>> feature is enabled.
>>>>
>>>> Any help will appreciate.
>>>>
>>> run crash on the resultant vmcore file that kexec can produce/save and
>>> get the
>>> dmesg log out of it.
>>> alternatively you can use makedumpfile with the --dump-dmesg log
>>>
>>> Neil
>>>
>>>>
>>>> Thanks and Regards
>>>> Seetharam
>>>>
>>>> ____________________________________________________________
>>>> Receive Notifications of Incoming Messages
>>>> Easily monitor multiple email accounts & access them with a click.
>>>> Visit http://www.inbox.com/notifier and check it out!
>>>>
>>>> _______________________________________________
>>>> kexec mailing list
>>>> kexec@lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/kexec
>>
>> ____________________________________________________________
>> GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at
>> http://www.inbox.com/smileys
>> Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™
>> and most webmails

____________________________________________________________
Receive Notifications of Incoming Messages
Easily monitor multiple email accounts & access them with a click.
Visit http://www.inbox.com/notifier and check it out!