LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-09-2004, 05:14 AM   #1
samatman
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 25

Rep: Reputation: 15
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?
 
Old 03-09-2004, 05:29 AM   #2
youknowwho
Member
 
Registered: Oct 2003
Location: india
Distribution: slack
Posts: 34

Rep: Reputation: 15
look in your /usr/src directory for linux-*
 
Old 03-09-2004, 08:39 AM   #3
mishmash
Member
 
Registered: Nov 2003
Location: Canada
Distribution: RHEL
Posts: 87

Rep: Reputation: Disabled
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?
 
Old 03-10-2004, 05:48 PM   #4
samatman
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
Old 03-10-2004, 07:24 PM   #5
mishmash
Member
 
Registered: Nov 2003
Location: Canada
Distribution: RHEL
Posts: 87

Rep: Reputation: Disabled
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.
 
  


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
Kernel source needs to be installed..? Wolvenmoon Debian 14 08-18-2005 03:58 PM
how to get the kernel-source installed??? luqman Red Hat 3 03-10-2005 03:31 PM
Ok, just installed new kernel from source, having a problem. Royle Debian 1 01-10-2005 03:46 PM
installed kernel source with YAST, kernel not there alagenchev SUSE / openSUSE 1 11-14-2004 10:02 AM
Kernel Source Installed? How to tell? metsdada Linux - Newbie 13 01-02-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:50 PM.

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