2.6.37 rc1 doesn't suspend to ram

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arkadiusz Miskiewicz
Date: Monday, November 1, 2010 - 11:55 am

Hi,

Some linus tree git commit in last few weeks broke suspend to ram here, s2ram -a3 -f says:

4310  open("/sys/power/state", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 16
4310  fstat(16, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
4310  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f81c05bc000
4310  write(16, "mem", 3)               = -1 EIO (Input/output error)
4310  close(16)                         = 0
4310  munmap(0x7f81c05bc000, 4096)      = 0
4310  dup(2)                            = 16
4310  fcntl(16, F_GETFL)                = 0x8002 (flags O_RDWR|O_LARGEFILE)
4310  fstat(16, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
4310  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f81c05bc000
4310  lseek(16, 0, SEEK_CUR)            = -1 ESPIPE (Illegal seek)
4310  write(16, "s2ram_do: Input/output error\n", 29) = 29
4310  close(16)                         = 0

It was working fine previously. Any clues before I try to bisect?

thinkpad t400, suspend-utils git snap from 20101027

$ grep SUSPEND .config
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_SUSPEND_NVS=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_USB_SUSPEND=y

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.37 rc1 doesn't suspend to ram, Arkadiusz Miskiewicz, (Mon Nov 1, 11:55 am)
Re: 2.6.37 rc1 doesn't suspend to ram, Arkadiusz Miskiewicz, (Mon Nov 1, 11:59 am)
Re: 2.6.37 rc1 doesn't suspend to ram, Rafael J. Wysocki, (Tue Nov 2, 6:13 am)
Re: 2.6.37 rc1 doesn't suspend to ram, Arkadiusz Miskiewicz, (Tue Nov 2, 11:02 am)