(Failed to open /dev/mem) Tired or what?

Hi everyone :slight_smile:
First, Congradulation Loki for that News server
:slight_smile: pretty cool ! now it’ll be easier to follow the news :slight_smile:

    Now for the problems :) I've just reinstalled fresh new Debian

(with Voodoo 3 Xserver)… and here what I get

XF86DGAGetVideo: failed to open /dev/mem (Operation not permitted)

When I try to use an SDL application with cluster user. Cluster is

member of the kmem group and /dev/mem is chmod 660 so what’s wrong
? Maybe it’s just me that’s to tired to see the problem but I’ve been
having head aches for about 1 hour now :slight_smile:

    Anyway :) Thanks in advance for the answer !

        Cya
                Jeremie Plante

on Don, 07 Okt 1999 Jeremie Plante wrote:

Hi everyone :slight_smile:
First, Congradulation Loki for that News server
:slight_smile: pretty cool ! now it’ll be easier to follow the news :slight_smile:

   Now for the problems :) I've just reinstalled fresh new Debian

(with Voodoo 3 Xserver)… and here what I get

XF86DGAGetVideo: failed to open /dev/mem (Operation not permitted)

When I try to use an SDL application with cluster user. Cluster is
member of the kmem group and /dev/mem is chmod 660 so what’s wrong
? Maybe it’s just me that’s to tired to see the problem but I’ve been
having head aches for about 1 hour now :slight_smile:

open the /dev/mem devices - regardless of the set permissions.
Is this a bug or a feature ?

The only way to get my SDL back to running was to remove write permissions for
normal users from /dev/mem.

hmmmm …>From my investigations, newer kernels do not allow any user except root to


Karsten-O. Laux
klaux at student.uni-kl.de
http://www.rhrk.uni-kl.de/~klaux

I have both 0.9 and 0.10 on my system, using kernel 2.2.11. I can run
fullscreen apps and everything works fine, as any user with 0.9. But any app
built with 0.10 runs into the same /dev/mem problem!!! this is maybe not a
kernel error.

Michael> ----- Original Message -----

From: klaux@student.uni-kl.de (Karsten Laux)
To: sdl at lokigames.com
Date: Thursday, 7 October 1999 16:02
Subject: Re: [SDL] (Failed to open /dev/mem) Tired or what ?

on Don, 07 Okt 1999 Jeremie Plante wrote:

Hi everyone :slight_smile:
First, Congradulation Loki for that News server
:slight_smile: pretty cool ! now it’ll be easier to follow the news :slight_smile:

   Now for the problems :) I've just reinstalled fresh new Debian

(with Voodoo 3 Xserver)… and here what I get

XF86DGAGetVideo: failed to open /dev/mem (Operation not permitted)

When I try to use an SDL application with cluster user. Cluster is
member of the kmem group and /dev/mem is chmod 660 so what’s wrong
? Maybe it’s just me that’s to tired to see the problem but I’ve been
having head aches for about 1 hour now :slight_smile:

From my investigations, newer kernels do not allow any user except root to
open the /dev/mem devices - regardless of the set permissions.
Is this a bug or a feature ?

The only way to get my SDL back to running was to remove write permissions
for
normal users from /dev/mem.

hmmmm …


Karsten-O. Laux
klaux at student.uni-kl.de
http://www.rhrk.uni-kl.de/~klaux

Hrmm …
Karsten write :
The only way to get my SDL back to running was to remove write
permissions for
normal users from /dev/mem.

hmmmm …

This doesn’t sound good :slight_smile:

The problem is even Not fullscreen app doesn’t work anymore as single
user. I’ll investigate on this problem later tonight but it seam strange.
Why kernel block premission to /dev/mem even with write permission for a
group ? kmem group was nice and the fact that I was able to add a user in
the kmem group and use Fullscreen was pretty cool.

Anyone found a way trought it yet with SDL .10 and kernel 2.2.x ?

Cya
        Jeremie