View previous topic :: View next topic |
Author |
Message |
sofachillax n00b


Joined: 01 Feb 2005 Posts: 70
|
|
Back to top |
|
 |
dritan Apprentice


Joined: 01 Feb 2006 Posts: 210 Location: New York
|
Posted: Sun Apr 22, 2007 4:22 am Post subject: |
|
|
it looks like there is something wrong with the source code from ATI, have you tried deleting the distfile and re-downloading it? or maybe try an older stable version? or a newer masked one? _________________ Regards,
Dritan
Please try to help answer the unanswered |
|
Back to top |
|
 |
qubix Tux's lil' helper


Joined: 22 Sep 2003 Posts: 146 Location: Warsaw/Poland
|
Posted: Sun Apr 22, 2007 10:17 pm Post subject: |
|
|
I'm trying to emerge x11-drivers/ati-drivers-8.35.5 so it's the newest ebuild in portage
I've already tried switching GCC, no results. Kernel 2.6.20-gentoo-r6
Code: |
...
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4855: warning: 'flags' might be used uninitialize
d in this function
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4996: warning: `kmem_cache_t' is deprecated (decl
ared at include/linux/slab.h:17)
LD [M] /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'paravirt_ops'
make[2]: *** [__modpost] B³±d 1
make[1]: *** [modules] B³±d 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.20-gentoo-r6'
make: *** [kmod_build] B³±d 2
!!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4067: Called src_compile
ati-drivers-8.35.5.ebuild, line 173: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make GCC_VER_MAJ=3 KVER=2.6.20-gentoo-r6 KDIR=/usr/src/linux kmod_build.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/temp/build.log'.
|
_________________ qubix |
|
Back to top |
|
 |
JCBIgler n00b

Joined: 07 Aug 2004 Posts: 41
|
Posted: Mon Apr 30, 2007 12:04 am Post subject: |
|
|
Any fix for this yet? I'm trying to get a new laptop set up and have the exact same error as posted above.
Kernel version 2.6.20-gentoo-r7, on AMD64 with ATI-Drivers version 8.32.5 |
|
Back to top |
|
 |
sofachillax n00b


Joined: 01 Feb 2005 Posts: 70
|
Posted: Mon Apr 30, 2007 3:36 am Post subject: |
|
|
it seems to be related with the kernel config since changing it somehow made it work for me. unfortunately i did not manage to get the emerged drivers to run yet. |
|
Back to top |
|
 |
JCBIgler n00b

Joined: 07 Aug 2004 Posts: 41
|
Posted: Mon Apr 30, 2007 3:53 am Post subject: |
|
|
what did you change in your kernel config to make it work? |
|
Back to top |
|
 |
mfocker n00b

Joined: 20 Sep 2005 Posts: 41 Location: Sweden
|
Posted: Mon Apr 30, 2007 1:02 pm Post subject: |
|
|
As this post suggests, one can patch the kernel sources to make ati-drivers-8.32.5 to compile. Here is how I did it on my notebook:
First, emerge the sources, of course. Then, navigate to the source base directory:
Now, create the diff-file (this is for amd64-based computers):
Code: | diff -pu linux-2.6.19-gentoo-r5/include/asm-x86_64/unistd.h \
linux-2.6.20-gentoo-r7/include/asm-x86_64/unistd.h > /tmp/ati.patch |
Navigate in to the new kernel sources directory:
Code: | cd linux-2.6.20-gentoo-r7 |
and patch the source with:
Code: | patch -p1 -R < /tmp/ati.patch |
Compile and install the patched kernel, as usual. And the ati-drivers-8.32.5 should now emerge correct.
It is a workaround, I know, but the new ati-drivers-8.35.5, which compiles fine with newer sources, doesn't work properly on my system, so...  _________________ AMD Opteron 165, Gentoo Linux x86_64 |
|
Back to top |
|
 |
inode77 Veteran


Joined: 20 Jan 2004 Posts: 1303 Location: Heart of Europe
|
Posted: Mon Apr 30, 2007 1:53 pm Post subject: |
|
|
Remove "Paravirutalization support" (since 2.6.20) under "Processor types and features" and you'll be able to compile ati-drivers against your new (>= 2.6.20) Kernel without problems. |
|
Back to top |
|
 |
JCBIgler n00b

Joined: 07 Aug 2004 Posts: 41
|
Posted: Mon Apr 30, 2007 10:00 pm Post subject: |
|
|
Well, I couldn't find that "Paravirutalization support" section in the kernel config utility.
So, I just downloaded the drivers from the ATI website, and installed them without Portage. They installed fine, and HW acceleration is now working, and my screen looks good and isn't all blurry now.
I followed the instructions on This Page (minus the "emerge ati-drivers..."). |
|
Back to top |
|
 |
sofachillax n00b


Joined: 01 Feb 2005 Posts: 70
|
Posted: Tue May 01, 2007 4:40 am Post subject: |
|
|
JCBIgler wrote: | what did you change in your kernel config to make it work? |
i started over with a clean config so i cant tell you what made it work. |
|
Back to top |
|
 |
reokan n00b

Joined: 08 Sep 2006 Posts: 10
|
Posted: Tue May 01, 2007 6:36 pm Post subject: |
|
|
inode77 wrote: | Remove "Paravirutalization support" (since 2.6.20) under "Processor types and features" and you'll be able to compile ati-drivers against your new (>= 2.6.20) Kernel without problems. |
I'm having the same problem with the 8.32.5 ati drivers, and i compiled the 2.6.20-r7 without the experimental Paravirutalization support, still no go . |
|
Back to top |
|
 |
sofachillax n00b


Joined: 01 Feb 2005 Posts: 70
|
Posted: Tue May 01, 2007 11:35 pm Post subject: |
|
|
i had the same problem again, unmasking the latest drivers solved it for me, but unfortunately i cant get those to run after emerge. |
|
Back to top |
|
 |
JCBIgler n00b

Joined: 07 Aug 2004 Posts: 41
|
Posted: Wed May 02, 2007 2:47 am Post subject: A followup |
|
|
Well, it seems that all is not peachy-keen.
Even though my drivers seem to be working, and my GUI (Fluxbox) looks nice and everything starts up properly, when I exit Fluxbox, my screen does not drop out to the standard text based console.
Instead it goes blank, and then flashes, and then spits out vertical lines every few seconds. I have to ctrl-alt-del to reboot and restart. Once I restart, the console starts up fine, until I restart Fluxbox and then exit it again.
Any ideas on this one? |
|
Back to top |
|
 |
|