- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: kernel
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 05:59 AM
05-04-2006 05:59 AM
i installed RH AS4 kernel 2.6.9-34EL .
I want to compile my kernel ( for practice) ,
but /usr/sec is empty :
1. what rpm i should install ?
2. i cant run : make config , make menuconfig or make xconfig , why ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 06:14 AM
05-04-2006 06:14 AM
SolutionYou need to install the kernel source packages from the cd's.
They are named the same as the kernel on cd 2 and have the name source in them.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 06:22 AM
05-04-2006 06:22 AM
Re: kernel
1.) The package to install is kernel-devel-
You probably also need kernel-
2.) "make" is a general-purpose tool which gets its instructions from a specific file (usually named "Makefile" or "makefile") in the current directory. Linux kernel sources have a very complex Makefile which can start up various tools to display a graphic ("make xconfig") or text-based ("make menuconfig") view of kernel configuration settings, among other things.
Without kernel sources installed (or if you run the "make" command in a wrong directory), "make" is not going to find the instructions on how to "make config", "make menuconfig" or "make xconfig".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 07:07 AM
05-04-2006 07:07 AM
Re: kernel
Thanks Steven and Mati ,
i came from HP-UX world ,
What are the steps for compiling kernel ?
Eran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 08:07 AM
05-04-2006 08:07 AM
Re: kernel
cd /usr/src/linux
# Save your current kernel config file (default)
cp .config config.bak
make mrproper
#Restore the default configuration file
cp config.bak .config
# Configure the kernel options
make menuconfig
# Build the kernel and modules
make dep clean bzImage modules modules_install
# Install the kernel
make install
reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 05:38 PM
05-04-2006 05:38 PM
Re: kernel
Thank you all !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2006 02:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2006 08:21 AM
05-06-2006 08:21 AM
Re: kernel
You don't need to go to a website for the kernel source.
Once you install the rpm's I recommend you have the kernel source on your system.
If you installed RH, you have access to the rpms.
Best you use what came with the distribution.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2006 06:33 PM
05-06-2006 06:33 PM
Re: kernel
Here you can read in details about this [a little tricky] process:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/release-notes/as-x86/