1 |
Duncan wrote: |
2 |
> "John P. Burkett" <burkett@×××.edu> posted 4A2EE4C1.8000704@×××.edu, |
3 |
> excerpted below, on Tue, 09 Jun 2009 18:40:01 -0400: |
4 |
> |
5 |
>> Doing "revdep-rebuild -p" elicited this response: Calculating |
6 |
>> dependencies... done! |
7 |
>> [ebuild R ] sci-libs/blas-atlas-3.8.0 |
8 |
>> [ebuild R ] app-emulation/emul-linux-x86-soundlibs-20080418 |
9 |
>> [ebuild R ] mail-client/evolution-2.24.5 |
10 |
>> [ebuild R ] x11-drivers/ati-drivers-8.552-r2 |
11 |
>> [ebuild R ] sci-libs/lapack-atlas-3.8.0 |
12 |
>> [ebuild R ] dev-lang/R-2.8.1 |
13 |
>> [ebuild R ] sci-mathematics/octave-3.0.3 |
14 |
>> |
15 |
>> That looked o.k., so I did "revdep-rebuild" The first 3 packages seem to |
16 |
>> have been handled fairly successfully. Problems arose with the |
17 |
>> ati-drivers. The final messages from revdep-rebuild read as follows: |
18 |
>>>>> Emerging (4 of 7) x11-drivers/ati-drivers-8.552-r2 |
19 |
>> * ati-driver-installer-8-11-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) |
20 |
>> ... [ ok ] |
21 |
>> * checking ebuild checksums ;-) ... [ |
22 |
>> ok ] |
23 |
>> * checking auxfile checksums ;-) ... [ |
24 |
>> ok ] |
25 |
>> * checking miscfile checksums ;-) ... [ |
26 |
>> ok ] |
27 |
>> * Determining the location of the kernel source code |
28 |
>> * Found kernel source directory: |
29 |
>> * /usr/src/linux |
30 |
>> * Could not find a Makefile in the kernel source directory. |
31 |
>> * Please ensure that /usr/src/linux points to a complete set of Linux |
32 |
>> sources |
33 |
>> * |
34 |
>> * ERROR: x11-drivers/ati-drivers-8.552-r2 failed. |
35 |
> |
36 |
> As Josh says, it probably didn't get beyond this one. |
37 |
> |
38 |
> Drivers like this are a special case for a couple reasons. One is that |
39 |
> parts of them are closed source and simply may not build or work |
40 |
> correctly with the latest stuff. You're at the mercy of the ATI folks |
41 |
> for that, but particularly with the latest xorg, they may have issues, |
42 |
> and stabling xorg gets routinely delayed because neither ATI nor nVidia |
43 |
> have caught up yet. FWIW I won't run closed source, nor could I even if |
44 |
> I wanted, since I cannot and will not agree to the license they try to |
45 |
> enforce. Yes, that does limit my hardware choices a bit, but not as much |
46 |
> now that AMD/ATI is cooperating a bit better with the open source world. |
47 |
> But to each his own. |
48 |
Thank you, Duncan. I share your preference for open source programs. |
49 |
I'm not sure how the ati-drivers got on my machine or what they were |
50 |
doing. If my system functions without them, I'm happy to be rid of them. |
51 |
|
52 |
> |
53 |
> However, that doesn't seem to be the issue here, which brings us to |
54 |
> reason #2. The ati-drivers include a kernel driver, which must be |
55 |
> compiled against a kernel that has been built so the proper parts of it |
56 |
> are exposed for the drivers to use. The kernel must reside at /usr/src/ |
57 |
> linux. If you look at the error above, it found the directory all right, |
58 |
> but it didn't find what it needed in it. Have you built your kernel |
59 |
> using those sources, with your new gcc, yet? Did you leave the working |
60 |
> files exposed for ati-drivers to use if so, or did you cleanup using make |
61 |
> clean, or something? |
62 |
|
63 |
Going to /usr/src and doing "ls -l" elicits the following: |
64 |
|
65 |
lrwxrwxrwx 1 root root 22 Sep 3 2007 linux -> linux-2.6.22-gentoo-r2 |
66 |
drwxr-xr-x 19 root root 1088 Jun 8 01:16 linux-2.6.22-gentoo-r2 |
67 |
|
68 |
So linux appears to be symbolic link to linux-2.6.22-gentoo-r2 |
69 |
|
70 |
Going to /usr/src/linux-2.6.22-gentoo-r2 and doing "ls -l" produces the |
71 |
following: |
72 |
|
73 |
-rw-r--r-- 1 root root 252456 Sep 4 2007 Module.symvers |
74 |
-rw-r--r-- 1 root root 1418737 Sep 4 2007 System.map |
75 |
drwxr-xr-x 4 root root 96 Jun 8 01:16 arch |
76 |
drwxr-xr-x 2 root root 752 Jun 8 01:16 block |
77 |
drwxr-xr-x 2 root root 6640 Jun 8 01:16 crypto |
78 |
drwxr-xr-x 35 root root 968 Jun 8 01:16 drivers |
79 |
drwxr-xr-x 35 root root 4936 Jun 8 01:16 fs |
80 |
drwxr-xr-x 5 root root 152 Jun 8 01:16 include |
81 |
drwxr-xr-x 2 root root 736 Jun 8 01:16 init |
82 |
drwxr-xr-x 2 root root 680 Jun 8 01:16 ipc |
83 |
drwxr-xr-x 5 root root 3832 Jun 8 01:16 kernel |
84 |
drwxr-xr-x 4 root root 4512 Jun 8 01:16 lib |
85 |
drwxr-xr-x 2 root root 2616 Jun 8 01:16 mm |
86 |
drwxr-xr-x 23 root root 856 Jun 8 01:16 net |
87 |
drwxr-xr-x 6 root root 320 Jun 8 01:16 scripts |
88 |
drwxr-xr-x 2 root root 208 Jun 8 01:16 security |
89 |
drwxr-xr-x 16 root root 904 Jun 8 01:16 sound |
90 |
drwxr-xr-x 2 root root 424 Jun 8 01:16 usr |
91 |
-rwxr-xr-x 1 root root 9388791 Sep 4 2007 vmlinux |
92 |
|
93 |
The June 8 date is a surprise to me because I did not intentionally do |
94 |
anything to this directory then. |
95 |
|
96 |
> |
97 |
> My guess is that you need to build your kernel with the new gcc, and then |
98 |
> ati-drivers will hopefully compile. |
99 |
Is there anyway to tell whether the kernel is built with the new gcc? |
100 |
|
101 |
At this point should I make another attempt at doing "emerge --emptytree |
102 |
world"? Yesterday when I tried that, the response started with |
103 |
914 packages are being emerged! |
104 |
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc' |
105 |
make: *** [adler32.o] Error 1 |
106 |
|
107 |
With gcc now fixed, that error could presumably be avoided. Doing |
108 |
"emerge --pretend --emptytree" produces a list of about 915 packages, |
109 |
starting with |
110 |
[ebuild R ] sys-apps/portage-2.1.6.13 |
111 |
and ending with |
112 |
[ebuild R ] app-portage/genlop-0.30.8-r2 |
113 |
|
114 |
Thanks again for your continued help! |
115 |
|
116 |
-John |
117 |
|
118 |
|
119 |
|
120 |
-- |
121 |
John P. Burkett |
122 |
Department of Economics |
123 |
University of Rhode Island |
124 |
Kingston, RI 02881-0808 |
125 |
USA |
126 |
|
127 |
phone (401) 874-9195 |