Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498766 - x11-drivers/ati-drivers-13.1_pre897 needs a modified patch for kernel 3.13.0
Summary: x11-drivers/ati-drivers-13.1_pre897 needs a modified patch for kernel 3.13.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
: 499218 499566 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-21 10:22 UTC by Helmut Jarausch
Modified: 2014-01-28 10:59 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
revised acpihandle patch (ati-drivers-kernel-3.8-acpihandle.patch,859 bytes, patch)
2014-01-21 10:22 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2014-01-21 10:22:26 UTC
Created attachment 368320 [details, diff]
revised acpihandle patch

The macro DEVICE_ACPI_HANDLE has gone in kernel 3.13.0(-gentoo)

The patch ati-drivers-kernel-3.8-acpihandle.patch has to be modified -
the new version is attached.

Unfortunately, even for 3.12.x kernel series, one has to patch the kernel itself:
sed -i -e 's/EXPORT_SYMBOL_GPL(acpi_bus_get_device)/EXPORT_SYMBOL(acpi_bus_get_device)/' drivers/acpi/scan.c

to use the only legacy ati-drivers available.
Comment 1 emil karlson 2014-01-21 21:34:06 UTC
Thanks for the patch checking it out and will push to x11 overlay later.
Comment 2 J.Borme 2014-01-22 09:37:23 UTC
Actually the other versions of ati-drivers also seem to need the acpi handle patch. With gentoo-sources-13.0-r1 and ati-drivers-13.9 and -13.12, I get the build error:

(...)/ati-drivers-13.9/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:796:59: error: ‘struct acpi_dev_node’ has no member named ‘handle’
Comment 4 renato gallo 2014-01-25 14:08:27 UTC
I confirm the problem has been solved, thank you very much guys :)

(In reply to emil karlson from comment #3)
> Fixed in x11 overlay
> http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;
> h=82f36270ffb88a0addf9bb8638d8922aee353f8b
> http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;
> h=f23dc6abf1ac65b9bdc7d5d10534af1e9f9111bf
> 
> Thanks for the report and the patch
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-25 15:48:28 UTC
*** Bug 499218 has been marked as a duplicate of this bug. ***
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-01-26 18:12:28 UTC
Fixed in CVS.
Comment 7 Dominique Michel 2014-01-28 10:59:18 UTC
*** Bug 499566 has been marked as a duplicate of this bug. ***