[CentOS] Kernel build on i386 and nohighmem forbidden?

Wed Jun 28 16:15:38 UTC 2006
Linus Hicks <lihicks at gpi.com>

Jim Perrin wrote:
> On 6/28/06, Linus Hicks <lihicks at gpi.com> wrote:
>> I looked in the release notes, but maybe I missed it. Is it not 
>> possible to
>> build a kernel from CentOS 4.3 (using 2.6.9-34.0.1) with HIGHMEM 
>> support turned
>> off? This is for a machine with 512mb.
>>
>> When I try to build the kernel, I get _etext undefined symbol on line 
>> 100 of
>> pageattr.c in arch/i386/mm.
> 
> What kernel are you trying to build, and how are you trying to build it?
> 
> I should probably also throw in a 'why are you building your own
> kernel?' too, but we'll save that for a little later.

Everything is from CentOS including the kernel sources. I downloaded the SRPM 
and modified the spec file to %define buildsource 1 then did an rpmbuild. Then I 
installed the kernel-sourcecode rpm that it generated. So then I could run the 
kernel config from /usr/src/linux-<version> and then build a custom kernel.