2012-06-20 19:59:05

by Nick Bowler

[permalink] [raw]
Subject: BUG: Bad rss-counter state

Hi folks,

I just noticed the following couple lines in my kernel log for Linux
3.4.2:

Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:1 val:-2
Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:2 val:2

I have no idea what these messages mean, nor what I was doing exactly
at 14:57:54 today, nor whether they've been fixed in newer kernels.
Regardless, they appear to be telling me that there's a kernel problem
since they contain the word "BUG", so I figured I had better report them
nonetheless. Other than the fact that these messages were printed, the
system is operating normally.

This happened about a week after bootup, so it's probably not easy to
reproduce.

Let me know if you need any more info,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)


2012-06-21 09:50:27

by Michal Hocko

[permalink] [raw]
Subject: Re: BUG: Bad rss-counter state

On Wed 20-06-12 15:49:08, Nick Bowler wrote:
> Hi folks,
>
> I just noticed the following couple lines in my kernel log for Linux
> 3.4.2:
>
> Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:1 val:-2
> Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:2 val:2
>
> I have no idea what these messages mean, nor what I was doing exactly
> at 14:57:54 today, nor whether they've been fixed in newer kernels.
> Regardless, they appear to be telling me that there's a kernel problem
> since they contain the word "BUG", so I figured I had better report them
> nonetheless. Other than the fact that these messages were printed, the
> system is operating normally.

The issue is known and the fix can be found at
https://lkml.org/lkml/2012/6/9/47

> This happened about a week after bootup, so it's probably not easy to
> reproduce.
>
> Let me know if you need any more info,
> --
> Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic

2012-06-21 13:44:10

by Nick Bowler

[permalink] [raw]
Subject: Re: BUG: Bad rss-counter state

On 2012-06-21 11:50 +0200, Michal Hocko wrote:
> On Wed 20-06-12 15:49:08, Nick Bowler wrote:
> > Hi folks,
> >
> > I just noticed the following couple lines in my kernel log for Linux
> > 3.4.2:
> >
> > Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:1 val:-2
> > Jun 20 14:57:54 emergent kernel: BUG: Bad rss-counter state mm:ffff88000ff1f400 idx:2 val:2
> >
> > I have no idea what these messages mean, nor what I was doing exactly
> > at 14:57:54 today, nor whether they've been fixed in newer kernels.
> > Regardless, they appear to be telling me that there's a kernel problem
> > since they contain the word "BUG", so I figured I had better report them
> > nonetheless. Other than the fact that these messages were printed, the
> > system is operating normally.
>
> The issue is known and the fix can be found at
> https://lkml.org/lkml/2012/6/9/47

Ah, and it appears to have been merged by Linus yesterday.

Thanks,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)