mandrake kernel location?
i am using mandrake 9.1 staight from the download disks.
when i try to compile a driver (broadcom 5700) i am told that my kernel tree does not exist. when i go to the control centre to the kernel configurator there is no kernel to be seen. where is the kernel?? |
Normally in /usr/src/linux-version
However if you didn't install the kernel sources and headers from the install disc it won't be there. You can do that afterwards, simply fire up a terminal and type: urpmi kernel And see what pops up. You'll wanna install the kernel sources for the kernel version that is shown when you type: uname -r Welcome to LQ :) Cool |
urpmi gives command not found.
uname -r gives 2.4.21-0.13mdk. have tried to install the appropriate rpm but am told everything is already installed. i think this is the latest version avaliable. any more ideas? |
As root cd to /usr/src, download the kernel you want from ftp.kernel.org, let's say the file name is linux-2.4.21.tar.gz, issue this command "tar zxvf linux-2.4.21.tar.gz" this will unpack the kernel to /usr/src/linux. Move the directory to /usr/src/linux-version ( use the command "mv /usr/src/linux /usr/src/linux-2.4.21" ) create a symbolic link by using this command "ln -s /usr/src/linux-2.4.21 /usr/src/linux" cd to linux, run your configuration command "make config" and include the required module.
|
Quote:
Cool |
to masterc
ok as root still sez everthing already installed mr hyde am downloading kernel now will try inna bit |
Good deal ;)
You can verify that it is indeed installed simply by looking in /usr/src and see if your sources are there :) Cool |
masterc
that was the first place i looked the other day. its still not there. am now following mr hydes instructions do i have to answre all the questions when i have typed make config?? there seem to be thousands! |
Yes you do. However there is a GUI kernel editor, press "control c" and you will exit " make config " use the command " make xconfig " this should present you with a GUI, if there are any errors tell me what they are and I'll tell you what packages you'll need to install.
|
aha!
Thx for that! hmm.... i wonder does anyone have a configuration file for a n610c compaq laptop?(wishing!!) thank-you both |
To install the current kernel sources? He could just as easily force an RPM install from his install CD, there is no need for him to be going through a kernel compile at this point? I say walk then run, unless of course I'm missing something here???
Open up your install CD in a konqueror window. Browse the RPM's and locate your RPM for your kernel source, it will be named something like: kernel-source-2.4.20-16.1.i586.rpm Once you find it (it should be on your second or 3rd CD) install that. If it gives you an error about being installed use: rpm -ivh --force kernel-source-2.4.20-16.1.i586.rpm (not the exact name, but attempt to show you what it looks like) After you get that installed, give your application a try and see if it works on getting it installed. Also, after getting that installed, check your /usr/src to see if that directory is now present. Cool |
that worked too:D
|
rebooted
now i get a text login and x will not start <path> cannot create temp file for here document: no space left on device |
I think when configuring the kernel you may have left out support for your graphics card or something like that, check your hardware and reconfigure your kernel.
|
All times are GMT -5. The time now is 01:25 AM. |