From: Pavel Machek <pavel@ucw.cz>
To: Nigel Cunningham <ncunningham@cyclades.com>, seife@suse.de
Cc: Benoit Boissinot <bboissin@gmail.com>,
romano@dea.icai.upco.es, dtor_core@ameritech.net,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: noresume breaks next suspend [was Re: 2.6.12-rc1 swsusp broken]
Date: Fri, 1 Apr 2005 11:45:02 +0200 [thread overview]
Message-ID: <20050401094502.GA13017@elf.ucw.cz> (raw)
In-Reply-To: <1112316622.18871.132.camel@desktop.cunningham.myip.net.au>
Hi!
> > > > Yes! With this it works ok.
> > > >
> > > > > Also, could you please try sticking psmouse_reset(psmouse) call at the
> > > > > beginning of drivers/input/mouse/alps.c::alps_reconnect() and see if
> > > > > it can suspend _without_ the patch above.
> > > >
> > >
> > > Both patches are working for me (Dell D600). before i was unable to
> > > suspend to disk on this laptop (it was stuck in alps code).
> > >
> > > By the way, i have an unrelated problem:
> > > if the kernel was booted with the "noresume" option, it cannot be
> > > suspended, it fails with:
> > >
> > > swsusp: FATAL: cannot find swap device, try swapon -a!
> >
> > Uh, okay, logic error, probably introduced by resume-from-initrd
> > patch. Does this fix it?
> >
> > OTOH, perhaps refusing suspend is right thing to do. If user is
> > running in "safe mode" (with noresume), we don't want him to be able
> > to suspend...
>
> What? If you suspend, then decide not to resume, you can suspend again
> until after your next reboot?!
Yes, in current code. It was a bug. OTOH that means that you can not
suspend from safe mode, and that's good: if you *do* suspend from safe
mode, there's basically no way for you to resume [user *could* select
safe mode next time, and kill noresume, but I don't think many users
will figure that out.]
So I can fix the bug (patch was attached), but that means that it
would be nice to prevent suspend from safe mode in next SuSE... And
probably other distros, too.
(Safe mode is grub setting with noapic noresume....)
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
next prev parent reply other threads:[~2005-04-01 9:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-29 11:03 swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel Romano Giannetti
2005-03-29 13:20 ` Romano Giannetti
2005-03-29 17:02 ` Romano Giannetti
2005-03-29 18:15 ` Pavel Machek
2005-03-31 14:47 ` 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel] Romano Giannetti
2005-03-31 15:15 ` Dmitry Torokhov
2005-03-31 15:41 ` Romano Giannetti
2005-03-31 16:50 ` Romano Giannetti
2005-03-31 18:09 ` Dmitry Torokhov
2005-04-01 16:14 ` Benoit Boissinot
2005-04-01 16:28 ` Dmitry Torokhov
2005-04-01 16:43 ` Touchpad does not work anymore Benoit Boissinot
2005-04-01 17:00 ` Dmitry Torokhov
2005-04-01 17:29 ` Benoit Boissinot
2005-04-05 2:21 ` Benoit Boissinot
2005-03-31 18:29 ` 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel] Benoit Boissinot
2005-03-31 22:25 ` noresume breaks next suspend [was Re: 2.6.12-rc1 swsusp broken] Pavel Machek
2005-04-01 0:50 ` Nigel Cunningham
2005-04-01 3:04 ` Nigel Cunningham
2005-04-01 9:45 ` Pavel Machek [this message]
[not found] ` <20050525212520.419ee442.akpm@osdl.org>
[not found] ` <20050603094448.GA3218@pern.dea.icai.upco.es>
[not found] ` <20050603105010.GA7300@pern.dea.icai.upco.es>
2005-06-03 12:35 ` swsusp, preempt, input and 2.6.12-rc5-mm2 Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel Romano Giannetti
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=20050401094502.GA13017@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=bboissin@gmail.com \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
--cc=ncunningham@cyclades.com \
--cc=romano@dea.icai.upco.es \
--cc=seife@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox