public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* suspend-to-disk: fan always on and misc kernel errors
@ 2005-03-27 17:42 Andrea Borgia
       [not found] ` <4246F06D.40005-iEixELS/QsY1GQ1Ptb7lUw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Andrea Borgia @ 2005-03-27 17:42 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-05 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-27 17:42 suspend-to-disk: fan always on and misc kernel errors Andrea Borgia
     [not found] ` <4246F06D.40005-iEixELS/QsY1GQ1Ptb7lUw@public.gmane.org>
2005-03-28 20:50   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox