Re: 2.6.31 regression: programs crashing after a couple of days of uptime with hibernation

From: Ondrej Zary
Date: Sat Apr 10 2010 - 05:03:44 EST


On Friday 02 April 2010 18:58:28 Rafael J. Wysocki wrote:
> On Friday 02 April 2010, Ondrej Zary wrote:
> > On Friday 02 April 2010 00:33:55 Rafael J. Wysocki wrote:
> > > On Friday 02 April 2010, Ondrej Zary wrote:
> > > > On Thursday 01 April 2010 23:45:33 you wrote:
> > > > > On Thursday 01 April 2010, Ondrej Zary wrote:
> > > > > > Hello,
> > > > > > with kernel 2.6.30, I can have uptime of more than a month on my
> > > > > > desktop PC (with hibernation). It's impossible with 2.6.31. After
> > > > > > 1 to 3 days, processes that were running during hibernation (e.g.
> > > > > > konsole, kwin, kicker, xorg) start to crash randomly in very
> > > > > > weird ways. The kernel itself does not seem to crash. When I run
> > > > > > the crashed program again, it seems to work. Looks like some
> > > > > > memory corruption.
> > > > > >
> > > > > > This bug is also present in 2.6.32 and 2.6.33.
> > > > >
> > > > > Is the kernel 32-bit or 64-bit? What kind of CPU is there in the
> > > > > box?
> > > >
> > > > It's old 32-bit i686 CPU - Cyrix MII.
> > >
> > > Please try with this patch applied:
> > > http://git.kernel.org/?p=linux/kernel/git/mingo/linux-2.6-x86.git;a=pat
> > >ch;h =8ae06d223f8203c72104e5c0c4ee49a000aedb42
> >
> > Thanks, I'll try it. But I doubt that it will fix the problem. There were
> > no changes in hibernate_asm_32.S between 2.6.30 and 2.6.31.
>
> The change that exposed this issue was elsewhere in the x86 arch code. I
> don't know where exactly, but we surely didn't need the above patch before.

It did not help. It started crashing with 2.6.32 and this patch applied after
two days.

--
Ondrej Zary
--
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/