LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   How can i tell if the kernel source has been installed or not? (https://www.linuxquestions.org/questions/mandriva-30/how-can-i-tell-if-the-kernel-source-has-been-installed-or-not-155311/)

samatman 03-09-2004 05:14 AM

How can i tell if the kernel source has been installed or not?
 
I have mandrake 9.2, kernel version 2.4.22 mdk10, i'm trying to install drivers for either my ma101 or my buffalo wireless PCI card (broadcom chipset), both installations for the drivers seem to require the kernel source to be installed at one point.

no kernel sources show up in any of the rpmdrake screens, it's not available to add, remove or anything. i only see listed kernels compiled for various types of machines, but no source code.

how can i tell definitively wether or not it is installed?

youknowwho 03-09-2004 05:29 AM

look in your /usr/src directory for linux-*

mishmash 03-09-2004 08:39 AM

Hi,

By default, Mdk 9.2 does not come with the kernel source, only the kernel binary... So, do not look for the kernel source on the ISOs... You will have to do a download from an official Mandrake ftp site. Also, since the source is about 180Mb, I would recommend that you first install the latest kernel update (2.4.22-28mdk I think...) and then the corresponding source.

Now about your Netgear MA101 setup, I have published a thread on this in this forum. Did you perform a search for this topic?

Anyway, here is the thread link:

http://www.linuxquestions.org/questi...readid=140047.

Hope this help?

samatman 03-10-2004 05:48 PM

ma101 thread
 
yeah, i read that thread, it actually drove me to download the iso's for mandrake 9.1...except i got the power pc version by mistake..

i'll look into downloading the new kernel.
if i get the source for the latest 2.4 kernel, i can install it with that right? and only have to download one file?

mishmash 03-10-2004 07:24 PM

Hi,

Did you meant Mdk 9.1 or 9.2?

Me, I was talking about Mdk 9.2. I did make it work nicely with the MA101 USB adapter as per the thread I have provided above. In there, just read the section C of my last reply (about the BerliOS' AT76C503A Atmel-Based Driver). Also, click the link in that section which will redirect you to a web page explaining how to configure the wlan0 interface (which is a must to make this work).

Now, for the kernel, if I were you, I would install the latest one, i.e. the 2.4.22-28mdk. In order to do that, you need to install the following two rpm files:

1. kernel-2.4.22.28mdk-1-1mdk.i586.rpm
2. kernel-source-2.4.22-28mdk.i586.rpm

They can be downloaded from here:

ftp://ftp.rutgers.edu/pub/mandrake/M...ates/9.2/RPMS/

The first rpm is the kernel binary file. Just install it, but do not reboot yet. Please note that in Lilo (or grub), you will have an additional OS boot line for that new kernel. However, you can just click on the standard "linux" entry line since it will be pointing to the latest kernel.

The second rpm is the kernel source file. Again, just install it. That's it. It is not required to compile the kernel source since you have downloaded and installed the corresponding kernel binary.

Note: The kernel source is required if you need to compile, for example, the NVIDIA driver. So, if it is the case, just do that before rebooting, otherwise you will not be able to boot in X mode... As you know, to compile the NVIDIA driver, you need to be root and be in console mode (not in X mode). I am sure you can find some good threads on this in this forum.


All times are GMT -5. The time now is 11:42 AM.