Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems installing ati-drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nexe
n00b
n00b


Joined: 04 Oct 2003
Posts: 4

PostPosted: Mon Jul 24, 2006 8:01 am    Post subject: problems installing ati-drivers Reply with quote

I just purchased a Radeon X1600, my old videocard was some onboard thingy

I have tried to emerge the ati-drivers-8.25.18

and i get this error

Code:

localhost ati-drivers # emerge -av =ati-drivers-8.25.18

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-drivers/ati-drivers-8.25.18  USE="opengl" 29,773 kB

Total size of downloads: 29,773 kB

Would you like to merge these packages? [Yes/No] Yes
>>> Emerging (1 of 1) x11-drivers/ati-drivers-8.25.18 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/ati-driver-installer-8.25.18-x86_64.run
--17:41:08--  http://distfiles.gentoo.org/distfiles/ati-driver-installer-8.25.18-x86_64.run
           => `/usr/portage/distfiles/ati-driver-installer-8.25.18-x86_64.run'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 156.56.247.195, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30,487,934 (29M) [text/plain]

100%[======================================================================================================>] 30,487,934    50.89K/s    ETA 00:00

17:51:18 (49.97 KB/s) - `/usr/portage/distfiles/ati-driver-installer-8.25.18-x86_64.run' saved [30487934/30487934]

>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking ati-driver-installer-8.25.18-x86_64.run ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16-gentoo-r7
 * Checking for MTRR support enabled ...                                                                                                    [ ok ]
 * Checking for AGP support enabled ...                                                                                                     [ ok ]
 * Checking for DRM support disabled ...                                                                                                    [ !! ]
 * You have DRM support enabled builtin, the direct rendering
* will not work.
 * X11 implementation is xorg-x11.
>>> Unpacking source...
 * Unpacking Ati drivers ...                                                                                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ati-drivers-8.25.18 ...
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'

  WARNING: Symbol version dump /usr/src/linux-2.6.16-gentoo-r7/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_put_user_ptr':
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1246: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1246: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1246: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1246: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_unregister_ioctl32_conversion':
/var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2406: warning: `return' with a value, in function returning void
  LD [M]  /var/tmp/portage/ati-drivers-8.25.18/work/common/lib/modules/fglrx/build_mod/fglrx.o
  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
 * DRM module not built
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.25.18

>>> Install ati-drivers-8.25.18 into /var/tmp/portage/ati-drivers-8.25.18/image/ category x11-drivers
 * Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory

!!! ERROR: x11-drivers/ati-drivers-8.25.18 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  ati-drivers-8.25.18.ebuild, line 187:   Called linux-mod_src_install
  linux-mod.eclass, line 543:   Called die

!!! doins fglrx.ko failed


It appears to be because DRM is builtin to the kernel. but i cannot find DRM in genkernel --menuconfig all
Back to top
View user's profile Send private message
Ast0r
Guru
Guru


Joined: 11 Apr 2006
Posts: 404
Location: Dallas, Tx - USA

PostPosted: Mon Jul 24, 2006 8:17 am    Post subject: Reply with quote

The first thing that you need to do is disable DRM in your kernel.

Device Drivers -> Character Devices -> Direct Rendering Manager (DRM)

Either compile it as a module or remove it completely. Then recompile your kernel and install in boot. Boot the new kernel and try again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum