- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Panic
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 10:43 AM
тАО06-17-2005 10:43 AM
I get a messages in /etc/shutdownlog
20:14 Sat Jun 11 2005. Reboot after panic: Spinlock deadlock!
Some one know, about that?
Than You !!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 11:00 AM
тАО06-17-2005 11:00 AM
SolutionAs you can see, if the spinlock does not get released, the system will hang waiting for this task to complete without letting anything else to run. Hence there is some sort of timer, somewhere, set to wait for the spinlock even to end in a given period of time. If it soe not, this panic happens and the system crashes.
It was suggested by HP at the time that crash dump to be sent to HP for analysis of the case to determine what caused the spinlock deadlock and subsequently the panic, exactly.
You will see tons of patches in the patch database talking about spinlocks. My advice to you will be, to apply the latest and greatest QPK patch bundle that you can get your hands on to as well as the hardware enablement patches as a start.
Hope this helps and good luck... needless to say I do not envy you right now.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 04:47 PM
тАО06-17-2005 04:47 PM
Re: Panic
think of four cpu's on you system..
one cpu is the boss, yea, he gives the orders for the other children cpus. call him the master cpu.
if the master cpu is too-busy to give order to the other children-cpus, then nothing can get done..
if the master or monarch-cpu is Spinning, then all work assignments STOP!
so, you just might have an issue with your hardware.. maybe one of your CPU processors is going bad..
if you on the other hand, are JAVA process intensive, then this could be a reason for the SPINing of the CPUs.. JAVA tends to SPIN the CPU's waiting for an EVENT or CONDITION to wake-up..
call HP support, you need some patches on your box, or you need some new CPU (or if a superdome, you need a new CELL board.).
best of luck,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 05:04 PM
тАО06-17-2005 05:04 PM
Re: Panic
In a multiprocessor system, spinlocks are used to protect a critical code path
or critical data structures from multiple CPU access. The implementation is
that way, that the processor trying to acquire the lock will busy wait until it
is able to get the spinlock. The reason to chose this implementation, is
due to the assumption that the lock is only held for very short time periods
and that a complete context switch of a CPU in contrast to busy waiting would
be much more time and resource consuming. As long as the lock is held by the
CPU, no other CPU will be able to access that critical part. As soon as the
CPU is done, with for example, updating a structure, the lock has to be
released. As a precaution, the other CPU's waiting for the access to the
spinlock, record how long they already waited. If the wait time exceeds 60
seconds, the system will be paniced with a "spinlock deadlock panic".
This locking scheme is no more or less than a software convention. The
programmer has to take care of properly coding to lock and unlock the right
spinlock(s). A possible and more or less frequently met problem is, that a
driver has a seldom called exit path where a spinlock is not unlocked. Another
CPU waiting for access to this specific lock will wait until the 60 seconds
have passed and then panic the system.
regards
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 05:24 PM
тАО06-17-2005 05:24 PM
Re: Panic
something u should know about unexpected reboot from this doc:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070978149
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2005 06:40 PM
тАО06-17-2005 06:40 PM
Re: Panic
analysis to find the root cause
The best is to open a ticket at HP support,
and send the crashdump you will find at /var/adm/crash/crash.? you'll have the answer.
There are mainly 2 cases where we identify a spinlock deadlock:
1) we have a priority inversion between 2 spinlocks. 2 cpu (or more) are requesting for the same couple of spinlock but not in the same order
2) hardware failure
Most of the cases are from 1)