[CentOS] Problems with building a complete kernel

Tue Jan 30 21:38:59 UTC 2007
Mark Hull-Richter <mhull-richter at datallegro.com>

I shoulda knowd....

Okay, this may seem dumb, but I imagine I've already been there....

Here's what I get when I try the install with rpm:

[root at localhost x86_64]# rpm -ivh kernel-*.rpm
Preparing...                ###########################################
[100%]
        package kernel-2.6.9MHRsmp-1 (which is newer than
kernel-2.6.9-42.0.3.mhr) is already installed
[root at localhost x86_64]#

Now, I _really_ want to install this, but when I try yum localinstall, I
get this:

[root at localhost x86_64]# yum localinstall kernel-*.rpm
Setting up Local Package Process
Examining kernel-2.6.9-42.0.3.mhr.x86_64.rpm: kernel -
2.6.9-42.0.3.mhr.x86_64
Examining kernel-debuginfo-2.6.9-42.0.3.mhr.x86_64.rpm: kernel-debuginfo
- 2.6.9-42.0.3.mhr.x86_64
Examining kernel-devel-2.6.9-42.0.3.mhr.x86_64.rpm: kernel-devel -
2.6.9-42.0.3.mhr.x86_64
Examining kernel-largesmp-2.6.9-42.0.3.mhr.x86_64.rpm: kernel-largesmp -
2.6.9-42.0.3.mhr.x86_64
Examining kernel-largesmp-devel-2.6.9-42.0.3.mhr.x86_64.rpm:
kernel-largesmp-devel - 2.6.9-42.0.3.mhr.x86_64
Examining kernel-smp-2.6.9-42.0.3.mhr.x86_64.rpm: kernel-smp -
2.6.9-42.0.3.mhr.x86_64
Examining kernel-smp-devel-2.6.9-42.0.3.mhr.x86_64.rpm: kernel-smp-devel
- 2.6.9-42.0.3.mhr.x86_64
Marking kernel-debuginfo-2.6.9-42.0.3.mhr.x86_64.rpm to be installed
Marking kernel-largesmp-2.6.9-42.0.3.mhr.x86_64.rpm to be installed
Marking kernel-2.6.9-42.0.3.mhr.x86_64.rpm as an update to kernel -
2.6.9-42.EL.x86_64
Marking kernel-2.6.9-42.0.3.mhr.x86_64.rpm as an update to kernel -
2.6.9-42.0.3.EL.x86_64
Marking kernel-devel-2.6.9-42.0.3.mhr.x86_64.rpm as an update to
kernel-devel - 2.6.9-42.0.3.EL.x86_64
Marking kernel-devel-2.6.9-42.0.3.mhr.x86_64.rpm as an update to
kernel-devel - 2.6.9-42.EL.x86_64
Marking kernel-largesmp-devel-2.6.9-42.0.3.mhr.x86_64.rpm as an update
to kernel-largesmp-devel - 2.6.9-42.0.3.EL.x86_64
Marking kernel-smp-2.6.9-42.0.3.mhr.x86_64.rpm as an update to
kernel-smp - 2.6.9-42.EL.x86_64
Marking kernel-smp-2.6.9-42.0.3.mhr.x86_64.rpm as an update to
kernel-smp - 2.6.9-42.0.3.EL.x86_64
Marking kernel-smp-devel-2.6.9-42.0.3.mhr.x86_64.rpm as an update to
kernel-smp-devel - 2.6.9-42.0.3.EL.x86_64
kernel-2.6.9-42.0.3.mhr.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-largesmp-devel.x86_64 0:2.6.9-42.0.3.mhr set to be
updated
---> Package kernel-smp.x86_64 0:2.6.9-42.0.3.mhr set to be installed
---> Package kernel.x86_64 0:2.6.9-42.0.3.mhr set to be installed
---> Package kernel-smp-devel.x86_64 0:2.6.9-42.0.3.mhr set to be
updated
---> Package kernel-largesmp.x86_64 0:2.6.9-42.0.3.mhr set to be updated
---> Package kernel-devel.x86_64 0:2.6.9-42.0.3.mhr set to be installed
---> Package kernel-debuginfo.x86_64 0:2.6.9-42.0.3.mhr set to be
updated
--> Running transaction check

Dependencies Resolved

========================================================================
=====
 Package                 Arch       Version          Repository
Size
========================================================================
=====
Installing:
 kernel                  x86_64     2.6.9-42.0.3.mhr
kernel-2.6.9-42.0.3.mhr.x86_64.rpm   34 M
 kernel-debuginfo        x86_64     2.6.9-42.0.3.mhr
kernel-debuginfo-2.6.9-42.0.3.mhr.x86_64.rpm  961 M
 kernel-devel            x86_64     2.6.9-42.0.3.mhr
kernel-devel-2.6.9-42.0.3.mhr.x86_64.rpm   11 M
 kernel-largesmp         x86_64     2.6.9-42.0.3.mhr
kernel-largesmp-2.6.9-42.0.3.mhr.x86_64.rpm   39 M
 kernel-smp              x86_64     2.6.9-42.0.3.mhr
kernel-smp-2.6.9-42.0.3.mhr.x86_64.rpm   34 M
Updating:
 kernel-largesmp-devel   x86_64     2.6.9-42.0.3.mhr
kernel-largesmp-devel-2.6.9-42.0.3.mhr.x86_64.rpm   11 M
 kernel-smp-devel        x86_64     2.6.9-42.0.3.mhr
kernel-smp-devel-2.6.9-42.0.3.mhr.x86_64.rpm   11 M

Transaction Summary
========================================================================
=====
Install      5 Package(s)
Update       2 Package(s)
Remove       0 Package(s)
Total download size: 1.1 G
Is this ok [y/N]: N
Exiting on user Command
Complete!
[root at localhost x86_64]#

Since this is going to update the two *-devel packages, I need to know
if this is safe to do, i.e., will this damage anything I need to get
back to if the new installed kernel doesn't boot or work right (even
though rpm says it's the same one)?

Thanks again.

mhr

CentOS newbie (duh!)