lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 2 Nov 2010 14:13:50 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
Cc:	suspend-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: 2.6.37 rc1 doesn't suspend to ram

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ