need help with ati radeon install
I'm getting. does anyone have any ideas? looks like the fglrx build is failing for some reason.
:: Code :: # vim /usr/share/ati/fglrx-install.log
1 2 Creating symlink /var/lib/dkms/fglrx/8.85/source -> 3 /usr/src/fglrx-8.85 4 5 DKMS: add Completed. 6 7 Kernel preparation unnecessary for this kernel. Skipping... 8 9 Building module: 10 cleaning build area.... 11 cd /var/lib/dkms/fglrx/8.85/build; sh make.sh --nohints --uname_r=2.6.38-2-6 86 --norootcheck.....(bad exit status: 1) 12 0 13 0 14 [Error] Kernel Module : Failed to build fglrx-8.85 with DKMS 15 [Error] Kernel Module : Removing fglrx-8.85 from DKMS 16 17 ------------------------------ 18 Deleting module version: 8.85 19 completely from the DKMS tree. 20 ------------------------------ 21 Done. 22 [Reboot] Kernel Module : update-initramfs Back to top |
You're providing zero information.
Please post the output of inxi -dx install instructions: smxi.org/site/install.htm#inxi For full graphics support, requires packages: X11-utils x11-xserver-utils mesa-utiils Install those, install inxi, then show me here: inxi -dx so I don't have to go step by step to get this information. After that, run: sgfxi and paste, using something like pastebin.com then paste the link, the file: /var/log/sgfxi/sgfxi.log Once we have some idea of a base system and the actual problem, ie, we've undone all the stuff you probably already tried, which sgfxi will or should do automatically, then I can help you. Back to top |
oh yeah the vid card is showing as a 256 meg but don't know if that matters should be 1g
# inxi -dx System: Host Ramen Kernel 2.6.38-2-686 i686 (32 bit) Console tty 1 Distro Debian GNU/Linux wheezy/sid CPU: Single core Intel Celeron 430 (-UP-) clocked at 1807.615 MHz Graphics: Card: ATI Juniper [Radeon HD 5700 Series] bus-ID: 01:00.0 X.org 1.10.1 drivers fbdev (loaded) vesa (loaded) tty size 80x37 Advanced Data: N/A for root out of X Disks: HDD Total Size: 1000.2GB (87.2% used) Info: Processes 134 Uptime 1:20 Memory 367.9/3041.7MB Runlevel 2 Client Shell inxi 1.5.7 /var/log/sgfxi/sgfxi.log pastebin.com/VZYK2Ev1 /usr/share/ati/fglrx-install.log pastebin.com/USxAdSZ4 Thanks for the help. Back to top |
you have some dkms garbage in there, I don't deal with it except to have sgfxi try to dump it, but I see in sgfxi I have this comment in that section:
:: Code :: # this should in theory all be gone but not necessarily in fact
# note that fglrx isn't working well here at all... clean_dkms() { Since I refuse to deal with dkms in my own free time, you'll have to figure out why it failed to get removed, what extra steps sgfxi needs to take to purge fglrx dkms totally from the system, and so on. You can check first to see if this directory exists: /var/lib/dkms/fglrx which it should not, since otherwise the sgfxi log would show it does, and it would have been removed. Then you have to find out where else that dkms contamination has spread to the system and see what is making fglrx think that dkms is installed. Or does the package now install it? the run package that is? I don't see how it could but maybe it changed. see here: :: Code :: cd /var/lib/dkms/fglrx/8.85/build; sh make.sh --nohints --uname_r=2.6.38-2-6 86 --norootcheck....(bad exit status: 1)dkms is some badly hacked, nasty stuff, so I'd be curious to see where this cruft is being called from in the system. I'm going to assume an exit error is caused by the directories not being there, but I have no idea what is running the dkms command in the first place, and I am not going to spend my time learning about dkms weirdnesses on the fglrx driver, that's two bad things connected, not a good way to spend my time. But if you figure it out and post the step by step solution I'll try to script that into sgfxi for future reference and help for future users. Back to top |
Just for kicks, try this: sgfxi -d
that will remove all the stuff then install the debian drivers, see if that works. Other than that I can't say, I found many other error reports with exactly your issue, and I'm assuming that ati/amd screwed something up again in their programming and installer, as usual. Back to top |
being a noob I went and
apt-get purge dkms now when I run it I get a bit further it looks like :: Code :: 1 [Message] Kernel Module : Trying to install a precompiled kernel module.
2 [Message] Kernel Module : Precompiled kernel module version mismatched. 3 [Message] Kernel Module : Found kernel module build environment, generating kernel module now. 4 AMD kernel module generator version 2.1 5 doing Makefile based build for kernel 2.6.x and higher 6 rm -rf *.c *.h *.o *.ko *.a .??* *.symvers 7 make -C /lib/modules/2.6.38-2-686/build SUBDIRS=/lib/modules/fglrx/build_mod /2.6.x modules 8 make[1]: Entering directory `/usr/src/linux-headers-2.6.38-2-686' 9 CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o 10 /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GlobalKernelLock': 11 /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1903: error: implicit declaration of function 'lock_kernel' 12 /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GlobalKernelUnlock': 13 /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1909: error: implicit declaration of function 'unlock_kernel' 14 make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 15 make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2 16 make[2]: *** [sub-make] Error 2 17 make[1]: *** [all] Error 2 18 make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-2-686' 19 make: *** [kmod_build] Error 2 20 build failed with return value 2 21 [Error] Kernel Module : Failed to compile kernel module - please consult readme. 22 [Reboot] Kernel Module : update-initramfs < Edited by dohbob :: May 27, 11, 14:57 > Back to top |
I'm guessing you have some old garbage in there, left over from a previous fglrx install, and it's trying to install an old fglrx to a new kernel, which of course fails. That's a guess, that's all I can say.
Back to top |
based on bugs.debian.org/cgi-bin/bugreport.cgi?bug=618834
it looks like they took out the big lock in 2.6.37 and i'm going to need to build it with the big lock enabled or use Ubuntu's... don't suppose you can help me with doing that? Back to top |
ah, that's part of it. However, you can just install the liquorix kernel, it works.
That lock thing isn't forced in until 2.6.39 in all kernels I believe. I'm not into patching or whatever with kernels, it's not my thing. However, I did a test and there was NO dkms module built, so that's another issue, dkms cruft, I believe though I'm not certain that your system is trying to build the old driver onto a new kernel. Back to top |
:: Code :: inxi -d
System: Host dt-32-1 Kernel 2.6.30-5.dmz.4-liquorix-686 i686 (32 bit) Desktop KDE 4.4.5 Distro Debian GNU/Linux wheezy/sid CPU: Dual core AMD Athlon 64 X2 3800+ (-MCP-) clocked at 1000.00 MHz Graphics: Card: ATI RV710 [Radeon HD 4350] X.Org 1.10.1 driver fglrx (loaded) Resolution 1280x1024@60.0hz GLX Renderer ATI Radeon HD 4300/4500 Series GLX Version 3.3.10750 Compatibility Profile Context Disks: HDD Total Size: 163.9GB (1.9% used) Info: Processes 161 Uptime 2 min Memory 429.4/1009.6MB Client Shell inxi 1.5.8 and the ati install log: :: Code :: cat /usr/share/ati/fglrx-install.log
[Message] Kernel Module : Trying to install a precompiled kernel module. [Message] Kernel Module : Precompiled kernel module version mismatched. [Message] Kernel Module : Found kernel module build environment, generating kernel module now. 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/2.6.30-5.dmz.4-liquorix-686/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/usr/src/linux-headers-2.6.30-5.dmz.4-liquorix-686' CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:149: warning: 'firegl_acpi_lid_notifier' defined but not used CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl.o CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-5.dmz.4-liquorix-686' build succeeded with return value 0 duplicating results into driver repository... done. You must change your working directory to /lib/modules/fglrx and then call ./make_install.sh in order to install the built module. - recreating module dependency list - trying a sample load of the kernel modules done. [Message] Kernel Module : update initramfs not required as you can see, no dkms was attempted. The kernel is old because the grub didn't update right when I changed the system, sigh... so I couldn't boot into the real 2.6.38, don't feel like debugging that now, but you see that the driver is not at all similar to what it is in yours, and there is no dkms nonsense present. And it works, I should add. Back to top |
All times are GMT - 8 Hours |