From: Amit Chaudhary <amit_ch@attbi.com>
To: GOTZON ASTONDOA <gastondoa@fagorautomation.es>
Cc: bgat@billgatliff.com, linuxppc-embedded@lists.linuxppc.org
Subject: Re: Fast shutdown
Date: Fri, 22 Nov 2002 00:04:53 -0800 [thread overview]
Message-ID: <3DDDE525.7050309@attbi.com> (raw)
In-Reply-To: <CA78D1B723D8D411AF0300508BDCF74FF0C566@NTCORREO>
William A. Gatliff wrote:
> On Tue, Nov 12, 2002 at 04:04:39PM +0100, GOTZON ASTONDOA wrote:
> >interrupt to the PowerPC.We have more or less 8 mSeg to close all the
> Linux
> >system (it has hard disk, ethernet, ftp and our own application).
> >
> > Can somebody tell me any idea to close the Linux system in the
> >fastest way? We are thinking in capture the interrupt signal, but, is it
> >enough fast?
>
>
>
> You could have an interrupt handler watching the signal from the 68k,
> and sending a message via named pipe (perhaps) to a userspace program.
> The userspace program would signal all your other programs, sync(),
> then wait for powerdown.
Another option is mount the main fs as readonly, put in a robust
recovery for any config data fs and use something equivalent of a reboot -f.
Amit
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2002-11-22 8:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 15:04 Fast shutdown GOTZON ASTONDOA
2002-11-15 21:10 ` William A. Gatliff
2002-11-22 8:04 ` Amit Chaudhary [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DDDE525.7050309@attbi.com \
--to=amit_ch@attbi.com \
--cc=bgat@billgatliff.com \
--cc=gastondoa@fagorautomation.es \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.