Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263686 - common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1411: error: 'struct task_struct' has no member named 'euid'
Summary: common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1411: error: 'struct...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
: 264021 272132 275005 (view as bug list)
Depends on:
Blocks: 264722
  Show dependency tree
 
Reported: 2009-03-25 04:23 UTC by Eric Bosch
Modified: 2009-08-31 11:58 UTC (History)
28 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emergeinfo.txt,7.47 KB, text/plain)
2009-03-25 04:25 UTC, Eric Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Bosch 2009-03-25 04:23:20 UTC
ATI Drivers, 8.582 is failing to build after installation of kernel Gentoo Sources 2.6.29

Reproducible: Always

Steps to Reproduce:
1.Upgrade Gentoo Sources to 2.6.29
2.Attempt to install ati-drivers
3.

Actual Results:  
>>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.582/work ...                                
 * Preparing fglrx module                                                                                      
make -j4 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.29-gentoo KDIR=/usr/src/linux kmod_build                                                                           
make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x modules                                                                                                 
make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo'                                                     
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o                                                                                                        
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o                                                                                                             
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o                                                                                                              
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o                                                                                                            
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function 'KCL_DEBUG_Print':                                                                                      
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:89: warning: format not a string literal and no format arguments                                                     
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function '__ke_printk':                                                                                          
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:146: warning: format not a string literal and no format arguments                                                    
distcc[969] ERROR: compile /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c on saruman failed                                                                          
distcc[969] (dcc_build_somewhere) Warning: remote compilation of '/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c' failed, retrying locally                           
distcc[969] Warning: failed to distribute /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c to saruman, running locally instead                                         
  CC [M]  /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o                                                                                                            
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':                                                                              
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1411: error: 'struct task_struct' has no member named 'euid'                                                     
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetIPCLock':                                                                   
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1785: error: 'struct task_struct' has no member named 'cap_effective'                                            
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1789: error: 'struct task_struct' has no member named 'cap_effective'                                            
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MEM_VM_GetRegionPhysAddrStr':                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3229: warning: return makes pointer from integer without a cast                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3230: warning: return makes pointer from integer without a cast                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3231: warning: return makes pointer from integer without a cast                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3233: warning: return makes pointer from integer without a cast                                                  
distcc[968] ERROR: compile /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c on localhost failed                                                                   
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1                                                                                           
make[2]: *** Waiting for unfinished jobs....                                                                   
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_EvalObject':                                                                                   
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:229: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:255: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyHandler':                                                                             
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:483: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:485: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:487: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_GetNotifyContext':                                                                             
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:510: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:512: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:514: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyHandler':                                                                          
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:538: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:540: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function 'KCL_ACPI_UpdateNotifyContext':                                                                          
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:557: error: dereferencing pointer to incomplete type                                                                  
/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:559: error: dereferencing pointer to incomplete type                                                                  
distcc[969] ERROR: compile /var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c on localhost failed                                                                        
make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Error 1                                                                                                
make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.582/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2                                                                                                   
make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo'                                                      
make: *** [kmod_build] Error 2                                                                                 
 *                                                                                                             
 * ERROR: x11-drivers/ati-drivers-8.582 failed.                                                                
 * Call stack:                                                                                                 
 *               ebuild.sh, line   48:  Called src_compile                                                     
 *             environment, line 3359:  Called linux-mod_src_compile                                           
 *             environment, line 2538:  Called die                                                             
 * The specific snippet of code:                                                                               
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                                                LDFLAGS="$(get_abi_LDFLAGS)"                  ${BUILD_FIXES}                                           ${BUILD_PARAMS}                                       ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";                                                   
 *  The die message:                                                                                           
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.29-gentoo KDIR=/usr/src/linux kmod_build                                                              
 *                                                                                                             
 * If you need support, post the topmost build error, and the call stack if relevant.                          
 * A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.582/temp/build.log'.         
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.582/temp/environment'.
 *                                                         

Expected Results:  
Expect successful build and operation
Comment 1 Eric Bosch 2009-03-25 04:25:10 UTC
Created attachment 186175 [details]
Output of emerge --info

Emerge --info
Comment 2 Alexandre Ney 2009-03-25 09:53:47 UTC
Hello,

i can confirm this bug i have the exact same problem.
Comment 3 DarkNRG 2009-03-25 14:20:48 UTC
I have the same problem.

Maybe this is a possible fix:
http://www.phoronix.com/forums/showthread.php?t=16173

but I haven't tested it yet.
Comment 4 Jeffrey Gardner (RETIRED) gentoo-dev 2009-03-25 15:16:06 UTC
testing it now...
Comment 5 Jason A. Donenfeld gentoo-dev 2009-03-25 19:44:24 UTC
also examine: http://liquorix.net/patches/FGLRX-2.6.29-9.2-5.diff
Comment 6 Eric Bosch 2009-03-25 22:02:16 UTC
(In reply to comment #5)
> also examine: http://liquorix.net/patches/FGLRX-2.6.29-9.2-5.diff
> 

I am currently testing the above patch, compiled and installed fine, seems to operate normally.
Comment 7 Eric Bosch 2009-03-26 03:39:56 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > also examine: http://liquorix.net/patches/FGLRX-2.6.29-9.2-5.diff
> > 
> 
> I am currently testing the above patch, compiled and installed fine, seems to
> operate normally.
> 
I see lots of errors generated when driver is working

Mar 25 22:33:32 boschlt-linux [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f0fc233a000,handle:0xc11f0000
Mar 25 22:33:32 boschlt-linux [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f0fc2336000,handle:0xc12f0000
Mar 25 22:33:32 boschlt-linux [fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f0fc8c4c000,handle:0xc12f4000
Comment 8 Jan Schubert 2009-04-07 16:23:34 UTC
same here on ~amd64
Comment 9 Simeon Maryasin 2009-04-21 18:49:32 UTC
I had same bug when using gentoo-sources-2.6.29-r1, but everything seems OK on gentoo-sources-2.6.28-r4 ...
Comment 10 Luca Barbato gentoo-dev 2009-04-23 08:43:56 UTC
*** Bug 264021 has been marked as a duplicate of this bug. ***
Comment 11 Timothy Miller 2009-04-23 13:35:08 UTC
I'm using the patch from bug 264021.  I don't know if this is related, but while OpenGL works, playing videos locks up the system hard.
Comment 12 Gordon Malm (RETIRED) gentoo-dev 2009-04-23 15:49:49 UTC
Carry over blockers when marking dupe bug please.
Comment 13 Timothy Miller 2009-05-10 14:57:28 UTC
Is there any progress on this bug?  Are ATI drivers still broken?  I'm using a local overlay with the patch supplied by Eric, but what's the ETA on a fix in portage?

Is it ATI's fault or something broken in portage packaging?
Comment 14 DaggyStyle 2009-05-10 17:25:26 UTC
(In reply to comment #13)
> Is there any progress on this bug?  Are ATI drivers still broken?  I'm using a
> local overlay with the patch supplied by Eric, but what's the ETA on a fix in
> portage?
> 
> Is it ATI's fault or something broken in portage packaging?
> 

has I see it, the open source drivers will support 3d fully before this drivers will work with >=kernel-2.6.29
Comment 15 Timothy Miller 2009-05-11 03:16:51 UTC
Ah.  ATI sucking again.  

Support the Open Graphics Project.  :)
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2009-05-16 15:22:14 UTC
ping... 2.6.29 is planned to go stable on 23rd may, would be nice to see this fixed
Comment 17 DaggyStyle 2009-05-16 17:07:31 UTC
(In reply to comment #16)
> ping... 2.6.29 is planned to go stable on 23rd may, would be nice to see this
> fixed
> 

I gave up on waiting, switched to radeon driver, used drm-9999999 for 2d acc, beside not able to play games, it work ok, better then the official drivers.

Comment 18 Zsolti 2009-05-20 13:49:37 UTC
goodbye amd/ati. i switched to nvidia. this bug is just a stopper.
the nvidia-driver is really fabulous. just do emerge nvidia-drivers, and it works. it even has a nice (working) settings-interface. nvidia-settings.
Comment 19 DaggyStyle 2009-05-20 17:25:00 UTC
(In reply to comment #18)
> goodbye amd/ati. i switched to nvidia. this bug is just a stopper.
> the nvidia-driver is really fabulous. just do emerge nvidia-drivers, and it
> works. it even has a nice (working) settings-interface. nvidia-settings.
> 

have you tried the open source? seems like not, just go around the problem, not solve it.
Comment 20 Ramon Medina 2009-05-20 18:45:48 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > goodbye amd/ati. i switched to nvidia. this bug is just a stopper.
> > the nvidia-driver is really fabulous. just do emerge nvidia-drivers, and it
> > works. it even has a nice (working) settings-interface. nvidia-settings.
> > 
> 
> have you tried the open source? seems like not, just go around the problem, not
> solve it.
> 

Can the open source driver do compositing?
Comment 21 DaggyStyle 2009-05-21 05:18:24 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > (In reply to comment #18)
> > > goodbye amd/ati. i switched to nvidia. this bug is just a stopper.
> > > the nvidia-driver is really fabulous. just do emerge nvidia-drivers, and it
> > > works. it even has a nice (working) settings-interface. nvidia-settings.
> > > 
> > 
> > have you tried the open source? seems like not, just go around the problem, not
> > solve it.
> > 
> 
> Can the open source driver do compositing?
> 

depends on what card you have. http://www.x.org/wiki/radeon or http://www.x.org/wiki/radeonhd
mine is unsupported but I've used svn drm and I have 2d acc. 3d acc is suppose to come soon.
Comment 22 Rafał Mużyło 2009-06-02 02:34:01 UTC
*** Bug 272132 has been marked as a duplicate of this bug. ***
Comment 23 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-27 21:53:07 UTC
This bug is wontfix, sadly the old 8.X series did not have support for 2.6.29 and newer kernels, nowdays the versions are masked, thus update to 9.8 which has no issues with new kernels or switch to xf86-video-ati.
Comment 24 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-31 11:52:46 UTC
*** Bug 275005 has been marked as a duplicate of this bug. ***