Sponsored Content
Operating Systems Linux Debian [Lenny] I seem to have broken X... Post 302481651 by Elric of Grans on Saturday 18th of December 2010 08:12:06 PM
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.
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
WHEREIS(1)							   User Commands							WHEREIS(1)

NAME
whereis - locate the binary, source, and manual page files for a command SYNOPSIS
whereis [-bmsu] [-BMS directory... -f] filename... DESCRIPTION
whereis locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading pathname compo- nents and any (single) trailing extension of the form .ext, for example, .c. Prefixes of s. resulting from use of source code control are also dealt with. whereis then attempts to locate the desired program in a list of standard Linux places. OPTIONS
-b Search only for binaries. -m Search only for manual sections. -s Search only for sources. -u Search for unusual entries. A file is said to be unusual if it does not have one entry of each requested type. Thus `whereis -m -u *' asks for those files in the current directory which have no documentation. -B Change or otherwise limit the places where whereis searches for binaries. -M Change or otherwise limit the places where whereis searches for manual sections. -S Change or otherwise limit the places where whereis searches for sources. -f Terminate the last directory list and signals the start of file names, and must be used when any of the -B, -M, or -S options are used. EXAMPLE
Find all files in /usr/bin which are not documented in /usr/man/man1 with source in /usr/src: example% cd /usr/bin example% whereis -u -M /usr/man/man1 -S /usr/src -f * FILES
/{bin,sbin,etc} /usr/{lib,bin,old,new,local,games,include,etc,src,man,sbin, X386,TeX,g++-include} /usr/local/{X386,TeX,X11,include,lib,man,etc,bin,games,emacs} SEE ALSO
chdir(2V) BUGS
Since whereis uses chdir(2V) to run faster, pathnames given with the -M, -S, or -B must be full; that is, they must begin with a `/'. whereis has a hard-coded path, so may not always find what you're looking for. AVAILABILITY
The whereis command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux July 2009 WHEREIS(1)
All times are GMT -4. The time now is 06:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy