LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2003, 04:04 AM   #1
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Rep: Reputation: 15
Kernel recompile gone wrong!


Being the person that I am I can't leave anything alone, I just HAD to recompile my kernel. using 2.4.22

Following the 'newbies guide to recompiling kernel' on this board it seemd to go well however when it came to rebooting my normal option for Mandrake 9.1 wouldn't start, it would just show a black screen, but the HD would be active. Using the recovery modes I could get into a command prompt but X wouldn't start.

I'm 80% certain this is because I didn't include some neccesary parts of the Kernel during compile.

Also I noticed when I booted the computer it complained that it couldn't find my sound card modules and a few others. While I was setting up the kernel I never saw an option for my sound card and presumed that there would be a module in a folder somewhere that would continue to be used. Is there a way to compile existing modules you have on your system into the kernel? For instance I would like it if I could compile the Lirc serial module into my kernel.



So basically all I want to know is what do I need to include in my kernel to get an operable system, from the recovery prompt I can recompile again so it shouldn't be a problem.


My system:
Athlon XP 2000+
Nvidia TNT2-M64
Seagate Barracuda 40GB HD
Liteon CD-ROM
Via 82cxxx onboard audio.


Thanks for any help!
 
Old 09-08-2003, 07:51 AM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The most likely candidate for a failing kernel is the processor type. If this is set incorrectly, then the kernel will not work. Make sure that it is set correctly. Your old kernel modules can't be used directly, but must be compiled against the new kernel source. If the CPU type is not to blame, then check all the drivers you have compiled in. One of them may have a bug.
 
Old 09-08-2003, 07:57 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
There is an option for the "via 82cxxx". I think it should be included by default, but check anyways.
 
Old 09-08-2003, 08:03 AM   #4
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Original Poster
Rep: Reputation: 15
The processor type was set correctly. The kernel does work, albeit only in 'safe' mode or whatever.

I think the problem is more to do with me missing out something really important. I'm at college now, but I'll have another crack at it when I get home. I compiled at 2 in the morning so I probably made an obvious mistake somewhere.

How can I compile existing modules against existing source? Is this basically just doing the configure;make;make install with the .tar.gz file of the drivers I downloaded?
 
Old 09-08-2003, 03:03 PM   #5
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Original Poster
Rep: Reputation: 15
Sorry I just realised that I posted this is hardware, sorry!!

Anyway. I didn't compile loopback as either a module or into the kernel so when i came ro recompile again the /sbin/mkinit (or something) command complained and wouldnt work.

A swift (albeit accidental) rm -rf / did the trick.

Time for slackware.
 
  


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
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
kernel recompile uselinux34 Linux - General 5 03-08-2004 04:28 PM
Do I have to recompile Kernel to use PF ryancoolest *BSD 3 02-04-2004 06:53 PM
Recompile Kernel Hady Programming 4 12-03-2003 04:49 PM
How do I recompile the kernel? christong Linux - General 4 11-12-2003 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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