You are not logged in.

#1 2009-03-10 17:04:29

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Suspend failure on A8N-E

hey all,

this is yet another suspend problem, wondering if its anything trivial im doing wrong

simply suspend runs the scripts (as far as i can see) pretty well and seems to work,  the screen turns off, some other hardware seem to shut down but essentially the system is still running at full power, which is my problem.

i've tried pm-suspend and the in built suspend button in xfce, all fail with the problems above
echo mem /sys/power/state is the same except the screen stays on with a blinking cursor in the corner

some other info:

/var/log/pm-suspend.log:

Initial commandline parameters: --quirk-dpms-suspend
--quirk-dpms-on
--quirk-vbestate-restore
--quirk-vbemode-restore
--quirk-vga-mode3
--quirk-vbe-post
Sun Mar  8 20:59:53 GMT 2009: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux sarin 2.6.28-ARCH #1 SMP PREEMPT Sun Feb 22 11:03:50 UTC 2009 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
Module                  Size  Used by
isofs                  33700  1 
zlib_inflate           19968  1 isofs
udf                    82596  0 
crc_itu_t               3840  1 udf
ipv6                  260340  12 
radeon                145824  2 
drm                    83880  3 radeon
agpgart                31572  1 drm
fuse                   53020  4 
joydev                 11712  0 
hid_logitech           11392  0 
ff_memless              6792  1 hid_logitech
cx88_dvb               17668  0 
cx88_vp3054_i2c         4352  1 cx88_dvb
mt352                   8196  1 cx88_dvb
s5h1409                10500  1 cx88_dvb
dvb_pll                10632  1 cx88_dvb
s5h1411                11396  1 cx88_dvb
or51132                 9988  1 cx88_dvb
cx24116                17032  1 cx88_dvb
nxt200x                14980  1 cx88_dvb
isl6421                 3840  1 cx88_dvb
stb6000                 5380  1 cx88_dvb
zl10353                 9352  1 cx88_dvb
cx24123                15368  1 cx88_dvb
lgdt330x               10244  1 cx88_dvb
stv0299                11656  1 cx88_dvb
stv0288                 9352  1 cx88_dvb
cx22702                 7556  1 cx88_dvb
wm8775                  7596  0 
ppdev                   9348  0 
tuner                  26692  0 
tea5767                 8580  1 tuner
tda8290                14468  1 tuner
tda18271               36360  1 tda8290
tda827x                11652  1 tda8290
tuner_xc2028           23600  2 cx88_dvb,tuner
xc5000                 13192  2 cx88_dvb,tuner
tda9887                12164  2 cx88_dvb,tuner
tuner_simple           16144  2 cx88_dvb,tuner
tuner_types            16000  1 tuner_simple
mt20xx                 14088  1 tuner
tea5761                 6660  1 tuner
lp                     11108  0 
ppp_generic            25116  0 
slhc                    7552  1 ppp_generic
pcspkr                  4352  0 
psmouse                55828  0 
cx88_alsa              12424  1 
cx8802                 16900  1 cx88_dvb
cx8800                 31236  0 
cx88xx                 69800  4 cx88_dvb,cx88_alsa,cx8802,cx8800
compat_ioctl32          3072  1 cx8800
v4l2_common            13184  3 wm8775,tuner,cx8800
videodev               34176  3 tuner,cx8800,cx88xx
v4l1_compat            15364  1 videodev
ir_common              40452  1 cx88xx
i2c_algo_bit            7556  2 cx88_vp3054_i2c,cx88xx
tveeprom               13956  1 cx88xx
videobuf_dvb            8324  3 cx88_dvb,cx8802,cx88xx
dvb_core               81024  5 cx88_dvb,or51132,lgdt330x,stv0299,videobuf_dvb
btcx_risc               6408  4 cx88_alsa,cx8802,cx8800,cx88xx
videobuf_dma_sg        12932  5 cx88_dvb,cx88_alsa,cx8802,cx8800,cx88xx
videobuf_core          17668  5 cx8802,cx8800,cx88xx,videobuf_dvb,videobuf_dma_sg
serio_raw               7172  0 
k8temp                  6144  0 
ohci1394               31280  0 
ieee1394               79940  1 ohci1394
sg                     26804  0 
usb_storage            95552  0 
ati_remote             11656  0 
usbhid                 36640  1 hid_logitech
hid                    40704  2 hid_logitech,usbhid
parport_pc             37700  1 
parport                33004  3 ppdev,lp,parport_pc
i2c_nforce2             8580  0 
i2c_core               22804  33 cx88_vp3054_i2c,mt352,s5h1409,dvb_pll,s5h1411,or51132,cx24116,nxt200x,isl6421,stb6000,zl10353,cx24123,lgdt330x,stv0299,stv0288,cx22702,wm8775,tuner,tea5767,tda8290,tda18271,tda827x,tuner_xc2028,xc5000,tda9887,tuner_simple,mt20xx,tea5761,cx88xx,v4l2_common,i2c_algo_bit,tveeprom,i2c_nforce2
evdev                  11296  6 
thermal                17180  0 
fan                     6276  0 
button                  7824  0 
battery                12036  0 
ac                      6020  0 
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8204  2 snd_seq_oss,snd_seq
snd_intel8x0           30876  2 
snd_ac97_codec        102308  1 snd_intel8x0
snd_pcm_oss            40192  0 
snd_pcm                70020  4 cx88_alsa,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              21384  2 snd_seq,snd_pcm
snd_page_alloc         10120  2 snd_intel8x0,snd_pcm
snd_mixer_oss          16512  2 snd_pcm_oss
snd                    50852  14 cx88_alsa,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8160  2 snd
ac97_bus                3584  1 snd_ac97_codec
arc4                    3712  2 
ecb                     4608  2 
zd1211rw               46596  0 
mac80211              161184  1 zd1211rw
cfg80211               31760  2 zd1211rw,mac80211
forcedeth              56592  0 
cpufreq_ondemand        8972  1 
powernow_k8            15364  0 
freq_table              5632  2 cpufreq_ondemand,powernow_k8
processor              41388  2 thermal,powernow_k8
rtc_cmos               12332  0 
rtc_core               17564  1 rtc_cmos
rtc_lib                 4480  1 rtc_core
jfs                   176364  1 
sd_mod                 26904  5 
ohci_hcd               25360  0 
ehci_hcd               36876  0 
sr_mod                 16708  1 
cdrom                  35360  1 sr_mod
usbcore               136848  7 usb_storage,ati_remote,usbhid,zd1211rw,ohci_hcd,ehci_hcd
sata_nv                24072  4 
ata_generic             6788  0 
pata_amd               12292  1 
pata_acpi               6016  0 
libata                157856  4 sata_nv,ata_generic,pata_amd,pata_acpi
scsi_mod              102164  5 sg,usb_storage,sd_mod,sr_mod,libata
             total       used       free     shared    buffers     cached
Mem:       1034812     815028     219784          0      66896     520532
-/+ buffers/cache:     227600     807212
Swap:      2096440       2832    2093608
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: /bin/stty: standard input: Invalid argument
:: ZoomWLAN down    [BUSY]    [DONE] 
success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/90chvt suspend suspend: success.
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: not applicable.
/usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 0
Allocated buffer at 0x2010 (base is 0x0)
ES: 0x0201 EBX: 0x0000
success.
Sun Mar  8 20:59:54 GMT 2009: performing suspend

Hardware:
ASUS A8N-E
AMD Athlon64 3700+
ATI Radeon X1600 Pro (using radeon driver)
ZyDAS ZD1211 WLAN

Any ideas? kernel? acpi? If i need to provide any more information just ask

Thanks

Offline

#2 2009-03-30 22:20:26

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Works on debian btw...not sure if its just a problem in the current kernel...
I'll see when 2.6.29-ARCH is released...

Last edited by kourosh (2009-04-01 22:57:49)

Offline

#3 2009-04-19 14:38:53

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Kernel upgrade, various HAL upgrades, xorg upgrade, still the same problem hmm
Im still blaming a kernel or acpi problem, but Im really not sure,
Any ideas?

Offline

#4 2009-05-16 22:29:55

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: Suspend failure on A8N-E

I'm right there with you with a similar setup.  Trying to get suspending/hibernating to work on a desktop is kinda hard sometimes, huh?  Although I've had a similar experience in that I've had it work on Ubuntu, so I've never quite known what the deal is.

Using s2ram -f I can get my system to suspend (to RAM; to disk has some problems) once successfully, and it will even restore fine, but then on the next try it doesn't work.  The hard drive(s) seems to shut off, and the screen goes blank, but my fans stay on and the monitor stays on (just black).  It's good for one cycle, but that's it.

I'd like to get it to work, but honestly I shut my computer down when I'm done with it.  If I leave it on it's to seed torrents or something.  I'd like to get suspend to work on my family computer more.

Last edited by tonyisnt (2009-05-16 22:32:18)

Offline

#5 2009-05-16 22:33:05

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Yep, I believe it may be a bug with the kernel, since I have had it running before on older versions of Ubuntu and Debian...
I hear theres other backends for suspend/hibernate etc, but I've yet to attempt them...

EDIT: Posted too fast xD
Yeah I must waste an insane amount of electricity the amount of times I just leave it running to come back later, sucks to have obscure hardware doesn't it...

Last edited by kourosh (2009-05-16 22:37:33)

Offline

#6 2009-05-16 22:46:24

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Suspend failure on A8N-E

Suspend works here on A8N-E and has always worked, more or less.

Offline

#7 2009-05-16 22:53:58

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Howd you get it to work?
/what kernel are you using?

Last edited by kourosh (2009-05-16 22:54:16)

Offline

#8 2009-05-16 23:01:22

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Suspend failure on A8N-E

It has been working since I assembled this PC some 4 years ago, with minor regressions every now and then. Currently I'm using pm-utils with uswsusp on the latest stock kernel. The only nondefault thing I have to take care of is unloading the module for my PCI M-Audio Revolution 5.1.

I'm using nvidia, maybe it's ati that's problematic for you? Have you tried suspending without X running?

-edit-

Okay, as I normally use only suspend to disk, I checked suspend to RAM and it suspended and resumed properly once, but it didn't work the second time. It seems to be working properly on some kernel releases and on some it doesn't. Suspend to disk is flawless, though.

Last edited by lucke (2009-05-16 23:11:42)

Offline

#9 2009-05-16 23:26:50

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Right, tried using the uswsusp backend with pm-utils, and i was left with X closing and bash just left there frozen, same using s2ram -f.
So things look even worse for me, might try suspend to disk however...

Offline

#10 2009-05-19 03:18:25

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: Suspend failure on A8N-E

I can't get suspend to disk to work for me even once.  It will tell me it's writing and ready to shut down and then just sit there with a blank screen.  It is possible, however, that I don't have my swap partitions big enough.

EDIT: Nevermind, I did have my swap set up wrong.  I have 2 swap partitions and I had suspend.conf setup to use the smaller one.  It works flawlessly now.  Cool.  I'll have to try it on the family computer now.

Last edited by tonyisnt (2009-05-19 03:34:28)

Offline

#11 2009-05-19 11:03:59

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

My swap partitions twice the size of my memory :S
And hibernate also works just as bad as suspend, looks like uswsusp is a no for me...

Offline

#12 2009-05-21 23:34:06

tonyisnt
Member
Registered: 2008-03-18
Posts: 158

Re: Suspend failure on A8N-E

The Supend to Disk page on the wiki is easy to follow, but I'll outline how I got it working just because.

First I had to install uswsusp and hibernate-script.  You don't need to do anything with s2disk, but you need to configure hibernate properly to work with it.  To do that was actually quite easy.

Edit the following files (in /etc/hibernate): blacklisted-modules, common.conf, disk.conf, hibernate.conf.

In blacklisted-modules, if you use nVidia, you'll need to comment out or delete the nvidia line.  If you don't, you probably don't need to touch this file.

In common.conf I added a line that says "RestartServices network" (no quotes) under the "###services" section because after resuming I was unable to do anything online at first.  This was the only edit.

In disk.conf just make sure the first uncommented line is "TryMethod ususpend-disk.conf".  By default it should be listed first.

In hibernate.conf I commented out "TryMethod suspend2.conf", although I'm not sure this was necessary since I don't have TuxOnIce installed or configured.  Other than this, make sure "TryMethod disk.conf" is listed first so hibernate knows to suspend to disk rather than RAM.

The other three files that need editing are /etc/suspend.conf, /boot/grub/menu.lst and /etc/mkinitcpio.conf. 

In suspend.conf change the "resume device" line to point to your swap partition.  I have "resume device = /dev/disk/by-uuid/91d8da0d-007e-42f1-bae3-d5f1741b5dd4" since I have 2 hard drives and occasionally they switch back and forth between sda and sdb, but if you have just one /dev/sdax works.  You'll also point to this partition in menu.lst; on the "kernel" line make sure you add the option "resume=/dev/..." (where ... will be replaced with sdax or disk/by-uuid, or whatever method  you prefer).

Finally, edit the last line in mkinitcpio.conf by adding "uresume" between "sata" and "filesystems".

After you've done all this run the command "mkinitcpio -p kernel26" as root and you should be set.  A simple "sudo hibernate" (or just running "hibernate" as root) will do the job, and hopefully everything will work.  I was surprised when it did, but pleased.

Offline

#13 2009-06-05 18:20:56

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Bit late reply, but I've managed to hibernate fine, thanks for the info tonyisnt smile
I didnt manage a resume yet, but I had resume in my mkinitcpio.conf instead of uresume.
I'll tweak a bit more and see if I can get suspend to work too...

EDIT: Hibernate/resume fully working for one cycle, havent tried suspend or two cycles

Last edited by kourosh (2009-06-08 12:38:00)

Offline

#14 2009-11-14 18:09:05

Lacroser
Member
Registered: 2009-11-14
Posts: 2

Re: Suspend failure on A8N-E

kourosh wrote:

Bit late reply, but I've managed to hibernate fine, thanks for the info tonyisnt smile
I didnt manage a resume yet, but I had resume in my mkinitcpio.conf instead of uresume.
I'll tweak a bit more and see if I can get suspend to work too...

EDIT: Hibernate/resume fully working for one cycle, havent tried suspend or two cycles

I have A8N-E.....And I have this problem too.....    You found a solution to this problem?

Offline

#15 2009-11-14 18:16:52

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Hibernate works using the above method, although I haven't used it recently, suspend works for 1 cycle using the standard pm-utils and accessing suspend from KDE...

Offline

#16 2009-11-14 18:28:52

Lacroser
Member
Registered: 2009-11-14
Posts: 2

Re: Suspend failure on A8N-E

Yes....To me suspend works for 1 cycle too sad

Offline

#17 2009-11-14 18:44:19

kourosh
Member
From: England
Registered: 2009-03-10
Posts: 241
Website

Re: Suspend failure on A8N-E

Haven't a clue why, it seems to be the case for all distributions, i dont often use it more than once at a time, so it doesnt bother me that much...

Suppose you could dig around the internet a bit more, maybe file a bug report...somewhere, somehow, with some sort of useful information hmm

Offline

Board footer

Powered by FluxBB