ddi_in_panic(9F) Kernel Functions for Drivers ddi_in_panic(9F)NAME
ddi_in_panic - determine if system is in panic state
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_in_panic(void);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
Drivers controlling devices on which the system may write a kernel crash dump in the event of a panic can call ddi_in_panic() to determine
if the system is panicking.
When the system is panicking, the calls of functions scheduled by timeout(9F) and ddi_trigger_softintr(9F) will never occur. Neither can
delay(9F) be relied upon, since it is implemented via timeout(9F).
Drivers that need to enforce a time delay such as SCSI bus reset delay time must busy-wait when the system is panicking.
RETURN VALUES
ddi_in_panic() returns 1 if the system is in panic, or 0 otherwise.
CONTEXT
ddi_in_panic() may be called from any context.
SEE ALSO dump(9E), delay(9F), ddi_trigger_softintr(9F), timeout(9F)
Writing Device Drivers
SunOS 5.10 23 Jun 1997 ddi_in_panic(9F)
Check Out this Related Man Page
ddi_in_panic(9F) Kernel Functions for Drivers ddi_in_panic(9F)NAME
ddi_in_panic - determine if system is in panic state
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_in_panic(void);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
Drivers controlling devices on which the system may write a kernel crash dump in the event of a panic can call ddi_in_panic() to determine
if the system is panicking.
When the system is panicking, the calls of functions scheduled by timeout(9F) and ddi_trigger_softintr(9F) will never occur. Neither can
delay(9F) be relied upon, since it is implemented via timeout(9F).
Drivers that need to enforce a time delay such as SCSI bus reset delay time must busy-wait when the system is panicking.
RETURN VALUES
ddi_in_panic() returns 1 if the system is in panic, or 0 otherwise.
CONTEXT
ddi_in_panic() may be called from any context.
SEE ALSO dump(9E), delay(9F), ddi_trigger_softintr(9F), timeout(9F)
Writing Device Drivers
SunOS 5.11 23 Jun 1997 ddi_in_panic(9F)
Man Page
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line?
TIA (2 Replies)
Hello experts..
What is system panic? If a system is in that state.. what will happen?
Why is it goes to panic condition?
Just give me information about Panic condition.. How can i resolve this issue..?
If you know any links(URL) or Books...? replay me back....
Thanks in... (5 Replies)
Hi,
I have a SUN server running solaris 9 and crash with the following error message.
Have anybody come across the panic message on a sun server?
panic/thread=3005ce5f480: alloccgblk: can't find blk in cyl, pos:0, i:612, fs:/ bno: 0
000002a100b9ef00 ufs:ufs_fault_v+e0 (30032045ea0,... (2 Replies)
Hi,
Is there an option to disable saving of system dump when a user invokes a kernel panic
using sysdumpstart command.
Also, is there any other way of invoking a kernel panic other than using
sysdumpstart?
Thanks,
Kanna (3 Replies)
Hi,
one of our linux server got panic with the following messages
Jun 2 17:09:57 inchesfttu006 kernel: ------------------------
Jun 2 17:09:57 inchesfttu006 kernel: kernel BUG at kernel/exit.c:904!
Jun 2 17:09:57 inchesfttu006 kernel: invalid operand: 0000
Jun 2 17:09:57 inchesfttu006... (1 Reply)
Hi All,
Yesterday my Linux server went panic and even a small command took a lot of time to run.
When i monitored pl find the below output
Cpu(s): 0.1%us, 98.4%sy, 0.0%ni, 1.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
the time spent on kernel mode is 98 % and also idle time is around 1.5 %...... (4 Replies)