* 2.4.0 bug: file /proc/dri 4 times in ls listing
@ 2001-01-16 8:08 Bobo Rajec
2001-01-16 9:26 ` Tigran Aivazian
0 siblings, 1 reply; 3+ messages in thread
From: Bobo Rajec @ 2001-01-16 8:08 UTC (permalink / raw)
To: linux-kernel; +Cc: daryll
Hi,
I'm running kernel 2.4.0 on Redhat 7.0. I tried to get direct
rendering running (it failed, but that's another story). Today I
noticed something strange in /proc: dri appears there 4 times.
ls /proc:
...
-r--r--r-- 1 root root 0 Jan 16 08:57 dma
dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
dr-xr-xr-x 2 root root 0 Jan 16 08:57 driver
...
Chdir /proc/dri/0 works fine:
bobo:/proc/dri/0>ls
bufs clients histo mem name queues vm vma
No dri modules, everything is linked in (I know I don't need all of
these, but I have lots of memory, so...).
...
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_I810=y
CONFIG_AGP_VIA=y
CONFIG_AGP_AMD=y
CONFIG_AGP_SIS=y
CONFIG_AGP_ALI=y
CONFIG_DRM=y
CONFIG_DRM_TDFX=y
CONFIG_DRM_GAMMA=y
CONFIG_DRM_R128=y
CONFIG_DRM_I810=y
CONFIG_DRM_MGA=y
...
Regards,
bobo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.0 bug: file /proc/dri 4 times in ls listing
2001-01-16 8:08 2.4.0 bug: file /proc/dri 4 times in ls listing Bobo Rajec
@ 2001-01-16 9:26 ` Tigran Aivazian
2001-01-16 9:29 ` Tigran Aivazian
0 siblings, 1 reply; 3+ messages in thread
From: Tigran Aivazian @ 2001-01-16 9:26 UTC (permalink / raw)
To: Bobo Rajec; +Cc: linux-kernel, daryll
Hi Bobo,
To fix this just link in only the support that corresponds to your
hardware. The design of dri is such that (one could paraphrase) each
driver-specific part includes its own copy of what should be
"driver-independent shared dri_core engine" (e.g. proc handling stuff).
Fixing this requires either a new filesystem type (drifs) or
(simpler!) redesigning dri to separate common things into a separate
dri_core thing shared amongst them.
Regards,
Tigran
On Tue, 16 Jan 2001, Bobo Rajec wrote:
>
> Hi,
>
> I'm running kernel 2.4.0 on Redhat 7.0. I tried to get direct
> rendering running (it failed, but that's another story). Today I
> noticed something strange in /proc: dri appears there 4 times.
>
> ls /proc:
> ...
> -r--r--r-- 1 root root 0 Jan 16 08:57 dma
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> dr-xr-xr-x 2 root root 0 Jan 16 08:57 driver
> ...
>
> Chdir /proc/dri/0 works fine:
>
> bobo:/proc/dri/0>ls
> bufs clients histo mem name queues vm vma
>
> No dri modules, everything is linked in (I know I don't need all of
> these, but I have lots of memory, so...).
>
> ...
> CONFIG_AGP=y
> CONFIG_AGP_INTEL=y
> CONFIG_AGP_I810=y
> CONFIG_AGP_VIA=y
> CONFIG_AGP_AMD=y
> CONFIG_AGP_SIS=y
> CONFIG_AGP_ALI=y
> CONFIG_DRM=y
> CONFIG_DRM_TDFX=y
> CONFIG_DRM_GAMMA=y
> CONFIG_DRM_R128=y
> CONFIG_DRM_I810=y
> CONFIG_DRM_MGA=y
> ...
>
> Regards,
> bobo
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.0 bug: file /proc/dri 4 times in ls listing
2001-01-16 9:26 ` Tigran Aivazian
@ 2001-01-16 9:29 ` Tigran Aivazian
0 siblings, 0 replies; 3+ messages in thread
From: Tigran Aivazian @ 2001-01-16 9:29 UTC (permalink / raw)
To: Bobo Rajec; +Cc: linux-kernel, daryll
On Tue, 16 Jan 2001, Tigran Aivazian wrote:
> Fixing this requires either a new filesystem type (drifs) or
> (simpler!) redesigning dri to separate common things into a separate
> dri_core thing shared amongst them.
just for completeness -- there is the 3rd option -- one could just fix the
hack which is there (or was there half a year ago when I looked at
it) which is supposed to detect that a file in /proc is already
present. It is just not esthetically pleasant (good to eyes :) so I
omitted this from the options...
>
> Regards,
> Tigran
>
> On Tue, 16 Jan 2001, Bobo Rajec wrote:
>
> >
> > Hi,
> >
> > I'm running kernel 2.4.0 on Redhat 7.0. I tried to get direct
> > rendering running (it failed, but that's another story). Today I
> > noticed something strange in /proc: dri appears there 4 times.
> >
> > ls /proc:
> > ...
> > -r--r--r-- 1 root root 0 Jan 16 08:57 dma
> > dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> > dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> > dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> > dr-xr-xr-x 3 root root 0 Jan 16 08:57 dri
> > dr-xr-xr-x 2 root root 0 Jan 16 08:57 driver
> > ...
> >
> > Chdir /proc/dri/0 works fine:
> >
> > bobo:/proc/dri/0>ls
> > bufs clients histo mem name queues vm vma
> >
> > No dri modules, everything is linked in (I know I don't need all of
> > these, but I have lots of memory, so...).
> >
> > ...
> > CONFIG_AGP=y
> > CONFIG_AGP_INTEL=y
> > CONFIG_AGP_I810=y
> > CONFIG_AGP_VIA=y
> > CONFIG_AGP_AMD=y
> > CONFIG_AGP_SIS=y
> > CONFIG_AGP_ALI=y
> > CONFIG_DRM=y
> > CONFIG_DRM_TDFX=y
> > CONFIG_DRM_GAMMA=y
> > CONFIG_DRM_R128=y
> > CONFIG_DRM_I810=y
> > CONFIG_DRM_MGA=y
> > ...
> >
> > Regards,
> > bobo
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-16 9:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-16 8:08 2.4.0 bug: file /proc/dri 4 times in ls listing Bobo Rajec
2001-01-16 9:26 ` Tigran Aivazian
2001-01-16 9:29 ` Tigran Aivazian
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.