LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-13-2005, 07:01 AM   #1
borchen
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
ATI Drivers 8.19.10 NOT working on kernel 2.6.14-1.1637_FC4 in 64bit


Yes, it happened again: the ATI drivers are broke after installing the latest kernel on 64bit Fedora Core 4.

On kernel release 2.6.13-1.1532_FC4 they work fine.

This is my make.log on after compiling the drivers:
Code:
ATI module generator V 2.0
==========================
initializing...
build_date =Sun Nov 13 12:52:07 CET 2005
uname -a =Linux localhost.localdomain 2.6.14-1.1637_FC4 #1 Wed Nov 9 19:01:56 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
uname -s =Linux
uname -m =x86_64
uname -r =2.6.14-1.1637_FC4
uname -v =#1 Wed Nov 9 19:01:56 EST 2005
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=root:system_r:unconfined_t
.
drwxr-xr-x  135 root root 20480 Nov  7 21:42 /usr/include
.
total 24
drwxr-xr-x  2 root root 4096 Nov 12 10:35 ATI
drwxr-xr-x  5 root root 4096 Nov 12 09:46 kernels
drwxr-xr-x  7 root root 4096 Jul 22 23:56 redhat
.
file /lib/modules/2.6.14-1.1637_FC4/build/include/linux/agp_backend.h says: AGP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.14-1.1637_FC4/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx  1 root root 20 Nov 13 12:52 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.14-1.1637_FC4/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.14-1.1637_FC4-x86_64'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_init’:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8173: warning: ‘pm_register’ is deprecated (declared at include/linux/pm.h:107)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_cleanup’:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8183: warning: ‘pm_unregister_all’ is deprecated (declared at include/linux/pm.h:117)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6077: warning: ‘ati_gart_base’ defined but not used
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:136:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:266:5: warning: "FIREGL_VMA_INFO" is not defined
In file included from /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
                 from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:298:
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:561:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:664:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:936:5: warning: "__HAVE_SG" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:372:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:389:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_putminor’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:543: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:576)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:545: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_register’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:565: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:572)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:596: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:576)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_put_user_ptr’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1275: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1275: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1275: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1275: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_register_ioctl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2365: warning: implicit declaration of function ‘register_ioctl32_conversion’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2370: warning: implicit declaration of function ‘unregister_ioctl32_conversion’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘do_vm_kmap_nopage’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2610: warning: assignment makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3899: warning: statement with no effect
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2098: warning: ‘deferred_flush’ defined but not used
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST
Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
*** Warning: "unregister_ioctl32_conversion" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
*** Warning: "register_ioctl32_conversion" [/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/kernels/2.6.14-1.1637_FC4-x86_64'
build succeeded with return value 0
.
duplicating results into driver repository...
target location: /lib/modules/fglrx
copying fglrx.ko
copying logfile of build
*** end of build log ***
I see some new warnings about "FIREGL_VMA_INFO" and "__HAVE_VBL_IRQ" that did not occur on previous ati-driver builds.

Funny thing is that the kernel-module does get compiled, but when trying to install I get the following 'dmesg' error:
Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol register_ioctl32_conversion
fglrx: Unknown symbol unregister_ioctl32_conversion
 
Old 11-15-2005, 02:07 PM   #2
lordnukem
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian-based, Knoppix extension : Kanotix
Posts: 6

Rep: Reputation: 0
I've got the same problem on my laptop (with a Turion64 CPU), running a Debian Etch with 2.6.14.2 kernel ...

Any idea in which library could we find these references ? Or must we wait for a driver that is supported by 2.6.14 kernels ?
 
Old 11-16-2005, 04:31 AM   #3
Ice82
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
Wow, I feel I'm becoming a Linux expert: usually I tended to panic when these things happen, now I waited one day to see if someone had the same problem!
 
Old 11-16-2005, 07:35 PM   #4
lordnukem
LQ Newbie
 
Registered: Dec 2004
Distribution: Debian-based, Knoppix extension : Kanotix
Posts: 6

Rep: Reputation: 0
Ok, problem solved :
register_ioctl32_conversion and unregister_ioctl32_conversion symbols aren't supported in kernel 2.6.14 anymore ... So you'll have to modify sources (driver's ones, not kernel's).

More information here :

http://www.stanchina.net/~flavio/deb.../msg00908.html
 
Old 11-17-2005, 03:54 AM   #5
Ice82
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
This proves I'm not an expert yet: I'm still scared about compiling on Fedora, I'll wait for an rpm...
 
Old 11-17-2005, 04:34 AM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 50
Quote:
Originally posted by Ice82
This proves I'm not an expert yet: I'm still scared about compiling on Fedora, I'll wait for an rpm...
If you're referring to the ATI drivers, you can add Livna to your Yum repos and install the ATI drivers with "yum install kernel-module-fglrx-$(uname -r)".
 
Old 11-17-2005, 06:59 AM   #7
Ice82
LQ Newbie
 
Registered: Sep 2005
Posts: 10

Rep: Reputation: 0
Thank you spooon for your suggestion, but I don't know if this is safe: I use to follow Stanton's instructions from http://stanton-finley.net/fedora_cor...on_notes.html, and this guy says:
Quote:
You should not use the livna.org repository in conjunction with the dag/freshrpms/dries/newrpms/PlanetCCRMA (RPMforge) collection of rpms in your configuration files for automatic updates.
Maybe it's better if I wait for a new release of the installer by www.ati.com.

Last edited by Ice82; 11-17-2005 at 07:00 AM.
 
Old 11-17-2005, 03:24 PM   #8
borchen
Member
 
Registered: Feb 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Ok, problem solved :
register_ioctl32_conversion and unregister_ioctl32_conversion symbols aren't supported in kernel 2.6.14 anymore ... So you'll have to modify sources (driver's ones, not kernel's).
I just patched the driver under kernel 2.6.14-1.1637 and compiled/installed it succesfully, so the solution given in the link above APPEARS to work,

BUT: after going to runlevel 5 I tried to startup Quake 4 & America's Army and both did NOT work anymore; they run under 32bit-mode and thats what the register_ioctl32 stuff is about apparently...

Conclusion: the drivers still do not work properly under 64bit Fedora Core 4...

P.S. glxgears ran fine though
 
Old 11-23-2005, 07:37 AM   #9
imc68uk
LQ Newbie
 
Registered: Nov 2005
Location: Oxford, UK
Distribution: Fedora Core
Posts: 1

Rep: Reputation: 0
If anyone is still looking for a patch to get fglrx 8.19.10 working with a 2.6.14 kernel, it turns out that Gentoo has a patch (which handles the 32-bit stuff correctly) which you can find at your local Gentoo mirror or at the following URL:

http://mirror.ox.ac.uk/sites/rsync.g...at_ioctl.patch

If you have installed ATI's rpm of the drivers then to install the kernel module do something like:

Code:
# cd /lib/modules/fglrx/build_mod
# patch -p1 < fglrx-2.6.14-compat_ioctl.patch
# sh make.sh
# cd ..
# sh make_install.sh
 
Old 11-26-2005, 06:19 AM   #10
borchen
Member
 
Registered: Feb 2005
Posts: 57

Original Poster
Rep: Reputation: 15
@imc68uk

Thanks for the link to the patch. I just installed it and build the kernel again and it appears to work!

Let's hope ATI will incorparate the patch in their next driver-revision.

 
Old 11-30-2005, 07:16 PM   #11
borchen
Member
 
Registered: Feb 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Thumbs up

Small update:

I just installed a new version of the compiler gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) and
kernel 2.6.14-1.1644_FC4, build the ATI drivers again and everything seems to work fine.

The size of the kernel-module got a little bit smaller:
Code:
-rw-r--r--  1 root root 1454026 Nov 12 10:37 fglrx.2.6.13-1.1532_FC4.ko
-rw-r--r--  1 root root 1467845 Nov 26 11:39 fglrx.2.6.14-1.1637_FC4.ko
-rw-r--r--  1 root root 1453261 Dec  1 00:51 fglrx.2.6.14-1.1644_FC4.ko
probably because of the new compiler-version (?)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI drivers not working for 3d pula0r Linux - Hardware 1 06-28-2005 02:26 PM
ATI drivers not working Gero Linux - Hardware 2 04-16-2005 11:08 AM
ATI drivers on mandrake 10 working? nuka_t Linux - Newbie 5 06-21-2004 06:37 PM
Trying to get ATi Drivers working on Mandrake EvMaster Linux - Games 10 06-09-2004 06:20 PM
ATI New Drivers = No working Micro420 Linux - Hardware 7 11-07-2003 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration