I did some digging.

CONFIG_RWSEM_GENERIC_SPINLOCK is not set.
This causes thoes unresolved symbols, YOU CANT HAVE THOES :)

There seams to be only one reason why CONFIG_RWSEM_GENERIC_SPINLOCK dose not
get set.
CONFIG_M386 must be set to "y", then CONFIG_RWSEM_GENERIC_SPINLOCK is set to
"y" else it is set to "n".  I don't know why every one should not have this
problem.

--- Digital Net Assassin <[EMAIL PROTECTED]> wrote:
> Hi, first let me tell you what I am using:
> Linux 2.4.18 kernel with Pentium 4 as a CPU type
> XFree86 4.2.0
> 
> and here's the glxinfo output:
> 
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: No
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
>     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_EXT_import_context
> client glx vendor string: SGI
> client glx version string: 1.2
> client glx extensions:
>     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_EXT_import_context
> GLX extensions:
>     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> GLX_EXT_import_context
> OpenGL vendor string: VA Linux Systems, Inc.
> OpenGL renderer string: Mesa GLX Indirect
> OpenGL version string: 1.2 Mesa 3.4.2
> OpenGL extensions:
>     GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
>     GL_EXT_blend_minmax, GL_EXT_blend_subtract
> glu version: 1.3
> glu extensions:
>     GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
> 
>    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms
> cav
> id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
> ----------------------------------------------------------------------
> 0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0
> None
> 0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0
> None
> 0x25 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0
> None
> 0x26 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0
> None
> 
> 
> 
> Ok, the problem is that, as you can see above DRI isn't working, I
> recompiled the kernel with drm as a module and loaded agpgart and
> the radeon driver and it didn't work, i installed the driver:
> radeon-20020628-linux.i386.tar.bz2, and here's the dri.log:
> 
> cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
> -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
> -DCONFIG_DRM_SIS -DEXPORT_SYMTAB -I/lib/modules/2.4.18/build/include
> -c radeon_drv.c -o radeon_drv.o
> cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
> -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
> -DCONFIG_DRM_SIS -I/lib/modules/2.4.18/build/include -c radeon_cp.c
> -o radeon_cp.o
> cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
> -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
> -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
> -DCONFIG_DRM_SIS -I/lib/modules/2.4.18/build/include -c
> radeon_state.c -o radeon_state.o
> ld -r radeon_drv.o radeon_cp.o radeon_state.o -o radeon.o
> /usr/X11R6/lib
> /lib/modules/2.4.18/kernel/drivers/char/drm/radeon.o: unresolved
> symbol rwsem_down_write_failed
> /lib/modules/2.4.18/kernel/drivers/char/drm/radeon.o: unresolved
> symbol rwsem_wake
> /lib/modules/2.4.18/kernel/drivers/char/drm/radeon.o: insmod
> /lib/modules/2.4.18/kernel/drivers/char/drm/radeon.o failed
> /lib/modules/2.4.18/kernel/drivers/char/drm/radeon.o: insmod radeon
> failed
> 
> 
> 
> Here's my XF86Config file:
> 
> 
> 
> Section "ServerLayout"
>       Identifier     "XFree86 Configured"
>       Screen      0  "Screen0" 0 0
>       InputDevice    "Mouse0" "CorePointer"
>       InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>       RgbPath      "/usr/X11R6/lib/X11/rgb"
>       ModulePath   "/usr/X11R6/lib/modules"
>       FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
>       FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
>       FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
>       FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
>       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
>       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
> 
> Section "Module"
>       Load  "dbe"
>       Load  "dri"
>       Load  "extmod"
>       Load  "glx"
>       Load  "record"
>       Load  "xtrap"
>       Load  "speedo"
>       Load  "type1"
> EndSection
> 
> Section "InputDevice"
>       Identifier  "Keyboard0"
>       Driver      "keyboard"
> EndSection
> 
> Section "InputDevice"
>       Identifier  "Mouse0"
>       Driver      "mouse"
>       Option      "Protocol" "IMPS/2"
>       Option      "Device" "/dev/mouse"
>       Option "ZAxisMapping" "4 5"
> EndSection
> 
> Section "Monitor"
>       #DisplaySize      330   250     # mm
>       Identifier   "Monitor0"
>       VendorName   "VSC"
>       ModelName    "E70f"
>       Option      "DPMS"
> 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     "NoAccel"                 # [<bool>]
>         #Option     "SWcursor"                # [<bool>]
>         #Option     "Dac6Bit"                 # [<bool>]
>         #Option     "Dac8Bit"                 # [<bool>]
>         #Option     "ForcePCIMode"            # [<bool>]
>         #Option     "CPPIOMode"               # [<bool>]
>         #Option     "CPusecTimeout"           # <i>
>         #Option     "AGPMode" "4"
>         #Option     "AGPSize"                 # <i>
>         #Option     "RingSize"                # <i>
>         #Option     "BufferSize"              # <i>
>         #Option     "EnableDepthMoves"        # [<bool>]
>         #Option     "CrtScreen"               # [<bool>]
>         #Option     "PanelSize"               # [<str>]
>         #Option     "UseFBDev"                # [<bool>]
>       Identifier  "Card0"
>       Driver      "radeon"
>       VendorName  "ATI"
>       BoardName   "Radeon 7500 QW"
>       BusID       "PCI:1:0:0"
> EndSection
> 
> Section "Screen"
>       Identifier "Screen0"
>       Device     "Card0"
>       Monitor    "Monitor0"
>       DefaultDepth 24
>       SubSection "Display"
>               Depth     1
>       EndSubSection
>       SubSection "Display"
>               Depth     4
>       EndSubSection
>       SubSection "Display"
>               Depth     8
>       EndSubSection
>       SubSection "Display"
>               Depth     15
>       EndSubSection
>       SubSection "Display"
>               Depth     16
>       EndSubSection
>       SubSection "Display"
>               Depth     24
>       EndSubSection
> EndSection
> Section "DRI"
>       mode 0666
> EndSection
> 
> 
> 
> why I recompiled the kernel with Pentium 4 support? because I was
> using i386 and it gave me errors about cmpxchg
> 
> Notes:
> I recmopiled the kernel with drm being built-in the kernel and still
> same problem!
> 
> Thank you in advance.
> 
> 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to