[gmane.linux.kernel] Re: Two identical entries for "rtc" in /proc/devices

Frank Ch. Eigler fche@redhat.com
Mon Sep 17 09:46:00 GMT 2007


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.



More information about the Systemtap mailing list