Bad Page dump (help)
From: Gilles Chanteperdrix <hidden>
Date: 2014-07-31 17:42:58
On 07/31/2014 04:00 PM, Russell King - ARM Linux wrote:
On Thu, Jul 31, 2014 at 08:24:15AM +0200, Gilles Chanteperdrix wrote:quoted
On 07/29/2014 09:07 PM, Felipe Balbi wrote:quoted
Hi Russell, I'm bringing up a new board on today's linux-next but I'm having a bunch of bad_page() calls due to _mapcount not being zero (full logs attached). What could cause that ? Any hints on how to debug ? It's as if page_mapcount_reset() wasn't called for the pages which are causing issues.FWIW, the same issue appeared on a Cogent CSB637 board (the last board I use not using DT) in between 3.13 and 3.14. I ran a bisect and found that reverting the following commit:I don't seem to have a bug report from you for this.
No, this is really low priority in my todo list, as this platform is based on at91rm9200, which is probably not that much used now. I did not really finished investigating, so was not ready for a report. Now that someone sees the same bug, I thought it might be useful to add my partial findings.
quoted
Seemed to make the issue disappear. I later found out that changing the kernel options also made the issue disappear.Which kernel options?
Any option, adding ftrace for instance, or disabling CONFIG_PREEMPT, I
could not identify a pattern.
--
Gilles.