Bug 126563

Summary: pci.h for mmconfig.c missing in kernel-sourcecode-2.6.6-1.435
Product: [Fedora] Fedora Reporter: Phil Dybvig <fedora>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-14 05:18:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Phil Dybvig 2004-06-23 10:34:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7)
Gecko/20040615 Firefox/0.9

Description of problem:
Compiling the kernel with defaults in menuconfig fails because
/usr/src/linux-2.6.6-1.435/arch/x86_64/pci/mmconfig.c cannot find the
include file pci.h it needs.  Copying the pci.h from
/usr/src/linux-2.6.6-1.435/arch/i386/pci/ to
/usr/src/linux-2.6.6-1.435/arch/x86_64/pci/ permits compilation but
may have completely improper settings and is not necessarily a fix.

Version-Release number of selected component (if applicable):
kernel-sourcecode-2.6.6-1.435

How reproducible:
Always

Steps to Reproduce:
1.mkdir /home/myname/build;mkdir /home/myname/build/kernel
2.MYBUILD=/home/myname/build/kernel;export MYBUILD
3.cd /usr/src/linux-2.6.6-1.435
4.make O=$MYBUILD mrproper
5.make O=$MYBUILD menuconfig    (simply select exit and yes to save)
6.make O=$MYBUILD 

Actual Results:  compile fails in
/usr/src/linux-2.6.6-1.435/arch/x86_64/pci/mmconfig.c with an error
indicating pci.h was not found

Expected Results:  compile should not fail :-)

Comment 1 Phil Dybvig 2004-06-23 22:09:55 UTC
I just downloaded 2.6.7 from kernel.com and the same compilation
problem occurs.  Either they are missing the pci.h they should have
(probably) or there is a problem with the default configuration.
Obviously, the FC2 distro kernels were not compiled this way (the
compile fails) and probably used different defaults.  If the
defaults we should use to recompile the same kernel are provided in
the FC2 core distro, I don't know where they are.

Comment 2 Dave Jones 2004-11-27 20:18:57 UTC
mass update for old bugs:

Is this still a problem with the 2.6.9 based update kernel ?