Re: Corrupted files after suspend to disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 17, 2012 at 12:27 AM, Eric Sandeen <sandeen@xxxxxxxxxx> wrote:
> 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.

Yes.
A reboot always solved the data corruption.
drop_caches solved it in 99% of all cases.

On-disk data was never corrupted.

-- 
Thanks,
//richard
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/linux-pm



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux