Fwd: OpenOffice crashes due to incorrect access permissions on
/dev/dri/card*
Paweł Sikora
pluto at pld-linux.org
Sat Jan 29 14:04:13 CET 2005
---------- Forwarded Message ----------
Subject: OpenOffice crashes due to incorrect access permissions
on /dev/dri/card*
Date: Saturday 29 of January 2005 13:49
From: Richard Hughes <ee21rh at surrey.ac.uk>
To: linux-kernel at vger.kernel.org
On Sat, 29 Jan 2005 13:32:47 +0100, Bernd Eckenfels wrote:
> it is not a permission thing, it tells you, that you have not card14 - and
> i dont know the dri interface but it looks unlikely that there ever will be
> one .)
I figured (maybe incorrectly) that oo was just going thru the dri card*
files:
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card8", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card9", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card10", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card11", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card12", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card13", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card14", 0xbfec2e8c) = -1 ENOENT (No such file or
directory) munmap(0x9b4838, 8192) = -1 EINVAL (Invalid
argument) munmap(0x9d55248, 3219928560) = -1 EINVAL (Invalid
argument) --- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
from 0 to 14 until it found a card that it could use. The root cause
has to be that it can't use dri/card* because of access permissions.
Note, that strace glxgears gives exactly the same output, going from 0 to
14 and then seg-faulting, so it's *not just a oo problem*.
Richard Hughes
------------------------------------------
Could someone confirm that?
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
More information about the pld-devel-en
mailing list