All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdlab.org>
To: Alex Cruise <acruise@infowave.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: apm suspend broken in 2.4.10
Date: Thu, 27 Sep 2001 17:10:27 -0700	[thread overview]
Message-ID: <3BB3BFF3.F553DA2F@osdlab.org> (raw)
In-Reply-To: <6B90F0170040D41192B100508BD68CA1015A81B0@earth.infowave.com>

Alex Cruise wrote:
> 
> From: Randy.Dunlap [mailto:rddunlap@osdlab.org]
> 
> > Sounds like our 2.4.10's are different then.  :)
> 
> It's possible... I got mine from kernel.org, applied the preemptible-kernel
> and ext3fs patches, and  compiled with RH's "kgcc"
> 
> > Without this patch, mine didn't create /proc/apm, register as a
> > misc device, or create the kapmd-idle kernel thread.
> > Must be a distro thingy.
> 
> Did you have apm=on set before, or nothing at all?  Here's what I've seen so
> far:

I have "apm=on apm=debug".

> In all cases, I've got apm compiled into the kernel, not a module.

Same here.

> - With 2.4.10, Before your patch, with no apm= option in the kernel command
> line, APM in general works, but suspend doesn't.  When I append apm=on or
> apm=off to my kernel command line, APM is disabled.
> - With 2.4.10, After applying your patch, apm=on no longer disables APM, but
> suspend still doesn't work.
> 
> > Return of EAGAIN from the SUSPEND ioctl means that
> > send_event() failed, which means that some device driver
> > didn't want suspend to happen...which means that some
> > device driver got changed. :(
> 
> Just for fun, I tried removing all of my loaded 2.4.10 modules one by one,
> and attempting 'apm --suspend' in between, and still had the same problem
> when I got down to the bare minimum (ext3 and jbd)
> 
> > What was the last working kernel AFAUK (for this APM stuff)?
> 
> I just checked, and the RH-compiled 2.4.9-0.5 doesn't suspend either.  It
> appears to suffer from the same "apm=on" command-line bug too.  I'm gonna go
> try the 2.4.7 from RH's "Roswell" beta now.

OK, thanks for testing that.

I suspect that it's something like a single driver change (not apm,
but PM-support in a driver).  How many I/O-device drivers do you
use?  Would it be difficult to try to isolate which one may be
faulty?

~Randy

  reply	other threads:[~2001-09-28  0:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27 23:56 apm suspend broken in 2.4.10 Alex Cruise
2001-09-28  0:10 ` Randy.Dunlap [this message]
2001-09-28  0:52 ` Alan Cox
2001-09-28  9:09   ` jc
2001-09-28 10:05     ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2001-09-28 22:30 Alex Cruise
2001-09-28 22:31 ` Randy.Dunlap
     [not found] <6B90F0170040D41192B100508BD68CA1015A81B2@earth.infowave.co m>
2001-09-28  3:31 ` Lewin A.R.W. Edwards
2001-09-28  3:03 Alex Cruise
2001-09-28  1:50 Alex Cruise
2001-09-28 22:05 ` Randy.Dunlap
2001-09-27 21:07 Alex Cruise
2001-09-27 21:03 Alex Cruise
2001-09-27 22:17 ` Randy.Dunlap
2001-09-28  9:12   ` jc
2001-09-27  0:29 Alex Cruise
2001-09-27 20:36 ` Randy.Dunlap
2001-09-25 22:00 jc
2001-09-26  8:44 ` Matthias Andree

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=3BB3BFF3.F553DA2F@osdlab.org \
    --to=rddunlap@osdlab.org \
    --cc=acruise@infowave.com \
    --cc=linux-kernel@vger.kernel.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.