- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- kernel recompilation
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
Discussions
Discussions
Forums
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
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
тАО06-10-2003 11:01 PM
тАО06-10-2003 11:01 PM
kernel recompilation
did you ever recompiled the redhat 9 kernel (2.4.20-8)? I get
a compilation error when running 'make modules' about a 'printk' function... now i cannot copy here the error message 'cause I'm recompiling kernel for my home machine (I'm at work now :-)
It is possible that a newly installed redhat 9 can't recompile it's own kernel source using it's default unchanged configuration (found in configs/ dir in kernel source home dir)? It's my fault or Red Hat is going crazy? :-)
thanks,
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 02:25 AM
тАО06-11-2003 02:25 AM
Re: kernel recompilation
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 03:22 AM
тАО06-11-2003 03:22 AM
Re: kernel recompilation
See ya tomorrow :-)
tx
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 10:55 PM
тАО06-11-2003 10:55 PM
Re: kernel recompilation
any ideas?
tx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 11:17 PM
тАО06-11-2003 11:17 PM
Re: kernel recompilation
If you install a newer kernel-source rpm than what RH 9 was shipped with, you need to upgrade kernel-headers package, to match the newer kernel-source.
I definately think this should work straight out of the box. If it don't there is definately an errata posted on RedHat's web site.
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 11:44 PM
тАО06-11-2003 11:44 PM
Re: kernel recompilation
make distclean
or even
make mrproper (after saving the file .config)
afterwards retry compiling
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2003 03:30 AM
тАО06-12-2003 03:30 AM
Re: kernel recompilation
like in redhat 9.
could you tell me the right steps to compile a kernel?
I follow these:
1. make menuconfig
2. load configuration from the configs/ directory
3. exit from menuconfig (saving configuration)
4. make dep
5. make bzImage
6. make modules - here I get the error above.
tx
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2003 04:34 AM
тАО06-12-2003 04:34 AM
Re: kernel recompilation
I'm not talking about .rpm files hanging around in your filesystem, but installed packages .
if you do an
#rpm -qa
you will get a listing of all installed rpms.
#rpm -qa|grep kernel
will list all packages containing "kernel" in their names.
Check that your kerne-source package has exactly the same version and relase number as the kernel-headers on your system. If not, update your kernel-headers package.
#make mrproper before the make menuconfig is probably wise too to clear up after the failed compilations.
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 12:42 AM
тАО06-13-2003 12:42 AM
Re: kernel recompilation
It is replaced by (I think) glibc-kernheaders.
Could you give an url where I can get the redhat official source packages of an updated kernel for RH9? Maybe this is a known problem and it is fixed in new a version of the kernel...
tx
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2003 09:40 AM
тАО06-13-2003 09:40 AM
Re: kernel recompilation
I am not sure if you really want the headers as /usr/src/linux should have all the source necessary to compile the kernel.
try this after make menuconfig.
make dep && make clean && make bzImage && make modules && make modules_install
When this finishes you have a compressed compiled kernel and you have the modules installed where they belong. You will now need to install the kernel.