Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > Kernelversion2.6.23 not compiling correctly

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-21-2008   #1 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 20
Send a message via AIM to venkatb18 Send a message via Yahoo to venkatb18 Send a message via Skype™ to venkatb18
Kernelversion2.6.23 not compiling correctly

Hi All,

I am using in my pc fedora core-5.
I tried to compile kernel version 2.6.23 on my machine but its not compiled partially.
i tried to boot with that image its giving kernel panic.
Is any body tried with this version.
please help me.
i downloaded source code from kernel.org site.

Thanks
-venkatesh
venkatb18 is offline  



Reply With Quote
Old 04-21-2008   #2 (permalink)
Linux Newbie
 
athlon_crazy's Avatar
 
Join Date: Sep 2007
Location: Malaysia
Posts: 132
it's much helpfull if you can write down the steps taken during your kernel compilation..
__________________
www.no-x.org
athlon_crazy is offline   Reply With Quote
Old 04-22-2008   #3 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 20
Send a message via AIM to venkatb18 Send a message via Yahoo to venkatb18 Send a message via Skype™ to venkatb18
I took linux-2.6.23.tar.bz2 from kernel.org, then i etracted that in /usr/src directory. I got linux-2.6.23 directory.
linux-2.6.23# make menuconfig
I saved config file then i gave #make
After that #make modules_install
Last step is #make install
and then i reboot system i logged in new kernel, its giving kernel panic.
venkatb18 is offline   Reply With Quote
Old 04-24-2008   #4 (permalink)
Linux Newbie
 
athlon_crazy's Avatar
 
Join Date: Sep 2007
Location: Malaysia
Posts: 132
When last time I faced the same prob, I'll always look into initrd.

or

You could try to compile your new kernel by using old /.config
__________________
www.no-x.org
athlon_crazy is offline   Reply With Quote
Old 04-25-2008   #5 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 20
Send a message via AIM to venkatb18 Send a message via Yahoo to venkatb18 Send a message via Skype™ to venkatb18
I tried by old config also, but again i faced same problem.
could please help any body............
venkatb18 is offline   Reply With Quote
Old 04-28-2008   #6 (permalink)
Linux Newbie
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 109
1 Did you copy kernel bzImage to boot dir?
2 Made a softlink to System.map after copying System.map to boot dir?
3. Did you make ram disk imange with mkinitrd?
digvijay.gahlot is offline   Reply With Quote
Old 04-28-2008   #7 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
First, initrd images are not necessary to boot, unless you need to load external modules before the kernel is up and running. Most times, you just need to include all the stuff statically, instead of using modules.

That way you remove the need for an initrd, and there's one level less of complexity.

Second, System.map is not necessary unless you plan to debug your kernel.

Third, boot your old kernel, copy /proc/config.gz to a file called .config in the directory of the sources of your new kernel.

Then use "make oldconfig". After that, use "make menuconfig", and make sure that at least:

1.- the driver for your ide/sata controller
2.- the drivers for the filesystems you are using

Are both marked as static, and not as modules. This way, you don't need an initrd.

Then compile with "make", and install with "make install". Make sure that everything is right on your grub.conf or whatever. Finally, boot it.
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:58 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1