Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Mandriva Linux Help
Reload this Page Where do i get the source code for the kernel
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Mandriva Linux Help For help and discussion about Mandriva (formally Mandrake) Linux.

Reply
 
Thread Tools Display Modes
Old 01-12-2008   #1 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 21
Where do i get the source code for the kernel

Hi,

I can't seem to install the source code for the kernel using the inbuilt installer. I'm also not able to find the source code for the kernel anywhere.

Thanks in advance.
rajasekharan is offline   Reply With Quote
Old 01-12-2008   #2 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,543
What happens when you do
Code:
#urpmi kernel-source
Also are you using the full version of Mandriva or did you install from the live discs?
daark.child is offline   Reply With Quote
Old 01-12-2008   #3 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 21
I installed using a DVD. I think i installed almost all add-ons.
rajasekharan is offline   Reply With Quote
Old 01-12-2008   #4 (permalink)
Super Moderator
 
Join Date: May 2004
Location: Arch Linux
Posts: 9,253
I'd think they'd have plenty of room on the DVD itself to include the kernel sources, but I'm not sure if they do so, or not.

If what daark.child doesn't pull them in, have a look around on the DVD for them, if you haven't done so already.
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 01-12-2008   #5 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,543
Quote:
Originally Posted by rajasekharan View Post
I installed using a DVD. I think i installed almost all add-ons.
So what happens when you enter the commands I posted above?
daark.child is offline   Reply With Quote
Old 02-11-2008   #6 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 21
I got a message that said the kernel source is already installed.

But when i try to install ndiswrapper for my Wireless ethernet card, i get this message:

make -C driver
make[1]: Entering directory `/home/maverick/ndiswrapper-1.50/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.17-13mdv/build, is it configured?. Stop.
make[1]: Leaving directory `/home/maverick/ndiswrapper-1.50/driver'
make: *** [all] Error 2


Please help.
rajasekharan is offline   Reply With Quote
Old 02-11-2008   #7 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,543
You can install ndiswrapper using urpmi because its on the installation disks. What is the output of running
Code:
rpm -qa | grep -i kernel
daark.child is offline   Reply With Quote
Old 02-12-2008   #8 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 21
I got:
Code:
kernel-2.6.17.13mdv-1-1mdv2007.1
kernel-doc-2.6.17.13mdv-1-1mdv2007.1
kernel-source-stripped-2.6.17.13mdv-1-1mdv2007.1
rajasekharan is offline   Reply With Quote
Old 02-12-2008   #9 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 21
I also went to the Packages application which allows u to install various applications for mandriva and found ndiswrapper. I uninstalled and reinstalled it. But still no luck.

When I try to set up the wireless connection I still get the message that asks me to download madwifi from madwifi.org.

Even that is not installing.
rajasekharan is offline   Reply With Quote
Old 02-12-2008   #10 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,543
If you card requires madwifi, then installing ndiswrapper probably won't solve your problems. Install the Mandriva madwifi package. What is the output when you do
Code:
/sbin/lspci | grep -i net
If its a USB type device, also show the output of
Code:
lsusb
If the lsusb command is not found install usbutils.
daark.child is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Browsers Instability HighDensity Misc 6 06-25-2007 10:09 AM
Badness in local_bh_enable at kernel/softirq.c:136 ... server stopped responding. pyro_six Debian Linux Help 0 06-22-2007 07:02 AM
kernel faulters on suse 9 linuxian SuSE Linux Help 0 05-04-2006 07:41 PM
linux kernel faulters on suse 9 linuxian SuSE Linux Help 0 05-04-2006 07:35 PM
gpm-> /dev/mouse: No Such Device TrashOverride Peripherals / Hardware 3 05-07-2004 02:29 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:09 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0