[Pkg-fglrx-devel] Bug#547385: fglrx-driver: does not work with 2.6.31

Jan De Luyck bugs_debian at kcore.org
Sat Sep 19 09:35:46 UTC 2009


Package: fglrx-driver
Version: 1:9-9-1
Severity: normal


fglrx fails to load against 2.6.31, spewing out this error:

fglrx: Unknown symbol find_task_by_vpid

fix as taken from https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/394985/comments/7
works without problems as far as I can tell (Radeon HD4850 card)

diff -ruN fglrx-8.620.orig/firegl_public.c fglrx-8.620/firegl_public.c
--- fglrx-8.620.orig/firegl_public.c 2009-07-30 02:29:19.000000000 +0100
+++ fglrx-8.620/firegl_public.c 2009-07-30 02:47:43.000000000 +0100
@@ -1292,7 +1292,10 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
    p = find_task_by_pid( pid );
 #else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
    p = find_task_by_vpid( pid );
+else p = pid_task( pid, PIDTYPE_PID );
+#endif
 #endif
    if (p)
    {

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages fglrx-driver depends on:
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  fglrx-glx                     1:9-9-1    proprietary libGL for the non-free
ii  laptop-detect                 0.13.7     attempt to detect a laptop
ii  libc6                         2.9-26     GNU C Library: Shared libraries
ii  libdrm2                       2.4.13-1   Userspace interface to kernel DRM 
ii  libgcc1                       1:4.4.1-4  GCC support library
ii  libgl1-mesa-glx [libgl1]      7.5.1-1    A free implementation of the OpenG
ii  libx11-6                      2:1.2.2-1  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxinerama1                  2:1.0.3-2  X11 Xinerama extension library
ii  libxrandr2                    2:1.3.0-2  X11 RandR extension library
ii  libxrender1                   1:0.9.4-2  X Rendering Extension client libra
ii  xserver-xorg                  1:7.4+4    the X.Org X server

Versions of packages fglrx-driver recommends:
ii  fglrx-atie 1:9-9-1                       external events daemon for the non
ii  fglrx-glx  1:9-9-1                       proprietary libGL for the non-free
ii  fglrx-glx- 1:9-9-1                       proprietary libGL for the non-free
ii  fglrx-kern 1:9-9-1+2.6.30.5-10.00.Custom ATI binary kernel module for Linux
ii  fglrx-kern 1:9-9-1+2.6.31-10.00.Custom   ATI binary kernel module for Linux
ii  fglrx-sour 1:9-9-1                       kernel module source for the non-f

Versions of packages fglrx-driver suggests:
ii  fglrx-control                 1:9-9-1    control panel for the non-free AMD

-- debconf information:
  fglrx-driver/acpi_switch: false





More information about the Pkg-fglrx-devel mailing list