xfs
[Top] [All Lists]

RE: kernel.h

To: "'Seth Mos'" <knuffie@xxxxxxxxx>, "'Kris Verbeeck'" <kris.verbeeck@xxxxxxxxx>
Subject: RE: kernel.h
From: "Juha Saarinen" <juha@xxxxxxxxxxxx>
Date: Fri, 15 Jun 2001 10:48:15 +1200
Cc: <linux-xfs@xxxxxxxxxxx>
Importance: Normal
In-reply-to: <Pine.BSI.4.10.10106150009330.11286-100000@xxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
:: On Thu, 14 Jun 2001, Kris Verbeeck wrote:
:: 
:: > Hi,
:: > 
:: > 1) After booting a linux 2.4.5 kernel with XFS support the
:: > kernel.h file contains the following lines:
:: > 
:: >   /* Kernel type package kernel2.4.5-xfs-2.4.5-xfs is not
:: > installed2.4.5-xfs */
:: > 
:: >   #ifndef __MODULE_KERNEL_package kernel2.4.5-xfs-2.4.5-xfs is not
:: > installed
:: >   #define __MODULE_KERNEL_package kernel2.4.5-xfs-2.4.5-xfs is not
:: > installed 1
:: >   #endif
:: > 
:: > Why are they in there?  They are not valid C code.


It's a Red Hat-ism, I believe, supposedly created by the initscripts
(although I can't find a reference to kernel.h in my /etc directory). 

I've got this on my system:

# cat /boot/kernel.h
/* This file is automatically generated at boot time. */
#ifndef __BOOT_KERNEL_H_
#define __BOOT_KERNEL_H_

/* Kernel type i6862.4.6-pre2-xfs */

#ifndef __MODULE_KERNEL_i686
#define __MODULE_KERNEL_i686 1
#endif

#ifndef __BOOT_KERNEL_ENTERPRISE
#define __BOOT_KERNEL_ENTERPRISE 0
#endif

#ifndef __BOOT_KERNEL_SMP
#define __BOOT_KERNEL_SMP 0
#endif

#ifndef __BOOT_KERNEL_UP
#define __BOOT_KERNEL_UP 1
#endif

#endif

See: $KERNEL_SOURCE_DIR/linux-2.4/include/linux/rhconfig.h 

It looks like you have made a typo in some config file, because the
system looks for "kernel2.4.5-xfs-2.4.5-xfs" or something similar, but
can't find it.


-- Juha


<Prev in Thread] Current Thread [Next in Thread>