Re: /boot/kernel.h issues
Brian Long <[email protected]> Wed, 03 Jan 2007 09:13:46 -0500
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Message-ID | <1167833626.5494.21.camel@brilong-lnx3> |
On Tue, 2007-01-02 at 15:17 -0500, Brian Long wrote:
> Hello,
>
> I was wondering if anyone has experienced /boot/kernel.h out-of-sync
> issues? For example, we've got machines which have the following and
> we're trying to figure out how this happened:
>
> /* Kernel type i686-smp */
> <snip>
> #define __BOOT_KERNEL_SMP 0
I narrowed this down to a broken RPM provided by HP, specifically hp-
OpenIPMI-7.5.1-8.rhel4.i386.rpm. This RPM includes a module-compilation
script which actually moves /boot/kernel.h to /boot/kernel.h.ORIG and
copies a uniprocessor file into /boot. It does this to compile a
uniprocessor kernel module. On top of this being wrong, the file it
puts in place has the identifier "i686-smp" although SMP is 0 and UP is
1. This is why /sbin/mkkerneldoth never updates the file.
Thanks to HP for breaking hundreds of servers which I now need to clean
up manually (i.e. rm -f /boot/kernel.h; /sbin/mkkerneldoth). Needless
to say, we've removed hp-OpenIPMI from the yum repos we use for third-
party and internal software on top of RHEL.
/Brian/
--
Brian Long | |
IT Infrastructure . | | | . | | | .
Data Center Systems ' '
Cisco Enterprise Linux C I S C O
--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list