[elrepo] fglrx error - kernel module version does *not* match driver

Manuel Wolfshant wolfy at nobugconsulting.ro
Tue Mar 22 12:23:31 EDT 2016


On 03/22/2016 06:04 PM, Stephen Isard wrote:
> Hello,
>
> I have SL 6.7, on a Dell Optiplex 980 with a Radeon 6450 card installed.
> The elrepo fglrx driver has been working through successive updates of 
> SL and kernel for a couple of years.  Yesterday I upgraded the kernel to
> 2.6.32-573.12.1.el6.x86_64 and took the occasion to upgrade 
> fglrx-x11-drv.x86_64 and kmod-fglrx.x86_64 to 15.12-1.el6.elrepo.
> X then failed to start, so I downgraded to 15.11-1.el6.elrepo, but 
> that didn't help.
>
> The current state of play is
> $ yum list installed "*fglrx*"
> Installed Packages
> fglrx-x11-drv.x86_64   15.11-1.el6.elrepo    @elrepo
> kmod-fglrx.x86_64      15.11-1.el6.elrepo    @elrepo
>
> xorg.conf hasn't changed.  I've compared against backups.
>
> What look like relevant lines in Xorg.0.log (same for 15-11 and 15-12) 
> are:
> [  2678.506] (--) fglrx(0): Chipset: "AMD Radeon HD 6450" (Chipset = 
> 0x6779)
> [  2678.584] (WW) fglrx(0): board is an unknown third party board, 
> chipset is supported
> [  2679.117] (II) fglrx(0): Adapter AMD Radeon HD 6450 has 4 
> configurable heads and 2 displays connected.
> [  2679.122] (II) fglrx(1): Adapter AMD Radeon HD 6450 has 4 
> configurable heads and 2 displays connected.
>
> [ 72531.964] (II) fglrx(0): Kernel Module Version Information:
> [ 72531.964] (II) fglrx(0):     Name: fglrx
> [ 72531.964] (II) fglrx(0):     Version: 15.20.3
> [ 72531.964] (II) fglrx(0):     Date: Sep  8 2015
> [ 72531.964] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module
> [ 72531.964] (WW) fglrx(0): Kernel Module version does *not* match 
> driver.
>
> And then it segfaults.
>
> I am puzzled by that 15.20.3 given the version of kmod-fglrx,
That's the internal version value as defined by AMD




> but I have tried reinstalling and it stays the same.
Of course it does. It's hard coded in the driver


>
> $ rpm -ql kmod-fglrx
> /etc/depmod.d/kmod-fglrx.conf
> /lib/modules/2.6.32-573.el6.x86_64
> /lib/modules/2.6.32-573.el6.x86_64/extra
> /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx
> /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx/fglrx.ko
> /usr/share/doc/kmod-fglrx-15.11
> /usr/share/doc/kmod-fglrx-15.11/LICENSE.TXT
>
> $ls -l /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx/fglrx.ko
> -rw-r--r--. 1 root root 18350784 Dec 18 06:25
>     /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx/fglrx.ko
>
> Any ideas?

As far as I can see, you are on 15.11 now. I am running myself 15.12 for 
a month without issues. Actually I run it for 3 days prior to pushing it 
to the official repositories.
[    41.556] (**) ModulePath set to 
"/usr/lib64/xorg/modules/extensions/fglrx,/usr/lib64/xorg/modules"
[    41.573] (II) Loading /usr/lib64/xorg/modules/extensions/fglrx/libglx.so
[    41.720] (II) LoadModule: "fglrx"
[    41.737] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[    42.016] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    42.027] (II) Loading sub module "fglrxdrm"
[    42.027] (II) LoadModule: "fglrxdrm"
[    42.027] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[    42.074] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    42.079] (WW) Falling back to old probe method for fglrx
[    43.568] (WW) fglrx: No matching Device section for instance (BusID 
PCI:0 at 0:1:1) found
[    43.568] (II) fglrx(0): pEnt->device->identifier=0x246b0b0
[    43.568] (II) fglrx(0): === [xdl_xs115_atiddxPreInit] === begin
[    43.576] (II) fglrx(0): FB driver is not enabled
[    43.608] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[    43.608] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 
bpp pixmaps)
[    43.608] (==) fglrx(0): Default visual is TrueColor
[    43.608] (==) fglrx(0): RGB weight 888
[    43.608] (II) fglrx(0): Using 8 bits per RGB
[    43.608] (==) fglrx(0): Buffer Tiling is ON
[    43.608] (II) Loading sub module "fglrxdrm"
[    43.609] (II) LoadModule: "fglrxdrm"
[    43.609] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[    43.609] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    43.613] (**) fglrx(0): NoAccel = NO
[    43.613] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
[    43.613] (--) fglrx(0): Chipset: "AMD Radeon HD 8570D" (Chipset = 
0x990e)
[    43.613] (--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0123)
[    43.613] (==) fglrx(0): board vendor info: original AMD graphics adapter
[    43.613] (--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
[...]
[    44.090] (II) fglrx(0): Kernel Module Version Information:
[    44.090] (II) fglrx(0):     Name: fglrx
[    44.090] (II) fglrx(0):     Version: 15.30.3
[    44.090] (II) fglrx(0):     Date: Dec 17 2015
[    44.090] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module
[    44.090] (II) fglrx(0): Kernel Module version matches driver.
[    44.090] (II) fglrx(0): Kernel Module Build Time Information:
[    44.090] (II) fglrx(0):     Build-Kernel UTS_RELEASE: 
2.6.32-573.el6.x86_64
[    44.090] (II) fglrx(0):     Build-Kernel MODVERSIONS:        yes
[    44.090] (II) fglrx(0):     Build-Kernel __SMP__:            yes
[    44.090] (II) fglrx(0):     Build-Kernel PAGE_SIZE: 0x1000
[    44.090] (II) fglrx(0): [uki] register handle = 0x00004000

[wolfy at wolfy ~]$ ls -l 
/lib/modules/2.6.32-573.el6.x86_64/extra/fglrx/fglrx.ko
-rw-r--r--. 1 root root 18350736 Feb 14 04:59 
/lib/modules/2.6.32-573.el6.x86_64/extra/fglrx/fglrx.ko

[wolfy at wolfy ~]$ rpm -qai \*fglrx\*
Name        : kmod-fglrx                   Relocations: (not relocatable)
Version     : 15.12                             Vendor: The ELRepo 
Project (http://elrepo.org)
Release     : 1.el6.elrepo                  Build Date: Sun 14 Feb 2016 
04:59:42 AM EET
Install Date: Sun 14 Feb 2016 05:11:26 AM EET      Build Host: 
Build64R6.elrepo.org
Group       : System Environment/Kernel     Source RPM: 
fglrx-kmod-15.12-1.el6.elrepo.src.rpm
Size        : 18361504                         License: Proprietary
Signature   : (none)
URL         : http://support.amd.com/en-us/download
Summary     : fglrx kernel module(s)
Description :
This package provides the fglrx kernel module(s) built
for the Linux kernel using the x86_64 family of processors.
Name        : fglrx-x11-drv                Relocations: (not relocatable)
Version     : 15.12                             Vendor: The ELRepo 
Project (http://elrepo.org)
Release     : 1.el6.elrepo                  Build Date: Sun 14 Feb 2016 
05:04:01 AM EET
Install Date: Sun 14 Feb 2016 05:14:33 AM EET      Build Host: 
Build64R6.elrepo.org
Group       : User Interface/X Hardware Support   Source RPM: 
fglrx-x11-drv-15.12-1.el6.elrepo.src.rpm
Size        : 252687506                        License: Proprietary
Signature   : (none)
URL         : http://support.amd.com/en-us/download
Summary     : AMD's proprietary driver for ATI graphic cards
Description :
This package provides the proprietary AMD OpenGL X11 display driver files.

[wolfy at wolfy ~]$ uptime
  18:17:29 up 37 days, 12:57,  6 users,  load average: 0.00, 0.03, 0.04


So to cut a ling story short: unfortunately I have no idea why it does 
not work for you. The only difference ( modulo the chipset) is that I am 
using CentOS but this should not matter at all. And the packages were 
built in pure RHEL.

     wolfy, scratching head.


More information about the elrepo mailing list