login loop →fglrx-core (not installed): fglrx-core kernel module failed to build

Bug #1487576 reported by Sinisa Radalj
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

installed manually as usual but on ubuntu 15.04 first time i get same situation when upgrading to kernel 26 ,and now after cleaning everything for loop after login and that means changing lightdm to gdm and back, reinstaling and resetting unity, enabling compiz unity plugin, do all what need to be done about Xauthority and ICEauthority...and after all those when i manged to have step by step my gui back and to work all like before and that means not using upstart,using light dm,usig unity and compiz ,and unity compiz plugin enabled ,all but again on open source driver and there i pass from lvm-pipe to gallium...so to be clear i get like it was just again i wanted to have fglrx working,and yes i know how to install it manually and so many times i do it/and every time i manage to fix situation one way or other to not do fresh install..

so first time i saw this when i accept upgrade from 3.19...25 kernel to3.19..26 ,so i investigate all those above..to get gui workable even i must restart unity and on screen as user start again compiz,but never mind ..i choose to report this bug-situation as now i know answer and seems its so easy to repet and to recover and more of to avoid that..

  fgrx driver work flawlessly on 3.19..25
kernel update(now i know ,and as so many user i get loop ,i do not expect that i need to back to older kernel.. and older kernel i erase ,remove to not occupy space as usual routine..

so when all other thing works well i try to do from open source to fglrx driver update but i was lazy and i choose to simply do it over gui,add aditional driver..but that finish with black screen too..
over recovery console i purge again fglrx driver ,and prepare all to load install open source driver and voila first on lvm-pipe and then on Gallium driver.. to be litlle bit more complicated this is uefi boot option was diff,more of grphic card not have GOP bios.all lead me to wrong side..

then with all working (in mean time in one of recovery session i do updates as if is some fix let it came..so came newer kernel 3.19...27 and then on that kernel i boot in efi mode without upstart.. on galium and then i try to do step by step fglrx driver manually
but again after reboot i ended in login loop.. and can open other tty 1,2,3,4,5,6 only tty7 and login loop ...well then i check if is same situation without uefi boot,and yes it is..and then in recovery boot i was ready to purge fglrx driver and to go back from kernel 3.19...27 way back to kernel 3.19...25 as i read that is solution ,so this is not and not affecting only me,just i do maybe more aroud this..so to be clear fglrx or fglrx updates was not working on both updated kernel 26 and then 27... but
before i purge both of it ,i simply do as routine update with enabled network and mounted disc in rw mode...so i was suprised
over update came updated version for fglrx-core and fglrx amdcccle.. from revision 1 to revision 2.. so i give that try..

and now my desktop works.. without need to go back to kernel 3.19...25

just if somebody is interesting this is error log when fglrx driver is manually installed/builded for kernel 3.19...27

yes i know that will be problems ,but i choose to investigate as much i can,and seems there is one more thing on list what can cause login loop..
so it not unity,not unity compiz ,not missing signature of still unsupported card,its obvious what is,i learn to not switch so fast to newest kernel..but good news is after same situation ,but not exactlly same reason problems are noted and solution came over fglrx updates ,even in reality i do manual install of fglrx not fglrx-updates.. which crash with previous 26 kernel.. at least i copy situation what was after manual install of fglrx ,and save it,and write easy solution.. maybe will save time to somebody,and sure is interesting..at least in all those thing i remove iommu and install this time fglrx ,well recovery do install of fglrx-updates and overwrite to to even newer sub version,so now i have fglrx working again, and without hardware or software iommu,so i will try again to enable crossfire..what was other real bug..when usb keyboard and usb mouse ,and even networking not working as when hardware iommu is disabled in bios...if previouslly was enabled..or fglrx driver was installed with iommu on,regardless iommu on in bios or software iommu sw in grub config to kernel..well interesting story..next time i will wait one week before upgrading kernel or fglrx updates..lol!

solution: reboot in recovery mode,enable networking,do auto repair,acc. updates ,and somehow fglrx-updates will overwrite and fill what is missing ..even was installed just fglrx not fglrx-updates.. that is only thing what is still strange to me..

DKMS make.log for fglrx-core-15.200 for kernel 3.19.0-27-generic (x86_64)
Pet Kol 21 18:29:07 CEST 2015
/usr/sbin/dkms: redak 74: cd: /var/lib/dkms/fglrx/15.200/build: Nema takve datoteke ili direktorija
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.19.0-27-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.200/build/2.6.x modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-27-generic'
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx-core/15.200/build/2.6.x/firegl_public.c:6426:12: warning: ‘KCL_fpu_save_init’ defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_acpi.o
/var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_acpi.c:832:20: warning: ‘KCL_ACPI_Slot_No_Hotplug’ defined but not used [-Wunused-function]
 static acpi_status KCL_ACPI_Slot_No_Hotplug(KCL_ACPI_DevHandle handle, u32 lvl, void *data, void **rv)
                    ^
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_agp.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_debug.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_ioctl.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_io.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_pci.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_str.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_iommu.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl.o
  CC [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/kcl_wait.o
  LD [M] /var/lib/dkms/fglrx-core/15.200/build/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug'
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1398: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-27-generic'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: fglrx-core 2:15.200-0ubuntu4.2
ProcVersionSignature: Ubuntu 3.19.0-27.29-generic 3.19.8-ckt5
Uname: Linux 3.19.0-27-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:

ApportVersion: 2.17.2-0ubuntu1.3
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-27-generic
Date: Fri Aug 21 18:29:13 2015
DistUpgraded: Fresh install
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
 fglrx-core, 15.200, 3.19.0-27-generic, x86_64: installed
 fwts-efi-runtime-dkms, 15.03.01, 3.19.0-27-generic, x86_64: installed
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Barts PRO [Radeon HD 6850] [1002:6739] (prog-if 00 [VGA controller])
   Subsystem: XFX Pine Group Inc. Device [1682:3116]
InstallationDate: Installed on 2015-06-02 (79 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
PackageVersion: (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-27-generic.efi.signed root=UUID=3014311c-d68a-423a-b0cd-c8a6fa4d74f6 ro recovery nomodeset
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1
 apt 1.0.9.7ubuntu4.2
SourcePackage: fglrx-installer
Title: fglrx-core (not installed): fglrx-core kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/08/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2501
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: SABERTOOTH 990FX R2.0
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2501:bd04/08/2014:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnSABERTOOTH990FXR2.0:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.
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.60-2
version.libgl1-mesa-dri: libgl1-mesa-dri 10.5.9-2ubuntu1~vivid1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.5.9-2ubuntu1~vivid1
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 1:7.5.0-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917-1~exp1ubuntu2.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2build1
xserver.bootTime: Fri Aug 21 19:32:57 2015
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
 fglrx(0): XMM failed to initialize
 AIGLX error: failed to open /usr/X11R6/lib64/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
 AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.1-0ubuntu3
xserver.video_driver: fglrx

Revision history for this message
Sinisa Radalj (sinisa1hr) wrote :
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1479913, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.