Bug 91439 - rpm --rebuild --target x86_64 kernel-2.4.20-13.x.src.rpm fails due to missing .config defaults
Summary: rpm --rebuild --target x86_64 kernel-2.4.20-13.x.src.rpm fails due to missi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 8.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-22 16:36 UTC by Jack Perdue
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-08 13:10:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Jack Perdue 2003-05-22 16:36:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208
Netscape/7.02

Description of problem:
rpm --rebuild --target x86_64 on the kernel-2.4.20.13.x 
(where x = 7, 8 or 9) source RPM fails due to missing 
config defaults.

Defaults missing are for:

CONFIG_X86_MCE, CONFIG_I8K, CONFIG_EDD, 
CONFIG_X86_NUMA, CONFIG_X86_TSC_DISABLE


Version-Release number of selected component (if applicable):
2.4.20-13.x (x=7,8,9)

How reproducible:
Always

Steps to Reproduce:
1. rpm --rebuild --target x86_64 kernel-2.4.20-13.8.src.rpm
2.
3.
    

Actual Results:  It fails to build the binary RPMs giving the following errors:

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

The following defaults are missing:
Machine Check Exception (CONFIG_X86_MCE) [N/y/?]
Dell laptop support (CONFIG_I8K) [N/y/m/?]
BIOS Enhanced Disk Drive calls determine boot disk (EXPERIMENTAL) (CONFIG_EDD)
[N/y/m/?]
Multi-node NUMA system support (CONFIG_X86_NUMA) [N/y/?]
Unsynced TSC support (CONFIG_X86_TSC_DISABLE) [N/y/?]
make: *** [oldconfig_nonint] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.75771 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.75771 (%build)


Expected Results:  It should build the binary RPMs without error.



Additional info:


The missing defaults seem to be in the i386, i686 and athlon
default configs but aren't in:

/usr/src/redhat/BUILD/kernel-2.4.20/linux-2.4.20/configs/kernel-2.4.20-x86_64.config
or
/usr/src/redhat/BUILD/kernel-2.4.20/linux-2.4.20/configs/kernel-2.4.20-x86_64-smp.config

Comment 1 Arjan van de Ven 2003-05-22 18:31:53 UTC
you are doing this on an x86_64 machine, right ?

Comment 2 Jack Perdue 2003-05-22 18:38:41 UTC
I am _not_ building on an Opteron (x86_64).

If that is the problem please toss this bug 
and I'll slap myself for being silly (it looked
like it might/should work).






Comment 3 Arjan van de Ven 2003-05-22 18:43:09 UTC
what happens is that the kernel config stuff notices you're not on a amd64
machine but an x86 and it will use the x86 config.in files :(

you can cross build the kernel but it's a bit more involved (and for sure
requires a cross compiler set up properly etc etc). If you have that and want
that I can roughly outline what needs to be done


Note You need to log in before you can comment on or make changes to this bug.