public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Borgia <borgia-iEixELS/QsY1GQ1Ptb7lUw@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: suspend-to-disk: fan always on and misc kernel errors
Date: Sun, 27 Mar 2005 19:42:05 +0200	[thread overview]
Message-ID: <4246F06D.40005@cs.unibo.it> (raw)

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

Hello.

Long time after first trying suspend-to-disk, I gave it a spin again 
with 2.6.11.6, pristine save for two powernow/timer patches.

There are some rough corners, but it appears to be mostly working, 
including X. The glitches are:

1) scheduling while atomic (see kernel log)
2) script terminates with error and spews "command not found" problems 
only in the post-wakeup section, even though full pathnames are used 
(see script)
3) fan is always on, even though load approaches unity after a while

I'm attaching the suspend script I am using and the kernel log and I 
would like to hear from other people who have similar problems on a 
similar hardware: my laptop is an Acer 1357LMi, mobo chipset is VIA 
KM400 and vga is an ATI Mobility M9+. DSDT and other info available on 
request.

BR,
Andrea.

-- 
Homepage: http://andrea.borgia.bo.it     /    Amateur radio: IZ4FHT

[-- Attachment #2: kern.log.gz --]
[-- Type: application/x-gzip, Size: 11927 bytes --]

[-- Attachment #3: swsusp-script --]
[-- Type: text/plain, Size: 792 bytes --]

#!/bin/bash
set -x

# Modules to unload/reload (do not use radeonfb!)
RELOAD="psmouse mousedev acerhk"
# Subsystems to stop/start
RESTART="hotplug powernowd gpm"


# Switch to console to reduce problems
/usr/bin/chvt 1

# Stopping subsystems
for S in $RESTART
do
	/etc/init.d/$S stop
done

# Unloading modules
for M in $RELOAD
do
        if /bin/grep -q "^$M[[:blank:]]" /proc/modules
        then
                /sbin/modprobe -r "$M"
        fi
done


# Zzzzz
sync
echo disk > /sys/power/state
#sync

# Reloading modules...
for M in $RELOAD
do
        if /bin/grep -q "^$M[[:blank:]]" /proc/modules
        then
                /sbin/modprobe "$M"
        fi
done


# Restarting subsystems...
for S in $RESTART
do
	/etc/init.d/$S start
done

             reply	other threads:[~2005-03-27 17:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-27 17:42 Andrea Borgia [this message]
     [not found] ` <4246F06D.40005-iEixELS/QsY1GQ1Ptb7lUw@public.gmane.org>
2005-03-28 20:50   ` suspend-to-disk: fan always on and misc kernel errors Stefan Seyfried
     [not found]     ` <20050328205027.GB28568-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-03-29 18:50       ` Andrea Borgia
     [not found]         ` <4249A359.9060301-iEixELS/QsY1GQ1Ptb7lUw@public.gmane.org>
2005-04-01 22:19           ` Stefan Seyfried
     [not found]             ` <20050401221940.GC1868-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-04-03 11:05               ` Andrea Borgia
2005-04-04  8:03               ` Nigel Cunningham
     [not found]                 ` <1112601782.3757.9.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-04-05 20:39                   ` Stefan Seyfried

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=4246F06D.40005@cs.unibo.it \
    --to=borgia-ieixels/qsy1gq1ptb7luw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox