Re: Inspiron 8200 + FC3 + suspend/resume

From: Dave Kristol (dmk_at_acm.NOSPAM.org)
Date: 12/31/04


Date: Fri, 31 Dec 2004 10:28:23 -0500

Paul Rubin wrote:

> pa@see.signature.invalid (Pierre Asselin) writes:
>
>>Ah, that's different. If the laptop works well under APM, the
>>easiest thing is to use APM. Just boot with an option "acpi=off".
>>You know how to do that? FC3 must use grub, so this is now a grub
>>question.
>
>
> But FC3's default install doesn't come with APM in the kernel. At
> least, when I type "apm", it says "No APM support in kernel". I
> haven't rebooted with acpi=off yet. I presume I'll have to recompile
> the kernel if I want to use APM, which is a bit daunting for newbies.
> (I'm not the OP but have been following this slightly).

When I said APM worked for me, that was in RH9. I tried the acpi=off
route (which appears to enable APM, which, in turn, allows the "apm"
command to work), but it simply does not work for me in FC3.

Here's a post I made to the linux-dell-laptops Yahoo! group with the
results of more investigation (all for APM, not ACPI):

=============
--- In linux-dell-laptops@yahoogroups.com, "Dave Kristol"
<dmk-yahoo@k...> wrote:
>
> [Replying to my own post.]
>
> I've been trying to simplify the problem. I've cut X and the nVidia
> driver out of the picture by trying to suspend/resume *just* from
> shell level, and even that does not work. Suspend seems to work: the
> machine does shut down. But when I resume, the disk light comes on
> for a long time. I seem to be able to do a little bit from the shell,
> then the system locks up (on the first access to disk?).

I'm now lurching in another direction. The behavior I see is
consistent with a system that, after resume, cannot access its disk.
When the system resumes, I don't get a shell prompt immediately if I
hit newline, only if I hit Ctrl-C, as though I'm breaking out of a
shell script. I can poke around a little with shell commands until I
do something that, presumably, requires access to the disk. I can
look at files whose blocks are in the buffer cache. Once I go to the
disk, though, the system locks up.

Question: How can I tell whether the disk controller is alive after
resume (especially if I can't write anything to the disk!)? The disk
sounds like it spins up after resume.

N.B. I've looked at the HDPARM_AT_RESUME stuff in
/etc/sysconfig/apmd. I don't think it's appropriate for me to tamper
with those. First, suspend/resume had been working under RH9.
Second, I did an hdparm after resuming, and the values looked right.
=========

Any ideas here in c.o.l.p? Thanks.
Dave Kristol



Relevant Pages

  • Re: Unwanted reboot 2
    ... >> I took precautions by creating a disk image with Acronis ... >> some beyond one's control is a guaranteed way to go bankrupt. ... >> It is unlikely that there is an interaction between the keyboard driver ... >> driver whereas the shutdown process is affected by APM. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Need prog. to prevent hdd going into idle (such as a perdiodic access?)
    ... hdd clicks and clicks because the hdd keeps changing states. ... There is nothing Fujitsu can do, since APM is not a function ... of the disk, but rather the OS. ... Babble, babble, babble, rant. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Need prog. to prevent hdd going into idle (such as a perdiodic access?)
    ... idle after a few seconds and a few seconds thereafter going into idle ... hdd clicks and clicks because the hdd keeps changing states. ... There is nothing Fujitsu can do, since APM is not a function ... of the disk, but rather the OS. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: APM problem in 5.1-RELEASE
    ... the disk spins down instantly. ... Under APM it takes several seconds and ... run softupdate with write cache enebled.on my laptop. ... Energy Sciences Network ...
    (freebsd-current)
  • Re: why sarge cant power off PC
    ... FATAL: Error inserting apm ... I suspect that the kernel has acpi enabled. ... grub configuration file, /boot/grub/menu.lst. ...
    (Debian-User)