Bug 40242

Summary: radeontool hits EAGAIN from libpciaccess while mapping framebuffer
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.6 (2010.12)   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/ubuntu/+source/radeontool/+bug/812778
Whiteboard:
i915 platform: i915 features:

Description Bryce Harrington 2011-08-19 10:56:46 UTC
Forwarding this bug report from Ubuntu reporter Timo Witte:
  https://bugs.launchpad.net/ubuntu/+source/radeontool/+bug/812778

[Problem]
On line ~ 964 in the file radeontool.c the framebuffer is mapped via "pci_device_map_region(avivo_device, fb_region, 1)" this operation returns a EAGAIN (error code 11), which is generated by the libpciaccess. The Frambuffer Region is found correctly (in radeontool, avivotool just searched for 128M regions). I think this might somehow be a problem with changed kernel acccess behavior over time. I ran the tool from an X Session as root, and from remote ssh (without X running in the foreground [ctrl + alt + f1])

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: radeontool 1.6.1-1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue Jul 19 11:14:46 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: radeontool
UpgradeStatus: Upgraded to oneiric on 2011-05-30 (49 days ago)
Comment 1 Michel Dänzer 2011-08-22 01:38:15 UTC
I don't see what this has to do with the radeon X driver...

(In reply to comment #1)
> NonfreeKernelModules: fglrx

I suspect it might have something to do with this though.
Comment 2 Adam Jackson 2018-06-12 19:10:51 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.