LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2003, 09:21 AM   #31
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30

when I type (as per suse's instructions)


make cloneconfig && make dep

i get the following message

***no rule to make target "cloneconfig". stop
[1]+ Exit2 make cloneconfig
 
Old 10-02-2003, 09:26 AM   #32
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
& when I try to use the NVIDIA installer Iget

unable to find the kernel header files for the currently running kernel. Please make sure you have installed the kernel header files for your kernel; on red hat linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel header files are installed, you may specify the kernel inlude path with the '--kernel-include-path command line option


this is proving rather frustrating.
 
Old 10-02-2003, 09:26 AM   #33
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You're trying to compile the kernel?
Shouldn't need to do that.Just install the kernel sources rpm from Suse for the kernel you got - don't compile anything.
You can find out the version of the kernel with uname -a

Last edited by crashmeister; 10-02-2003 at 09:28 AM.
 
Old 10-02-2003, 09:34 AM   #34
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
have found (at last) the kernel source from SuSE
will try again
 
Old 10-02-2003, 09:46 AM   #35
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
installed it with YaST, but same error messages
 
Old 10-02-2003, 10:10 AM   #36
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I am downloading Suse right now.This seems like too much fun to miss but it's going real slow.Check if there is a rpm that calls itself something like 'kernel-headers'.Those are seperate with some distros.
 
Old 10-02-2003, 11:02 AM   #37
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
I'm pretty impressed with SuSE. It's my first introduction to Linux (1month ago) & I'm not particularly computer literate. Got an old machine & tried it out without touching the laptop I do my work on.

It would be nice to get the 3D hardware accleration working. Maybe I will give up and try again with suse 9.0 which will come out in 3 wks time. Maybe it'll be easier then..........

the suse instructions say "Kernel sources must be installed and configured. Usually this means installing the 'kernel source' package with YaST2, update it - if not already done - via YaST2 online update (YOU) and configure it with the following commands:
cd /usr/src/linux
make cloneconfig && make dep

am I doing something wrong installing the rpm?
I click on the rpm (in my home directory) and then click on "install with YaST", enter root password, and it does the rest. Do I have to specify a directory etc???

there is no rpm called kernel headers that i could see on the suse site

Last edited by thegreatgatsby; 10-02-2003 at 11:03 AM.
 
Old 10-02-2003, 11:35 AM   #38
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
It should be under /usr/src/linux but it's always installed there.It shouldn't be necessary to compile the kernel but if the Suse folks say so they should be right - it's their distro after all.
I just looked in their handbook and supposedly you go to the kernel directory:
cd /usr/src/linux and then do:
make oldconfig
then you do:
make menuconfig
At that point the original configuration of the kernel 'should' be in there and there shouldn't be any need to change something.Just save the configuration and next issue the command:
make dep && make clean bzImage modules modules_install
After that you'll need to do:
make bzlilo
if you use lilo.
If you use grub you'll need to do this:
cp /boot/vmlinuz /boot/vmlinuz.old
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz

After that you have a new kernel in /boot
After that you should add vmlinuz.old to lilo.conf and run 'lilo'.That way you can boot into the old kernel in case things went not good.
That whole stuff is also in the Administrator handbook.
 
Old 10-02-2003, 12:39 PM   #39
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
I don't have that handbook. I'll get the pro version of 9.0 with it.

usr/src/linux doestn't exist
where else could I look?

usr/include/linux seems to have some header files in it though none relating to nvidia, and above instructions don't work

thanks for all your help, I am starting to understand why people get emotional about these NVIDIA drivers
.................................................................................................... .................

le@linux:~> cd usr/src/linux
bash: cd: usr/src/linux: No such file or directory

linux:/home/le# cd /usr/include/linux
linux:/usr/include/linux # make oldconfig
make: *** No rule to make target `oldconfig'. Stop.
linux:/usr/include/linux #
 
Old 10-02-2003, 12:48 PM   #40
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
heh heh - hang in there - you've gotten this far and [*what's prolly most important is] you 've learned this much. you'll eventually get it
 
Old 10-02-2003, 01:00 PM   #41
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
If there is something like /usr/src/linux-2.4.20 or so depending on the version? Go there if you got that.If not there are no sources installed.
 
Old 10-02-2003, 05:03 PM   #42
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
I have the kernel, but it's in the wrong place?
this is the file location from Konqueror

tar:/usr/src/packages/SOURCES/NVIDIA_kernel-1.0-4496.tar.gz/NVIDIA_kernel-1.0-4496

should I move it (?cut & paste) to another directory where it can be seen, or try and install it elswhere???

or I could

cd /usr/src/packages/SOURCES/NVIDIA_kernel-1.0-4496.tar.gz/NVIDIA_kernel-1.0-4496
make cloneconfig && make dep

??

Thankyou Mossy for your words of encouragement. It feels like I am going in circles.
 
Old 10-02-2003, 05:17 PM   #43
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Thats just the nvidia driver - not the kernel.The kernel has to be under /usr/src/linux-something with it own directory.About the circles - yeah you'll get dizzy soon,lol.
Try this:

bash-2.05b$ cd /usr/src/
bash-2.05b$ ls
linux linux-2.4.20-gentoo-r5 linux-2.4.22-ck1 pc
linux-2.4.20-ck6 linux-2.4.20-gentoo-r7 linux-beta

This is all I got in there:linux is a symlink to the kernel I actually use,the others are five different kernels and pc is for rpm's.You should have at least a symlink or some other directory in there that reads linux otherwise you don't have any kernel sources installed.
 
Old 10-02-2003, 05:48 PM   #44
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
it seems that I have no kernel sources installed.
I have the NVIDIA kernel 1.0-4496.src.rpm sitting in my home directory & I have tried to install it with YaST.
maybe this is the wrong nvidia kernel rpm?
there wasn't one specifically for suse8.2

there is no directory usr/src/linux anything, all there is is usr/src/packages

thanks for helping me.

le@linux:~> bash-2.05b$ cd/usr/src
bash: bash-2.05b$: command not found
le@linux:~> su
Password:
linux:/home/le # bash-2.05b$ cd/usr/src
bash: bash-2.05b$: command not found
linux:/home/le # bash-2.05b$ ls
bash: bash-2.05b$: command not found
linux:/home/le # linux linux-2.4.20-gentoo-r5 linux-2.4.22-ck1 pc
bash: linux: command not found
linux:/home/le # linux-2.4.20-ck6 linux-2.4.20-gentoo-r7 linux-beta
bash: linux-2.4.20-ck6: command not found
 
Old 10-02-2003, 06:17 PM   #45
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
check if you got a XF86Config-4 file in /etc/X11/ too.


Here's what my says

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
VideoRam 32000
EndSection



I hope this helps out a bit more
 
  


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
NVIDIA Hardware Acceleration under Ubuntu kubrickfan799 Linux - Hardware 6 01-12-2006 10:51 AM
Nvidia Quadro: OK but no hardware acceleration orpolo Linux - Hardware 2 11-23-2005 10:39 AM
Hardware acceleration : NVIDIA / ATI on Intel 845 koodoo Linux - Newbie 4 06-14-2005 04:20 PM
Hardware acceleration RedNex Linux - Newbie 3 06-14-2004 08:34 AM
RH9 Nvidia Hardware Acceleration Problems distortedstar Linux - Hardware 3 02-03-2004 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:14 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
Open Source Consulting | Domain Registration