public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Dave Jones <davej@redhat.com>,
	richard -rw- weinberger <richard.weinberger@gmail.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	LKML <linux-kernel@vger.kernel.org>,
	linux-pm@lists.linux-foundation.org, esandeen@redhat.com
Subject: Re: Corrupted files after suspend to disk
Date: Thu, 16 Feb 2012 15:27:29 -0800	[thread overview]
Message-ID: <4F3D90E1.6010001@redhat.com> (raw)
In-Reply-To: <20120216163030.GA32651@redhat.com>

On 2/16/12 8:30 AM, Dave Jones wrote:
> On Thu, Feb 16, 2012 at 11:52:27AM +0100, richard -rw- weinberger wrote:
>  
>  > >> >> Of course, please test the above separately. :-)
>  > >> >
>  > >> > Ok, I'll test this when I'm at home.
>  > >> >
>  > >> > BTW: dropping the caches helps, when some files seem corrupted.
>  > >> > Today /usr/bin/okular was broken.
>  > >> > After setting vm.drop_caches=1 it worked again.
>  > >>
>  > >> On Linux 2.6.38 I'm unable to reproduce the issue.
>  > >> Only 2.6.37 seems to be affected.
>  > >> So, I'm moving over to 2.6.38. :)
>  > >
>  > Bad news:
>  > I saw the issue on 3.x too but thought it's because my IdeaPad s10 is crap.
>  > Now with my shiny new Lenovo x121e I have the same issue! :-(
>  > 
>  > OpenSUSE 12.1, kernel 3.2.7.
>  > After a few suspend2disk iterations random files are corrupted.
>  > But only cached files. A reboot solves the problem.

Just to be clear - you see _data_ corruption in files, but only
until a reboot, and after that they are ok?  Ok, reading above
about using drop_caches that sounds like the case.

That sounds different from what I saw in the bug Dave mentions
below, but possibly related root cause, I suppose.

-Eric

> FWIW, we've been seeing a number of hard to diagnose failures
> with suspend to disk for the last few releases in Fedora.
> Eric Sandeen has been chasing https://bugzilla.redhat.com/show_bug.cgi?id=744275
> for a while, but there's no smoking gun that really explains what's
> getting into these states. Further complicating things, is that it
> doesn't seem to be 100% reproducable.
> 
> 	Dave
> 


  parent reply	other threads:[~2012-02-16 23:27 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23 16:31 Corrupted files after suspend to disk richard -rw- weinberger
2011-03-23 20:36 ` Rafael J. Wysocki
2011-03-23 21:49   ` richard -rw- weinberger
2011-03-23 22:11     ` Rafael J. Wysocki
2011-03-23 22:16       ` richard -rw- weinberger
2011-03-23 22:22         ` Rafael J. Wysocki
2011-03-23 22:30           ` richard -rw- weinberger
2011-03-23 23:00             ` Rafael J. Wysocki
2011-03-24 10:16               ` richard -rw- weinberger
2011-03-24 19:37                 ` richard -rw- weinberger
2011-03-24 22:30                   ` Rafael J. Wysocki
2012-02-16 10:52                     ` richard -rw- weinberger
2012-02-16 16:30                       ` Dave Jones
2012-02-16 21:51                         ` Rafael J. Wysocki
2012-02-16 22:26                           ` [linux-pm] " Alan Stern
2012-02-16 23:07                             ` richard -rw- weinberger
2012-02-16 23:16                               ` Rafael J. Wysocki
2012-02-16 23:22                                 ` richard -rw- weinberger
2012-03-06 20:03                                 ` Andreas Hartmann
2012-03-06 23:54                                   ` Andreas Hartmann
2012-03-07 10:27                                     ` richard -rw- weinberger
2012-03-07 11:05                                       ` Andreas Hartmann
2012-03-12 12:03                                         ` Jiri Kosina
2012-03-12 12:23                                           ` richard -rw- weinberger
2012-03-12 12:30                                             ` Jiri Kosina
2012-03-12 12:58                                               ` richard -rw- weinberger
2012-03-12 13:03                                                 ` Jiri Kosina
2012-03-12 13:24                                                   ` Andreas Hartmann
2012-03-12 21:49                                                     ` Dave Jones
2012-03-12 21:56                                                       ` richard -rw- weinberger
2012-03-13  8:59                                                       ` Andreas Hartmann
2012-03-13 21:52                                                         ` Rafael J. Wysocki
2012-03-13 22:27                                                           ` Andreas Hartmann
2012-03-14  0:06                                                             ` Rafael J. Wysocki
2012-03-14  7:05                                                               ` Andreas Hartmann
2012-03-16 15:19                                                       ` richard -rw- weinberger
2012-03-28 22:12                                                       ` Jiri Kosina
2012-03-28 22:18                                                         ` Dave Jones
2012-03-28 22:49                                                         ` Keith Packard
2012-03-29 15:23                                                           ` Jiri Kosina
2012-03-31 20:21                                                             ` Jiri Kosina
2012-03-12 21:38                                                   ` richard -rw- weinberger
2012-03-12 13:36                                           ` Andreas Hartmann
2012-02-16 23:27                         ` Eric Sandeen [this message]
2012-02-16 23:37                           ` richard -rw- weinberger
2011-03-23 22:33       ` richard -rw- weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F3D90E1.6010001@redhat.com \
    --to=sandeen@redhat.com \
    --cc=davej@redhat.com \
    --cc=esandeen@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=richard.weinberger@gmail.com \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox