LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   problem with compiling 2.6.12 (https://www.linuxquestions.org/questions/linux-kernel-70/problem-with-compiling-2-6-12-a-548503/)

Kotresh 04-24-2007 01:09 AM

problem with compiling 2.6.12
 
hi to all

I am using currently 2.6.11-Fc1369

I am unable to compile 2.6.12.3 :(

while compiling it is not giving any error but while rebooting it is giviving Kernel panic :(


i tryed same copilation in different system(with different configurations) there it compiled perfectly.

but in my system it is giving problem :(


may be because of my hardware configurations

I am having

Atholn 64 (dual core )

and also now in 2.6.11 also sound card is is not detected... :(

plz help me in solving these problems...



Kotresh

samstar 04-24-2007 01:32 AM

Hi Kotresh,

I know from experience how time-consuming kernel building can be. We'll need some information to help you, such as what Linux distribution and version you are using, and from what kernel source are you compiling the new one? It seems that you are using Fedora, but which version? Also, did the kernel source that you want to use come from Fedora, or from www.kernel.org?

And, what commands are you using to build your kernel? Are you making the modules? Are you creating the initrd (initial ram disk)?

Here's a tip that might get you on your way, though. Since, more or less, your computer works with the kernel you are using, take the configuration of that kernel, and base your new configuration on that, changing only what you need to change. That config can be found in /proc/config.gz

Just copy it to your home directory, un-gzip it, re-name it as .config, and copy it to your kernel source directory. Then run your configuration and change only what you need to change.

Sam

Kotresh 04-24-2007 04:24 AM

thanku for ur reply

My current configurations

I am using fedora 4

version - 2.6.11-1.1369_FC4

machine hardware name- i686

processor athlon

operating system release level- 2.6.11-1.1369_FC4

version- #1 Thu Jun 2 22:55:56 EDT 2005


I want to compile

linux-2.6.12.3

i downloaded code from www.kernel.org

i tryed two things

1) making menuconfig
2) copying old .config file to source directory and then giving make oldconfig


iam using following commands

1) $ make menuconfig
$ make bzImage
$ make modules
# make modules_install
# make install

2) after copying old .config file into new source file
$ make oldconfig
$ make bzImage
$ make modules
# make modules_install
# make install


but both case it is giving kernel panic while booting........

J.W. 04-24-2007 10:53 AM

Moved: This thread is more suitable in Linux-Kernel and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 10:58 AM.