LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newly compiled kernel2.4.20 reboots after Loading Linux/BIOS check sucessfull. (https://www.linuxquestions.org/questions/linux-newbie-8/newly-compiled-kernel2-4-20-reboots-after-loading-linux-bios-check-sucessfull-132733/)

Demon333 01-08-2004 10:40 AM

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.

@@@ 01-08-2004 10:44 AM

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....

Demon333 01-08-2004 11:13 AM

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

@@@ 01-09-2004 09:46 AM

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.

Demon333 01-09-2004 02:38 PM

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


All times are GMT -5. The time now is 07:41 PM.