Skip to contentSkip to conversation

double entries in /proc/dri?

DISCUSSION Larry McVoy 4 participants 4 messages Jun 13, 2001 – Jun 14, 2001

lore
Share & tools
lore
#0 lore raw

This is cute:

$ ls -li /proc 
...
   4106 -r--r--r--    1 root     root            0 Jun 12 18:53 dma
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4121 dr-xr-xr-x    2 root     root            0 Jun 12 18:53 driver
...
$ uname -a
Linux work.bitmover.com 2.4.5 #1 Mon May 28 10:54:32 PDT 2001 i686 unknown

Repeatable. If other users of 2.4.5 do NOT see this, please let me know.

--lm

#1 lore raw
Quoted 6 lines · Larry McVoy

<snip>

   4106 -r--r--r--    1 root     root            0 Jun 12 18:53 dma
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4121 dr-xr-xr-x    2 root     root            0 Jun 12 18:53 driver

<snip>

not here, but this is 2.4.5-ac13.

[22:07:35]rml@phantasy:/proc# ls -li
   ...
   4106 -r--r--r--    1 root     root            0 Jun 12 22:07 dma
   4300 dr-xr-xr-x    3 root     root            0 Jun 12 22:07 dri
   4121 dr-xr-xr-x    2 root     root            0 Jun 12 22:07 driver
   ...
[22:09:13]rml@phantasy:/proc# cat /proc/version 
Linux version 2.4.5-ac13 (rml@phantasy) (gcc version 2.96 20000731 (Red
Hat Linux 7.1 2.96-85)) #1 Sun Jun 10 17:34:02 EDT 2001

either fixed in an -ac release, or not a universal bug?

Signature · 3 lines
Robert M. Love
[email protected]
[email protected]
#2 lore raw
In reply to Larry McVoy
Quoted 10 lines · Larry McVoy

This is cute:

$ ls -li /proc
...
   4106 -r--r--r--    1 root     root            0 Jun 12 18:53 dma
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4347 dr-xr-xr-x    3 root     root            0 Jun 12 18:53 dri
   4121 dr-xr-xr-x    2 root     root            0 Jun 12 18:53 driver
...
Quoted 4 lines
$ uname -a
Linux work.bitmover.com 2.4.5 #1 Mon May 28 10:54:32 PDT 2001 i686 unknown

Repeatable. If other users of 2.4.5 do NOT see this, please let me know.

Linux pawalski.blipp.com 2.4.5-0.2.9 #1 Wed May 30 06:50:52 EDT 2001 i686 unknown

This is the Red Hat kernel from rawhide.

-r--r--r--    1 root     root            0 Jun 13 06:59 dma
dr-xr-xr-x    2 root     root            0 Jun 13 06:59 driver
-r--r--r--    1 root     root            0 Jun 13 06:59 execdomains

However, I saw this on a self compiled 2.4.4 with Cisco 350 PC-Card installed using pcmcia-cs and the Cisco airo_cs.o module up and running.

--

 patrik wallstrom     |      f o o d f i g h t
 tel: +46-8-6188428   |      s t o c k h o l m
 gsm: +46-708405080   |      - - - - - - - - -
#3 lore raw
Quoted 2 lines · Larry McVoy

The two dri directory thing is a dumb DRI bug thats been reported to the XFree dri folks since before 2.4 even came out - and not yet fixed.

DRI in XFree 4.1.0 might fix it but its so fantastically warped, full of C preprocesor abuse and not binary compatible that they quite honestly ought to go and rewrite it before they consider submitting it anywhere.

Alan