Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933304AbZIDJSn (ORCPT ); Fri, 4 Sep 2009 05:18:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933251AbZIDJSm (ORCPT ); Fri, 4 Sep 2009 05:18:42 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:54347 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933249AbZIDJSl (ORCPT ); Fri, 4 Sep 2009 05:18:41 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Fri, 4 Sep 2009 18:16:45 +0900 From: KAMEZAWA Hiroyuki To: Nick Craig-Wood Cc: Pekka Enberg , linux-kernel@vger.kernel.org, Andrew Morton , Linus Torvalds Subject: Re: Reading /proc/kcore causes a BUG() Message-Id: <20090904181645.d114d1c9.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20090904090039.GA25804@craig-wood.com> References: <20090903113428.GA6986@craig-wood.com> <84144f020909030514k1d9fe596pf2c4d8ffa45f7af@mail.gmail.com> <20090904090642.f727458b.kamezawa.hiroyu@jp.fujitsu.com> <20090904090039.GA25804@craig-wood.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1948 Lines: 58 On Fri, 4 Sep 2009 10:00:39 +0100 Nick Craig-Wood wrote: > On Fri, Sep 04, 2009 at 09:06:42AM +0900, KAMEZAWA Hiroyuki wrote: > > On Thu, 3 Sep 2009 15:14:55 +0300 > > Pekka Enberg wrote: > > > On Thu, Sep 3, 2009 at 2:34 PM, Nick Craig-Wood wrote: > > > > Is a fix for this going to make 2.6.31? > > > > > > > > To replicate > > > > > > > >  cat /proc/kcore >/dev/null > > > > > > > > See also > > > > > > > >  http://bugzilla.kernel.org/show_bug.cgi?id=13850 > [snip] > > > > I tried this on the latest git checkout (as of 2009-09-03 11:00 GMT) > > > > under Xen as a domU.  The bugzilla report states it happens on non xen > > > > machines also. > > > > > > > > I know reading /proc/kcore isn't such a good idea, but badly written > > > > backup scripts are triggering this on our customer's servers :-( > > > > > > AFAICT the bug was fixed but I can't seem to find the patches in > > > Linus' git either. Lets CC Andrew and Hiroyuki-san. > > > > Ah, it's now tested under mmotm. please wait. > > I tried mmotm but I couldn't get it to boot under Xen :-( > > If you send me a patch against latest git I'm willing to test it (I > tried to extract the relevant patch from mmotm but failed dismally) > > Thanks > If you already downloaded mmotm, use these patches. vmalloc-unmap-vmalloc-area-after-hiding-it.patch kcore-fix-vread-vwrite-to-be-aware-of-holes.patch kcore-fix-vread-vwrite-to-be-aware-of-holes-update.patch kcore-proc-kcore-should-use-vread.patch All I tested was x86-32/x86-64. then more tests are welcomed. -Kame > Nick > -- > Nick Craig-Wood -- http://www.craig-wood.com/nick > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/