desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #130170
[Bug 1479913] Re: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug']
Solved - solution based on many pages like:
http://cs-people.bu.edu/doucette/xia/guides/debian-patch.txt
https://wiki.debian.org/UsingQuilt
(and many more I forgot ... sorry)
So, I will try to write some quick steps so you can build your own
fglrx-installer-updates package until properly released:
1. Get needed tools installed:
sudo apt-get install quilt
sudo apt-get install devscripts
2. Get the sources and build dependencies:
apt-get source fglrx-updates-core
apt-get build-dep fglrx-updates-core
3. Start patching:
Change into src dir (or whatever it is named):
cd fglrx-installer-updates-15.200
Push all existing patches:
quilt push -a
Create a new patch (or import MatthewHawn (steamraven) 's one - see quilt reference above).
So you took the edit way - here it is:
quilt new kcl_acpi.diff
Add a new file to modify:
quilt add lib/modules/fglrx/build_mod/kcl_acpi.c
Edit the file and apply MatthewHawn (steamraven) 's patch (or use the diff - any way you're confortable with):
nano lib/modules/fglrx/build_mod/kcl_acpi.c
Refresh quilt:
quilt refresh
Unapply all patches:
quilt pop -a
Give it a version and txt:
dch -i
Now you need to edit some more (I coulden't package it without editing - and quilt could not help me anymore):
nano debian/rules
line 435:
- done \
+ done; \
line 440:
- execstack -q $$i && execstack -c $$i || true; done; \
+ execstack -q $$i && execstack -c $$i || true; \
line 445:
- execstack -q $$i && execstack -c $$i; done; \
+ execstack -q $$i && execstack -c $$i; \
line 450:
- execstack -q $$i && execstack -c $$i; done; \
+ execstack -q $$i && execstack -c $$i; \
Save it and run:
debuild -us -uc
4. Install:
cd ..
dpkg -i fglrx-updates-core fglrx-updates fglrx-amdcccle-updates
Sorry for the brevity - I write on the run atm. and kinda retracing from memory - I hope I didn't skip / barf something :)
I am running the modified version and I can confirm that it works for me :)
Thank you MatthewHawn (steamraven) for providing the proper patch - I missed graphical interface :D
Regards
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1479913
Title:
fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to
build [FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only
symbol 'pci_ignore_hotplug']
Status in fglrx-installer package in Ubuntu:
Confirmed
Bug description:
Have no idea what happened. Contact me if you need additional details.
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: fglrx-core 2:15.200-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
Uname: Linux 3.19.0-25-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:
ApportVersion: 2.17.2-0ubuntu1.2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
DKMSKernelVersion: 3.19.0-26-generic
Date: Thu Jul 30 12:05:59 2015
DistUpgraded: Fresh install
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
fglrx-core, 15.200, 3.19.0-25-generic, x86_64: installed
vboxhost, 4.3.30, 3.19.0-25-generic, x86_64: installed
vboxhost, 4.3.30, 3.19.0-26-generic, x86_64: installed
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870] [1002:6738] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device [1787:2010]
InstallationDate: Installed on 2012-09-16 (1046 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120905.2)
MachineType: BIOSTAR Group A770E3
PackageVersion: 2:15.200-0ubuntu4.1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-25-generic root=/dev/mapper/ubuntu-root ro radeon.nomodeset=1 radeon.dpm=1 crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M
RelatedPackageVersions:
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4.1
SourcePackage: fglrx-installer
Title: fglrx-core 2:15.200-0ubuntu4.1: fglrx-core kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/21/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080014
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: A770E3
dmi.board.vendor: BIOSTAR Group
dmi.chassis.asset.tag: None
dmi.chassis.type: 3
dmi.chassis.vendor: BIOSTAR Group
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080014:bd04/21/2010:svnBIOSTARGroup:pnA770E3:pvr:rvnBIOSTARGroup:rnA770E3:rvr:cvnBIOSTARGroup:ct3:cvr:
dmi.product.name: A770E3
dmi.sys.vendor: BIOSTAR Group
version.compiz: compiz 1:0.9.12.1+15.04.20150410.1-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.62+git1507210630.293f8f~gd~u
version.libgl1-mesa-dri: libgl1-mesa-dri 10.7~git1507230730.2ca1f7~gd~u
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.7~git1507230730.2ca1f7~gd~u
version.xserver-xorg-core: xserver-xorg-core 2:1.17.1-0ubuntu3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Thu Jul 30 09:44:01 2015
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.1-0ubuntu3
xserver.video_driver: fglrx
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1479913/+subscriptions
References