mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Regression - Xorg start failed
@ 2011-02-13  6:22 Dave Young
  2011-02-13  7:53 ` Dave Airlie
  2011-02-13  8:15 ` Alex Riesen
  0 siblings, 2 replies; 19+ messages in thread
From: Dave Young @ 2011-02-13  6:22 UTC (permalink / raw)
  To: linux-kernel, David Airlie, dri-devel, Chris Wright

Hi

With kernel built from current linus's tree, I can not start xorg,
it failed with:

Backtrace:
0: X(xorg_backtrace+0x26) [0x4e8bb6]
1: X(xf86SigHandler+0x39) [0x489989]
2: /lib64/libc.so.6 [0x7f077a6b9f30]
3: /usr/lib64/libpciaccess.so.0(pci_device_get_bridge_buses+0xf1) [0x7f077c101fd1]
4: X(initPciBusState+0x8d) [0x470abd]
5: X(xf86AccessInit+0xe) [0x48e26e]
6: X(InitOutput+0x108b) [0x466bfb]
7: X(main+0x20e) [0x42ceee]
8: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f077a6a5526]
9: X [0x42c529]

Fatal server error:
Caught signal 11.  Server aborting

The graphic driver I used is intel (i915)

Finally I bisected it, results:
47970b1b2aa64464bc0a9543e86361a622ae7c03 is first bad commit
commit 47970b1b2aa64464bc0a9543e86361a622ae7c03
Author: Chris Wright <chrisw@sous-sol.org>
Date:   Thu Feb 10 15:58:56 2011 -0800

    pci: use security_capable() when checking capablities during config space read
    
    Eric Paris noted that commit de139a3 ("pci: check caps from sysfs file
    open to read device dependent config space") caused the capability check
    to bypass security modules and potentially auditing.  Rectify this by
    calling security_capable() when checking the open file's capabilities
    for config space reads.
    
    Reported-by: Eric Paris <eparis@redhat.com>
    Signed-off-by: Chris Wright <chrisw@sous-sol.org>
    Signed-off-by: James Morris <jmorris@namei.org>

:040000 040000 e14ad9470ca5f84f13cd31eaf5def16d40bc54f1 cbf987647b8052214dd928c87c6becfb639e4ca2 M      drivers

Any idea?

--
Thanks
Dave

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Regression - Xorg start failed
@ 2011-02-13 20:26 Sedat Dilek
  0 siblings, 0 replies; 19+ messages in thread
From: Sedat Dilek @ 2011-02-13 20:26 UTC (permalink / raw)
  To: hidave.darkstar; +Cc: Dave Airlie, Linus Torvalds, LKML

Damn, that issue made me really sick yesterday, as I thought the
problem arrived from my updated mesa/ddx built-from-git (I also played
with mesa's new --enable-shared-dricore configure option).

Also, I suspected x11-common package in Debian/unstable [1],
especially BR #612979 [2].

I applied the revert of commit
47970b1b2aa64464bc0a9543e86361a622ae7c03 ("pci: use security_capable()
when checking capablities during config space read") as bisected by
Dave Young. Thanks!

The only way I found was to delete several X releated dot-dirs in
/tmp. In addition the dirs created/required for a KDE-session.
Best is to kill complete /tmp/* /tmp/.* in runlevel-3 and then startx,
that made X work here.

- Sedat -

[1] http://packages.debian.org/changelogs/pool/main/x/xorg/xorg_7.6+3/changelog
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612979

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Regression - Xorg start failed
@ 2011-02-14 16:01 Sedat Dilek
  2011-02-14 16:20 ` Chris Wright
  0 siblings, 1 reply; 19+ messages in thread
From: Sedat Dilek @ 2011-02-14 16:01 UTC (permalink / raw)
  To: Chris Wright; +Cc: DRI, LKML

[ As I am not subscribed to both MLs and lazy to pick up all involved people ]

Hi Chris,

The original patch had also this part (see the revert in [1]):
...
+#include <linux/security.h>
...

Your new patch in [2] is missing it or is it not required?

- Sedat -

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f00eaeea7a42b5ea327e9ce8839cb0b53d3bdb4e
[2] https://patchwork.kernel.org/patch/555501/

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-02-16  6:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13  6:22 Regression - Xorg start failed Dave Young
2011-02-13  7:53 ` Dave Airlie
2011-02-13 15:50   ` Linus Torvalds
2011-02-14  0:35     ` Chris Wright
2011-02-14  1:04       ` James Morris
2011-02-15  1:21         ` [PATCH v3] pci: use security_capable() when checking capablities during config space read Chris Wright
2011-02-15  9:39           ` James Morris
2011-02-16  6:24           ` Alex Riesen
2011-02-14  5:38       ` Regression - Xorg start failed Dave Young
2011-02-14 16:56         ` Chris Wright
2011-02-13 23:31   ` Chris Wright
2011-02-13 23:34     ` Dave Airlie
2011-02-13 23:35       ` Chris Wright
2011-02-13  8:15 ` Alex Riesen
2011-02-13 20:26 Sedat Dilek
2011-02-14 16:01 Sedat Dilek
2011-02-14 16:20 ` Chris Wright
2011-02-14 16:35   ` Sedat Dilek
2011-02-14 16:57     ` Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®