Help - Search - Members - Calendar
Full Version: Kernel Source Issues
Linuxhelp > Support > Hardware Support
nish20
Hey,
I think this is kind of a noob question, but how do I get the kernel source for kernel 2.4.21-215-athlon? I can't seem to find it anywhere and the source that I install from my SUSE 9.0 cd is 2.4.21-99. I personally wouldn't care because I don't plan on building my kernel from source except I need it to install the proprietary driver for my radeon 9800 card. Does anyone know where I can get this?

Thanks in advance
Robert83
Hi,

I'm not very familiar with Suse, but I guess you should startup Yast, and there search for kernel-source and install the kernel source matching your kernel version.


Sincerely
Robert B
nish20
QUOTE (Robert83 @ Jun 10 2004, 03:39 PM)
Hi,

I'm not very familiar with Suse, but I guess you should startup Yast, and there search for kernel-source and install the kernel source matching your kernel version.


Sincerely
Robert B

I tried that, that's how I came up with the *99 version. Does anyone know if there is a suse mirror that has this?
Bralkein
Try this link.

I had a bit of trouble getting the ATI drivers to work under SuSE btw, so just in case, I will give you some advice that helped me. Make sure that you install the RPM in a command prompt to make sure you get all the necessary error messages. When it tries to make the driver module, sometimes it has a bit of trouble finding things. If it fails and tells you to go to the /lib/modules/fglrx/build_mod/ directory and use the script there (I forget what it's called, it will tell you what to do), then when you run the script it might give you a couple of errors about not being able to find the files. If you search for them, you should be able to find them. Then you can open the script in KWrite and search for the files it couldn't find, and replace the directory it looked in with the correct one.

After that, you will have to edit the file /etc/X11/XF86Config. There is a problem here, by making the fglrx driver work you will probably break the SaX video setup tool. There might be another thing you can edit that makes SaX work with it (because I think it keeps the information about the devices elsewhere), but I broke SaX and it wasn't really a problem for me, editing XF86Config is fairly straightforward anyhow.

It's a little while since I did this, but this is how I remember it. Once you have your driver and stuff all sorted out, you can run fglrxconfig from the command prompt. Answer the questions, and it should generate an XF86Config file for you. Do not replace the old file with this new one! It might break things horribly, so KDE won't start, and you will be stuck with a BASH prompt to fix it with.

What I did then was to back up the old XF86Config (so then if you need to make things like they used to be, you can just replace the file with the backup). I then opened the new XF86Config made by fglrxconfig and copied the device section from there. I then pasted it over the device from SuSE's XF86Config. After that, I carefully looked over the rest of the file, because it contains references to the device (like Device = [1] under the Monitor section, or something like that). You need to make sure the references from the Device and the Monitor and everything else relate to each other properly, otherwise the X Window System won't know what device to run on.

That should be all you need, if you are confused about anything else just ask!
nish20
Wow! Thanks for the help Bralkein. It would have taken be a couple months to figure that out on my own. I will try this out and let you know how it goes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.