FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 06-25-2010, 06:58 PM
"Silacci, Lucas"
 
Default infinite loop in crash due to double-NMI on x86_64 system

Hi,

I've run into an issue where crash will enter an infinite loop while
decoding exception stacks if those stacks get corrupted.

We've seen this on four different systems where the hardware generated
multiple NMIs and the second and subsequent NMIs caused the NMI
exception stack to be overwritten. When this condition is hit, the
bottom rsp on the NMI exception stack (which would normally point you
back to the kernel thread stack or possibly a different exception stack)
points you back into the middle of the same NMI exception stack. This
causes crash to infinitely loop when it tries to decode that exception
stack.

Now clearly the root cause of the issue is faulty hardware that
generated multiple NMIs. However a very small change in crash can detect
this issue and stop the infinite loop from happening thereby allowing
you to get to a point in crash where you can actually tell that it was
an NMI that caused the system to dump.

The patch is attached to this email. For x86_64 it will detect the
condition of any exception stack that points back at itself.

Please feel free to ask me any questions on this.

Thanks,
-Lucas
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 

Thread Tools




All times are GMT. The time now is 07:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org