Your message dated Mon, 07 Feb 2011 01:24:19 +0000
with message-id <[email protected]>
and subject line Bug#611779: fixed in fglrx-driver 1:11-1-2
has caused the Debian Bug report #611779,
regarding fglrx-modules-dkms Linux 2.6.38 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
611779: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611779
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fglrx-modules-dkms
Version: 1:11-1-1.1
Severity: wishlist
Tags: patch

Hello:

The following commits breaks 2.6.38 kernel support:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff

The error message from the log is:
  LD      /var/lib/dkms/fglrx/11-1/build/built-in.o
  CC [M]  /var/lib/dkms/fglrx/11-1/build/firegl_public.o
/var/lib/dkms/fglrx/11-1/build/firegl_public.c: In function
‘fglrx_pci_suspend’:
/var/lib/dkms/fglrx/11-1/build/firegl_public.c:853: error: implicit declaration
of function ‘acquire_console_sem’
/var/lib/dkms/fglrx/11-1/build/firegl_public.c:875: error: implicit declaration
of function ‘release_console_sem’
make[1]: *** [/var/lib/dkms/fglrx/11-1/build/firegl_public.o] Error 1
make: *** [_module_/var/lib/dkms/fglrx/11-1/build] Error 2

A possible solution is included in the following DEP-3 compliant patch (also
attached):
http://paste.debian.net/106284

As a disclaimer this patch will enable support for 2.6.38-rc3 and up but -rc1
and -rc2 won't be supported. Should not be a big issue since a debian package
for this kernel is not yet available and only users that compile the kernel
themselves are affected. If there are any errors on the patch feel free to
modify it. Thanks for the great work!

Here is a quote of the patch:
Description: Add Linux 2.6.38 support
 The following commit renamed acquire_console_sem to console_lock and
 release_console_sem to console_unlock on the Linux kernel:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff
Author: Miguel Colon <[email protected]>
Forwarded: no
Last-Update: 2011-02-01

--- fglrx-driver-11-1.orig/common/lib/modules/fglrx/build_mod/firegl_public.c
+++ fglrx-driver-11-1/common/lib/modules/fglrx/build_mod/firegl_public.c
@@ -850,7 +850,12 @@ static int fglrx_pci_suspend(struct pci_
      * happen much less frequent then without this workaround.
      */
     if (state == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_lock();
+#else
         acquire_console_sem();
+#endif
+

     if (firegl_cail_powerdown(privdev, state))
         ret = -EIO;
@@ -872,7 +877,11 @@ static int fglrx_pci_suspend(struct pci_
     }

     if (state == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_unlock();
+#else
         release_console_sem();
+#endif

     KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, ret, NULL);

@@ -896,7 +905,11 @@ static int fglrx_pci_resume(struct pci_d
     if (PMSG_EVENT(pdev->dev.power.power_state) == 0) return 0;

     if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_lock();
+#else
         acquire_console_sem();
+#endif

 #ifdef FIREGL_USWC_SUPPORT
     // Restore the PAT after resuming from S3 or S4.
@@ -921,7 +934,11 @@ static int fglrx_pci_resume(struct pci_d
     firegl_cail_powerup(privdev);

     if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_unlock();
+#else
         release_console_sem();
+#endif

     PMSG_EVENT(pdev->dev.power.power_state) = 0;
     KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, 0, NULL);



-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-rc2-custom-original (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fglrx-modules-dkms depends on:
ii  dkms                          2.1.1.2-5  Dynamic Kernel Module Support Fram

fglrx-modules-dkms recommends no packages.

Versions of packages fglrx-modules-dkms suggests:
ii  fglrx-driver                  1:11-1-1.1 non-free ATI/AMD RadeonHD display 

-- no debconf information
Description: Add Linux 2.6.38 support
 The following commit renamed acquire_console_sem to console_lock and
 release_console_sem to console_unlock on the Linux kernel:
 
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff
Author: Miguel Colon <[email protected]>
Forwarded: no
Last-Update: 2011-02-01

--- fglrx-driver-11-1.orig/common/lib/modules/fglrx/build_mod/firegl_public.c
+++ fglrx-driver-11-1/common/lib/modules/fglrx/build_mod/firegl_public.c
@@ -850,7 +850,12 @@ static int fglrx_pci_suspend(struct pci_
      * happen much less frequent then without this workaround.
      */
     if (state == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_lock();
+#else
         acquire_console_sem();
+#endif
+
 
     if (firegl_cail_powerdown(privdev, state))
         ret = -EIO;
@@ -872,7 +877,11 @@ static int fglrx_pci_suspend(struct pci_
     }
 
     if (state == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_unlock();
+#else
         release_console_sem();
+#endif
 
     KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, ret, NULL);  
     
@@ -896,7 +905,11 @@ static int fglrx_pci_resume(struct pci_d
     if (PMSG_EVENT(pdev->dev.power.power_state) == 0) return 0;
 
     if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_lock();
+#else
         acquire_console_sem();
+#endif
 
 #ifdef FIREGL_USWC_SUPPORT
     // Restore the PAT after resuming from S3 or S4.
@@ -921,7 +934,11 @@ static int fglrx_pci_resume(struct pci_d
     firegl_cail_powerup(privdev);
 
     if (PMSG_EVENT(pdev->dev.power.power_state) == PM_EVENT_SUSPEND)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
+        console_unlock();
+#else
         release_console_sem();
+#endif
 
     PMSG_EVENT(pdev->dev.power.power_state) = 0;
     KCL_DEBUG_TRACEOUT(FN_FIREGL_ACPI, 0, NULL);  

--- End Message ---
--- Begin Message ---
Source: fglrx-driver
Source-Version: 1:11-1-2

We believe that the bug you reported is fixed in the latest version of
fglrx-driver, which is due to be installed in the Debian FTP archive:

fglrx-atieventsd_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-atieventsd_11-1-2_amd64.deb
fglrx-control_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-control_11-1-2_amd64.deb
fglrx-driver_11-1-2.debian.tar.gz
  to non-free/f/fglrx-driver/fglrx-driver_11-1-2.debian.tar.gz
fglrx-driver_11-1-2.dsc
  to non-free/f/fglrx-driver/fglrx-driver_11-1-2.dsc
fglrx-driver_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-driver_11-1-2_amd64.deb
fglrx-glx-ia32_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-glx-ia32_11-1-2_amd64.deb
fglrx-glx_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-glx_11-1-2_amd64.deb
fglrx-modules-dkms_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-modules-dkms_11-1-2_amd64.deb
fglrx-source_11-1-2_amd64.deb
  to non-free/f/fglrx-driver/fglrx-source_11-1-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <[email protected]> (supplier of updated fglrx-driver 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 06 Feb 2011 21:32:59 +0100
Source: fglrx-driver
Binary: fglrx-driver fglrx-glx fglrx-glx-ia32 fglrx-source fglrx-modules-dkms 
fglrx-control fglrx-atieventsd
Architecture: source amd64
Version: 1:11-1-2
Distribution: unstable
Urgency: low
Maintainer: Fglrx packaging team <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Description: 
 fglrx-atieventsd - external events daemon for the non-free ATI/AMD RadeonHD 
display
 fglrx-control - control panel for the non-free ATI/AMD RadeonHD display driver
 fglrx-driver - non-free ATI/AMD RadeonHD display driver
 fglrx-glx  - proprietary libGL for the non-free ATI/AMD RadeonHD display drive
 fglrx-glx-ia32 - proprietary libGL for the non-free ATI/AMD display driver 
(ia32 l
 fglrx-modules-dkms - dkms module source for the non-free ATI/AMD RadeonHD 
display driv
 fglrx-source - kernel module source for the non-free ATI/AMD RadeonHD display 
dr
Closes: 611779
Changes: 
 fglrx-driver (1:11-1-2) unstable; urgency=low
 .
   * Add patch 04-2.6.38-support from Miguel Colon <[email protected]>, to
     add Linux 2.6.38 support.
     Closes: #611779
   * Upload to unstable.
   * Update fglrx to xorg version 7.6.
Checksums-Sha1: 
 fe147baa5f630820d8cbe6653aa16c943126ab29 2358 fglrx-driver_11-1-2.dsc
 ad352c2e2254a189c3ae5b3440e88886058e9660 111406 
fglrx-driver_11-1-2.debian.tar.gz
 946b292e6100d2913172c477fbb28c7e45df6f33 19188284 fglrx-driver_11-1-2_amd64.deb
 c9269da057f3fb7afed334259b0b17059ac4e8ca 4396712 fglrx-control_11-1-2_amd64.deb
 2fb00c6df80cd038dc696e822c4e3d1b9d2d4634 272782 fglrx-glx_11-1-2_amd64.deb
 5f16fc16cd01b7d5b2d43c02e6626cbd43550df3 1563708 fglrx-source_11-1-2_amd64.deb
 7fe7db5bdb088da69ffd73e84b98c0b034e2688f 148126 
fglrx-atieventsd_11-1-2_amd64.deb
 67bfac98f1ed519fc340d3c0bdbf8124d1cf75b0 1643074 
fglrx-modules-dkms_11-1-2_amd64.deb
 30bc7ed00528b581b16b113d770af09bda6de42d 8714400 
fglrx-glx-ia32_11-1-2_amd64.deb
Checksums-Sha256: 
 52e0ab4df64079d5c51a01b92480e3059636155f19267f6eae1baebd1f37618a 2358 
fglrx-driver_11-1-2.dsc
 1b18e85376a3baa06990c12fff3ba932161d734de4662f564e8a76c460905ba3 111406 
fglrx-driver_11-1-2.debian.tar.gz
 be1c74cf97de31721188f60c9e7ffb7d00ee4c1b88b98ac64f0968805e1a4965 19188284 
fglrx-driver_11-1-2_amd64.deb
 5bf9b37f2e3e8884e6230cbf0ebc44e4e1ed46af6f956870790517f8762dbd8c 4396712 
fglrx-control_11-1-2_amd64.deb
 6c02f3f88caacefe46d896919e26d867883745e1b72808707a63b4b2006adc75 272782 
fglrx-glx_11-1-2_amd64.deb
 9091d38cf2a0ba495907a9061eb85ea7fcd2cbbf57929d09af6d8a7379534434 1563708 
fglrx-source_11-1-2_amd64.deb
 cd64aeb43c723b91ac87d7a798b6aab1558b64080de72cf54ec6e8168f74fd14 148126 
fglrx-atieventsd_11-1-2_amd64.deb
 6299ef4308617ead97ee87404f373c7aecba8e4f84ea0898d2d94e14c4eea5d3 1643074 
fglrx-modules-dkms_11-1-2_amd64.deb
 fa032b5b7053e9fb799937cba3ce5730dc616fb8aa7cb770f2870da6b2d02d32 8714400 
fglrx-glx-ia32_11-1-2_amd64.deb
Files: 
 c84611a143a91b05434382579f096748 2358 non-free/x11 extra 
fglrx-driver_11-1-2.dsc
 0bf954255e2ff7737944d966fb6e01e1 111406 non-free/x11 extra 
fglrx-driver_11-1-2.debian.tar.gz
 bc51dc4908ccb0016342a05fa7ad2852 19188284 non-free/x11 extra 
fglrx-driver_11-1-2_amd64.deb
 cb11b7056be51988e1db410d03e54c79 4396712 non-free/x11 extra 
fglrx-control_11-1-2_amd64.deb
 4a27c9e773117880c840c93985207d94 272782 non-free/x11 extra 
fglrx-glx_11-1-2_amd64.deb
 4257a84e7de1e2e7a231333fbdc2018f 1563708 non-free/kernel extra 
fglrx-source_11-1-2_amd64.deb
 799be49d9747565950f8e3222b44ec15 148126 non-free/x11 extra 
fglrx-atieventsd_11-1-2_amd64.deb
 88433f04d690a935180f30fb5308e6ab 1643074 non-free/kernel extra 
fglrx-modules-dkms_11-1-2_amd64.deb
 8d7b6ee71559d28b15141f0874fa8a05 8714400 non-free/x11 extra 
fglrx-glx-ia32_11-1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJNTwdbAAoJEBLZsEqQy9jkGtcP/i6BE8em7vySbhlX4gvg0ZGE
YHs5BbFtSAaPrxRCVpAqTKTzje8egFKNPSYUpqqsRNnfKvr1DCrb+YMfDOdQ/56f
+8A0r+hICMt+MKxYBZYD25bDONrGCH35b9qBbzERiS5JgI3tNHSMAMtRqCpco5nw
lMr/SDrFfI0Hx0LKIptLiCi+HEjwfsgSC9y8Vf1G8a6OHqiHXPa1qnWZEShbFMZ+
nAsLgdeNevQIW2C/c0DzJJusuzDRC0YzVE9V01xJRRAt9HJ/G45Y5mQhtR3SY0Ik
TT+bNM/nfUubtl2n5prTmxs8gof/6ypgjviJgGhOy34cgvQk9+GVTBvAl7lkQlev
IVOGEVVaFJOt0R+2x3HfT/FvBWBHHH/zK6Z/4kV+FQ2jw6Fu4TNx09+YgXHLYsYz
5Asx1p8n+A5WN7ibl953b9bwfcwK5iqONde4m2fuK5wvZEQMWKq/3KOGp8MowsnW
cDQYWN+K+fzgL3Vx1irRB849aOKSRLPl8HLDFe7/pE15i9jkSSnsCKZpEysxAQMT
aYyzTCKYzABfjC7oXKX03rJ30xM9n7BuFSeMJ+drDJIhSRl2o+RvZ/JFImsMyFlc
MoLThLkRswhcHRJrbiNTLMMYsdRlkKwAx4ZDgvsz+FxJfmcRqvtLQ4e3O5QoMmir
6G0iaXYp0d5BbkOihabp
=Ijv/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to