LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-26-2003, 12:52 PM   #1
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
kernel error?


i'm using mandrake 9.1 with kernel 2.4.21 with KDE 3.1 and i think i have a kernel error/problem because i find this in my kde control centre=>system=>Linux Kernel window:

"The kernel configuration could not be read due to the following error:

cannot open /usr/scr/linux/arch//config.in for reading

Either your kernel sources contain invalid configuration rules oryou just found a bug in the KDE kernel configurator"

AND, i tried to install alsa driver, but after ./configure --with-cards=intel8x0 it said:...
checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

so, what's the problem?
 
Old 09-26-2003, 02:12 PM   #2
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
Install the kernel-source rpm package corresponding to your kernel version (probably 2.4.21-13mdk).

It contains all files in /usr/src/linux.

After installing this package check /usr/src to see if there is a linux directory, if not create a symlink from /usr/src/linux-2.4.21 ti /usr/src/linux.

That's all

Last edited by skadub; 09-26-2003 at 02:14 PM.
 
Old 09-26-2003, 07:24 PM   #3
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Original Poster
Rep: Reputation: 30
thanx, i'll try that as soon as i downoad the fresh kernel...
btw, isn't it a bit risky reinstalling kernel? i'm linux (not computer) newbie so a couple of extra advices would be nice...
 
Old 09-27-2003, 02:53 AM   #4
skadub
Member
 
Registered: Sep 2003
Location: La Rochelle, France
Distribution: Mdk 10 Official & LFS 5.1 #5243
Posts: 44

Rep: Reputation: 15
No there is no risk installing a new kernel ...

But if you download the new kernel for mandrake, download the corresponding source kernel too.
 
  


Reply



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 Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel panic error after rebooting new kernel image fiero Linux - General 4 07-13-2005 08:32 AM
Kernel 2.6.7 install error, initrd-2.6.7.img error jjorloff1 Linux - General 3 09-15-2004 12:15 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM

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

All times are GMT -5. The time now is 10:11 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