From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-53393-garchives=archives.gentoo.org@gentoo.org>)
	id 1GbHvB-0005qW-JG
	for garchives@archives.gentoo.org; Sat, 21 Oct 2006 14:33:58 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9LEVpn3030338;
	Sat, 21 Oct 2006 14:31:51 GMT
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9LET3US018625
	for <gentoo-user@lists.gentoo.org>; Sat, 21 Oct 2006 14:29:03 GMT
Received: by wx-out-0506.google.com with SMTP id h28so1246421wxd
        for <gentoo-user@lists.gentoo.org>; Sat, 21 Oct 2006 07:29:03 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=K6Ilr0Ryn4caGmF5gaWZaazle6mgxglyN2cxUPpWHMmmUczA6iCA6nhJp6FXoYDwKFtaKA8gFMkftWPgzdERYJxBErB98soVTdeXt5stiEAXdDZ65NW59uYHAqr4Cs4AfxMsZdzE6wKmKCfRWaCVgGVnTIynmH+ddZ/FgyIfl74=
Received: by 10.70.103.12 with SMTP id a12mr2964787wxc;
        Sat, 21 Oct 2006 07:29:03 -0700 (PDT)
Received: by 10.70.111.4 with HTTP; Sat, 21 Oct 2006 07:29:02 -0700 (PDT)
Message-ID: <c52221f0610210729w3e2bd8cby424165df49b63bcd@mail.gmail.com>
Date: Sat, 21 Oct 2006 10:29:02 -0400
From: "Devon Miller" <devon.c.miller@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Xorg crash after logout
In-Reply-To: <c52221f0610210628j61b65fc8h4c47735cbfa856a6@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_204465_29862275.1161440942942"
References: <c52221f0610210628j61b65fc8h4c47735cbfa856a6@mail.gmail.com>
X-Archives-Salt: ec357519-118d-4cc4-bb2b-ae04f907f507
X-Archives-Hash: 9e79ba62b51ff64d5b8a12c5a7f9fbe4

------=_Part_204465_29862275.1161440942942
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sorry, that should have read:
> unichrome (TwisterK) video chipset.
not
>Ultrachrome (TwisterK) video chipset.


On 10/21/06, Devon Miller <devon.c.miller@gmail.com> wrote:
>
> I'm running kdm as my display manager on an HP pavilion laptop with a VIA
> Ultrachrom (TwisterK) video chipset.
> On that I'm running monolithic kde 3.5.2 on xorg-x11 7.1
>
> On the initial startup everything comes up fine. I see these messages in
> /var/log/Xorg.0.log
>
> (II) SAVAGE(0): [drm] bpp: 16 depth: 16
> (II) SAVAGE(0): [drm] Sarea 2200+284: 2484
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenByBusid: drmOpenMinor returns 8
> drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> (II) SAVAGE(0): [drm] DRM interface version 1.2
> (II) SAVAGE(0): [drm] created "savage" driver at busid "pci:0000:01:00.0"
>
> When I log out, xdm restarts X which then crashes. I see these messages in
> /var/log/Xorg.0.log:
> (II) SAVAGE(0): [drm] bpp: 16 depth: 16
> (II) SAVAGE(0): [drm] Sarea 2200+284: 2484
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenByBusid: Searching for BusID pci:0000:01:00.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 8, (OK)
> drmOpenByBusid: drmOpenMinor returns 8
> drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> (II) SAVAGE(0): [drm] DRM interface version 1.0
> (II) SAVAGE(0): [drm] drmSetBusid failed (8, pci:0000:01:00.0), Permission
> denied
> (EE) SAVAGE(0): [drm] DRIScreenInit failed.  Disabling DRI.
> (EE) SAVAGE(0): DRI isn't enabled
> [...]
> Backtrace:
> 0: /usr/bin/X(xf86SigHandler+0x81) [0x80c33c1]
> 1: [0xffffe420]
> 2: /usr/lib/xorg/modules/libramdac.so(xf86SetCursor+0x109) [0xaf9fa6e9]
> 3: /usr/lib/xorg/modules/libramdac.so [0xaf9f9d46]
> 4: /usr/bin/X(miPointerUpdate+0x165) [0x8110e15]
> 5: /usr/bin/X [0x8110f39]
> 6: /usr/bin/X [0x812700e]
> 7: /usr/bin/X [0x814c8e7]
> 8: /usr/bin/X(DefineInitialRootWindow+0x128) [0x808f468]
> 9: /usr/bin/X(main+0x448) [0x806e5c8]
> 10: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cec87c]
> 11: /usr/bin/X(FontFileCompleteXLFD+0xad) [0x806d931]
>
> Fatal server error:
> Caught signal 11.  Server aborting
>
> I've googled for drmSetBusid and "Permission denied" and the consensus
> seems to be a gcc version mismatch between the kernel and the drm module. I
> know that's not the case, because I've re-emerged my entire system using
> gcc-4.1.1 There's also the fact that it worked the first time.
>
> Another puzzle is that the first time through the savage drm reported "DRM
> interface version 1.2", but the second time it reported "DRM interface
> version 1.0", then failed calling drmSetBusid. I've gone through my
> installation and I don't see any dups of kernel modules or shared objects.
> Any ideas as to the source of the conflicting version?
>
> And, why does this cause a segfault in the ramdac library?
>
> dcm
>
>

------=_Part_204465_29862275.1161440942942
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sorry, that should have read:<br>&gt; unichrome (TwisterK) video chipset.<br>not<br>&gt;Ultrachrome (TwisterK) video chipset.<br><br><br><div><span class="gmail_quote">On 10/21/06, <b class="gmail_sendername">Devon Miller</b>
 &lt;<a href="mailto:devon.c.miller@gmail.com">devon.c.miller@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm running kdm as my display manager on an HP pavilion laptop with a VIA Ultrachrom (TwisterK) video chipset.<br>On that I'm running monolithic kde 3.5.2 on xorg-x11 7.1<br><br>On the initial startup everything comes up fine. I see these messages in /var/log/Xorg.0.log
<br><br><div style="margin-left: 40px;">(II) SAVAGE(0): [drm] bpp: 16 depth: 16<br>(II) SAVAGE(0): [drm] Sarea 2200+284: 2484<br>drmOpenDevice: node name is /dev/dri/card0<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenDevice: node name is /dev/dri/card0
<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenByBusid: Searching for BusID pci:0000:01:00.0<br>drmOpenDevice: node name is /dev/dri/card0<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenByBusid: drmOpenMinor returns 8
<br>drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0<br>(II) SAVAGE(0): [drm] DRM interface version 1.2<br>(II) SAVAGE(0): [drm] created &quot;savage&quot; driver at busid &quot;pci:0000:01:00.0&quot;<br></div><br>When I log out, xdm restarts X which then crashes. I see these messages in /var/log/Xorg.0.log:
<br><div style="margin-left: 40px;">(II) SAVAGE(0): [drm] bpp: 16 depth: 16<br>(II) SAVAGE(0): [drm] Sarea 2200+284: 2484<br>drmOpenDevice: node name is /dev/dri/card0<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenDevice: node name is /dev/dri/card0
<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenByBusid: Searching for BusID pci:0000:01:00.0<br>drmOpenDevice: node name is /dev/dri/card0<br>drmOpenDevice: open result is 8, (OK)<br>drmOpenByBusid: drmOpenMinor returns 8
<br>drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0<br>(II) SAVAGE(0): [drm] DRM interface version 1.0<br>(II) SAVAGE(0): [drm] drmSetBusid failed (8, pci:0000:01:00.0), Permission denied<br>(EE) SAVAGE(0): [drm] DRIScreenInit failed.&nbsp; Disabling DRI.
<br>(EE) SAVAGE(0): DRI isn't enabled<br>[...]<br>Backtrace:<br>0: /usr/bin/X(xf86SigHandler+0x81) [0x80c33c1]<br>1: [0xffffe420]<br>2: /usr/lib/xorg/modules/libramdac.so(xf86SetCursor+0x109) [0xaf9fa6e9]<br>3: /usr/lib/xorg/modules/libramdac.so [0xaf9f9d46]
<br>4: /usr/bin/X(miPointerUpdate+0x165) [0x8110e15]<br>5: /usr/bin/X [0x8110f39]<br>6: /usr/bin/X [0x812700e]<br>7: /usr/bin/X [0x814c8e7]<br>8: /usr/bin/X(DefineInitialRootWindow+0x128) [0x808f468]<br>9: /usr/bin/X(main+0x448) [0x806e5c8]
<br>10: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cec87c]<br>11: /usr/bin/X(FontFileCompleteXLFD+0xad) [0x806d931]<br><br>Fatal server error:<br>Caught signal 11.&nbsp; Server aborting<br></div><br>I've googled for drmSetBusid and &quot;Permission denied&quot; and the consensus seems to be a gcc version mismatch between the kernel and the drm module. I know that's not the case, because I've re-emerged my entire system using 
gcc-4.1.1 There's also the fact that it worked the first time.<br><br>Another puzzle is that the first time through the savage drm reported &quot;DRM interface version 1.2&quot;, but the second time it reported &quot;DRM interface version 
1.0&quot;, then failed calling drmSetBusid. I've gone through my installation and I don't see any dups of kernel modules or shared objects. Any ideas as to the source of the conflicting version?<br><br>And, why does this cause a segfault in the ramdac library?
<br><br>dcm<br><br>

</blockquote></div><br>

------=_Part_204465_29862275.1161440942942--
-- 
gentoo-user@gentoo.org mailing list