Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ddi_in_panic(9f) [opensolaris 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)

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

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

help, what is the difference between core dump and panic dump?

(1 Reply)
Discussion started by: aileen
1 Replies

2. UNIX for Advanced & Expert Users

How to determine the max file size

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

3. 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

4. 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

5. UNIX Desktop Questions & Answers

kernel panic-not syncing:fatal exception while booting

Hi ALL, I am getting error.. kernal panic-not syncing:fatal exception while booting. Please help me.. Thanks Jack (7 Replies)
Discussion started by: jack00423
7 Replies

6. 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

7. Red Hat

Forcing a kernel panic in RHEL 5.4

Hello, Is there a way to force a kernel panic in RHEL 5.4 in such a way that the machine reboots after the panic. Thanks, Kanna (1 Reply)
Discussion started by: kanna_geekworkz
1 Replies

8. UNIX for Dummies Questions & Answers

simulating kernel panic

How can a kernel panic be simulated? (5 Replies)
Discussion started by: proactiveaditya
5 Replies

9. Red Hat

server panic

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)
Discussion started by: rajasekg
1 Replies

10. 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