[Pkg-fglrx-devel] fglrx library diversions result in unusable Xorg if kernel module is not built

Patrick Matthäi pmatthaei at debian.org
Sat May 2 14:59:26 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark schrieb:
> 
> 
> On Fri, May 1, 2009 at 9:17 AM, Patrick Matthäi <pmatthaei at debian.org
> <mailto:pmatthaei at debian.org>> wrote:
> 
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
> 
>     Mark schrieb:
>     > For some reason, I have not (yet) succeeded in building the kernel
>     > module for fglrx.  Without that, and with the diversions that other
>     > fglrx-* packages apply (libGL and libdri?), X is unusable.  I get a
>     > black screen; the monitor does not go into powersaving mode.
>      Ctrl-Alt-
>     > combinations ( -Del, -Backspace, -F1, -F2, ...) do not work.  I am
>     > forced to press the reset button, and the Xorg log contains nothing
>     > incriminating.
> 
>     Yes this is the case with some chipcards.
>     But what version of fglrx you are tried out and which ATI/AMD card do
>     you have?
> 
>  
> The latest - 9-4-1
> Hw is Radeon HD 4670
>  
> 
>     >
>     > I compiled kernel 2.6.29 myself.  I suspect that fglrx-source's
>     failure
>     > to build either has to do with the kernel version or where/how I built
>     > the kernel - I do not believe it is a bug in the package.
> 
>     If you are using 1:9-4-1, 2.6.29 is the only supported Kernel atm.
>     What says the build-log of m-a a-i fglrx?
> 
> 
> /usr/bin/make  -f debian/rules clean
> make[1]: Entering directory `/usr/src/modules/fglrx'
> dh_testroot
> rm -f configure-stamp
> rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
> rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
> rm -rf .tmp_versions
> rm -rf patch
> dh_clean
> make[1]: Leaving directory `/usr/src/modules/fglrx'
> /usr/bin/make  -f debian/rules binary_modules
> make[1]: Entering directory `/usr/src/modules/fglrx'
> if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
>         cat /usr/src/modules/fglrx/debian/control.template >
> /usr/src/modules/fglrx/debian/control; \
>     fi
> dh_testdir
> touch configure-stamp
> dh_testdir
> /usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
> make[2]: Entering directory `/opt/src/kernel/build-2.6.29'
> /usr/bin/make -C /opt/src/linux-2.6.29 O=/opt/src/kernel/build-2.6.29/.
> modules
>   CC [M]  /usr/src/modules/fglrx/firegl_public.o
> /usr/src/modules/fglrx/firegl_public.c: In function 'KCL_GetEffectiveUid':
> /usr/src/modules/fglrx/firegl_public.c:1407: error: 'struct task_struct'
> has no member named 'euid'
> /usr/src/modules/fglrx/firegl_public.c: In function
> 'KCL_PosixSecurityCapSetIPCLock':
> /usr/src/modules/fglrx/firegl_public.c:1781: error: 'struct task_struct'
> has no member named 'cap_effective'
> /usr/src/modules/fglrx/firegl_public.c:1785: error: 'struct task_struct'
> has no member named 'cap_effective'
> /usr/src/modules/fglrx/firegl_public.c: In function
> 'KCL_MEM_VM_GetRegionPhysAddrStr':
> /usr/src/modules/fglrx/firegl_public.c:3225: warning: return makes
> pointer from integer without a cast
> /usr/src/modules/fglrx/firegl_public.c:3226: warning: return makes
> pointer from integer without a cast
> /usr/src/modules/fglrx/firegl_public.c:3227: warning: return makes
> pointer from integer without a cast
> /usr/src/modules/fglrx/firegl_public.c:3229: warning: return makes
> pointer from integer without a cast
> make[5]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
> make[4]: *** [_module_/usr/src/modules/fglrx] Error 2
> make[3]: *** [sub-make] Error 2
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/opt/src/kernel/build-2.6.29'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/usr/src/modules/fglrx'
> make: *** [kdist_image] Error 2

Seems like you are missing our patch or you have disabled some needed
config options of your kernel / applied a patch which makes trouble.
- --
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei at debian.org
        patrick at linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn8X84ACgkQ2XA5inpabMehYQCeIIWTnzjRRV5YsSWeACt6rANq
O3sAn2Bd9uJ0xAdwiy+VTfC6y6sAGa/I
=Peys
-----END PGP SIGNATURE-----



More information about the Pkg-fglrx-devel mailing list