On Fri, 28 Jan 2005 15:57:13 -0800, Stephen Hemminger wrote:
> Note: on 2.6.10
> /dev/dri/card0 crw-rw-rw-
> on 2.6.11-rc2
> /dev/dri/card0 crw-rw----
> /dev/dri/card1 crw-rw----
>
> Changing permissions seems to fix (it for startup), will try more and see
> if udev remembers not to turn them back.
Me too. (2.6.11-rc2-bk3, openoffice.org-1.1.3) I straced soffice and found
it hanging on /dev/dri:
geteuid32() = 500
stat64("/dev/dri", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
stat64("/dev/dri/card14", 0xbff9c8bc) = -1 ENOENT (No such file or directory)
munmap(0x9b4838, 8192) = -1 EINVAL (Invalid argument)
munmap(0x949e248, 3220820000) = -1 EINVAL (Invalid argument)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
and with a chmod a+rw /dev/dri/card* everything is okay until I reboot,
and it defaults back to crw-rw----
What is at fault? Certainly oo shouldn't just seg-fault, but should the
permissions on /dev/dri/card* be crw-rw---- or crw-rw-rw-?
Richard Hughes
--
http://www.hughsie.com/PUBLIC-KEY
In article <[email protected]> you wrote:
> stat64("/dev/dri/card14", 0xbff9c8bc) = -1 ENOENT (No such file or directory)
> What is at fault? Certainly oo shouldn't just seg-fault, but should the
> permissions on /dev/dri/card* be crw-rw---- or crw-rw-rw-?
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 .)
Greetings
Bernd