LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fglrx install problem (https://www.linuxquestions.org/questions/linux-newbie-8/fglrx-install-problem-235335/)

JurajPsycho 09-26-2004 07:01 AM

fglrx install problem
 
Hi
I'm trying to install drivers for my Ati Radeon 9800 Pro video card
I got the message of missing kernel module build environment, so I have to build it. But when I try to make
#/lib/modules/fglrx/build_mod/ sh make.sh
I get this
Code:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.6/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.6/build: No such file or directory.  Stop.
make: *** [kmod_build] Error 2
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.
==============================

I checked the dir /lib/modules and the dir 2.6.6 is really missing ;) Where should I get it from? Thx for suggestions.
J.
I'm running Debian with kernel 2.6.6

Linux24 09-26-2004 07:24 AM

In order to install video card drivers in linux, you have to have a copy of the source code for your distribution's kernel. So, debian should have a downloadable tarball or something that contains the source code files for your kernel version. Get that, and install it to /usr/src.

After you do that, you should be able to install the driver.

When you install the driver, get ready, because it is not like an nvidia install where everything "just works." Instead, you will be asked about 20 questions as it goes through a config process, and those questions ask your monitors vertical and horizontal synch rates. Look up that stuff before you proceed. Wrong answers = no more x windows for you and perhaps a fried monitor.

Andrew Benton 09-26-2004 07:57 AM

If you compile and install the kernel yourself, the directory /lib/modules/$VERSION/build is created by the command make modules_install (when you install the kernel modules after building the kernel). The build directory is a symbolic link pointing at /usr/src/linux (or wherever the kernel source was when you compiled it). Basically, it's like Linux24 said, it's looking for the kernel source.

JurajPsycho 09-27-2004 06:54 AM

Thx
 
thanx, I created those simlinks manually and it works... now I'm in trouble again
When I try to install drivers for ATI video card, I get this message:
Code:

depmod: QM_MODULES: Function not implemented
I did try to install older version of module-init-tools, and it didn't help
J.

JurajPsycho 12-30-2004 06:25 PM

all I had to do, was to put my module-init-tools directory prior to some other dir, but I'm not sure what was it. The problem was, that my older version was in different dir as the new one, so the path has been rewritten, but older path was in prior order to the new one. That means, older depmod was called first....
J.
--
:zz


All times are GMT -5. The time now is 05:59 PM.