11-13-2008
Quote:
Originally Posted by
MikaBaghinen
My understanding is, that a system should panic whenever cached data cannot be written to a disk device.
Absolutely not. A system should panic when it is so confused that attempting to write cached data may cause further damage. Imagine a system with external disks and you bump your knee into a power button, turning off the disk. All you need to do is power the drive back on. And yes, that really happened to me and I was grateful that the HP-UX system did not panic.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am writing a script to monitor some processes existence in the system. It works perfectly by running the script manually in commend line. However, when I put it under cron to run it failed. Everything time when the variable is null in the if statment. it failed and quitted. Here is... (2 Replies)
Discussion started by: stancwong
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am learning to debug in sgi-Irix6.5, after a core dump, I was adviced to perform a "strace", but I got the following information:
ERROR: tracer already exists
what shall I do now?
Thanks a lot
Daniel (0 Replies)
Discussion started by: lakeat
0 Replies
3. SCO
I am a 10 years windows person with basic unix training (very basic).
I have a sco server where it originally had 3 physical drives. Drive 0 had to be replaced so I did that but because I am really new to Unix I was afraid to detroy the data on DRIVE 1 and 2, so I took them out when I loaded the... (3 Replies)
Discussion started by: mhenry
3 Replies
4. UNIX for Advanced & Expert Users
Greetings Forumers!
I ran into an issue after running luupgrade on v880 running Solaris 8. I want to upgrade to Solaris 10.
When I rebooted the system I noticed the file systems listed as such:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t1d0s0 ... (2 Replies)
Discussion started by: bluescreen
2 Replies
5. AIX
Hi guys,
I am newbie to AIX. We are planning to attach external HDS array to AIX servers where VCS in installed. Anyone know step by step procedure for attaching and detaching HDS array?. If yes, please post reply for the same.
Thanks in advance guys. (5 Replies)
Discussion started by: prtaix
5 Replies
6. Solaris
Do I need to reinstall/rerun JASS after upgrading from Sol9 to Sol10?
Just wondered if the upgrade procedure overwrote any of the settings etc? (0 Replies)
Discussion started by: psychocandy
0 Replies
7. UNIX for Advanced & Expert Users
We have two node cluster with OS disk mirrored under SVM. There is slight disk problem on one of the mirror disk causing cluster to panic.
Failure of one mirror disk causing VCS to panic the node. Why VCS is not able to write /var filesystem, as one of the disk is healthy.
... (1 Reply)
Discussion started by: amlanroy
1 Replies
8. Post Here to Contact Site Administrators and Moderators
An 'addition' to the "Homework & Classes" requirements..
As i am someone without paper, i just figured i got tempred reading such a question.
To avoid such 'feelings' in future, i'd be thankfull if the 'kind & definition of the course' would be required too.
As in (i dont know about proper... (2 Replies)
Discussion started by: sea
2 Replies
9. Shell Programming and Scripting
Hello,
Here is my crontab
# Reboot one Sunday out of 2 at 02:00
0 2 * * 0/2 /usr/bin/reboot
2017-04-16
2017-04-23
2017-04-30
and so on
I tested my crontab here, it seems to work
Http://cron.schlitt.info/index.php?c...=100&test=Test
However on my distrib linux mageďa
When I register... (4 Replies)
Discussion started by: amazigh42
4 Replies
LEARN ABOUT OPENSOLARIS
ddi_in_panic
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)