You are not logged in.

#1 2011-11-15 18:56:18

ppr
Member
Registered: 2011-10-04
Posts: 32

[linux] freeze when suspend

Hi,

Since today and the upgrade of linux to linux 3.1.1-1, my system freeze when I want to suspend.

Am I the only one is this case?

By the way, is it a simple way to go back to the previous version of linux? The pacman wiki page says about the -Sc option:

Warning: Only do this when you are sure that the current versions of installed packages are stable and you will not need to downgrade as pacman -Sc removes all the old versions of installed packages.

So there is a way to use the cache to downgrade. Someone knows how?

Last edited by ppr (2011-11-15 18:59:05)

Offline

#2 2011-11-15 20:05:47

kazuldur
Member
Registered: 2011-05-28
Posts: 13

Re: [linux] freeze when suspend

Cache is in /var/cache/pacman/pkg. Just find previous package and install it with "pacman -U filename.pkg.tar.xz"

Offline

#3 2011-11-15 20:10:32

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: [linux] freeze when suspend

thanks, but in my case, I have probably launched "pacman -Sc" few weeks ago and I don't have the previous version of linux in my cache. So where can I download it? (http://www.archlinux.org/packages/core/x86_64/linux/ works only for the 3.1.1)

Last edited by ppr (2011-11-16 01:14:00)

Offline

#4 2011-11-15 20:15:24

SternGerlachExperiment
Member
Registered: 2009-10-11
Posts: 51

Re: [linux] freeze when suspend

ppr wrote:

Am I the only one is this case?

My system doesn't freeze but it suspends again after resuming. That is, I close the lid, the laptop suspends, I open the lid, the laptop resumes but suddenly suspends again.

Offline

#5 2011-11-16 09:08:28

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: [linux] freeze when suspend

My system doesn't freeze but it suspends again after resuming. That is, I close the lid, the laptop suspends, I open the lid, the laptop resumes but suddenly suspends again.

Same here, no suspicious log output, hints welcome.

Offline

#6 2011-11-17 21:50:44

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: [linux] freeze when suspend

And is there a simple way to downgrade to the previous version of linux?

Offline

#7 2011-11-18 14:07:23

snaip
Member
Registered: 2009-08-20
Posts: 21

Re: [linux] freeze when suspend

ppr wrote:

And is there a simple way to downgrade to the previous version of linux?

Check your /var/log/pacman.log for the date when you last installed a good working version of the linux kernel, and then simply go to Arch Rollback Machine and choose the folders according to the year-month-date (2011->09->etc..). After you got your package, install it with pacman -U packagename.pkg.tar.tz

Offline

#8 2011-11-18 14:13:32

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: [linux] freeze when suspend

there's an excellent downgrade script in AUR that makes it easy - I've needed to use this quite frequently - actually way to often!

Offline

#9 2011-11-20 13:44:25

cgo
Member
From: Paris, France
Registered: 2010-11-05
Posts: 22

Re: [linux] freeze when suspend

Hi,

SternGerlachExperiment wrote:

My system doesn't freeze but it suspends again after resuming.

I had this problem on my thinkpad x60, I fixed it by modifying /etc/acpi/handler.sh :

    button/lid)
	# found on https://wiki.archlinux.org/index.php/Samsung_NC10#Suspend_and_Hibernate
	if [ `/bin/awk '{print $2}' /proc/acpi/button/lid/LID/state` = closed ]; then
		#echo "LID switched!">/dev/tty5
		/etc/acpi/actions/thinkpad-susp.sh
	fi
        ;;

cheers,
Charles

Offline

#10 2011-11-21 18:39:36

foobarch
Member
Registered: 2009-10-13
Posts: 66

Re: [linux] freeze when suspend

    button/lid)
        case "$2" in
            LID)
		if [ `awk '{ print $2 }' /proc/acpi/button/lid/LID/state` = closed ]; then
			pm-suspend
		fi
		;;
            *)      logger "ACPI action undefined: $2" ;;
        esac
        ;;

This works for me. It seems like shortly after resuming a second ACPI event is thrown. Is this a known bug?

Thanks.

Offline

Board footer

Powered by FluxBB