[Lenny] I seem to have broken X...

 
Thread Tools Search this Thread
Operating Systems Linux Debian [Lenny] I seem to have broken X...
# 8  
Old 12-18-2010
I found a few posts which said that your 'undefined symbol: GlxInitVisuals2D' problem could be fixed on Gentoo using 'eselect opengl set ati.' It was that which led me to the section at Problems with fglrx - ThinkWiki that I posted above.
# 9  
Old 12-18-2010
I have completely removed everything related to fglrx and begun reinstalling from scratch. I believe I have found the cause of the original problem. There is no package for the module for amd64: you have to build it yourself. When everything else was updated, this package needed to be updated manually (hence why the module no longer loads). I tried to build an up-to-date version using `m-a a-i fglrx', but get the following error:
Code:
(...SNIP...)
  CC [M]  /usr/src/modules/fglrx/kcl_agp.o
  CC [M]  /usr/src/modules/fglrx/kcl_debug.o
  CC [M]  /usr/src/modules/fglrx/kcl_ioctl.o
/usr/src/modules/fglrx/kcl_ioctl.c: In function
‘KCL_IOCTL_AllocUserSpace32’:
/usr/src/modules/fglrx/kcl_ioctl.c:196: error: implicit declaration of
function ‘compat_alloc_user_space’
/usr/src/modules/fglrx/kcl_ioctl.c:196: warning: return makes pointer
from integer without a cast
make[3]: *** [/usr/src/modules/fglrx/kcl_ioctl.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.26-2-amd64' 
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx' 
make: *** [kdist_image] Error 2

Googling this error, I get mixed messages. Some places say it is already fixed, others say it is a known bug with a not-yet-available fix. I found a manual solution for Ubuntu, but this does not appear to work on Debian.

Last edited by Elric of Grans; 12-18-2010 at 09:13 PM.. Reason: Missing a key word.
# 10  
Old 12-19-2010
What version of fglrx are you using? The page at ATIProprietary - Debian Wiki says to use 'Catalyst 8.12 (fglrx 8.561)' on Lenny.
# 11  
Old 12-19-2010
Yes, I am using that version, through the fglrx-source package. Interestingly, the last deb I built (when I first installed) was also that version, so it looks as though this package has not been updated in a while. There has been a change in kernel, however, which necessitates a rebuild of the module (and explains why the old build no longer works).
# 12  
Old 12-20-2010
# 13  
Old 12-20-2010
I gave that a go, but it does not build the packages. Perhaps because of differences between Lenny and Squeeze? It did not seem to find things where it was looking for them (looking in /lib/X11R6/lib86, which does not exist).

I have continued playing around with the Ubuntu manual solution I mentioned before and managed to tweak it for Debian (kludged the kludge: I need a shower). I have managed to build 8.12 against the current kernel and installed the package. Things still do not seem to work, however. If I reboot with the xorg.config file set for ATI, X fails to load with errors of the driver not existing. Seems obvious enough: make sure the module is loaded.
Code:
$ sudo modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.26-2-amd64/misc/fglrx.ko): Cannot allocate memory

Code:
$ dmesg
(...SNIP...)
[   68.225514] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[   68.271664] [fglrx] Maximum main memory to use for locked dma buffers: 2870 MBytes.
[   68.271664] [fglrx:drm_alloc] *ERROR* [driver] Allocating 0 bytes
[   68.271664] [fglrx:firegl_init_device_list] *ERROR* Out of memory when allocating device heads
[   68.271664] [fglrx:firegl_init_module] *ERROR* firegl_init_devices failed

I only use about 5% of my memory, so I doubt I am out. Reading around on Google, I found references to this issue with older cards, but mine is fairly recent and this is the same source as the module I used perfectly fine all year.

I have currently reverted to the default xorg.config (not using the fglrx driver). The low res is ugly, but at least I can copy errors across to Iceweasel.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

Chrome browser no longer working on my debian lenny 5

Hi All, My chrome browser was working correctly on my Debian Lenny 5 PC..Today i downloaded the version from google and tried to install the deb from command line as follows: dpkg -i <latest-chrome-package> The installation failed but now my existing old chrome browser is not starting. ... (2 Replies)
Discussion started by: coolatt
2 Replies

2. Debian

How to install Java in Debian Lenny

Hi all im trying to install Java in Debian lenny with apt-get install but can find the packages...anyone can help me on this one? thanks (2 Replies)
Discussion started by: ro0t3d
2 Replies

3. Debian

Remotely unlock ssh key (Gnome, Debian Lenny)

Hi, I don't think this is a new problem, but I can't find a solution anywhere, and it's quite annoying: In the office, I have a workstation running Debian Lenny with Gnome, and I've copied my ssh key to some other machines for secure and easy login without havin' to remember all the passwords.... (8 Replies)
Discussion started by: harald
8 Replies

4. Debian

not run script firewall (lenny 5.0.4)

startup script displays a message: # /etc/init.d/firewall start Starting firewall: iptables iptables v1.4.2: Can't use -i with OUTPUT Try `iptables -h' or 'iptables --help' for more information. iptables v1.4.2: Can't use -i with OUTPUT not to understand what is wrong in the... (2 Replies)
Discussion started by: moskovets
2 Replies

5. Shell Programming and Scripting

downgrade sh to 3.1 - debian lenny - how?

Hello, i'd need to downgrade sh to the latest 3.1 version, been trying to pin the version in apt preferences or use aptitude but it doesn't want to work. (Best possible to GNU bash, version 3.1.17(1)-release (x86_64-pc-linux-gnu)) Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny2)... (0 Replies)
Discussion started by: TehOne
0 Replies

6. Debian

Debian Lenny update problems

Hi everybody! I have a very big problem, I can not make any updates on my debian lenny. I get everytime this errors with apt-get update: Err http://security.debian.org lenny/updates Release.gpg Connection failed Err http://www.backports.org lenny-backports Release.gpg Connection... (2 Replies)
Discussion started by: magge
2 Replies

7. Debian

Lenny upgrade and my CD-ROM...

I recently upgraded from Etch to Lenny. There were a few hiccoughs, but I was able to sort most of these out myself. There is just one little niggle left that I have no idea how to go about fixing. My CD-ROM now ejects on boot, and will not stay closed. When I boot the system, I notice that... (0 Replies)
Discussion started by: Elric of Grans
0 Replies

8. UNIX for Advanced & Expert Users

Broken

Ok i am running Linux, or rather was. I can not longer do anything. This was a dns server amoungst other things. It will no longer boot. I have used a startup disk, but how can i recover the OS? I need help and urgently. Please someone thanks (3 Replies)
Discussion started by: ollyparkhouse
3 Replies
Login or Register to Ask a Question