[Bug 535216] New: Problems loading the fglrx driver
http://bugzilla.novell.com/show_bug.cgi?id=535216 Summary: Problems loading the fglrx driver Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 6 Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jerbes@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 I'm using Opensuse Factory M6, and I could'nt use the fglrx ddriver for my Ati Radeon HD 4670, and the open driver do'nt works right with OpenGL, for example with the Googleearth. With gcc44, and ati-driver-installer-9-8-x86.x86_64.run I got: fglrx-install.log [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 rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers make -C /lib/modules/2.6.31-rc6-3-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules make[1]: se ingresa al directorio `/usr/src/linux-2.6.31-rc6-3-obj/i386/default' make -C ../../../linux-2.6.31-rc6-3 O=/usr/src/linux-2.6.31-rc6-3-obj/i386/default/. modules 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:443: /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: En la función ‘FGLDRM__vma_info’: /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: aviso: el formato ‘%08lx’ espera el tipo ‘long unsigned int’, pero el argumento 5 es de tipo ‘phys_addr_t’ /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: En la función ‘KCL_MapPageToPfn’: /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1568: aviso: variable ‘bus_addr’ sin usar CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:431:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:464:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:490:6: aviso: #warning "ACPI notification wrapping won't work." /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:514:6: aviso: #warning "ACPI notification wrapping won't work." CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules WARNING: "find_task_by_vpid" [/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]: se sale del directorio `/usr/src/linux-2.6.31-rc6-3-obj/i386/default' 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. If I try to load the fglrx module, I got: modprobe fglrx FATAL: Error inserting fglrx (/lib/modules/2.6.31-rc6-3-default/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg) With dmesg I got: [ 4859.583742] fglrx: Unknown symbol find_task_by_vpid They are some changes in the kernel source, that affect the fglrx driver: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=... Thanks Reproducible: Always Steps to Reproduce: 1. With gcc44, try to build the driver with "sh ati-driver-installer-9-8-x86.x86_64.run" 2. Insert the module fglrx qith "modprobe fglrx" 3. The module do'nt loads with a error message: FATAL: Error inserting fglrx (/lib/modules/2.6.31-rc6-3-default/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg) With dmesg I got: [ 4859.583742] fglrx: Unknown symbol find_task_by_vpid Actual Results: Could'nt use the fglrx driver. Expected Results: The fglrx driver must load without errors. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535216
User gregkh@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c1
Greg Kroah-Hartman
http://bugzilla.novell.com/show_bug.cgi?id=535216
User jerbes@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c2
Juan Erbes
http://bugzilla.novell.com/show_bug.cgi?id=535216
User gregkh@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c3
Greg Kroah-Hartman
http://bugzilla.novell.com/show_bug.cgi?id=535216
User jerbes@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c4
--- Comment #4 from Juan Erbes
http://bugzilla.novell.com/show_bug.cgi?id=535216
User jerbes@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c5
Juan Erbes
http://bugzilla.novell.com/show_bug.cgi?id=535216
User gregkh@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c6
Greg Kroah-Hartman
http://bugzilla.novell.com/show_bug.cgi?id=535216
User jerbes@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c7
Juan Erbes
The patch is completely broken, but fortunately the broken code never gets compiled on 2.6.31, so because of the broken cpp logic, the end effect of the patch is to simply delete the line
p = find_task_by_vpid(pid);
The Ubuntu bug report at https://bugs.launchpad.net/ubuntu/+source/fglrx- installer/+bug/394985 claims that this works for them. Maybe you can recompile the driver with that one-line patch
Thanks for Your reply. After a install atempt with sh ati-driver-installer-9-8-x86.x86_64.run, to recreate the files in /lib/modules/fglrx, I removed the if rutine related to "p = find_task_by_vpid(pid);" they was about four lines, and remaked the kernel module with /lib/modules/fglrx/build_mod # ./make.sh And later called: /lib/modules/fglrx # ./make_install.sh I try to load the module: modprobe fglrx I got no errors. Then I configured the driver with the aticonfig command. Later restarting the system (because not responded to the order "init 3" in konsole, and now the googleearth works fine, and with glxgears obtain: 60061 frames in 5.0 seconds = 12012.119 FPS 60035 frames in 5.0 seconds = 12006.965 FPS 61509 frames in 5.0 seconds = 12301.699 FPS 57307 frames in 5.0 seconds = 11461.208 FPS 60935 frames in 5.0 seconds = 12186.878 FPS 62700 frames in 5.0 seconds = 12539.984 FPS 62709 frames in 5.0 seconds = 12541.743 FPS 62633 frames in 5.0 seconds = 12526.600 FPS -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535216
User jerbes@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535216#c8
--- Comment #8 from Juan Erbes
participants (1)
-
bugzilla_noreply@novell.com