Bug 771533

Summary: EE r600_pipe.c:68 r600_create_fence - r600: failed to create bo for fence objects radeon access rights
Product: [openSUSE] openSUSE 12.2 Reporter: Hugo Oosterkamp <hugo>
Component: KernelAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: hugo
Version: Factory   
Target Milestone: RC 1   
Hardware: 32bit   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hugo Oosterkamp 2012-07-14 18:16:38 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1

I7 with opensuse 12.2 rc1 with a bit of Factory




Compiled FREECAD based on latest GIT version. 


term screen: Bin./Freecad
output
First instance is a regular user, second test as SU. Run
ning Google-earth from the command line also crashes when started as regular user, again SU no problem.

hugo@oosterkamp:~/freecad-hugo-git/bin> ./FreeCAD
FreeCAD 0.13, Libs: 0.13R1260 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

radeon: Failed to allocate a buffer:
radeon:    size      : 48 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 48 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 96 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 96 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 16384 bytes
radeon:    alignment : 512 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 65536 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon: Failed to allocate a buffer:
radeon:    size      : 65536 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon: Failed to allocate a buffer:
radeon:    size      : 4096 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon: Failed to allocate a buffer:
radeon:    size      : 4096 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
EE r600_pipe.c:68 r600_create_fence - r600: failed to create bo for fence objects
Illegal storage access...
hugo@oosterkamp:~/freecad-hugo-git/bin> su
Password: 
oosterkamp:/home/hugo/freecad-hugo-git/bin # ./FreeCAD
FreeCAD 0.13, Libs: 0.13R1260 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Workplane x=Vector (1, 0, 0) y=Vector (0, 1, 0) z=Vector (0, 0, 1)
pycollada not found, collada support will be disabled.


Crash log for google-earth

Major Version 6
Minor Version 2
Build Number 0002
Build Date Apr 14 2012
Build Time 01:09:37
OS Type 3
OS Major Version 3
OS Minor Version 4
OS Build Version 4
OS Patch Version 0
Crash Signal 11
Crash Time 1342285516
Up Time 0.858102

Stacktrace from glibc:
./libgoogleearth_free.so(+0xc645b)[0xb771745b]
./libgoogleearth_free.so(+0xc66a3)[0xb77176a3]
linux-gate.so.1(__kernel_sigreturn+0x0)[0xb779c400]



Reproducible: Always

Steps to Reproduce:
1. ./Freecad from command line and crash
2. SU
./Freecad from command line (as SU) and Freecad runs OK
3.
Actual Results:  
There is a problem with access rights to the radeon driver R600. This only happens with Google-earth and the home brew FreeCad (Git version)


Contact me by mail if necessary. I do not know
 what other programs might be affected.
Comment 1 Hugo Oosterkamp 2012-07-14 18:42:33 UTC
Problem was solved after doing a complete shut-down and restart of the system.
Hugo
Comment 2 Hugo Oosterkamp 2012-07-14 18:45:41 UTC
OS:  Linux 3.4.4-9-desktop i686
  Current user:  hugo@oosterkamp.eu
  System:  openSUSE 12.2 Beta 2 (i586)
  KDE:  4.8.4 (4.8.4)
  Display Info
Vendor:  ATI Technologies Inc
  Model:
  2D driver:  radeon
  3D driver:  Unknown Gallium (8.0.4
Comment 3 Hugo Oosterkamp 2012-07-26 08:19:17 UTC
I think this case has to do with the KERNEL not needing to restart after update. This I read somewhere but don't remember where, and in many updates the "PLEASE REBOOT" does not show up anymore after updating.

As far as I remember the remaining part of the system worked OK with the updated KERNEL, although no restart was issued. Apparently the external programs (GE and FreeCAD) could not handle the existence of a new kernel. I think a recommendation from YAST is in place "if you have external programs, please restart the system, otherwise just continue working" after updating the KERNEL. hugo
Comment 4 Stefan Dirsch 2014-06-10 10:00:39 UTC
Unfortunately we cannot work on bugs for no longer maintained products. In
case you can still reproduce the issue with a still maintained product
(openSUSE 12.3/13.1 at the moment) or openSUSE:Factory, feel free to reopen. 
Thanks.