public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.37 rc1 doesn't suspend to ram
@ 2010-11-01 18:55 Arkadiusz Miskiewicz
  2010-11-01 18:59 ` Arkadiusz Miskiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Arkadiusz Miskiewicz @ 2010-11-01 18:55 UTC (permalink / raw)
  To: suspend-devel, linux-kernel


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/

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

* Re: 2.6.37 rc1 doesn't suspend to ram
  2010-11-01 18:55 2.6.37 rc1 doesn't suspend to ram Arkadiusz Miskiewicz
@ 2010-11-01 18:59 ` Arkadiusz Miskiewicz
  2010-11-02 13:13   ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Arkadiusz Miskiewicz @ 2010-11-01 18:59 UTC (permalink / raw)
  To: suspend-devel; +Cc: linux-kernel

On Monday 01 of November 2010, Arkadiusz Miskiewicz wrote:
> 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

[ 2012.149491] PM: Syncing filesystems ... done.
[ 2013.092294] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 2013.108138] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 2013.124226] Suspending console(s) (use no_console_suspend to debug)
[ 2013.144256] btusb_intr_complete: hci0 urb ffff8800b446dcc0 failed to resubmit (1)
[ 2013.145254] btusb_bulk_complete: hci0 urb ffff8800b446d180 failed to resubmit (1)
[ 2013.146255] btusb_bulk_complete: hci0 urb ffff8800b446d3c0 failed to resubmit (1)
[ 2013.297335] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 2013.297715] sd 0:0:0:0: [sda] Stopping disk
[ 2013.364129] tpm_tis 00:0a: tpm_transmit: tpm_send: error -5
[ 2013.364145] legacy_suspend(): pnp_bus_suspend+0x0/0x80 returns -5
[ 2013.364151] PM: Device 00:0a failed to suspend: error -5
[ 2014.245071] PM: Some devices failed to suspend
[ 2014.245160] sd 0:0:0:0: [sda] Starting disk
[ 2014.932062] PM: resume of devices complete after 686.981 msecs
[ 2014.932878] Restarting tasks ... done.
[ 2014.941645] video LNXVIDEO:00: Restoring backlight state


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

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

* Re: 2.6.37 rc1 doesn't suspend to ram
  2010-11-01 18:59 ` Arkadiusz Miskiewicz
@ 2010-11-02 13:13   ` Rafael J. Wysocki
  2010-11-02 18:02     ` Arkadiusz Miskiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2010-11-02 13:13 UTC (permalink / raw)
  To: Arkadiusz Miskiewicz; +Cc: suspend-devel, linux-kernel

On Monday, November 01, 2010, Arkadiusz Miskiewicz wrote:
> On Monday 01 of November 2010, Arkadiusz Miskiewicz wrote:
> > 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
> 
> [ 2012.149491] PM: Syncing filesystems ... done.
> [ 2013.092294] Freezing user space processes ... (elapsed 0.01 seconds) done.
> [ 2013.108138] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
> [ 2013.124226] Suspending console(s) (use no_console_suspend to debug)
> [ 2013.144256] btusb_intr_complete: hci0 urb ffff8800b446dcc0 failed to resubmit (1)
> [ 2013.145254] btusb_bulk_complete: hci0 urb ffff8800b446d180 failed to resubmit (1)
> [ 2013.146255] btusb_bulk_complete: hci0 urb ffff8800b446d3c0 failed to resubmit (1)
> [ 2013.297335] sd 0:0:0:0: [sda] Synchronizing SCSI cache
> [ 2013.297715] sd 0:0:0:0: [sda] Stopping disk
> [ 2013.364129] tpm_tis 00:0a: tpm_transmit: tpm_send: error -5
> [ 2013.364145] legacy_suspend(): pnp_bus_suspend+0x0/0x80 returns -5
> [ 2013.364151] PM: Device 00:0a failed to suspend: error -5
> [ 2014.245071] PM: Some devices failed to suspend
> [ 2014.245160] sd 0:0:0:0: [sda] Starting disk
> [ 2014.932062] PM: resume of devices complete after 686.981 msecs
> [ 2014.932878] Restarting tasks ... done.
> [ 2014.941645] video LNXVIDEO:00: Restoring backlight state

Can you try the patch at http://lkml.org/lkml/2010/10/21/456, please?

Rafael

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

* Re: 2.6.37 rc1 doesn't suspend to ram
  2010-11-02 13:13   ` Rafael J. Wysocki
@ 2010-11-02 18:02     ` Arkadiusz Miskiewicz
  0 siblings, 0 replies; 4+ messages in thread
From: Arkadiusz Miskiewicz @ 2010-11-02 18:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rafael J. Wysocki, suspend-devel

On Tuesday 02 of November 2010, Rafael J. Wysocki wrote:
> On Monday, November 01, 2010, Arkadiusz Miskiewicz wrote:
> > On Monday 01 of November 2010, Arkadiusz Miskiewicz wrote:
> > > Hi,
> > > 
|
> > [ 2012.149491] PM: Syncing filesystems ... done.
> > [ 2013.092294] Freezing user space processes ... (elapsed 0.01 seconds)
> > done. [ 2013.108138] Freezing remaining freezable tasks ... (elapsed
> > 0.01 seconds) done. [ 2013.124226] Suspending console(s) (use
> > no_console_suspend to debug) [ 2013.144256] btusb_intr_complete: hci0
> > urb ffff8800b446dcc0 failed to resubmit (1) [ 2013.145254]
> > btusb_bulk_complete: hci0 urb ffff8800b446d180 failed to resubmit (1) [
> > 2013.146255] btusb_bulk_complete: hci0 urb ffff8800b446d3c0 failed to
> > resubmit (1) [ 2013.297335] sd 0:0:0:0: [sda] Synchronizing SCSI cache

> Can you try the patch at http://lkml.org/lkml/2010/10/21/456, please?

This patch fixes things, thanks!

> Rafael

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

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

end of thread, other threads:[~2010-11-02 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 18:55 2.6.37 rc1 doesn't suspend to ram Arkadiusz Miskiewicz
2010-11-01 18:59 ` Arkadiusz Miskiewicz
2010-11-02 13:13   ` Rafael J. Wysocki
2010-11-02 18:02     ` Arkadiusz Miskiewicz

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