Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ati-drivers
Date: Mon, 03 Sep 2007 01:02:19
Message-Id: 5bdc1c8b0709021749g792960c1lcb840b4a56b6e4c0@mail.gmail.com
In Reply to: [gentoo-user] ati-drivers by james
1 You need to discover with lspci what ATI controller is in the machine
2 and then check which ati-drivers packages support it. After doing that
3 you need to make sure that the ati-drivers package you have chosen
4 matches up with the kernel you are attempting to build/install.
5
6 Basic lesson: Not all ati-driver packages work with all kernels. They
7 come in matched sets over ranges. I don't know of a good single source
8 for the information but the folks on the Phoronix forums have been
9 very helpful to me.
10
11 Hope this helps,
12 Mark
13
14 On 9/2/07, james <wireless@×××××××××××.com> wrote:
15 > Hello,
16 >
17 > Im installing a new dell laptop. Mostly the install has been routine.
18 > I cannot seem to get ati-drivers to install.
19 >
20 > bugs.gentoo.org did not reveal anything useful (not from what I read).
21 >
22 > Here is the error:
23 >
24 > /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
25 > modules/fglrx/build_mod/2.6.x/firegl_public.c:
26 > In function 'KAS_SlabCache_Initialize':
27 > /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
28 > modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
29 > warning: cast from pointer to integer of different size
30 > make[2]: ***
31 > [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
32 > modules/fglrx/build_mod/2.6.x/firegl_public.o]
33 > Error 1
34 > make[1]: ***
35 > [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
36 > common/lib/modules/fglrx/build_mod/2.6.x]
37 > Error 2
38 > make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
39 > make: *** [kmod_build] Error 2
40 >
41 > !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
42 > Call stack:
43 > ebuild.sh, line 1638: Called dyn_compile
44 > ebuild.sh, line 985: Called qa_call 'src_compile'
45 > ebuild.sh, line 44: Called src_compile
46 > ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile
47 > linux-mod.eclass, line 516: Called die
48 >
49 > !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
50 > kmod_build.
51 >
52 >
53 >
54 > so I thought I'd just add an entry to /etc/portage/package.keywords and try
55 > another version (8.39.4) that works fine on another system.
56 >
57 > On the del laptop I cannot get the system to try another ati-drivers version,
58 > despite addiing this to the /etc/portagae/package.keywords file:
59 > x11-drivers/ati-drivers ~amd64
60 >
61 > Identical to what I have on other systems. I lookedin /usr/portage/distfiles
62 > and only found this ati file on the portable:
63 > ati-driver-installer-8.35.5-x86.x86_64.run
64 >
65 > so I downloaded the other files from a similar amd 64 system where I use
66 > ati-drivers:
67 > ati-driver-installer-8.27.10-x86_64.run
68 > ati-driver-installer-8.30.3.run
69 > ati-driver-installer-8.32.5-x86.x86_64.run
70 > ati-driver-installer-8.33.6-x86.x86_64.run
71 > ati-driver-installer-8.34.8-x86.x86_64.run
72 > ati-driver-installer-8.36.5-x86.x86_64.run
73 > ati-driver-installer-8.37.6-x86.x86_64.run
74 > ati-driver-installer-8.39.4-x86.x86_64.run
75 > ati-driver-installer-8.40.4-x86.x86_64.run
76 >
77 >
78 > Still I compiling ati-drivers-8.36.5 fails and I cannot even get the
79 > dell laptop to try another version of ati-drivers. I recompiled gcc,
80 > just for grins. Did nothing to help (4.1.2).
81 >
82 > revdep-rebuild comes back clean. Since it is a new install, I mostly
83 > missed something, xorg-x11 is there. No clue.
84 >
85 > Ideas?
86 >
87 >
88 > James
89 >
90 >
91 >
92 >
93 >
94 > --
95 > gentoo-user@g.o mailing list
96 >
97 >
98 --
99 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: ati-drivers James <wireless@×××××××××××.com>