LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2004, 10:40 AM   #1
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
Newly compiled kernel2.4.22 reboots after Loading Linux/BIOS check sucessfull.


Hi,
I have been trying to compile my own kernel for use with slackware so that Video4Linux and the Cpia driver are compiled in the kernel (then I will be installing v4l2).
I have followed the instructions on the slackware site
(sorry cant post url under 5 posts, its on the Slackware_site>book>Selecting a kernel )
to the letter, and have checked with other kernel compilation guides, but to no avail.
When selecting the new kernel at lilo, output is this:
Loading Linux......
BIOS Data Check Sucessful...
Then the machine reboots.
Is there anything which would log the booting at this early stage, so I can figure it out? Or is there a common cause that your aware of?
Have i forgotten to include something in the kernel when configuring using menuconfig?

Any help, as this is my uni dissertation, would be appreciated!
Cheers

ps. The kernel which the slackware setup installed (also 2.4.22) works fine, its only a problem with kernels i have compiled myself. Although i do believe the one installed by slackware setup was an image (bare.i) not compiled from source.

Last edited by Demon333; 01-08-2004 at 10:47 AM.
 
Old 01-08-2004, 10:44 AM   #2
@@@
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
At this early stage, IMHO it's not possible to log on a software basis....and there are hundreds of common causes for this behaviour. If i was you, I 'd take the kernel config file you had in the old kernel and do a `make oldconfig`. Then you start adding and removing one option by another...Trial and error....
 
Old 01-08-2004, 11:13 AM   #3
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
What can I say, 4 minute reply! cheers.

I don't think I backed up the config before saving over it with "my disaster", so i'll do another install on another hdd to replicate it.
Would this be the <kernel source tree>/defconfig or <tree>/arch/i386/defconfig file which is the config file?

Regards
 
Old 01-09-2004, 09:46 AM   #4
@@@
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
none of both. usually it's /usr/src/linux/.config. Many distributors put another one in the /boot directory, too. and there's even a chance of getting one at /proc/config.gz for the running kernel.
 
Old 01-09-2004, 02:38 PM   #5
Demon333
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Cheers @@@
loaded up the old config, recompiled and works a dream!!!
Obviously something i missed when in menuconfig.
Thanks again.
 
  


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
Newly Compiled Linux does not seem to Boot binarybob0001 Linux - Newbie 2 12-02-2004 07:05 PM
My computer reboots directly after i try to load a newly compiled kernel Klas Linux - General 1 08-18-2004 05:58 PM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
Newly compiled 2.6/ Key repeating? merlinn31 Slackware 3 03-19-2004 04:15 PM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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