LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-24-2007, 01:09 AM   #1
Kotresh
LQ Newbie
 
Registered: Mar 2007
Posts: 15

Rep: Reputation: 0
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
 
Old 04-24-2007, 01:32 AM   #2
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 31
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
 
Old 04-24-2007, 04:24 AM   #3
Kotresh
LQ Newbie
 
Registered: Mar 2007
Posts: 15

Original Poster
Rep: Reputation: 0
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........
 
Old 04-24-2007, 10:53 AM   #4
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

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


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
Problem compiling javakid Programming 8 12-16-2004 12:03 AM
compiling problem ... chaks Programming 2 03-29-2004 09:14 AM
Compiling Problem BACTRATE Mandriva 1 03-12-2004 04:36 AM
compiling problem with RH 9 tucdual Linux - Distributions 4 08-26-2003 07:03 AM
problem compiling qt qanopus Linux - Software 3 03-08-2003 02:09 PM

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

All times are GMT -5. The time now is 08:40 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
Open Source Consulting | Domain Registration