Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264511 - sys-kernel/hardened-sources-2.6.28-r7: PaX, X.org server (glx module), doesn't work
Summary: sys-kernel/hardened-sources-2.6.28-r7: PaX, X.org server (glx module), doesn'...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 14:46 UTC by Andrey Aleksandrovich
Modified: 2009-04-01 20:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Aleksandrovich 2009-04-01 14:46:54 UTC
Resently, I updated my kernel to sys-kernel/hardened-sources-2.6.28-r7 and now X server doesn't start (black screen and freeze cursor).
In the X.log file I found that the problem seems to be in glx module.
******************************************

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN 
Current Operating System: Linux localhost 2.6.28-hardened-r4 #1 PREEMPT Sat Mar 21 09:44:21 EET 2009 x86_64
Build Date: 08 March 2009
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 24 22:38:18 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) |-->Input Device "Mouse0"
(WW) The core pointer device wasn't specified explicitly in the layout.
	Using the first mouse device.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
(**) RgbPath set to "/usr/lib64/X11/rgb"
(==) ModulePath set to "/usr/lib64/xorg/modules"
(**) Extension "Composite" is enabled
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81377fea6a0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 1.2
	X.Org XInput driver : 0.7
	X.Org Server Extension : 0.3
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib64/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.0.0
	ABI class: X.Org Video Driver, version 1.2
(--) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,005e card 1043,815a rev a3 class 05,80,00 hdr 00
(II) PCI: 00:01:0: chip 10de,0050 card 1043,815a rev a3 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,0052 card 1043,815a rev a2 class 0c,05,00 hdr 80
(II) PCI: 00:02:0: chip 10de,005a card 1043,815a rev a2 class 0c,03,10 hdr 80
(II) PCI: 00:02:1: chip 10de,005b card 1043,815a rev a3 class 0c,03,20 hdr 80
(II) PCI: 00:04:0: chip 10de,0059 card 1043,812a rev a2 class 04,01,00 hdr 00
(II) PCI: 00:06:0: chip 10de,0053 card 1043,815a rev a2 class 01,01,8a hdr 00
(II) PCI: 00:07:0: chip 10de,0054 card 1043,815a rev a3 class 01,01,85 hdr 00
(II) PCI: 00:08:0: chip 10de,0055 card 1043,815a rev a3 class 01,01,85 hdr 00
(II) PCI: 00:09:0: chip 10de,005c card 0000,0000 rev a2 class 06,04,01 hdr 01
(II) PCI: 00:0a:0: chip 10de,0057 card 1043,8141 rev a3 class 06,80,00 hdr 00
(II) PCI: 00:0b:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0c:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0d:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:0e:0: chip 10de,005d card 0000,0000 rev a3 class 06,04,00 hdr 01
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:00:0: chip 10de,0140 card 0000,0000 rev a2 class 03,00,00 hdr 00
(II) PCI: 05:06:0: chip 1131,7134 card 5168,0138 rev 01 class 04,80,00 hdr 00
(II) PCI: 05:07:0: chip 1106,3044 card 1106,3044 rev 46 class 0c,00,10 hdr 00
(II) PCI: 05:08:0: chip 1516,0803 card 10bd,1320 rev 00 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 5: bridge is at (0:9:0), (0,5,5), BCTRL: 0x0202 (VGA_EN is cleared)
(II) Bus 5 I/O range:
	[0] -1	0	0x0000a000 - 0x0000afff (0x1000) IX[B]
(II) Bus 5 non-prefetchable memory range:
	[0] -1	0	0xd0000000 - 0xd1ffffff (0x2000000) MX[B]
(II) Bus 5 prefetchable memory range:
	[0] -1	0	0x50000000 - 0x500fffff (0x100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:11:0), (0,4,4), BCTRL: 0x0002 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 3: bridge is at (0:12:0), (0,3,3), BCTRL: 0x0002 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:13:0), (0,2,2), BCTRL: 0x0002 (VGA_EN is cleared)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:14:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xb0000000 - 0xcfffffff (0x20000000) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0x50100000 - 0x501fffff (0x100000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:24:0), (0,0,5), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) MX[B]
(--) PCI:*(1:0:0) nVidia Corporation NV43 [GeForce 6600 GT] rev 162, Mem @ 0xc0000000/24, 0xb0000000/28, 0xc1000000/24
(II) Addressable bus resource ranges are
	[0] -1	0	0x00000000 - 0xffffffff (0x100000000) MX[B]
	[1] -1	0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
	[0] -1	0	0xd1001000 - 0xd10013ff (0x400) MX[B]
	[1] -1	0	0xd1000000 - 0xd10007ff (0x800) MX[B]
	[2] -1	0	0xd1002000 - 0xd10023ff (0x400) MX[B]
	[3] -1	0	0xd2000000 - 0xd2000fff (0x1000) MX[B]
	[4] -1	0	0xd2001000 - 0xd2001fff (0x1000) MX[B]
	[5] -1	0	0xd2002000 - 0xd2002fff (0x1000) MX[B]
	[6] -1	0	0xd2003000 - 0xd2003fff (0x1000) MX[B]
	[7] -1	0	0xd2005000 - 0xd20050ff (0x100) MX[B]
	[8] -1	0	0xd2004000 - 0xd2004fff (0x1000) MX[B]
	[9] -1	0	0xc1000000 - 0xc1ffffff (0x1000000) MX[B](B)
	[10] -1	0	0xb0000000 - 0xbfffffff (0x10000000) MX[B](B)
	[11] -1	0	0xc0000000 - 0xc0ffffff (0x1000000) MX[B](B)
	[12] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[13] -1	0	0x0000a000 - 0x0000a07f (0x80) IX[B]
	[14] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[15] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[16] -1	0	0x00000b60 - 0x00000b63 (0x4) IX[B]
	[17] -1	0	0x00000960 - 0x00000967 (0x8) IX[B]
	[18] -1	0	0x00000be0 - 0x00000be3 (0x4) IX[B]
	[19] -1	0	0x000009e0 - 0x000009e7 (0x8) IX[B]
	[20] -1	0	0x0000d800 - 0x0000d80f (0x10) IX[B]
	[21] -1	0	0x00000b70 - 0x00000b73 (0x4) IX[B]
	[22] -1	0	0x00000970 - 0x00000977 (0x8) IX[B]
	[23] -1	0	0x00000bf0 - 0x00000bf3 (0x4) IX[B]
	[24] -1	0	0x000009f0 - 0x000009f7 (0x8) IX[B]
	[25] -1	0	0x0000f000 - 0x0000f00f (0x10) IX[B]
	[26] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]
	[27] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]
	[28] -1	0	0x00004c40 - 0x00004c7f (0x40) IX[B]
	[29] -1	0	0x00004c00 - 0x00004c3f (0x40) IX[B]
	[30] -1	0	0x0000e400 - 0x0000e41f (0x20) IX[B]
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0	0xd1001000 - 0xd10013ff (0x400) MX[B]
	[1] -1	0	0xd1000000 - 0xd10007ff (0x800) MX[B]
	[2] -1	0	0xd1002000 - 0xd10023ff (0x400) MX[B]
	[3] -1	0	0xd2000000 - 0xd2000fff (0x1000) MX[B]
	[4] -1	0	0xd2001000 - 0xd2001fff (0x1000) MX[B]
	[5] -1	0	0xd2002000 - 0xd2002fff (0x1000) MX[B]
	[6] -1	0	0xd2003000 - 0xd2003fff (0x1000) MX[B]
	[7] -1	0	0xd2005000 - 0xd20050ff (0x100) MX[B]
	[8] -1	0	0xd2004000 - 0xd2004fff (0x1000) MX[B]
	[9] -1	0	0xc1000000 - 0xc1ffffff (0x1000000) MX[B](B)
	[10] -1	0	0xb0000000 - 0xbfffffff (0x10000000) MX[B](B)
	[11] -1	0	0xc0000000 - 0xc0ffffff (0x1000000) MX[B](B)
	[12] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[13] -1	0	0x0000a000 - 0x0000a07f (0x80) IX[B]
	[14] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[15] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[16] -1	0	0x00000b60 - 0x00000b63 (0x4) IX[B]
	[17] -1	0	0x00000960 - 0x00000967 (0x8) IX[B]
	[18] -1	0	0x00000be0 - 0x00000be3 (0x4) IX[B]
	[19] -1	0	0x000009e0 - 0x000009e7 (0x8) IX[B]
	[20] -1	0	0x0000d800 - 0x0000d80f (0x10) IX[B]
	[21] -1	0	0x00000b70 - 0x00000b73 (0x4) IX[B]
	[22] -1	0	0x00000970 - 0x00000977 (0x8) IX[B]
	[23] -1	0	0x00000bf0 - 0x00000bf3 (0x4) IX[B]
	[24] -1	0	0x000009f0 - 0x000009f7 (0x8) IX[B]
	[25] -1	0	0x0000f000 - 0x0000f00f (0x10) IX[B]
	[26] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]
	[27] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]
	[28] -1	0	0x00004c40 - 0x00004c7f (0x40) IX[B]
	[29] -1	0	0x00004c00 - 0x00004c3f (0x40) IX[B]
	[30] -1	0	0x0000e400 - 0x0000e41f (0x20) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
	[0] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0xd1001000 - 0xd10013ff (0x400) MX[B]
	[5] -1	0	0xd1000000 - 0xd10007ff (0x800) MX[B]
	[6] -1	0	0xd1002000 - 0xd10023ff (0x400) MX[B]
	[7] -1	0	0xd2000000 - 0xd2000fff (0x1000) MX[B]
	[8] -1	0	0xd2001000 - 0xd2001fff (0x1000) MX[B]
	[9] -1	0	0xd2002000 - 0xd2002fff (0x1000) MX[B]
	[10] -1	0	0xd2003000 - 0xd2003fff (0x1000) MX[B]
	[11] -1	0	0xd2005000 - 0xd20050ff (0x100) MX[B]
	[12] -1	0	0xd2004000 - 0xd2004fff (0x1000) MX[B]
	[13] -1	0	0xc1000000 - 0xc1ffffff (0x1000000) MX[B](B)
	[14] -1	0	0xb0000000 - 0xbfffffff (0x10000000) MX[B](B)
	[15] -1	0	0xc0000000 - 0xc0ffffff (0x1000000) MX[B](B)
	[16] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[17] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[18] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[B]
	[19] -1	0	0x0000a000 - 0x0000a07f (0x80) IX[B]
	[20] -1	0	0x0000b000 - 0x0000b007 (0x8) IX[B]
	[21] -1	0	0x0000c400 - 0x0000c40f (0x10) IX[B]
	[22] -1	0	0x00000b60 - 0x00000b63 (0x4) IX[B]
	[23] -1	0	0x00000960 - 0x00000967 (0x8) IX[B]
	[24] -1	0	0x00000be0 - 0x00000be3 (0x4) IX[B]
	[25] -1	0	0x000009e0 - 0x000009e7 (0x8) IX[B]
	[26] -1	0	0x0000d800 - 0x0000d80f (0x10) IX[B]
	[27] -1	0	0x00000b70 - 0x00000b73 (0x4) IX[B]
	[28] -1	0	0x00000970 - 0x00000977 (0x8) IX[B]
	[29] -1	0	0x00000bf0 - 0x00000bf3 (0x4) IX[B]
	[30] -1	0	0x000009f0 - 0x000009f7 (0x8) IX[B]
	[31] -1	0	0x0000f000 - 0x0000f00f (0x10) IX[B]
	[32] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[B]
	[33] -1	0	0x0000dc00 - 0x0000dcff (0x100) IX[B]
	[34] -1	0	0x00004c40 - 0x00004c7f (0x40) IX[B]
	[35] -1	0	0x00004c00 - 0x00004c3f (0x40) IX[B]
	[36] -1	0	0x0000e400 - 0x0000e41f (0x20) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/lib64/xorg/modules/fonts//libtype1.so
(II) Module type1: vendor="X.Org Foundation"
	compiled for 1.3.0, module version = 1.0.2
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font Type1
(II) LoadModule: "freetype"
(II) Loading /usr/lib64/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.3.0, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so

Backtrace:


X.org server starts normally, if I load the kernel with "pax_softmode=1" option.
Also X starts, if I comment the one line in xorg.conf (in Section "Module")
****************
# Load           "glx"
****************


This problem appears on sys-kernel/hardened-sources-2.6.28* kernels.
On 2.6.26* everything was fine.

Reproducible: Always
Comment 1 Andrey Aleksandrovich 2009-04-01 14:49:37 UTC
Here is my "emerge --info"

 * Overlay eclasses override eclasses from PORTDIR:
 *
 *   '/usr/portage/local/layman/dev-pva/eclass/fdo-mime.eclass'
 *   '/usr/portage/local/layman/xake-toolchain/eclass/flag-o-matic.eclass'
 *   '/usr/portage/local/layman/xake-toolchain/eclass/toolchain.eclass'
 *   '/usr/portage/local/layman/xake-toolchain/eclass/toolchain-funcs.eclass'
 *
 * It is best to avoid overriding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.
Portage 2.1.6.7 (selinux/2007.0/amd64/hardened, gcc-4.3.3, glibc-2.9_p20081201-r3, 2.6.28-hardened-r7 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r7-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.4
Timestamp of tree: Tue, 31 Mar 2009 01:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/mnt/distfiles/distfiles"
FEATURES="buildsyspkg ccache collision-protect distlocks fixpackages loadpolicy metadata-transfer parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://10.102.114.101/gentoo"
LANG="ru_UA.UTF-8"
LC_ALL=""
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xake-toolchain /usr/portage/local/layman/arcon /usr/portage/local/layman/dev-pva"
SYNC="rsync://10.102.114.101/gentoo-portage"
USE="3dnow X aac acpi alsa amd64 berkdb branding cli cracklib crypt cups dri flac fortran gdbm gpm hal hardened iconv isdnlog kde logitech-mouse midi mmx mmxext mp3 mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre perl pic png pppd python qt3 qt4 readline reflection selinux session spl sse sse2 ssl tcpd unicode utf8 vorbis x264 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x        ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3   trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Gordon Malm (RETIRED) gentoo-dev 2009-04-01 17:30:47 UTC
A guess based on your emerge --info output is your 'eselect opengl list' is set to nvidia.  Let's look @ nvidia's libglx.so:

readelf -l /usr/lib/opengl/nvidia/extensions/libglx.so

My bet is it has a RWE segment and no GNU_STACK or GNU_RELRO program headers.  Next test:

scanelf -qt /usr/lib/opengl/nvidia/extensions/libglx.so

TEXTREL too, nvidia really isn't winning here.

During the 2.6.27 kernel cycle PaX Team added some relro enforcements.  You'll need to paxctl -m /usr/bin/Xorg to be able to run X.

Closing as invalid.  nvidia drivers are masked/unsupported on hardened and not using in-tree hardened toolchain.
Comment 3 Andrey Aleksandrovich 2009-04-01 20:22:59 UTC
> A guess based on your emerge --info output is your 'eselect opengl list'
> is set to nvidia.

This is right, I forgot to switch opengl to "xorg-x11" and I have this problem with any driver /nvidia/nv/vesa (nvidia was as example).
Now, it works fine with "nv" driver. Thank you.