LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Suse 8.2 Kernel Question (https://www.linuxquestions.org/questions/linux-general-1/suse-8-2-kernel-question-75994/)

caseygraham 07-25-2003 09:39 PM

Suse 8.2 Kernel Question
 
Greetings,

I recently installed Suse 8.2 Personal and following installation web update ran and updated many things including the kernal. I am now trying to install Nvidia drivers and they are requesting kernel header files, but I do not believe that the web update installed the source for the kernel (I may be wrong but I am not sure were to look).

So I guess my question is, are kernel header files stored in a specific place always oand is kernel header files the same thing as the source?

Casey
:newbie:

caseygraham 07-25-2003 10:51 PM

A little more . . .
 
Well, I figured out how to uninstall the new kernel the Suse online update service installed (K_Athlon-2.4.96-i386). After uninstalling it and reinstalling the older kernel (K_Athlon-2-4-20.i586) I was able to install the Nvidia driver.

Just for kicks, I then tried to install the new kernel again (after successfully installing the Video driver) and it has a problem with the kernel header again stated above.

When one installs from the online update, does that not also give you the source? Also, as asked above, is the kernel header the same as the source?

Casey

carlywarly 07-26-2003 12:41 AM

Why didn't you use SuSE's nvidia drivers which are available via the online update? They work perfectly.

caseygraham 07-26-2003 08:39 AM

Well =)
 
When I installed their (SuSe) drivers, and I went to Yast2 (or whatever it is called) and tried to activate the 3D aceleration, I got a pop up window saying that I needed to install the offical drivers from Nvidia. It wouldn't let me activate with thier own drivers.

Casey

carlywarly 07-26-2003 09:02 AM

That's very strange. Which card do you have, and when you say SuSE's drivers, do you mean the drivers that SuSE installed to start with, or the one's you can download via the Yast Online Update?

caseygraham 07-26-2003 01:36 PM

I have a GeForce 3 on a Asus A7V333 Board sporting a 1800+ Athlon. I installed SuSe's drivers via their Yast online Update tool and over wrote the ones originally installed.

Then when I went to SaX2 to enable the 3D acceleration, it popped up a window that said I must download and install "official" drivers from Nvidia and kicked me back to the desktop.

I uninstalled that Kernel the Yast online update installed over my original kernel and was easily able to install the "official" drivers, but I am concerned if I update the kernel or something else I will be back at square one with no 3D Acceleration.

Casey

hthief 07-30-2003 05:36 PM

SuSE 8.2 kernel source
 
Drivers aside, I am also looking for my kernel source. I checked /usr/src, and seached *2-4-20* and nothing came up. Does SuSE not install the source?
Thanks,
Alex

caseygraham 07-30-2003 06:46 PM

I am begining to think that SuSe does not install the source if you update from their Yast online tool. Nor do they offer you the option to get the source.

I noticed that if you go to add/remove programs and search for "kernel" it will list your kernel that was installed originally and have an option on the far right to install the source (a check box I believe).

Casey

hthief 07-30-2003 10:25 PM

SuSE 8.2 kernel
 
Thank you, I will check that out. Otherwise, 8.2 has been incredibley easy and almost everything works on my laptop (a surprise).
Alex

helmut_hed 07-31-2003 02:38 AM

I've got to try this
 
I wanted to know the same thing - how to get /usr/src populated
with the source used to build my kernel. Thanks for the answer - I can't wait to try it. As for the configuration, I did have just one problem. For some reason acpi wasn't enabled although I selected it during installation - I think. The "run level editor" allowed me to clear it up, though.

hthief 07-31-2003 12:44 PM

SuSE 8.2 source
 
I just got an email from the folks at SuSE. 8.2 personal does not come with the source, source code can be downloaded from their ftp or mirrors. I haven't tried a YAST download yet, but I see no reason why it will not work.
Alex

caseygraham 07-31-2003 02:07 PM

Ah!
 
That is good to know, I will go on their servers tonight to look for it. Good Show.

helmut_hed 08-01-2003 08:30 PM

Ah, that explains it
 
I used the update feature in YaST2 and selected package "kernel-source". It only copied over two files as far as I can tell:

/usr/src/packages/SOURCES/config.athlon.ikr
/usr/src/packages/SPECS/k_athlon.spec

which is definitely not all the header files I need.

The thing I'm trying to compile wants to see a directory like this:

/usr/src/linux-2.4.20-4GB-athlon

I think.

if you figure out the right files to ftp, let me know. I couldn't find anything on their mirrors exactly matching this kernel name.

This thread has been already really helpful, thanks a lot!

helmut_hed 08-01-2003 09:39 PM

getting closer
 
I think I need a file called k_athlon-2.4.20-96.src.rpm but I can't find
exactly this anywhere...

I'm going to pick up the 8.2 source from here:

ftp://ftp.suse.com/pub/suse/i386/8.2....20-62.src.rpm
and hope for the best.

Good luck!

helmut_hed 08-01-2003 09:47 PM

OK, that wasn't it. That rpm only contains the two files I cited before. Giving up and trying this:

ftp://ftp.suse.com/pub/suse/i386/upd...SE-86.i586.rpm

which appears to be the full kernel source. Yowza.


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