This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[gmane.linux.kernel] Re: Two identical entries for "rtc" in /proc/devices
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: systemtap at sources dot redhat dot com
- Date: Sat, 15 Sep 2007 16:06:06 -0400
- Subject: [gmane.linux.kernel] Re: Two identical entries for "rtc" in /proc/devices
Hi -
It looks like procfs's weakness with duplicates was unintentional, and
will be fixed soon. This should be easy to backport and will help
properly generalize the procfs probe work in progress (bug #1154).
> From: Andrew Morton <akpm@linux-foundation.org>
> Newsgroups: gmane.linux.kernel
> Subject: Re: Two identical entries for "rtc" in /proc/devices
> Date: Sat, 15 Sep 2007 00:44:21 -0700
>
> On Thu, 06 Sep 2007 18:23:22 -0400 Chuck Ebbert <cebbert@redhat.com> wrote:
>
> > # ls -li
> > total 0
> > 4026532007 -r--r--r-- 1 root root 0 Sep 6 18:18 nvram
> > 4026532067 -r--r--r-- 1 root root 0 Sep 6 18:18 rtc
> > 4026532067 -r--r--r-- 1 root root 0 Sep 6 18:18 rtc
> > 4026532056 -rw-r--r-- 1 root root 0 Sep 6 18:18 snd-page-alloc
>
> Next -mm has
>
> procfs-detect-duplicate-names.patch
> procfs-detect-duplicate-names-fix.patch
> procfs-detect-duplicate-names-fix-fix-2.patch
>
> which will at least tell us who the second offender is.
>
> I have a vague memory that this is due to selecting two different types of
> rtc in config. Perhaps a Kconfig fix is needed, dunno.