Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ddi_in_panic(9f) [minix 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.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.10 23 Jun 1997 ddi_in_panic(9F)
Man Page

4 More Discussions You Might Find Interesting

1. Solaris

What is system panic?

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)
Discussion started by: younus_syed
5 Replies

2. Solaris

Panic on SUN server

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)
Discussion started by: seun
2 Replies

3. AIX

Disabling saving of system dump while kernel panic

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)
Discussion started by: kanna_geekworkz
3 Replies

4. Linux

System Went panic after CPU usage high

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)
Discussion started by: jegaraman
4 Replies