LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2004, 08:01 AM   #1
JurajPsycho
Member
 
Registered: Sep 2004
Distribution: Debian, kernel 2.6.10
Posts: 50

Rep: Reputation: 15
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
 
Old 09-26-2004, 08:24 AM   #2
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
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.
 
Old 09-26-2004, 08:57 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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.
 
Old 09-27-2004, 07:54 AM   #4
JurajPsycho
Member
 
Registered: Sep 2004
Distribution: Debian, kernel 2.6.10
Posts: 50

Original Poster
Rep: Reputation: 15
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.
 
Old 12-30-2004, 07:25 PM   #5
JurajPsycho
Member
 
Registered: Sep 2004
Distribution: Debian, kernel 2.6.10
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI fglrx install failed mewgle Linux - Software 1 09-22-2005 12:51 AM
hang at boot up after sucessfully install fglrx zhyjanet Debian 5 04-04-2005 12:56 AM
Fglrx console=>X changing problem and fglrx resume zbychdm Linux - Hardware 2 09-21-2004 01:58 PM
FGLRX Install problem SOBGTP Debian 3 07-27-2004 06:59 PM
Slackware 10 fglrx install problem Appletalk Slackware 13 07-23-2004 05:39 PM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration