--- Ryan Sims <[EMAIL PROTECTED]> wrote:

> On 8/23/05, Mark Knecht <[EMAIL PROTECTED]>
> wrote:
> > Hi Maxim,
> >    An AGP support issue probably. Which kernel are
> you using?
> 
> I found that running with a 2.6.12 kernel gave me
> this error;
> downgrading to 2.6.11 fixed it.  here's a relevant
> forum topic:

Actually, I *was* using 2.6.11. Now I've compiled the
2.6.12 and re-emerged ati-drivers-8.12.10(Why so
out-dated, I just did a -uD world a few days ago?). It
seems to work OK but it fails to produce fglrx.ko. 

A look at the log reaveals all sorts of errors:

 * Switching to ati OpenGL interface ...
>>> Regenerating /etc/ld.so.cache...
  [ ok ]

 * To switch to ATI OpenGL, run
"opengl-update ati"
 * To change your XF86Config you can use
the bundled "fglrxconfig"

 * ***
 * If you are experiencing problems with
memory allocation try to add
 * this line to in your X11 configuration
file:
 *          Option "KernelModuleParm" 
"agplock=0" 
 * That should solve the hangups you could
have with Neverwinter Nights
 * ***
 * Determining the location of the kernel
source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12-gentoo-r6
 * Checking for MTRR support enabled ...
  [ ok ]
 * Checking for AGP support enabled ...
  [ ok ]
 * Checking for DRM support disabled ...
  [ ok ]
 * X11 implementation is xorg-x11.
>>> Unpacking source...
>>> Unpacking fglrx_6_8_0-8.12.10-1.i386.rpm
 * Applying fglrx-2.6-pagetable.patch ...
  [ ok ]
 * Applying 8.8.25-via-amd64.patch ...
  [ ok ]
 * Applying 8.8.25-smp.patch ...
  [ ok ]
>>> Source unpacked.
 * Building the DRM module...
make: Entering directory
`/usr/src/linux-2.6.12-gentoo-r6'
  CC [M] 
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M] 
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC [M] 
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:
In function `agp_find_supported_device':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7150:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7170:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7175:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7201:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7221:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7241:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7246:
error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6542:
warning: unused variable `cap_ptr'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:
At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6523:
warning: `agp_check_supported_device' defined but not
used
make[1]: ***
[/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o]
Error 1
make: ***
[_module_/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod]
Error 2
make: Leaving directory
`/usr/src/linux-2.6.12-gentoo-r6'
 * DRM module not built
>>> Test phase [not enabled]:
media-video/ati-drivers-8.12.10

>>> Install ati-drivers-8.12.10 into
/var/tmp/portage/ati-drivers-8.12.10/image/ category
media-video
install: cannot stat
`/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.ko':
No such file or directory
man:
making executable: /usr/lib/libfglrx_gamma.so.1.0
>>> Completed installing ati-drivers-8.12.10 into
/var/tmp/portage/ati-drivers-8.12.10/image/


> 
>
http://forums.gentoo.org/viewtopic-t-353295-highlight-xf86enomem.html
> 
> Seems that the problem might be resolved with latest
> ati-drivers*  and
> latest gentoo-sources, YMMV, I haven't had the
> chance to play with it
> much lately.

But what's the best way to proceed? emerge seems happy
with the older(?) drivers. Shouldn't it be attempting
a download from somewhere, seeing as how I just did an
emerge sync and emerge -uD world a few days ago(that's
how I came by this 2.6.12 kernel)? 

-maxim



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-- 
gentoo-user@gentoo.org mailing list

Reply via email to