Gentoo Archives: gentoo-user

From: Andrey Vul <andrey.vul@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [X11] radeonhd not working
Date: Sat, 20 Feb 2010 17:11:03
Message-Id: e38d12ff1002200910h4b8d253bqb1d44723fdc09d40@mail.gmail.com
In Reply to: Re: [gentoo-user] [X11] radeonhd not working by Adam
1 On Sat, Feb 20, 2010 at 03:43, Adam <adam@××××××××××.au> wrote:
2 >> I get the following error lines in the console:
3 >> FATAL: Module radeon not found.
4 >> (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen("radeon",
5 >> "pci:0000:05:05.0") failed.
6 >>
7 >> [ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
8 >> again with default timings.
9 >>
10 >> Radeon DRI is compiled into the kernel.
11 >> What do I do now?
12 >
13 > Probably emerge xf86-video-radeonhd?
14 >
15
16 It was emerged with no errors.
17
18 Build.log:
19 Script started on Sat Feb 20 09:42:53 2010
20 robot9000 ~ # emerge --color n -1 xf86-video-radeonhd
21 Calculating dependencies ... done!
22
23 >>> Verifying ebuild manifests
24
25
26 >>> Emerging (1 of 1) x11-drivers/xf86-video-radeonhd-1.3.0
27
28 * xf86-video-radeonhd-1.3.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
29
30 [ ok ]
31 * checking ebuild checksums ;-) ...
32
33 [ ok ]
34 * checking auxfile checksums ;-) ...
35
36 [ ok ]
37 * checking miscfile checksums ;-) ...
38
39 [ ok ]
40 * CPV: x11-drivers/xf86-video-radeonhd-1.3.0
41 * REPO: gentoo
42 * USE: elibc_glibc kernel_linux userland_GNU x86
43 >>> Unpacking source...
44 >>> Unpacking xf86-video-radeonhd-1.3.0.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
45 * Running elibtoolize in: xf86-video-radeonhd-1.3.0
46 * Applying portage-2.2.patch ...
47 * Applying sed-1.5.6.patch ...
48 * Applying as-needed-2.2.6.patch ...
49 >>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
50 >>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work/xf86-video-radeonhd-1.3.0 ...
51 * econf: updating xf86-video-radeonhd-1.3.0/config.guess with
52 /usr/share/gnuconfig/config.guess
53 * econf: updating xf86-video-radeonhd-1.3.0/config.sub with
54 /usr/share/gnuconfig/config.sub
55 ./configure --prefix=/usr --build=i686-pc-linux-gnu
56 --host=i686-pc-linux-gnu --mandir=/usr/share/man
57 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
58 --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
59 checking for a BSD-compatible install... /usr/bin/install -c
60 checking whether build environment is sane... yes
61 checking for a thread-safe mkdir -p... /bin/mkdir -p
62 checking for gawk... gawk
63 checking whether make sets $(MAKE)... yes
64 checking whether to enable maintainer-specific portions of Makefiles... no
65 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
66 checking for C compiler default output file name... a.out
67 checking whether the C compiler works... yes
68 checking whether we are cross compiling... no
69 checking for suffix of executables...
70 checking for suffix of object files... o
71 checking whether we are using the GNU C compiler... yes
72 checking whether i686-pc-linux-gnu-gcc accepts -g... yes
73 checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
74 checking for style of include used by make... GNU
75 checking dependency style of i686-pc-linux-gnu-gcc... gcc3
76 checking for a sed that does not truncate output... /bin/sed
77 checking whether /bin/sed can substitute tabs and newlines for text... yes
78 checking build system type... i686-pc-linux-gnu
79 checking host system type... i686-pc-linux-gnu
80 checking for a sed that does not truncate output... (cached) /bin/sed
81 checking for grep that handles long lines and -e... /bin/grep
82 checking for egrep... /bin/grep -E
83 checking for fgrep... /bin/grep -F
84 checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
85 checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
86 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
87 checking the name lister (/usr/bin/nm -B) interface... BSD nm
88 checking whether ln -s works... yes
89 checking the maximum length of command line arguments... 1572864
90 checking whether the shell understands some XSI constructs... yes
91 checking whether the shell understands "+="... yes
92 checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
93 checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
94 checking how to recognize dependent libraries... pass_all
95 checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
96 checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
97 checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
98 checking command to parse /usr/bin/nm -B output from
99 i686-pc-linux-gnu-gcc object... ok
100 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
101 checking for ANSI C header files... yes
102 checking for sys/types.h... yes
103 checking for sys/stat.h... yes
104 checking for stdlib.h... yes
105 checking for string.h... yes
106 checking for memory.h... yes
107 checking for strings.h... yes
108 checking for inttypes.h... yes
109 checking for stdint.h... yes
110 checking for unistd.h... yes
111 checking for dlfcn.h... yes
112 checking for objdir... .libs
113 checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
114 checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
115 checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
116 checking if i686-pc-linux-gnu-gcc static flag -static works... yes
117 checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
118 checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
119 checking whether the i686-pc-linux-gnu-gcc linker
120 (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
121 checking whether -lc should be explicitly linked in... no
122 checking dynamic linker characteristics... GNU/Linux ld.so
123 checking how to hardcode library paths into programs... immediate
124 checking whether stripping libraries is possible... yes
125 checking if libtool supports shared libraries... yes
126 checking whether to build shared libraries... yes
127 checking whether to build static libraries... no
128 checking if RANDR is defined... yes
129 checking if RENDER is defined... yes
130 checking if XV is defined... yes
131 checking if DPMSExtension is defined... yes
132 checking for i686-pc-linux-gnu-pkg-config... no
133 checking for pkg-config... /usr/bin/pkg-config
134 checking pkg-config is at least version 0.9.0... yes
135 checking for XORG... yes
136 checking for XEXT... yes
137 checking for ANSI C header files... (cached) yes
138 checking for PCIUTILS... yes
139 checking pci/pci.h usability... yes
140 checking pci/pci.h presence... yes
141 checking for pci/pci.h... yes
142 checking whether XSERVER_LIBPCIACCESS is declared... yes
143 checking for PCIACCESS... yes
144 checking whether to enable EXA support... yes
145 checking exa.h usability... yes
146 checking exa.h presence... yes
147 checking for exa.h... yes
148 checking whether EXA version is at least 2.0.0... yes
149 checking for xf86RandR12.h... yes
150 checking whether to enable RandR1.2 support... yes
151 checking whether XF86DRI is declared... yes
152 checking for DRI... yes
153 checking GL/gl.h usability... yes
154 checking GL/gl.h presence... yes
155 checking for GL/gl.h... yes
156 checking whether to enable DRI support... yes
157 checking for /usr/include/xorg/damage.h... yes
158 checking /usr/include/xorg/xf86_ansic.h usability... no
159 checking /usr/include/xorg/xf86_ansic.h presence... no
160 checking for /usr/include/xorg/xf86_ansic.h... no
161 checking for MonRec.reducedblanking... yes
162 checking for MonRec.maxPixClock... yes
163 checking for xf86CrtcFuncsRec.set_mode_major... yes
164 checking whether xf86RotateFreeShadow is declared... yes
165 checking whether pci_device_enable is declared... yes
166 checking for ./src/AtomBios/includes/atombios.h... yes
167 checking for ./src/AtomBios/includes/Decoder.h... yes
168 checking whether to include AtomBIOS... yes
169 checking whether to include AtomBIOS parser... yes
170 checking for gzopen in -lz... yes
171 checking whether i686-pc-linux-gnu-gcc supports -Wall... yes
172 checking whether i686-pc-linux-gnu-gcc supports -Wextra... yes
173 checking whether i686-pc-linux-gnu-gcc supports -Wno-unused-parameter... yes
174 checking whether i686-pc-linux-gnu-gcc supports
175 -Werror-implicit-function-declaration... yes
176 checking whether i686-pc-linux-gnu-gcc supports -Wstrict-aliasing... yes
177 checking whether i686-pc-linux-gnu-gcc supports -Wstrict-overflow... yes
178 checking whether i686-pc-linux-gnu-gcc supports -Wpointer-arith... yes
179 checking whether i686-pc-linux-gnu-gcc supports -Woverlength-strings... yes
180 checking whether i686-pc-linux-gnu-gcc supports -Wvolatile-register-var... yes
181 checking whether i686-pc-linux-gnu-gcc supports -Winit-self... yes
182 checking whether i686-pc-linux-gnu-gcc supports -Wbad-function-cast... yes
183 checking whether i686-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes
184 checking whether i686-pc-linux-gnu-gcc supports -Wold-style-definition... yes
185 checking whether i686-pc-linux-gnu-gcc supports -Wnested-externs... yes
186 checking whether i686-pc-linux-gnu-gcc supports -Wdisabled-optimization... yes
187 checking whether i686-pc-linux-gnu-gcc supports -Wno-unknown-pragmas... yes
188 checking whether i686-pc-linux-gnu-gcc supports -Wno-long-long... yes
189 checking whether i686-pc-linux-gnu-gcc supports -Wno-variadic-macros... yes
190 checking whether i686-pc-linux-gnu-gcc supports -Wno-unknown-pragmas... yes
191 configure: Doing optimized build, checking for additional options
192 checking whether i686-pc-linux-gnu-gcc supports -finline-functions... yes
193 checking for sed... /bin/sed
194 configure: creating ./config.status
195 config.status: creating shave
196 config.status: creating shave-libtool
197 config.status: creating Makefile
198 config.status: creating man/Makefile
199 config.status: creating src/Makefile
200 config.status: creating utils/conntest/Makefile
201 config.status: creating config.h
202 config.status: executing depfiles commands
203 config.status: executing libtool commands
204 make -j3
205 Making all in src
206 git_version.sh: Not a git repo, keeping existing git_version.h
207 CC r5xx_xaa.o
208 CC r600_shader.o
209 CC r5xx_accel.o
210 CC radeon_3d.o
211 CC rhd_atombios.o
212 CC radeon_textured_videofuncs.o
213 CC rhd_atomcrtc.o
214 CC rhd_atomout.o
215 CC rhd_atompll.o
216 CC rhd_audio.o
217 CC rhd_biosscratch.o
218 CC rhd_connector.o
219 CC rhd_crtc.o
220 CC rhd_cs.o
221 CC rhd_cursor.o
222 CC rhd_dac.o
223 CC rhd_ddia.o
224 CC rhd_dig.o
225 CC rhd_driver.o
226 rhd_driver.c: In function 'rhdGetCardType':
227 rhd_driver.c:3068: warning: passing argument 2 of
228 'pci_device_cfg_read_u32' from incompatible pointer type
229 /usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
230 is of type 'CARD32 *'
231 rhd_driver.c:3076: warning: passing argument 2 of
232 'pci_device_cfg_read_u32' from incompatible pointer type
233 /usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
234 is of type 'CARD32 *'
235 rhd_driver.c:3084: warning: passing argument 2 of
236 'pci_device_cfg_read_u32' from incompatible pointer type
237 /usr/include/pciaccess.h:153: note: expected 'uint32_t *' but argument
238 is of type 'CARD32 *'
239 CC rhd_edid.o
240 CC rhd_hdmi.o
241 CC rhd_helper.o
242 CC rhd_i2c.o
243 CC rhd_id.o
244 CC rhd_lut.o
245 CC rhd_lvtma.o
246 CC rhd_mc.o
247 CC rhd_monitor.o
248 CC rhd_modes.o
249 CC rhd_output.o
250 CC rhd_pm.o
251 CC rhd_pll.o
252 CC rhd_randr.o
253 CC rhd_shadow.o
254 CC rhd_tmds.o
255 CC rhd_video.o
256 CC rhd_vga.o
257 CC r5xx_exa.o
258 CC rhd_acpi.o
259 CC rhd_dri.o
260 CC radeon_exa_render.o
261 CC r6xx_accel.o
262 CC r600_exa.o
263 CC r600_textured_videofuncs.o
264 CC CD_Operations.o
265 CC rhd_atomwrapper.o
266 CC hwserv_drv.o
267 CC Decoder.o
268 AtomBios/Decoder.c: In function 'ParseTable':
269 AtomBios/Decoder.c:139: warning: cast from pointer to integer of different size
270 LINK libatom.la
271 LINK radeonhd_drv.la
272 Making all in man
273 Making all in utils/conntest
274 git_version.sh: Not a git repo, keeping existing git_version.h
275 CC rhd_conntest.o
276 CC rhd_dump.o
277 LINK rhd_dump
278 LINK rhd_conntest
279 >>> Source compiled.
280 >>> Test phase [not enabled]: x11-drivers/xf86-video-radeonhd-1.3.0
281
282 >>> Install xf86-video-radeonhd-1.3.0 into /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image/ category x11-drivers
283 Making install in src
284 git_version.sh: Not a git repo, keeping existing git_version.h
285 /bin/sh /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work/xf86-video-radeonhd-1.3.0/./shave-libtool
286 '/bin/sh ../libtool' --mode=install /usr/bin/install -c
287 'radeonhd_drv.la'
288 '/var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image//usr/lib/xorg/modules/drivers/radeonhd_drv.la'
289
290 libtool: install: warning: remember to run `libtool --finish
291 /usr/lib/xorg/modules/drivers'
292 Making install in man
293 /usr/bin/install -c -m 644 'radeonhd.4'
294 '/var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image//usr/share/man/man4/radeonhd.4'
295 Making install in utils/conntest
296 git_version.sh: Not a git repo, keeping existing git_version.h
297 >>> Completed installing xf86-video-radeonhd-1.3.0 into /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/image/
298
299 strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
300 usr/bin/rhd_conntest
301 usr/bin/rhd_dump
302 usr/lib/xorg/modules/drivers/radeonhd_drv.so
303 ecompressdir: bzip2 -9 /usr/share/man
304
305 >>> Installing (1 of 1) x11-drivers/xf86-video-radeonhd-1.3.0
306
307 * You will need dri from either a 2.6.30 kernel or x11-drm via git.
308 * See http://wiki.x.org/wiki/radeonhd for details
309
310 * Messages for package x11-drivers/xf86-video-radeonhd-1.3.0:
311
312 * You will need dri from either a 2.6.30 kernel or x11-drm via git.
313 * See http://wiki.x.org/wiki/radeonhd for details
314 >>> Auto-cleaning packages...
315
316 >>> No outdated packages were found on your system.
317
318 * GNU info directory index is up-to-date.
319 robot9000 ~ #exit
320 exit
321
322 Script done on Sat Feb 20 09:43:50 2010
323
324
325 Running rhd_conntest on the PCI ID of the graphics chip (01:05.00)
326 gives this error: Unknown device 0x1002:0x9710 (01:05.00).

Replies

Subject Author
Re: [gentoo-user] [X11] radeonhd not working Andrey Vul <andrey.vul@×××××.com>