<br><br><div class="gmail_quote">On Fri, May 1, 2009 at 9:17 AM, Patrick Matthäi <span dir="ltr">&lt;<a href="mailto:pmatthaei@debian.org">pmatthaei@debian.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Mark schrieb:<br>
<div class="im">&gt; For some reason, I have not (yet) succeeded in building the kernel<br>
&gt; module for fglrx.  Without that, and with the diversions that other<br>
&gt; fglrx-* packages apply (libGL and libdri?), X is unusable.  I get a<br>
&gt; black screen; the monitor does not go into powersaving mode.  Ctrl-Alt-<br>
&gt; combinations ( -Del, -Backspace, -F1, -F2, ...) do not work.  I am<br>
&gt; forced to press the reset button, and the Xorg log contains nothing<br>
&gt; incriminating.<br>
<br>
</div>Yes this is the case with some chipcards.<br>
But what version of fglrx you are tried out and which ATI/AMD card do<br>
you have?</blockquote><div> </div><div>The latest - 9-4-1<br>Hw is Radeon HD 4670<br> <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">&gt;<br>
&gt; I compiled kernel 2.6.29 myself.  I suspect that fglrx-source&#39;s failure<br>
&gt; to build either has to do with the kernel version or where/how I built<br>
&gt; the kernel - I do not believe it is a bug in the package.<br>
<br>
</div>If you are using 1:9-4-1, 2.6.29 is the only supported Kernel atm.<br>
What says the build-log of m-a a-i fglrx?</blockquote><div><br>/usr/bin/make  -f debian/rules clean<br>make[1]: Entering directory `/usr/src/modules/fglrx&#39;<br>dh_testroot<br>rm -f configure-stamp<br>rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a<br>
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd<br>rm -rf .tmp_versions<br>rm -rf patch<br>dh_clean<br>make[1]: Leaving directory `/usr/src/modules/fglrx&#39;<br>/usr/bin/make  -f debian/rules binary_modules<br>make[1]: Entering directory `/usr/src/modules/fglrx&#39;<br>
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \<br>        cat /usr/src/modules/fglrx/debian/control.template &gt; /usr/src/modules/fglrx/debian/control; \<br>    fi<br>dh_testdir<br>touch configure-stamp<br>
dh_testdir<br>/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules<br>make[2]: Entering directory `/opt/src/kernel/build-2.6.29&#39;<br>/usr/bin/make -C /opt/src/linux-2.6.29 O=/opt/src/kernel/build-2.6.29/. modules<br>
  CC [M]  /usr/src/modules/fglrx/firegl_public.o<br>/usr/src/modules/fglrx/firegl_public.c: In function &#39;KCL_GetEffectiveUid&#39;:<br>/usr/src/modules/fglrx/firegl_public.c:1407: error: &#39;struct task_struct&#39; has no member named &#39;euid&#39;<br>
/usr/src/modules/fglrx/firegl_public.c: In function &#39;KCL_PosixSecurityCapSetIPCLock&#39;:<br>/usr/src/modules/fglrx/firegl_public.c:1781: error: &#39;struct task_struct&#39; has no member named &#39;cap_effective&#39;<br>
/usr/src/modules/fglrx/firegl_public.c:1785: error: &#39;struct task_struct&#39; has no member named &#39;cap_effective&#39;<br>/usr/src/modules/fglrx/firegl_public.c: In function &#39;KCL_MEM_VM_GetRegionPhysAddrStr&#39;:<br>
/usr/src/modules/fglrx/firegl_public.c:3225: warning: return makes pointer from integer without a cast<br>/usr/src/modules/fglrx/firegl_public.c:3226: warning: return makes pointer from integer without a cast<br>/usr/src/modules/fglrx/firegl_public.c:3227: warning: return makes pointer from integer without a cast<br>
/usr/src/modules/fglrx/firegl_public.c:3229: warning: return makes pointer from integer without a cast<br>make[5]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1<br>make[4]: *** [_module_/usr/src/modules/fglrx] Error 2<br>
make[3]: *** [sub-make] Error 2<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/opt/src/kernel/build-2.6.29&#39;<br>make[1]: *** [build] Error 2<br>make[1]: Leaving directory `/usr/src/modules/fglrx&#39;<br>
make: *** [kdist_image] Error 2<br><br>I have gcc 4.3.3 and make 3.81<br><br>I also tried the make.sh found in modules/fglrx.<br>It produces errors and replaces all the source files with symlinks to files that don&#39;t exist. <br>
<a href="http://pastebin.com/m533c5ce3">http://pastebin.com/m533c5ce3</a><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
You should try out the Debian variant of Linux, I think you may miss<br>
some CONFIG_ options.</blockquote><div> </div><div>initrd&#39;s bug me, so I build my own kernel. <br>my config: <a href="http://pastebin.com/m7a71bb71">http://pastebin.com/m7a71bb71</a><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">&gt;<br>
&gt; However, it would be nice if the diversions did not happen unless the<br>
&gt; fglrx module existed under /lib/modules/`uname -r`.  Perhaps the<br>
&gt; packages could be left unconfigured if the module doesn&#39;t exist, and the<br>
&gt; diversions would be set up when the packages successfully configure?<br>
<br>
</div>This leaves the system on upgrading in an unconfigured state where dpkg<br>
has to fail, which leads to much more problems.<br>
</blockquote><div><br>True, but it was the only mechanism I could think of that would prevent this situation.  Had I not installed fglrx-* packages immediately before that - and ONLY those packages - I would have spent a lot of time being very frustrated about what the ^&amp;&amp;%^*%#@$# could be wrong, especially since Xorg.0.log says NOTHING about it.<br>
<br>So please try to find a solution! :)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
- --<br>
/*<br>
Mit freundlichem Gruß / With kind regards,<br>
 Patrick Matthäi<br>
 GNU/Linux Debian Developer<br>
<br>
E-Mail: <a href="mailto:pmatthaei@debian.org">pmatthaei@debian.org</a><br>
        <a href="mailto:patrick@linux-dev.org">patrick@linux-dev.org</a><br>
<br>
Comment:<br>
Always if we think we are right,<br>
we were maybe wrong.<br>
*/<br>
</blockquote><div><br>Guten Tag<br>Mark <br></div></div>