LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ati diver (rad. 9600) cannot modprobe fglrx.ko - unknown symbol 'pci_enable_msi' (https://www.linuxquestions.org/questions/slackware-14/ati-diver-rad-9600-cannot-modprobe-fglrx-ko-unknown-symbol-pci_enable_msi-911196/)

igadoter 11-01-2011 02:25 AM

ati diver (rad. 9600) cannot modprobe fglrx.ko - unknown symbol 'pci_enable_msi'
 
Hi,
I'm trying to run the ati driver for Radeon 9600.
I'm running Salckware 12.2 with 2.6.27.7 kernel.
Here is a preamble from the ati installer
Code:

label="ATI Proprietary Linux Driver-8.593"
MS_COMMAND="./makeself.sh /tmp/fglrx_installer_img
/tmp/fglrx-8.593/ati-driver-installer-8.593-x86.x86_64.run
ATI Proprietary Linux Driver-8.593 ./ati-installer.sh"
MS_VERSION="2.1.3"
DATE="Wed Mar 18 11:07:25 EDT 2009"
OSTYPE="linux-gnu"

Here is the installer syslog
Code:

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
........

now an interesting part
Code:

WARNING: "pci_enable_msi" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
WARNING: "pci_disable_msi" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.

Let try 'modprobe'
Code:

root@enzo:~# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.27.7/kernel/drivers/char/drm/fgl rx.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

'dmesg' tells
Code:


root@enzo:~# dmesg | tail
fglrx: Unknown symbol pci_disable_msi
fglrx: Unknown symbol pci_enable_msi

Have no idea what are these 'pci_disable/enable_msi'. Is there a workaround?
To force insert? Or maybe I should look for an earlier version of the driver
(with a matched version of a precompiled kernel module). Is there a way to extract only
the precompiled kernel module from the installer (to avoid the compilation). Then I may to force
an insert (don't care about mismatches).

zasavage 11-01-2011 02:46 AM

Hi there

If I recall correctly its the version of the kernel thats the problem

They made several patches for ATI but all seemed a bit dodgy to say the least

Solution upgrade your kernel and I think it will work

Regards

Lawrence

igadoter 11-01-2011 05:35 AM

@zasavage
Ok. But I am afraid it maybe not possible. I posted a question is it possible to upgrade to 2.6.32
(to make wireless work) but it is not. As my Slackware 12.2 works well I am quite happy with it -
I see no reason to upgrade all the system I need the ati driver only to make 3D works.

adamk75 11-01-2011 06:39 AM

You need a kernel with MSI enabled: http://www.linuxquestions.org/questi...module-703590/

Adam

igadoter 11-01-2011 08:42 AM

@adamk75
Thanks for a link. It seems I need at least the 8.11 version of the ati driver.

zasavage 11-01-2011 10:21 AM

I am nearly 100 % sure you can upgrade your kernel

http://muaythaimaster74.blogspot.com...re-kernel.html

Regards

Lawrence

igadoter 11-02-2011 12:33 AM

@zasavage
I googled around. It seems that the 2.6.27 kernel has a support for MSI - but it should be explicitely enabled in the config for the kernel build. I will have a look at configs for default kernels. You right - I can upgrade at least up to 2.6.29.


All times are GMT -5. The time now is 07:16 AM.