LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-30-2002, 11:11 AM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
Thumbs up kernel making me quit linux


alrighty then. i need some help to keep me using linux. i have lots of trouble compiling my own kernel. every time i get to the "make bzImage" step, it gets about 15 minutes into the make process where i get an ERROR 1, in video card, or sound, or if not those, then something else. i have tried copiling multiple times with kernel 2.4.19mdk (mandrake 9.0) and i alway get this.

there was one time i got it to work. but wheni booted it up, my dvd-rom/cd-rw didnt work.

ALSO, i just compiled the default mandrake 9 kernel flawlessly, and im using it now. but, i saved the configuration file, and when i tried to rebuild another kernel form the configuration file, i got another error (either error 1 or 2.) so there's something wrong here.

what i want to know is how do i fix this and make the stupid error go away, and, are there any "easy-to-use" kernel compiling tools avalible to download? something like where it will auto-detect my current hardware, X free86, and kernel settings, and apply it to my kernel i'm compiling so it will make configuring my kernel earier and faster, and useable.

im about to quit linux if i cant fix this, cause its way to frusturating
-Dave



 
Old 12-30-2002, 11:26 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Only thing I can offer is to take some notes on what modules your using.

lsmod > mymods.txt

this will create a file "mymods.txt" which contains the needed modules. This will help when you configure your kernel
 
Old 12-30-2002, 12:31 PM   #3
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
how do i take notes of my modules ? im a newbie. i have a kernel config. file saved if thats what it is.
 
Old 12-30-2002, 12:49 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok
that should work, but using lsmod will tell you what modules are loaded.

You should go through the kernel configuration carefully and read the help on each option to decide if you need it.

Usually you can just add module support for most things unless you are sure you don't need it
 
Old 12-30-2002, 02:53 PM   #5
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 31
always make mrproper before you compile a new kernel, you are almost sure to make errors, try this order
make mrproper;make dep;make clean;make bzImage;make modules;make modules_install
 
Old 12-30-2002, 03:27 PM   #6
riddlebox80
CL volunteer
 
Registered: Jul 2002
Location: illinois
Distribution: Collegelinux and Libranet
Posts: 105

Rep: Reputation: 15
do you have to do make modules and make modules_install last I always do them after make dep?
 
Old 12-30-2002, 03:31 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try it the way it's shown there, it will work unless you have a gcc problem or bad kernel source
 
Old 12-30-2002, 06:35 PM   #8
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
I'm running slack 8.1 & I wrote this script back when I was in your predicament (June 2002). Try it out :

Code:
#!/bin/sh

make clean menuconfig
echo "If everything went okay we can install.....(y or n)"
read cont
if [ $cont == 'y' ]; then
    make dep bzImage modules modules_install
    cp arch/i386/boot/bzImage /vmlinuz
    lilo
     # I cut out the ALSA re-compiling as it is not relevant to you
    echo "Looks like we are done. Reboot? (y or n)"
    read cont
    if [ $cont == 'y' ]; then
        reboot
    fi
fi
this should work for you, though you still need to configure it. to make it easier, change the line that says menuconfig to xconfig and run it under a psuedo-terminal (like ETerm or XTerm)
 
Old 12-31-2002, 01:24 AM   #9
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You can't use the config file from one kernel version for another - well,it might work sometimes but generally isn't a good idea.
 
  


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
Keyboard quit when 2.6 kernel (RHE4) installed vsnyder Linux - Software 2 05-16-2005 03:43 PM
Problems that make me want to quit Linux Surfmonkey Linux - Newbie 7 05-11-2005 09:27 PM
When Torvalds quit Linux...what is the future of it ? sponsii Linux - General 12 10-28-2004 12:57 PM
madwifi wireless NIC drivers quit after kernel upgrade m_a_b Linux - Laptop and Netbook 5 08-16-2004 11:35 AM
I quit Linux for now but will be back krinor1966 General 10 06-07-2004 11:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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