bash-2.05a# cat /proc/ksyms | grep rwsem
c027cd60 init_rwsem

Is the problem, see rwsem_down_write_failed is not in the list.  That is what
insmod is trying to say.  So I would gess your just not booting the right
kernel, or rwsem is not getting compiled in.  depmod takes only one paramiter
"-a" and it builds the module data base of what modules have to be loaded
befour the one you later pass to modprob.  I hope this helps.

--- Digital Net Assassin <[EMAIL PROTECTED]> wrote:
> Hi, yes sure i rebooted after running lilo and made sure everything got 
> compiled :), well, take a look at this:
> 
> 
> bash-2.05a# nm rwsem.o
> 00000000 ? __kstrtab_rwsem_down_read_failed
> 00000017 ? __kstrtab_rwsem_down_write_failed
> 0000002f ? __kstrtab_rwsem_wake
> 00000000 ? __ksymtab_rwsem_down_read_failed
> 00000008 ? __ksymtab_rwsem_down_write_failed
> 00000010 ? __ksymtab_rwsem_wake
> 00000000 t gcc2_compiled.
> 00000000 T rwsem_down_read_failed
> 00000118 T rwsem_down_write_failed
> 00000238 T rwsem_wake
>          U schedule
>          U wake_up_process
> 
> bash-2.05a# cat /proc/ksyms | grep rwsem
> c027cd60 init_rwsem
> 
> and i got no idea what those means!, please keep in mind that i don't know 
> C, so you are telling me i should depmod -a radeon.o and it will work?
> 
> >From: Mike Mestnik <[EMAIL PROTECTED]>
> >To: Digital Net Assassin <[EMAIL PROTECTED]>
> >Subject: Re: [Dri-users] ATI RADEON 7500 DRI Drivers won't work! V2
> >Date: Sat, 29 Jun 2002 15:12:49 -0700 (PDT)
> >MIME-Version: 1.0
> >Received: from web11902.mail.yahoo.com ([216.136.172.186]) by hotmail.com 
> >with Microsoft SMTPSVC(5.0.2195.4905); Sat, 29 Jun 2002 15:11:16 -0700
> >Received: from [24.118.148.185] by web11902.mail.yahoo.com via HTTP; Sat, 
> >29 Jun 2002 15:12:49 PDT
> >Message-ID: <[EMAIL PROTECTED]>
> >In-Reply-To: <[EMAIL PROTECTED]>
> >Return-Path: [EMAIL PROTECTED]
> >X-OriginalArrivalTime: 29 Jun 2002 22:11:16.0937 (UTC) 
> >FILETIME=[E3B31390:01C21FB9]
> >
> >You can use the nm command to find ought what symbols are in a binary, and
> >/proc/ksyms to see what the kernel has.
> >
> >This could be because you need to run a "depmod -a", however rwsem should 
> >realy
> >be compiled in.  I'm assuming you rebooted after running lilo, ect?
> >
> >This is what I get.
> >
> >kernel-source-2.4.18/lib# nm rwsem.o
> >00000000 ? __kstrtab_rwsem_down_read_failed
> >00000017 ? __kstrtab_rwsem_down_write_failed
> >0000002f ? __kstrtab_rwsem_wake
> >00000000 ? __ksymtab_rwsem_down_read_failed
> >00000008 ? __ksymtab_rwsem_down_write_failed
> >00000010 ? __ksymtab_rwsem_wake
> >00000000 T rwsem_down_read_failed
> >00000140 T rwsem_down_write_failed
> >00000280 T rwsem_wake
> >          U schedule
> >          U wake_up_process
> >
> ># cat /proc/ksyms | grep rwsem
> >c01d3730 rwsem_down_read_failed
> >c01d3870 rwsem_down_write_failed
> >c01d39b0 rwsem_wake
> >
> >--- Digital Net Assassin <[EMAIL PROTECTED]> wrote:
> > > Hello again, I edited the ~/linux/.config file again, and did as you 
> >said:
> > >
> > > #
> > > # Processor type and features
> > > #
> > > CONFIG_M386=y
> > > CONFIG_RWSEM_GENERIC_SPINLOCK=y
> > > # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
> > >
> > > and I recompiled the kernel again, after trying to install the
> > > radeon-20020629-linux.i386.tar.bz2 I got some errors too! here's the 
> >dri.log
> > > file:
> > >
> > > 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
> > >
> > >
> > >
> > > note that I patched the 2.4.18 kernel with the latest RC1 patch, also i
> > > tried to install the drivers from http://gatos.sf.net/ and
> > > http://www.tungstengraphics.com/, still same problems! also I would like 
> >to
> > > know why this driver won't compile on CONFIG_MPENTIUM4=y ? is this a 
> >bug?
> > > Thank you in advance :>
> > >
> > >
> > > >From: Mike Mestnik <[EMAIL PROTECTED]>
> > > >To: Digital Net Assassin <[EMAIL PROTECTED]>
> > > >CC: "lists.sourceforge.net dri-users" 
> ><[EMAIL PROTECTED]>,
> > > >"lists.sourceforge.net dri-devel" <[EMAIL PROTECTED]>
> > > >Subject: Re: [Dri-users] ATI RADEON 7500 DRI Drivers won't work! V2
> > > >Date: Sat, 29 Jun 2002 10:18:37 -0700 (PDT)
> > > >MIME-Version: 1.0
> > > >Received: from [216.136.172.192] by hotmail.com (3.2) with ESMTP id
> > > >MHotMailBEE736ED0009400431D3D888ACC00FA10; Sat, 29 Jun 2002 10:18:37 
> >-0700
> > > >Received: from [24.118.148.185] by web11908.mail.yahoo.com via HTTP; 
> >Sat,
> > > >29 Jun 2002 10:18:37 PDT
> > > >From [EMAIL PROTECTED] Sat, 29 Jun 2002 10:18:59 -0700
> > > >Message-ID: <[EMAIL PROTECTED]>
> > > >In-Reply-To: <[EMAIL PROTECTED]>
> > > >
> > > >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
> > > > >
> 
=== 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