LinuxQuestions.org
Register a domain and help support LQ
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 10-17-2004, 11:21 AM   #1
jd32
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 8.2
Posts: 5

Rep: Reputation: 0
Symlinks Problem...


I just wanted to check something, before I screw my system up again...

I'm using SuSE 8.2 and I've been trying to install my ATI graphics drivers for a radeon 9600 pro, but the last time I tried I messed everything up... I had updated my kernel and other necessary updates with Yast Online Update, and then afterwards I tried to install my graphics drivers, but they wouldn't install and then when I tried to reboot the system XFree86 wouldn't work at all. So I then restored everything from a backup that I had made just before it, and then tried to find out what the problem was...

It seems that the problem was because the kernel version no longer matched the kernel sources and I think I have an idea how to fix it this time. I have updated everything again with Yast Online Update and I have downloaded the latest ATI drivers.

The original kernel was linux-2.4.20.SuSE and the new one that I have now is the 2.4.20-4GB-athlon which I have looked for and have found it to be at /lib/modules/2.4.20-4GB-athlon.

So if I have this right what I need to do is point /usr/src/linux to /lib/modules/2.4.20-4GB-athlon instead of /usr/src/linux-2.4.20.SuSE by using....

ln -sf /usr/src/linux /lib/modules/2.4.20-4GB-athlon

and then try installing the drivers again..

Also, in the HOWTO for the drivers, it lists the things that I need to have before installing the drivers, I have everything except for one thing I'm not sure about, it says that I need to have the kernel header (include) files, but I have tried searching for them and haven't found any mention of them anywhere on my system and I have also tried searching through the package descriptions on the discs but haven't managed to find anthing I can be sure about. So how would I find out if I have these for sure.....

Thanks...................jd32.........
 
Old 10-17-2004, 11:38 AM   #2
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
Re: Symlinks Problem...

Quote:
Originally posted by jd32

The original kernel was linux-2.4.20.SuSE and the new one that I have now is the 2.4.20-4GB-athlon which I have looked for and have found it to be at /lib/modules/2.4.20-4GB-athlon.

So if I have this right what I need to do is point /usr/src/linux to /lib/modules/2.4.20-4GB-athlon instead of /usr/src/linux-2.4.20.SuSE by using....

ln -sf /usr/src/linux /lib/modules/2.4.20-4GB-athlon

and then try installing the drivers again..

Also, in the HOWTO for the drivers, it lists the things that I need to have before installing the drivers, I have everything except for one thing I'm not sure about, it says that I need to have the kernel header (include) files, but I have tried searching for them and haven't found any mention of them anywhere on my system and I have also tried searching through the package descriptions on the discs but haven't managed to find anthing I can be sure about. So how would I find out if I have these for sure.....

Thanks...................jd32.........
1. The symlink: nooo!
/usr/src/linux is a symlink itself, which points to /usr/src/linux-2.4.20.SuSE (on your system).
what you need to do, is install the kernel source (yup, the _source_), which will then be in /usr/src/linux-2.4.20-4GB-athlon. If YaST doesnt do it for you, you may need to delete the /usr/src/linux symlink and create it again, pointing at /usr/src/linux-2.4.20-4GB-athlon.

2. The kernel header (include) files. When you install the kernel source like mentioned above, they will be there.
 
Old 10-17-2004, 01:02 PM   #3
jd32
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 8.2
Posts: 5

Original Poster
Rep: Reputation: 0
It's just as well I asked first, I was so sure I had it right this time I was just going to dive in an do it....

Anyway, I was wondering where I could get the sources for the 2.4.20-4GB-athlon kernel, as there was no option to install them along with kernel when I updated it, I also just searched through the site where I ftp'd it from and couldn't find anything there either. Are there any websites where they might keep a searchable archive of sources for different kernels.

Thanks.....................jd32
 
Old 10-17-2004, 01:39 PM   #4
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
honestly, I have no experience with SuSE whatsoever, so I cant tell you what to do in YaST..

When I update a kernel, I just grab the vanilla sources off kernel.org
If you are ok using a vanilla kernel, I reccomend you do. There are plenty of tutorials on compiling a new kernel, I suggest you read those, as the authors have most likely given thiers some thought.

Last edited by m00t00; 10-17-2004 at 01:53 PM.
 
Old 10-17-2004, 03:44 PM   #5
jd32
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 8.2
Posts: 5

Original Poster
Rep: Reputation: 0
I'll give it a try, although I'm not sure how successful I'll be...

I couldn't figure out what you meant by 'vanilla' kernel, as I could find nothing by that name, so I just downloaded the latest stable version of 2.4 kernel...

Anyway, thanks for the info, it is greatly appreciated....

Thanks................jd32
 
Old 10-17-2004, 04:08 PM   #6
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
np. good luck. By "vanilla" kernel, I mean the unedited linux kernel. SuSE, Redhat, Mandrake, and others edit thier kernels, changing stuff around. Vanilla kernel is the original linux code.
 
  


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
Symlinks and .. smidgie82 Linux - General 2 12-21-2005 05:13 PM
proftpd, and symlinks problem leahcimic Linux - Software 0 09-28-2004 05:02 AM
? on symlinks eroica Linux - Software 1 09-21-2004 10:45 AM
symlinks.. NSKL Slackware 3 05-26-2002 06:35 PM
symlinks tstuhr Linux - General 3 10-05-2001 11:49 AM


All times are GMT -5. The time now is 10:08 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