Re: Reading /proc/kcore causes a BUG()

From: Nick Craig-Wood
Date: Fri Sep 04 2009 - 05:00:39 EST


On Fri, Sep 04, 2009 at 09:06:42AM +0900, KAMEZAWA Hiroyuki wrote:
> On Thu, 3 Sep 2009 15:14:55 +0300
> Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> > On Thu, Sep 3, 2009 at 2:34 PM, Nick Craig-Wood<nick@xxxxxxxxxxxxxx> 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

Nick
--
Nick Craig-Wood <nick@xxxxxxxxxxxxxx> -- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/