Re: 2.6.10-rc[2|3] protection fault on /proc/devices

From: Andrew Morton
Date: Tue Dec 07 2004 - 04:11:13 EST



(Please don't edit the email headers - just do reply-to-all)

Georg Schild <dangertools@xxxxxxx> wrote:
>
> Andrew Morton wrote:
> > Georg Schild <dangertools@xxxxxxx> wrote:
> >
> >>Since 2.6.10-rc2 I am having problems accessing /proc/devices. On
> >>startup some init-skripts access this node and print out a protection
> >>fault. i am having this on pcmcia and swap startup. My system is an
> >>amd64 @3000+ in an Acer Aspire 1501Lmi at 64bit mode running gentoo.
> >>.config is the same as on 2.6.10-rc1 which works good. cat on
> >>/proc/devices gives the same problems. The kernel has just a patch for
> >>wbsd (builtin mmc-cardreader) from Pierre Ossman in use, everything else
> >>is vanilla. Does anyone know of this issue and perhaps on how to solve this?
> >>
> >>
> > How odd. All I can think is that something has registered a zillion
> > devices and get_blkdev_list() has run off the /proc page. But then, it
> > should have oopsed in sprintf()..
> >
> > Still. Please send a copy of your /proc/devices from 2.6.10-rc1 and also
> > apply this:
> >
> > to 2.6.10-rc3 and see if that fixes it. If so, please send the
> > /proc/devices content from this kernel.
> >
> > Beyond that, perhaps something scribbled on the data structures in there.
> > Setting CONFIG_SLAB_DEBUG and/or CONFIG_DEBUG_PAGEALLOC might turn
> > something up.
>
> I have tried now with applied patch against the vanilla-sources, that
> means without the wbsd-patch, nothing changed. same is with the
> wbsd-patch. i did a complete rebuild (make clean etc.) everytime. How
> can i enable some debugging?
>

make menuconfig
-> Kernel Hacking
-> enable Debug memory allocations
-
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/