2.6.37 rc1 doesn't suspend to ram

From: Arkadiusz Miskiewicz
Date: Mon Nov 01 2010 - 14:55:57 EST



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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/