Red Hat Bugzilla – Bug 1127104
fbdev refusing to touch /dev/fb0 on legacy probe path
Last modified: 2014-10-14 00:56:53 EDT
Description of problem: I'm not able to configure fbdev. Version-Release number of selected component (if applicable): xorg-x11-drv-fbdev-0.4.3-15.el6 xorg-x11-server-Xorg-1.15.0-17.el6 How reproducible: 100% Steps to Reproduce: 1. generate xorg.conf by Xorg :1 -configure 2. edit the ~/xorg.conf.new and replace driver to fbdev (my xorg.conf attached) 3. place xorg.conf.new to /etc/x11/xorg.conf Actual results: [ 1051.734] (II) LoadModule: "fbdev" [ 1051.734] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 1051.734] (II) Module fbdev: vendor="X.Org Foundation" [ 1051.734] compiled for 1.15.0, module version = 0.4.3 [ 1051.734] Module class: X.Org Video Driver [ 1051.734] ABI class: X.Org Video Driver, version 15.0 [ 1051.734] (II) FBDEV: driver for framebuffer: fbdev [ 1051.734] (++) using VT number 1 [ 1051.734] (II) Loading sub module "fbdevhw" [ 1051.734] (II) LoadModule: "fbdevhw" [ 1051.734] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so [ 1051.734] (II) Module fbdevhw: vendor="X.Org Foundation" [ 1051.734] compiled for 1.15.0, module version = 0.0.2 [ 1051.734] ABI class: X.Org Video Driver, version 15.0 [ 1051.734] (EE) Refusing to touch /dev/fb0 on legacy probe path [ 1051.734] (EE) Please specify a BusID to use this device [ 1051.734] (WW) Falling back to old probe method for fbdev [ 1051.734] (II) Loading sub module "fbdevhw" [ 1051.734] (II) LoadModule: "fbdevhw" [ 1051.734] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so [ 1051.734] (II) Module fbdevhw: vendor="X.Org Foundation" [ 1051.734] compiled for 1.15.0, module version = 0.0.2 [ 1051.734] ABI class: X.Org Video Driver, version 15.0 [ 1051.734] (EE) Refusing to touch /dev/fb0 on legacy probe path [ 1051.734] (EE) Please specify a BusID to use this device [ 1051.734] (EE) Screen 0 deleted because of no matching config section. [ 1051.734] (II) UnloadModule: "fbdev" [ 1051.734] (II) UnloadSubModule: "fbdevhw" [ 1051.734] (EE) Device(s) detected, but none match those in the config file. [ 1051.734] (EE) Fatal server error: [ 1051.734] (EE) no screens found(EE) [ 1051.734] (EE) Expected results: it should work Additional info:
Created attachment 924373 [details] xorg.conf
Created attachment 924374 [details] Xorg.log
transferring to ajax, even though this will STUPIDLY lose the acks. ajax, patch 9205 0001-xfree86-Allow-mixed-fbdev-and-pci-setups.patch breaks xorg starting with a simple xorg.conf with jsut fbdev in it. I rebuilt locally without this patch and it works fine.
Yeah, this is an fbdev bug really. Its PciProbe hook doesn't bother to pass the pci device into fbdevhw, so the "am I on the legacy path" logic breaks down. None of the other fbdevhw drivers call fbdevHWProbe. Besides fbdev only glint calls fbdevHWInit with a null second argument (technically a thing that can't matter in RHEL since we don't build the 3dlabs fbdev drivers). I've pushed fixes for both upstream (since the change is harmless without the RHEL patch) rebuilt the drivers for 6.6.
*** Bug 1134860 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1376.html