All of lore.kernel.org
 help / color / mirror / Atom feed
From: "P. Christeas" <p_christ-U04EIuiosng@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Runlevel for Sleep?
Date: Sat, 14 Sep 2002 13:23:10 +0300	[thread overview]
Message-ID: <200209141237.g8ECb2d03519@pfn1.pefnos> (raw)
In-Reply-To: <20020913171338.GC7096-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

Pavel Machek wrote:
> Hi!
>
> > connections. What happens if you are suspending a db server (well,
> > suspending a server is IMHO a really stupid thing, but...) and after
>
> Why?
>
Those are useful questions to ask. Scripts are flexible enough to handle 
special cases, we however have to ensure there are no stiff restrictions to 
those.

> You bought new UPS for your server. How do you install it without
> bringing machine down? Suspend to disk, rearrange power cables,
> resume.
>
> You have your server on UPS. Power died, and UPS is indicating 30
> seconds to failure. What do you do? Suspend to disk.
>
AFAIK there is already a 'low battery' line in 'inittab'. Following from that 
point, we should use that line (for ACPI) instead of directly (from a binary) 
trying to enter S4 or whatever. This way the root will chose how to handle 
such a situation. In some machines S4 may be broken (not ACPI's fault always, 
consider a mis-configured partition), there 'init 0' is the only safe way to 
go down (see S5). Only the root of the machine may know that.
This will certainly be a consideration point if we decide to implement (as a 
de-facto standard) the runlevel.

> Ethernet card in your server died. You want to replace it. Your
> server is not hotplug capable. What do you do? Suspend to disk,
> replace ethernet card, resume. If you are fast your users will not
> even see broken connections.
>
Q. Will that really work?  Won't the change of Ethernet MAC ruin that?
Anyway, everybody should be free to try that.

> [I've created FAQ section in Documentation/swsusp.txt; I'll put this
> question/answer in there in next merge.]
> 								Pavel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2002-09-14 10:23 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <andrew.grover@intel.com>
2002-06-24 17:35 ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map ) Grover, Andrew
2002-06-24 17:48   ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map kernel
2002-06-24 18:04   ` driverfs is not for everything! (was: [PATCH] /proc/scsi/map ) David Brownell
2002-06-24 18:04   ` David Brownell
2002-06-24 18:09   ` James Bottomley
2002-06-24 19:23     ` Oliver Xymoron
2002-06-24 19:23       ` Oliver Xymoron
2002-06-25 18:38     ` Patrick Mochel
2002-06-25 18:38       ` Patrick Mochel
2002-06-24 18:32   ` Roman Zippel
2002-06-24 18:32     ` Roman Zippel
2002-06-24 22:47   ` John Summerfield
2002-06-25 18:35   ` Patrick Mochel
2002-06-25 18:35     ` Patrick Mochel
2002-07-01  2:41   ` Pavel Machek
     [not found] ` <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
     [not found]   ` <EDC461A30AC4D511ADE10002A5072CAD0236DE0D-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-09-04  0:57     ` Runlevel for Sleep? Lyle Seaman
2002-09-04 10:50     ` P. Christeas
     [not found]       ` <200209041055.g84AsFW05361-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-04 14:14         ` Charl P. Botha
2002-09-04 14:35       ` Robert Wo"rle
2002-09-06 12:21     ` Pavel Machek
     [not found]       ` <20020906122153.F39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-06 21:40         ` Patrick Mochel
     [not found]           ` <Pine.LNX.4.44.0209061411390.1021-100000-yZQdDDOm3n9ZQn2sFP3R7eTW4wlIGRCZ@public.gmane.org>
2002-09-06 22:29             ` Pavel Machek
     [not found]               ` <20020906222930.GE8827-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2002-09-06 23:18                 ` P. Christeas
2002-09-07  5:02             ` Stephen L Johnson
     [not found]               ` <1031374944.1530.44.camel-EWEM0Crkbjs/2vX+WiJxEB2eb7JE58TQ@public.gmane.org>
2002-09-07 19:51                 ` Patrick Mochel
     [not found]                   ` <Pine.LNX.4.44.0209071232170.1021-100000-yZQdDDOm3n9ZQn2sFP3R7eTW4wlIGRCZ@public.gmane.org>
2002-09-08 11:23                     ` P. Christeas
2002-09-09  8:46                       ` Diego Zuccato
     [not found]                         ` <3D7C5FDF.4FB4E759-gmoNqwowlqBr8A+qpt3pXFzrSV/HdtiB@public.gmane.org>
2002-09-09  8:50                           ` P. Christeas
2002-09-09 23:52                             ` Diego Zuccato
2002-09-13 17:13                           ` Pavel Machek
2002-09-14  7:56                             ` Andreas Lohrum
     [not found]                             ` <20020913171338.GC7096-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2002-09-14 10:23                               ` P. Christeas [this message]
     [not found]                                 ` <200209141237.g8ECb2d03519-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-14 15:09                                   ` Pavel Machek
     [not found]                       ` <200209081126.g88BQjn05186-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-13 17:08                         ` Pavel Machek
2002-09-07 17:32         ` Lyle Seaman
2002-07-11  8:22 [parisc-linux] O_DIRECT on devices Patrick Caulfield
     [not found] ` <3D2D4B4B.4010705@deaprofessionale.it>
2002-07-11  9:35   ` Patrick Caulfield
2002-07-15  2:46 ` Matthew Wilcox
2002-07-15  7:42   ` Grant Grundler
2002-07-15 11:29     ` Matthew Wilcox
2002-07-15 13:57       ` Patrick Caulfield
2002-07-15 14:10         ` Matthew Wilcox
2002-07-15 14:23           ` Patrick Caulfield
     [not found]   ` <willy@debian.org>
     [not found]     ` <20020916163335.J10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-09-16 16:12       ` 2.5.34? Brad Parker
     [not found]         ` <200209161612.g8GGCtv24883-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
2002-09-17 15:51           ` 2.5.34? Pavel Machek
     [not found]     ` <20030726052012.GO1485-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2003-07-26 13:24       ` [PATCH] Toshiba ACPI Extras 0.16 Lyle Seaman
     [not found]         ` <20030726132501.C766314829-RAHWjsxJnJUdnm+yROfE0A@public.gmane.org>
2003-07-26 17:18           ` M. Warner Losh
     [not found]             ` <20030726.111800.13461649.imp-uzTCJ5RojNnQT0dZR+AlfA@public.gmane.org>
2003-07-26 22:09               ` John Belmonte
2003-07-26 21:32           ` John Belmonte
2003-07-26 21:25       ` John Belmonte
     [not found]         ` <3F22F1B0.9080607-ZFKsivP1bGvOQU1ULcgDhA@public.gmane.org>
2003-07-27 19:14           ` Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2002-08-13 13:23 [parisc-linux] HP9000/L2000 + FC60 Fiber Support António Ribeiro
2002-08-13 13:29 ` Matthew Wilcox
2002-08-15  6:01   ` Grant Grundler
2002-09-03 23:13 Runlevel for Sleep? P. Christeas
     [not found] ` <200209032316.g83NGXl07988-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-03 23:38   ` Sourav K Mandal
2002-09-03 23:47 Grover, Andrew
2002-09-07  6:20 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DE22-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-09-07 19:56   ` Patrick Mochel
2002-09-08 20:42   ` Pavel Machek
2002-09-09 15:58 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DE25-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-09-09 16:36   ` Patrick Mochel
2002-09-16  0:14 2.5.34? Gustavo Sverzut Barbieri
     [not found] ` <20020916001425.82756.qmail-jIUPyM9ARX+A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-09-16  0:25   ` 2.5.34? Matthew Wilcox
     [not found]     ` <20020916012506.G10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-09-16  6:19       ` 2.5.34? Toon van der Pas
     [not found]         ` <20020916081909.A25876-FeupCOz82S5hxPbjSeLqYA@public.gmane.org>
2002-09-17 15:46           ` 2.5.34? Pavel Machek
     [not found]             ` <20020917154653.C39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-18 16:38               ` 2.5.34? Toon van der Pas
     [not found]                 ` <20020918183819.A10275-FeupCOz82S5hxPbjSeLqYA@public.gmane.org>
2002-09-17 23:36                   ` 2.5.34? Pavel Machek
2002-09-16 11:30       ` 2.5.34? Brad Parker
     [not found]         ` <200209161130.g8GBUo024143-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
2002-09-16 15:33           ` 2.5.34? Matthew Wilcox
2002-09-17 15:49           ` 2.5.34? Pavel Machek
2003-07-18  5:27 [parisc-linux] cvs [login aborted]? Joel Soete
2003-07-18 11:21 ` Matthew Wilcox
2003-07-18 14:44   ` bame
2003-07-25 23:28 [PATCH] Toshiba ACPI Extras 0.16 John Belmonte
     [not found] ` <3F21BD11.8060405-ZFKsivP1bGvOQU1ULcgDhA@public.gmane.org>
2003-07-26  5:20   ` Matthew Wilcox
2004-06-23  6:26 swsusp and ac status Daniele Boffi
     [not found] ` <20040623082653.A26014-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-23 13:34   ` Stefan Seyfried
2004-06-24 19:53   ` Pavel Machek
     [not found] <pavel@suse.cz>
     [not found] ` <20020917155146.F39-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-18 12:24   ` 2.5.34? Brad Parker
     [not found]     ` <200209181224.g8ICONr31147-paYRYfI9b/YMuHHiPFXXZ1fOaUvyCJUZ@public.gmane.org>
2002-09-18 12:53       ` 2.5.34? Pavel Machek
     [not found] ` <20040624195304.GE698-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-06-29 11:50   ` swsusp and ac status Daniele Boffi
     [not found]     ` <200406291150.i5TBopX9001428-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-29 11:54       ` Pavel Machek

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=200209141237.g8ECb2d03519@pfn1.pefnos \
    --to=p_christ-u04eiuiosng@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pavel-AlSwsSmVLrQ@public.gmane.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.