Gentoo Archives: gentoo-user

From: Devon Miller <devon.c.miller@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Xorg crash after logout
Date: Sat, 21 Oct 2006 13:33:50
Message-Id: c52221f0610210628j61b65fc8h4c47735cbfa856a6@mail.gmail.com
1 I'm running kdm as my display manager on an HP pavilion laptop with a VIA
2 Ultrachrom (TwisterK) video chipset.
3 On that I'm running monolithic kde 3.5.2 on xorg-x11 7.1
4
5 On the initial startup everything comes up fine. I see these messages in
6 /var/log/Xorg.0.log
7
8 (II) SAVAGE(0): [drm] bpp: 16 depth: 16
9 (II) SAVAGE(0): [drm] Sarea 2200+284: 2484
10 drmOpenDevice: node name is /dev/dri/card0
11 drmOpenDevice: open result is 8, (OK)
12 drmOpenDevice: node name is /dev/dri/card0
13 drmOpenDevice: open result is 8, (OK)
14 drmOpenByBusid: Searching for BusID pci:0000:01:00.0
15 drmOpenDevice: node name is /dev/dri/card0
16 drmOpenDevice: open result is 8, (OK)
17 drmOpenByBusid: drmOpenMinor returns 8
18 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
19 (II) SAVAGE(0): [drm] DRM interface version 1.2
20 (II) SAVAGE(0): [drm] created "savage" driver at busid "pci:0000:01:00.0"
21
22 When I log out, xdm restarts X which then crashes. I see these messages in
23 /var/log/Xorg.0.log:
24 (II) SAVAGE(0): [drm] bpp: 16 depth: 16
25 (II) SAVAGE(0): [drm] Sarea 2200+284: 2484
26 drmOpenDevice: node name is /dev/dri/card0
27 drmOpenDevice: open result is 8, (OK)
28 drmOpenDevice: node name is /dev/dri/card0
29 drmOpenDevice: open result is 8, (OK)
30 drmOpenByBusid: Searching for BusID pci:0000:01:00.0
31 drmOpenDevice: node name is /dev/dri/card0
32 drmOpenDevice: open result is 8, (OK)
33 drmOpenByBusid: drmOpenMinor returns 8
34 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
35 (II) SAVAGE(0): [drm] DRM interface version 1.0
36 (II) SAVAGE(0): [drm] drmSetBusid failed (8, pci:0000:01:00.0), Permission
37 denied
38 (EE) SAVAGE(0): [drm] DRIScreenInit failed. Disabling DRI.
39 (EE) SAVAGE(0): DRI isn't enabled
40 [...]
41 Backtrace:
42 0: /usr/bin/X(xf86SigHandler+0x81) [0x80c33c1]
43 1: [0xffffe420]
44 2: /usr/lib/xorg/modules/libramdac.so(xf86SetCursor+0x109) [0xaf9fa6e9]
45 3: /usr/lib/xorg/modules/libramdac.so [0xaf9f9d46]
46 4: /usr/bin/X(miPointerUpdate+0x165) [0x8110e15]
47 5: /usr/bin/X [0x8110f39]
48 6: /usr/bin/X [0x812700e]
49 7: /usr/bin/X [0x814c8e7]
50 8: /usr/bin/X(DefineInitialRootWindow+0x128) [0x808f468]
51 9: /usr/bin/X(main+0x448) [0x806e5c8]
52 10: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cec87c]
53 11: /usr/bin/X(FontFileCompleteXLFD+0xad) [0x806d931]
54
55 Fatal server error:
56 Caught signal 11. Server aborting
57
58 I've googled for drmSetBusid and "Permission denied" and the consensus seems
59 to be a gcc version mismatch between the kernel and the drm module. I know
60 that's not the case, because I've re-emerged my entire system using
61 gcc-4.1.1 There's also the fact that it worked the first time.
62
63 Another puzzle is that the first time through the savage drm reported "DRM
64 interface version 1.2", but the second time it reported "DRM interface
65 version 1.0", then failed calling drmSetBusid. I've gone through my
66 installation and I don't see any dups of kernel modules or shared objects.
67 Any ideas as to the source of the conflicting version?
68
69 And, why does this cause a segfault in the ramdac library?
70
71 dcm

Replies

Subject Author
[gentoo-user] Re: Xorg crash after logout Devon Miller <devon.c.miller@×××××.com>