LinuxQuestions.org
Review your favorite Linux distribution.
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 08-05-2005, 01:52 PM   #1
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Rep: Reputation: 30
compiling kernel sources


What do I have to do to compile the kernel sources after I download them? I couldn't find any instructions at kernel.org, and I have to have these, because my Mandrake couldn't find any kernel sources, and needed them to install Ndiswrapper.
 
Old 08-05-2005, 02:07 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
http://www.kickino.org/kernel-projec...rade_howto.pdf

I'm one of the authors
 
Old 08-06-2005, 09:57 PM   #3
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
Thank you. And where can I find a Linux version of Adobe reader for this file?
 
Old 08-07-2005, 02:55 AM   #4
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
You can use xpdf or kpdf
 
Old 08-07-2005, 01:50 PM   #5
grcore
Member
 
Registered: Nov 2004
Distribution: Mandriva + kernel 2.6.15
Posts: 38

Rep: Reputation: 15
Quote:
Originally posted by joshknape
Thank you. And where can I find a Linux version of Adobe reader for this file?
http://www.adobe.com

 
Old 08-08-2005, 01:50 AM   #6
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
my Mandrake couldn't find any kernel sources, and needed them to install Ndiswrapper.
I'm assuming the Ndiswrapper driver installs in a similar way to the Nvidia drivers. If this is so you don't need to compile the kernel source if all you need it for is a driver installation like this. You are wasting your time downloading and compiling vanilla source code form kernel.org anyway because it will not be exactly the same as what's running on your Mandrake machine.

To get your kernel source installed properly on Mandrake first head over to http://easyurpmi.zarb.org and setup your access to the full software repositories for Mandrake. Now go into the software installation thingo in the control centre (or use the urpmi command) and install the package named 'kernel-source-2.6'.
 
Old 08-08-2005, 05:10 AM   #7
charlescpc
Member
 
Registered: Nov 2004
Location: knoxville tn
Distribution: Mandrake
Posts: 142

Rep: Reputation: 15
If you use the ndiswrapper version that comes with mandriva 10.2 or 10.1 then you do not have to load the kernel source.

I have done this with 10.1 and 10.2 Official so I know it works with them. But, Mandriva comes with their own modified version that doesn't need you to compile the kernel-source. I just went into Mandriva Control Center and added the software there.

All I had to do to get my wireless working is.
Install the Ndiswrapper software from Mandrake control center.
Create a directory to put the windows drivers.
Ndiswrapper -i xxxxxxxx.inf
ndiswrapper -m creates an alias
edit the modprobe.preload file and put in ndiswrapper so it loads the module every time on boot.
Go to mandrake control center and set up my internet connection.

If you have downloaded the version from ndiswrapper their is a file you have to edit and you will have to have the kernel source loaded.

I have loaded about 6 wireless cards for friends and it's worked liked a charm on all of them. If you wireless card is in the list of cards ndiswrapper supports it should work.
I never got the downloaded version of ndiswrapper to work and then I found this way works every time.

GOOD LUCK
 
Old 08-26-2005, 08:31 PM   #8
Klesk
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
hello! I installed Mandriva 10.2 some months ago. I couldn't install my modem because I haven't the kernel sources. Where can I get them? My kernel version is 2.6.11-6
 
Old 08-26-2005, 11:40 PM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
To get your kernel source installed properly on Mandrake first head over to http://easyurpmi.zarb.org and setup your access to the full software repositories for Mandrake. Now go into the software installation thingo in the control centre (or use the urpmi command) and install the package named 'kernel-source-2.6'.
 
Old 08-27-2005, 09:06 PM   #10
Klesk
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
I tried many many times but I couldn't enter the site. I'm gettin tired of using winsux. Do you know any other site or way to compile the kernel sources?
 
Old 08-28-2005, 01:37 AM   #11
Ike M.
Member
 
Registered: Aug 2005
Posts: 60

Rep: Reputation: 15
Josh, can

I ask you what you actually NEED the kernel sources for? It sounds from the nature of your difficulties as if you need these for some package install that requires them (it is not OBVIOUS from your initial message- some people actually go so far as to compile every little bit of their distro themselves... I donīt guess that you need to do that)

tk- I also could not get your link to work at my house. However, I think that I know where you are going with this... I ran into some problems when the īMandrakeī website name ran out and my installer didnīt know where to go for the list of sites to update from. Josh, it sounds from the nature of your question like you have still not gotten back on track with this. What I had to do to get my installer working again was go to

<a> <HREF=Ļhttp://www1.mandrivalinux.com/en/ftp.php3Ļ>http://www1.mandrivalinux.com/en/ftp.php3</a>

and then manually install the site of my choice from this list (which it might, incidentally, be a good idea to save somewhere at your house for future reference). If you donīt already know how to do that, itīs under Įonfigure your computer/ Software Management/ Media Manager. Put the appropriate HTTP or FTP address (under its appropriate selection area) and try updating your list.

Unfortunately, with the list of mirrors that I gave you (that was really intended for distros) you will still need to actually GO to the site and look for something like ī/media/mainī in addition to the address you have gotten off of that page. Ok, so once you are there, you should see a big long list of packages coming into your browser. Copy the URL from your address bar and paste it into the appropriate place in your rpm Media Manager (depending on whether it is HTTP or FTP). This may take a bit of toying around with, as not all of the mirrors are configured in exactly the same way, however you should be able to get your updated list in this way.

After that, you should be able to go into īInstallī and pretty easily obtain the appropriate kernel source that you require.




I must admit that I was a bit frustrated when my software was no longer able to automatically update itself. As not all users of this [I have ManDRAKE 10.1, that doesnīt know where to look for stuff now] are going to know where to go for help with this (the fact that the installer allows one to install many packages off of the 3 CDs is I am sure causing a bit of confusion), is there any way that anyone with admin privies here could cause a message that is similar to this, maybe with some BETTER links to these sites that donīt need to be tinkered with (I guess tkīs message pointed towards that, unfortunately, though, I could not get that link to work at my house and I would expect many users to experience the same)

to come up FIRST on the list of messages that one gets when coming here after being directed to this forum from the Mandriva site (even though it is perhaps not receiving the most hits and coming up as default)? I know that is a hassle, but, I see that a lot of your users here seem to have this distro, and if you could arrange this, I think we could maybe cut down on questions that are asked that are stemming from this misunderstanding
 
Old 08-28-2005, 09:45 PM   #12
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
tk- I also could not get your link to work at my house. However, I think that I know where you are going with this... I ran into some problems when the īMandrakeī website name ran out and my installer didnīt know where to go for the list of sites to update from
This shouldn't have anything to do with the Mandrake/Mandriva domain change because easyurpmi is completely seperate. But it seems that its down at the moment:

Here's a mirror site http://www.linuxfordummies.org/addmedia/



Quote:
If you donīt already know how to do that, itīs under Įonfigure your computer/ Software Management/ Media Manager. Put the appropriate HTTP or FTP address (under its appropriate selection area) and try updating your list.

Unfortunately, with the list of mirrors that I gave you (that was really intended for distros) you will still need to actually GO to the site and look for something like ī/media/mainī in addition to the address you have gotten off of that page. Ok, so once you are there, you should see a big long list of packages coming into your browser. Copy the URL from your address bar and paste it into the appropriate place in your rpm Media Manager (depending on whether it is HTTP or FTP). This may take a bit of toying around with, as not all of the mirrors are configured in exactly the same way, however you should be able to get your updated list in this way.
This will work but these mirrors only have the first 3CDs of software on them - the same software that you already have on your CDs and that's already setup automatically as a software source when you installed Mandrake. Try that mirror site or google for 'easyupmi mirrors' until zarb.org gets themselves back up.
 
Old 09-02-2005, 08:33 PM   #13
Klesk
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
I just need the kernel sources to install my modem. I began using linux two months ago and I don't understand much what you said. I have to install the kernel sources from the install 3cds, right? So, what do I have to do with the mirrors?. Sorry for my questions but I just don't understand
 
Old 09-02-2005, 08:42 PM   #14
crAckZ
Member
 
Registered: Sep 2004
Location: LOUISVILLE KENTUCKY
Distribution: mandriva 2006
Posts: 155

Rep: Reputation: 30
goto configure computer, install software, browse available software. kernel source should be in the package description. install. i think it was on one of the disks
 
Old 09-04-2005, 04:27 AM   #15
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I just need the kernel sources to install my modem. I began using linux two months ago and I don't understand much what you said. I have to install the kernel sources from the install 3cds, right? So, what do I have to do with the mirrors?. Sorry for my questions but I just don't understand
What I meant was that there's not a lot of software that comes on the 3CDs - if you setup access to the repository mirrors using the easyurpmi site you will have access to a lot more software than comes with the 3CDs.
 
  


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
Compiling kernel from vanilla sources - suse 9.2 lukas_svoboda SUSE / openSUSE 11 03-26-2005 07:18 AM
compiling slackware from sources kkmic Slackware 1 07-12-2004 08:01 AM
How many diff methods of Installing, Compiling Kernel Sources are there? DriveMeCrazy Red Hat 6 05-10-2004 02:53 PM
error compiling mc sources pawn-o-matic Linux From Scratch 2 12-29-2003 03:56 PM
Compiling Gnome2 from sources nightmare Bert Linux - Software 15 09-04-2002 03:36 PM

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

All times are GMT -5. The time now is 04:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration