LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 08-14-2003, 03:50 PM   #1
yarrgh
Member
 
Registered: Aug 2003
Distribution: Mnadrak 9.1
Posts: 35

Rep: Reputation: 15
kernel error? mandrake 9.1


i went to the KDE control panel and under system, i clicked on the kernel thing. it gave me this strange error saying that it can't access some file, and that my discs either had problems, or that KDE has a bug. i am new to linux, and am still trying to get my modem to work, so im on XP right now, thats why i havn't pasted the error code in exactly, i'll get that soon. but does anybody know what the heck is going on?

b
 
Old 08-14-2003, 09:13 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
With Linux a user is restricted in what he can do to the system and root can do anything that he wants. This protects you somewhat by limiting the damage that a user (or a virus running as user) can do to Linux.

So to make your changes you will have to log in as root. Whatever you do as root, think it through first and leave yourself an escape route so that you can fix your mistakes without having to do a reinstall.
 
Old 08-15-2003, 09:59 PM   #3
yarrgh
Member
 
Registered: Aug 2003
Distribution: Mnadrak 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
i did the same timg as root. it gave me the same error. i took a screenshot of the window with the error (while i was logged in as root) here is a link to it:

http://www.yarrgh.net/misc/snapshot1.gif

for those of you who don't want to see the pic, the gist of it was that it said it can't open "usr/src/linux/arcn//config.in" for reading.

this seems like bad news to me. can anybody tell me whats going on?

b
 
Old 08-15-2003, 11:15 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"can't open "usr/src/linux/arcn//config.in" for reading. "

This could be caused by a variety of possible problems. First check to see if the file exists and if your permissions allow the file to be read. Try:

ls -l /usr/src/linux/arcn/config.in
 
Old 08-16-2003, 01:38 PM   #5
yarrgh
Member
 
Registered: Aug 2003
Distribution: Mnadrak 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
no, it doesn't exist.
 
Old 08-16-2003, 03:08 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I guess the next step is to find out how much you are missing. The kernel source is supposed to be at /usr/src/linux. Are you missing the entire kernel source or are you just missing /usr/src/linux/arcn/config.in ?

Missing the entire source is easier to fix than missing one small piece of the kernel source. If you are missing the entire kernel source then install your Mandrake kernel source rpm. If you are missing just one file then you will have to find the correct version of the kernel source and install that.
 
Old 08-18-2003, 01:02 AM   #7
yarrgh
Member
 
Registered: Aug 2003
Distribution: Mnadrak 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
1) directory 'linux' in /usr/src/ is completely missing! apparently that means also that i dont have a kernel? how exactly im running linux without a kernel im not sure of yet...

2) modules/common.mak does not exist either. apparently this file contains info about the source of the kernel?

now, i already ran the KDE control panel and installed a bunch of different kernels, the security one, etc... and uninstalled them all again, so now i just have my normal kernel again... but still no /usr/src/linux/ and still no modules/common.mak

i even found the specific kernel rpm on the mandrake disc, copied it to the HD, and then installed it... still no usr/src/linux ! how do i install this kernel source?
 
Old 08-18-2003, 09:12 AM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"that means also that i dont have a kernel?
i already ran the KDE control panel and installed a bunch of different kernels, the security one, etc... and uninstalled them all again,"

The kernel source and the kernel binary are two different things. You have been installing kernel binary code.

Source code is what a programmer writes. Then he runs a compiler called gcc against the source code and the compiler creates the binary code. The binary code is what you actually run.

You are missing the source code for the compiler, which does not affect how your computer runs at all. Mandrake supplies two different rpms for every program, the source code and the binary. What you need to do is find the rpm that supplies the source code for the kernel and install that, not one of the kernel binary rpms.

Exactly where Mandrake keeps its source code rpms, I don't know. I would guess that it would be on the last install CD.

Last edited by jailbait; 08-18-2003 at 12:52 PM.
 
Old 08-18-2003, 11:44 AM   #9
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
When installing Mandrake if you use "Individual Package selection" you can install the Kernel source.
 
Old 08-18-2003, 02:15 PM   #10
yarrgh
Member
 
Registered: Aug 2003
Distribution: Mnadrak 9.1
Posts: 35

Original Poster
Rep: Reputation: 15
ok, i found it manually on the CD and installed it. thanks everybody!
 
Old 08-18-2003, 04:30 PM   #11
oni0n56
Member
 
Registered: Aug 2003
Location: Hollywood, California
Distribution: Linux Mandrake
Posts: 189

Rep: Reputation: 30
your welcome hehehehe
 
  


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
Mandrake Move 9.2 error, fatal server error:( silentwhispers Mandriva 1 12-16-2004 11:36 PM
Error compiling the original kernel in Mandrake 9 xbaez Mandriva 0 06-20-2004 05:46 PM
Mandrake 9.2 iso with no kernel included or error? alex101 Mandriva 4 04-30-2004 09:59 PM
Error message while compiling kernel 2.4.19 on mandrake 9.2 ibro Mandriva 0 11-23-2003 02:17 PM
Mandrake 9.1 Kernel 2.4.21 error mikezieg8 Linux - Software 3 10-03-2003 11:35 AM

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

All times are GMT -5. The time now is 05:56 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
Open Source Consulting | Domain Registration