gentoo-hardened April 2008 archive
Main Archive Page > Month Archives  > gentoo-hardened archives
gentoo-hardened: Re: [gentoo-hardened] Error setting up Xorg 7.3

Re: [gentoo-hardened] Error setting up Xorg 7.3 on Gentoo Hardened (PaX + grsecurity)

From: आशीष शुक्ल Ashish Shukla <wahjava.ml_at_nospam>
Date: Thu Apr 17 2008 - 10:34:24 GMT
To: gentoo-hardened@lists.gentoo.org


,--[ On Thu, Apr 17, 2008 at 11:12:51AM +0200, pageexec@freemail.hu wrote:
| On 17 Apr 2008 at 2:49, Ashish Shukla wrote:
|
| > dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: ExaOffsc
| > reenMarkUsed
|
| i can't tell why but the exa module wasn't loaded automatically so
| you'll have to do it explicitly in xorg.conf. if you get further missing
| symbol messages (for this or other modules) then repeat the process
| ;).

After loading "exa" by adding 'Load "exa"' in section "Module", and starting Xorg, I get message about following symbol missing message:

dlopen: /usr/lib64/xorg/modules//libexa.so: undefined symbol: fbGlyph8

After loading "fb", I got following symbol missing message:

dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: vbeFree

After loading "vbe", I got following symbol missing message:

dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: vgaHWProtect

After loading "vgahw", I got following symbol missing message:

dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: XAAGetPatternROP

After loading "xaa", I got following symbol missing message:

dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: ShadowFBInit

After loading "shadowfb", I got following symbol missing message:

dlopen: /usr/lib64/xorg/modules/drivers//i810_drv.so: undefined symbol: xf86int10Addr

After loading "int10", I didn't get any symbol missing message :)

----8<----8<----
abbe@monte-cristo ~ $ Xorg

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 monte-cristo 2.6.23-hardened-r9 #1 SMP Wed Apr 1 6 07:17:19 IST 2008 x86_64
Build Date: 16 April 2008 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: Thu Apr 17 16:00:46 2008 (==) Using config file: "/etc/X11/xorg.conf" (WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found (II) Module already built-in
(II) Module already built-in
(II) Module already built-in DISPATCH ERROR! _glapi_add_dispatch failed to add glGetVertexAttribPointerv! DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib4iv! DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib4bv! DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib4ubv! DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib4usv! DISPATCH ERROR! _glapi_add_dispatch failed to add glGetVertexAttribPointerv! DISPATCH ERROR! _glapi_add_dispatch failed to add glVertexAttrib4uiv! expected keysym, got XF86KbdLightOnOff: line 70 of pc expected keysym, got XF86KbdBrightnessDown: line 71 of pc expected keysym, got XF86KbdBrightnessUp: line 72 of pc ---->8---->8----

Am I still missing some modules, hmm..? Following is my xorg.conf:

----8<----8<----
Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection
Section "Files" RgbPath "/usr/share/X11/rgb" ModulePath "/usr/lib64/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection
Section "Module" Load "dri" Load "xtrap" Load "record" Load "dbe" Load "GLcore" Load "glx" Load "extmod" Load "freetype" Load "type1" Load "fb" Load "exa" Load "vbe" Load "vgahw" Load "xaa" Load "shadowfb" Load "int10"
EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd"
EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model"
EndSection
Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "ShadowFB" # [<bool>] #Option "DefaultRefresh" # [<bool>] #Option "ModeSetClearScreen" # [<bool>] Identifier "Card0" Driver "i810" VendorName "Intel Corporation" BoardName "Mobile Integrated Graphics Controller" BusID "PCI:0:2:0"
EndSection
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection
EndSection
---->8---->8----

Thanks for the help :) -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

-- gentoo-hardened@lists.gentoo.org mailing list