Don't know why, but rpmbuild is leaving ARCH undefined. Thus, the build process doesn't know which architecture the kernel is being built for.
Try invoking rpmbuild without the --target=i686 parameter.
When I build without the target, it says "error: Architecture is not included: i386".
Does this mean that I am building the kernel with the wrong ARCH? I thought Pentium 4 is i686 compatible.
BTW uname -i shows i386
I'm unable to reproduce this problem using the 2.6.10-1.1126_FC4 kernel SRPM currently in devel. In order to run rpmbuild on this package I retrieved the hardlink SRPM package from devel (and, to satify dependencies, lm_sensors and dmidecode), built and installed them. Then I tried the prep stage for the kernel:
$ rpmbuild -bp --target=i686 kernel-2.6.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8750
+ umask 022
+ cd /nis-home/phowarth/BUILD/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /nis-home/phowarth/BUILD/BUILD
+ rm -rf kernel-2.6.10
+ /bin/mkdir -p kernel-2.6.10
+ cd kernel-2.6.10
+ /usr/bin/bzip2 -dc /nis-home/phowarth/BUILD/SOURCES/linux-2.6.10.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 1012 = 0 ']'
++ /usr/bin/id -u
+ '[' 1012 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd linux-2.6.10
+ echo 'Patch #1 (patch-2.6.11-rc3.bz2):'
Patch #1 (patch-2.6.11-rc3.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #2 (patch-2.6.11-rc3-bk2.bz2):'
Patch #2 (patch-2.6.11-rc3-bk2.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #212 (linux-2.6.10-x86-tune-p4.patch):'
Patch #212 (linux-2.6.10-x86-tune-p4.patch):
+ patch -p1 -s
+ echo 'Patch #300 (linux-2.6.2-ppc64-build.patch):'
Patch #300 (linux-2.6.2-ppc64-build.patch):
+ patch -p1 -s
+ echo 'Patch #301 (linux-2.6.8-ppc64-netboot.patch):'
Patch #301 (linux-2.6.8-ppc64-netboot.patch):
+ patch -p1 -s
+ echo 'Patch #330 (linux-2.6.3-ia64-build.patch):'
Patch #330 (linux-2.6.3-ia64-build.patch):
+ patch -p1 -s
+ echo 'Patch #350 (linux-2.6.1-s390-compile.patch):'
Patch #350 (linux-2.6.1-s390-compile.patch):
+ patch -p1 -s
+ echo 'Patch #351 (linux-2.6.9-s390-autoraid.patch):'
Patch #351 (linux-2.6.9-s390-autoraid.patch):
+ patch -p1 -s
+ echo 'Patch #353 (linux-2.6.9-s390-zfcp_port-fix.patch):'
Patch #353 (linux-2.6.9-s390-zfcp_port-fix.patch):
+ patch -p1 -s
+ echo 'Patch #360 (linux-2.6.9-s390-qeth_hipersocket-fix.patch):'
Patch #360 (linux-2.6.9-s390-qeth_hipersocket-fix.patch):
+ patch -p1 -s
+ echo 'Patch #400 (linux-2.6.3-sparc-addbzimage.patch):'
Patch #400 (linux-2.6.3-sparc-addbzimage.patch):
+ patch -p1 -s
+ echo 'Patch #450 (linux-2.6.10-xen.patch):'
Patch #450 (linux-2.6.10-xen.patch):
+ patch -p1 -s
+ echo 'Patch #452 (linux-2.6.9-xen-compile.patch):'
Patch #452 (linux-2.6.9-xen-compile.patch):
+ patch -p1 -s
+ echo 'Patch #453 (linux-2.6.9-xen-agpgart.patch):'
Patch #453 (linux-2.6.9-xen-agpgart.patch):
+ patch -p1 -s
+ echo 'Patch #500 (linux-2.4.0-nonintconfig.patch):'
Patch #500 (linux-2.4.0-nonintconfig.patch):
+ patch -p1 -s
+ echo 'Patch #511 (linux-2.6.0-exec-shield.patch):'
Patch #511 (linux-2.6.0-exec-shield.patch):
+ patch -p1 -s
+ echo 'Patch #512 (linux-2.6.8-print-fatal-signals.patch):'
Patch #512 (linux-2.6.8-print-fatal-signals.patch):
+ patch -p1 -s
+ echo 'Patch #513 (linux-2.6.8-execshield-vaspace.patch):'
Patch #513 (linux-2.6.8-execshield-vaspace.patch):
+ patch -p1 -s
+ echo 'Patch #514 (linux-2.6.8-execshield-xen.patch):'
Patch #514 (linux-2.6.8-execshield-xen.patch):
+ patch -p1 -s
+ echo 'Patch #530 (linux-2.6.0-must_check.patch):'
Patch #530 (linux-2.6.0-must_check.patch):
+ patch -p1 -s
+ echo 'Patch #600 (linux-2.6.7-modsign-core.patch):'
Patch #600 (linux-2.6.7-modsign-core.patch):
+ patch -p1 -s
+ echo 'Patch #601 (linux-2.6.7-modsign-crypto.patch):'
Patch #601 (linux-2.6.7-modsign-crypto.patch):
+ patch -p1 -s
+ echo 'Patch #602 (linux-2.6.7-modsign-ksign.patch):'
Patch #602 (linux-2.6.7-modsign-ksign.patch):
+ patch -p1 -s
+ echo 'Patch #603 (linux-2.6.7-modsign-mpilib.patch):'
Patch #603 (linux-2.6.7-modsign-mpilib.patch):
+ patch -p1 -s
+ echo 'Patch #604 (linux-2.6.7-modsign-script.patch):'
Patch #604 (linux-2.6.7-modsign-script.patch):
+ patch -p1 -s
+ echo 'Patch #605 (linux-2.6.7-modsign-include.patch):'
Patch #605 (linux-2.6.7-modsign-include.patch):
+ patch -p1 -s
+ echo 'Patch #606 (linux-2.6.9-sha1.patch):'
Patch #606 (linux-2.6.9-sha1.patch):
+ patch -p1 -s
+ echo 'Patch #1000 (linux-2.4.0-test11-vidfail.patch):'
Patch #1000 (linux-2.4.0-test11-vidfail.patch):
+ patch -p1 -s
+ echo 'Patch #1010 (linux-2.6.10-periodic-slab-debug.patch):'
Patch #1010 (linux-2.6.10-periodic-slab-debug.patch):
+ patch -p1 -s
+ echo 'Patch #1020 (linux-2.6.4-stackusage.patch):'
Patch #1020 (linux-2.6.4-stackusage.patch):
+ patch -p1 -s
+ echo 'Patch #1050 (linux-2.6.7-devmem.patch):'
Patch #1050 (linux-2.6.7-devmem.patch):
+ patch -p1 -s
+ echo 'Patch #1051 (linux-2.6.0-devmem.patch):'
Patch #1051 (linux-2.6.0-devmem.patch):
+ patch -p1 -s
+ echo 'Patch #1052 (linux-2.6.8-devmem-xen.patch):'
Patch #1052 (linux-2.6.8-devmem-xen.patch):
+ patch -p1 -s
+ echo 'Patch #1060 (linux-2.6.3-crash-driver.patch):'
Patch #1060 (linux-2.6.3-crash-driver.patch):
+ patch -p1 -s
+ echo 'Patch #1070 (linux-2.6.0-sleepon.patch):'
Patch #1070 (linux-2.6.0-sleepon.patch):
+ patch -p1 -s
+ echo 'Patch #1120 (linux-2.6.10-scsi-whitelist.patch):'
Patch #1120 (linux-2.6.10-scsi-whitelist.patch):
+ patch -p1 -s
+ echo 'Patch #1136 (linux-2.6.9-scsi-megaraid-legacy.patch):'
Patch #1136 (linux-2.6.9-scsi-megaraid-legacy.patch):
+ patch -p1 -s
+ echo 'Patch #1201 (linux-2.6.9-NFSD-non-null-getxattr.patch):'
Patch #1201 (linux-2.6.9-NFSD-non-null-getxattr.patch):
+ patch -p1 -s
+ echo 'Patch #1207 (linux-2.6.8-lockd-racewarn2.patch):'
Patch #1207 (linux-2.6.8-lockd-racewarn2.patch):
+ patch -p1 -s
+ echo 'Patch #1209 (linux-2.6.9-lockd-block-nosleep.patch):'
Patch #1209 (linux-2.6.9-lockd-block-nosleep.patch):
+ patch -p1 -s
+ echo 'Patch #1210 (linux-2.6.9-lockd-reclaims.patch):'
Patch #1210 (linux-2.6.9-lockd-reclaims.patch):
+ patch -p1 -s
+ echo 'Patch #1351 (linux-2.6.9-net-tr-irqlock-fix.patch):'
Patch #1351 (linux-2.6.9-net-tr-irqlock-fix.patch):
+ patch -p1 -s
+ echo 'Patch #1362 (linux-2.6.9-net-airo-nullptr.patch):'
Patch #1362 (linux-2.6.9-net-airo-nullptr.patch):
+ patch -p1 -s
+ echo 'Patch #1500 (linux-2.6.10-crashdump-common.patch):'
Patch #1500 (linux-2.6.10-crashdump-common.patch):
+ patch -p1 -s
+ echo 'Patch #1501 (linux-2.6.10-netdump.patch):'
Patch #1501 (linux-2.6.10-netdump.patch):
+ patch -p1 -s
+ echo 'Patch #1502 (linux-2.6.8-netconsole.patch):'
Patch #1502 (linux-2.6.8-netconsole.patch):
+ patch -p1 -s
+ echo 'Patch #1503 (linux-2.6.10-diskdump.patch):'
Patch #1503 (linux-2.6.10-diskdump.patch):
+ patch -p1 -s
+ echo 'Patch #1760 (linux-2.6.9-module_version.patch):'
Patch #1760 (linux-2.6.9-module_version.patch):
+ patch -p1 -s
+ echo 'Patch #1910 (linux-2.6.9-spinlock-debug-panic.patch):'
Patch #1910 (linux-2.6.9-spinlock-debug-panic.patch):
+ patch -p1 -s
+ echo 'Patch #2003 (linux-2.6.9-vm-oomkiller-debugging.patch):'
Patch #2003 (linux-2.6.9-vm-oomkiller-debugging.patch):
+ patch -p1 -s
+ echo 'Patch #2101 (linux-2.6.9-ide-cd-early-EOF.patch):'
Patch #2101 (linux-2.6.9-ide-cd-early-EOF.patch):
+ patch -p1 -s
+ echo 'Patch #3020 (linux-2.6.9-ipw2100.patch):'
Patch #3020 (linux-2.6.9-ipw2100.patch):
+ patch -p1 -s
+ echo 'Patch #3021 (linux-2.6.9-ipw2200.patch):'
Patch #3021 (linux-2.6.9-ipw2200.patch):
+ patch -p1 -s
+ echo 'Patch #3022 (linux-2.6.9-ieee80211.patch):'
Patch #3022 (linux-2.6.9-ieee80211.patch):
+ patch -p1 -s
+ echo 'Patch #10000 (linux-2.6.0-compile.patch):'
Patch #10000 (linux-2.6.0-compile.patch):
+ patch -p1 -s
+ cp /nis-home/phowarth/BUILD/SOURCES/COPYING.modules Documentation/
+ mkdir configs
+ cp -fv /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i586-smp.config /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i586.config /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-smp.config /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-xen0.config /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-xenU.config /nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686.config .
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i586-smp.config' -> `./kernel-2.6.10-i586-smp.config'
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i586.config' -> `./kernel-2.6.10-i586.config'
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-smp.config' -> `./kernel-2.6.10-i686-smp.config'
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-xen0.config' -> `./kernel-2.6.10-i686-xen0.config'
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686-xenU.config' -> `./kernel-2.6.10-i686-xenU.config'
`/nis-home/phowarth/BUILD/SOURCES/kernel-2.6.10-i686.config' -> `./kernel-2.6.10-i686.config'
+ for i in '*.config'
+ mv kernel-2.6.10-i586-smp.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
.config:2126: trying to assign nonexistent symbol USB_PWC
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i586.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
.config:2126: trying to assign nonexistent symbol USB_PWC
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i686-smp.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
.config:2126: trying to assign nonexistent symbol USB_PWC
+ echo '# i386'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i686-xen0.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=xen
+ make ARCH=xen nonint_oldconfig
.config:39: trying to assign nonexistent symbol PREEMPT_BKL
.config:62: trying to assign nonexistent symbol PCIEPORTBUS
.config:63: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:64: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:65: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:66: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:73: trying to assign nonexistent symbol DEBUG_KOBJECT
.config:89: trying to assign nonexistent symbol MMC
.config:90: trying to assign nonexistent symbol MMC_DEBUG
.config:91: trying to assign nonexistent symbol MMC_BLOCK
.config:92: trying to assign nonexistent symbol MMC_WBSD
.config:94: trying to assign nonexistent symbol INFINIBAND
.config:95: trying to assign nonexistent symbol INFINIBAND_MTHCA
.config:96: trying to assign nonexistent symbol INFINIBAND_MTHCA_DEBUG
.config:97: trying to assign nonexistent symbol INFINIBAND_IPOIB
.config:98: trying to assign nonexistent symbol INFINIBAND_IPOIB_DEBUG
.config:240: trying to assign nonexistent symbol ACPI_CONTAINER
.config:2160: trying to assign nonexistent symbol USB_PWC
.config:2380: trying to assign nonexistent symbol PROFILING
.config:2381: trying to assign nonexistent symbol OPROFILE
.config:2469: trying to assign nonexistent symbol DEBUG_FS
.config:2480: trying to assign nonexistent symbol SCHEDSTATS
.config:2507: trying to assign nonexistent symbol PREEMPT_BKL
.config:2522: trying to assign nonexistent symbol PCIEPORTBUS
.config:2523: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:2524: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:2531: trying to assign nonexistent symbol DEBUG_KOBJECT
.config:2542: trying to assign nonexistent symbol MMC
.config:2543: trying to assign nonexistent symbol MMC_DEBUG
.config:2544: trying to assign nonexistent symbol MMC_BLOCK
.config:2545: trying to assign nonexistent symbol MMC_WBSD
.config:2546: trying to assign nonexistent symbol INFINIBAND
.config:2547: trying to assign nonexistent symbol INFINIBAND_MTHCA
.config:2548: trying to assign nonexistent symbol INFINIBAND_MTHCA_DEBUG
.config:2549: trying to assign nonexistent symbol INFINIBAND_IPOIB
.config:2550: trying to assign nonexistent symbol INFINIBAND_IPOIB_DEBUG
.config:2636: trying to assign nonexistent symbol ACPI_CONTAINER
.config:4078: trying to assign nonexistent symbol USB_PWC
.config:4261: trying to assign nonexistent symbol PROFILING
.config:4262: trying to assign nonexistent symbol OPROFILE
.config:4329: trying to assign nonexistent symbol DEBUG_FS
.config:4337: trying to assign nonexistent symbol SCHEDSTATS
.config:4389: trying to assign nonexistent symbol X86_MCE
.config:4390: trying to assign nonexistent symbol X86_MCE_NONFATAL
.config:4391: trying to assign nonexistent symbol X86_MCE_P4THERMAL
.config:4392: trying to assign nonexistent symbol TOSHIBA
.config:4393: trying to assign nonexistent symbol I8K
.config:4396: trying to assign nonexistent symbol X86_MSR
.config:4404: trying to assign nonexistent symbol HIGHPTE
.config:4405: trying to assign nonexistent symbol MATH_EMULATION
.config:4408: trying to assign nonexistent symbol X86_UP_APIC
.config:4409: trying to assign nonexistent symbol X86_PM_TIMER
.config:4412: trying to assign nonexistent symbol PCI_GOBIOS
.config:4413: trying to assign nonexistent symbol PCI_GODIRECT
.config:4414: trying to assign nonexistent symbol PCI_GOMMCONFIG
.config:4415: trying to assign nonexistent symbol PCI_GOANY
.config:4430: trying to assign nonexistent symbol APM
.config:4431: trying to assign nonexistent symbol APM_IGNORE_USER_SUSPEND
.config:4432: trying to assign nonexistent symbol APM_DO_ENABLE
.config:4433: trying to assign nonexistent symbol APM_CPU_IDLE
.config:4434: trying to assign nonexistent symbol APM_DISPLAY_BLANK
.config:4435: trying to assign nonexistent symbol APM_RTC_IS_GMT
.config:4436: trying to assign nonexistent symbol APM_ALLOW_INTS
.config:4437: trying to assign nonexistent symbol APM_REAL_MODE_POWER_OFF
.config:4441: trying to assign nonexistent symbol ACPI_BOOT
.config:4442: trying to assign nonexistent symbol ACPI_INTERPRETER
.config:4443: trying to assign nonexistent symbol ACPI_SLEEP
.config:4444: trying to assign nonexistent symbol ACPI_AC
.config:4445: trying to assign nonexistent symbol ACPI_BATTERY
.config:4446: trying to assign nonexistent symbol ACPI_BUTTON
.config:4447: trying to assign nonexistent symbol ACPI_FAN
.config:4448: trying to assign nonexistent symbol ACPI_PROCESSOR
.config:4449: trying to assign nonexistent symbol ACPI_THERMAL
.config:4450: trying to assign nonexistent symbol ACPI_ASUS
.config:4451: trying to assign nonexistent symbol ACPI_TOSHIBA
.config:4452: trying to assign nonexistent symbol ACPI_DEBUG
.config:4454: trying to assign nonexistent symbol ACPI_EC
.config:4455: trying to assign nonexistent symbol ACPI_POWER
.config:4456: trying to assign nonexistent symbol ACPI_PCI
.config:4457: trying to assign nonexistent symbol ACPI_SYSTEM
.config:4458: trying to assign nonexistent symbol ACPI_NUMA
.config:4459: trying to assign nonexistent symbol ACPI_BLACKLIST_YEAR
.config:4460: trying to assign nonexistent symbol ACPI_VIDEO
.config:4461: trying to assign nonexistent symbol ACPI_IBM
.config:4463: trying to assign nonexistent symbol X86_ACPI_CPUFREQ
.config:4464: trying to assign nonexistent symbol X86_ACPI_CPUFREQ_PROC_INTF
.config:4465: trying to assign nonexistent symbol X86_POWERNOW_K6
.config:4466: trying to assign nonexistent symbol X86_POWERNOW_K7
.config:4467: trying to assign nonexistent symbol X86_POWERNOW_K8
.config:4468: trying to assign nonexistent symbol X86_GX_SUSPMOD
.config:4469: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO
.config:4470: trying to assign nonexistent symbol X86_SPEEDSTEP_ICH
.config:4471: trying to assign nonexistent symbol X86_SPEEDSTEP_SMI
.config:4472: trying to assign nonexistent symbol X86_SPEEDSTEP_LIB
.config:4473: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO_ACPI
.config:4474: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO_TABLE
.config:4475: trying to assign nonexistent symbol X86_SPEEDSTEP_RELAXED_CAP_CHECK
.config:4476: trying to assign nonexistent symbol X86_P4_CLOCKMOD
.config:4477: trying to assign nonexistent symbol X86_LONGRUN
.config:4478: trying to assign nonexistent symbol X86_LONGHAUL
.config:4479: trying to assign nonexistent symbol X86_CPUFREQ_NFORCE2
.config:4481: trying to assign nonexistent symbol X86_HT
.config:4492: trying to assign nonexistent symbol SOFTWARE_SUSPEND
.config:4493: trying to assign nonexistent symbol PM_DEBUG
.config:4494: trying to assign nonexistent symbol CPU_FREQ
.config:4495: trying to assign nonexistent symbol CPU_FREQ_DEBUG
.config:4496: trying to assign nonexistent symbol CPU_FREQ_DEFAULT_GOV_PERFORMANCE
.config:4497: trying to assign nonexistent symbol CPU_FREQ_DEFAULT_GOV_USERSPACE
.config:4498: trying to assign nonexistent symbol CPU_FREQ_GOV_PERFORMANCE
.config:4499: trying to assign nonexistent symbol CPU_FREQ_GOV_POWERSAVE
.config:4500: trying to assign nonexistent symbol CPU_FREQ_GOV_USERSPACE
.config:4501: trying to assign nonexistent symbol CPU_FREQ_GOV_ONDEMAND
.config:4502: trying to assign nonexistent symbol CPU_FREQ_TABLE
.config:4503: trying to assign nonexistent symbol CPU_FREQ_STAT
.config:4504: trying to assign nonexistent symbol CPU_FREQ_STAT_DETAILS
.config:4509: trying to assign nonexistent symbol KPROBES
.config:4511: trying to assign nonexistent symbol PCI_MMCONFIG
.config:4521: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:4522: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:4545: trying to assign nonexistent symbol FOREIGN_PAGES
.config:4600: trying to assign nonexistent symbol PCI_GOBIOS
.config:4601: trying to assign nonexistent symbol PCI_GOMMCONFIG
.config:4602: trying to assign nonexistent symbol PCI_GODIRECT
.config:4603: trying to assign nonexistent symbol PCI_GOANY
+ echo '# xen'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i686-xenU.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=xen
+ make ARCH=xen nonint_oldconfig
.config:39: trying to assign nonexistent symbol PREEMPT_BKL
.config:62: trying to assign nonexistent symbol PCIEPORTBUS
.config:63: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:64: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:65: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:66: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:73: trying to assign nonexistent symbol DEBUG_KOBJECT
.config:89: trying to assign nonexistent symbol MMC
.config:90: trying to assign nonexistent symbol MMC_DEBUG
.config:91: trying to assign nonexistent symbol MMC_BLOCK
.config:92: trying to assign nonexistent symbol MMC_WBSD
.config:94: trying to assign nonexistent symbol INFINIBAND
.config:95: trying to assign nonexistent symbol INFINIBAND_MTHCA
.config:96: trying to assign nonexistent symbol INFINIBAND_MTHCA_DEBUG
.config:97: trying to assign nonexistent symbol INFINIBAND_IPOIB
.config:98: trying to assign nonexistent symbol INFINIBAND_IPOIB_DEBUG
.config:240: trying to assign nonexistent symbol ACPI_CONTAINER
.config:2160: trying to assign nonexistent symbol USB_PWC
.config:2380: trying to assign nonexistent symbol PROFILING
.config:2381: trying to assign nonexistent symbol OPROFILE
.config:2469: trying to assign nonexistent symbol DEBUG_FS
.config:2480: trying to assign nonexistent symbol SCHEDSTATS
.config:2507: trying to assign nonexistent symbol PREEMPT_BKL
.config:2522: trying to assign nonexistent symbol PCIEPORTBUS
.config:2523: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:2524: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:2531: trying to assign nonexistent symbol DEBUG_KOBJECT
.config:2542: trying to assign nonexistent symbol MMC
.config:2543: trying to assign nonexistent symbol MMC_DEBUG
.config:2544: trying to assign nonexistent symbol MMC_BLOCK
.config:2545: trying to assign nonexistent symbol MMC_WBSD
.config:2546: trying to assign nonexistent symbol INFINIBAND
.config:2547: trying to assign nonexistent symbol INFINIBAND_MTHCA
.config:2548: trying to assign nonexistent symbol INFINIBAND_MTHCA_DEBUG
.config:2549: trying to assign nonexistent symbol INFINIBAND_IPOIB
.config:2550: trying to assign nonexistent symbol INFINIBAND_IPOIB_DEBUG
.config:2636: trying to assign nonexistent symbol ACPI_CONTAINER
.config:4078: trying to assign nonexistent symbol USB_PWC
.config:4261: trying to assign nonexistent symbol PROFILING
.config:4262: trying to assign nonexistent symbol OPROFILE
.config:4329: trying to assign nonexistent symbol DEBUG_FS
.config:4337: trying to assign nonexistent symbol SCHEDSTATS
.config:4389: trying to assign nonexistent symbol X86_MCE
.config:4390: trying to assign nonexistent symbol X86_MCE_NONFATAL
.config:4391: trying to assign nonexistent symbol X86_MCE_P4THERMAL
.config:4392: trying to assign nonexistent symbol TOSHIBA
.config:4393: trying to assign nonexistent symbol I8K
.config:4396: trying to assign nonexistent symbol X86_MSR
.config:4404: trying to assign nonexistent symbol HIGHPTE
.config:4405: trying to assign nonexistent symbol MATH_EMULATION
.config:4408: trying to assign nonexistent symbol X86_UP_APIC
.config:4409: trying to assign nonexistent symbol X86_PM_TIMER
.config:4412: trying to assign nonexistent symbol PCI_GOBIOS
.config:4413: trying to assign nonexistent symbol PCI_GODIRECT
.config:4414: trying to assign nonexistent symbol PCI_GOMMCONFIG
.config:4415: trying to assign nonexistent symbol PCI_GOANY
.config:4430: trying to assign nonexistent symbol APM
.config:4431: trying to assign nonexistent symbol APM_IGNORE_USER_SUSPEND
.config:4432: trying to assign nonexistent symbol APM_DO_ENABLE
.config:4433: trying to assign nonexistent symbol APM_CPU_IDLE
.config:4434: trying to assign nonexistent symbol APM_DISPLAY_BLANK
.config:4435: trying to assign nonexistent symbol APM_RTC_IS_GMT
.config:4436: trying to assign nonexistent symbol APM_ALLOW_INTS
.config:4437: trying to assign nonexistent symbol APM_REAL_MODE_POWER_OFF
.config:4441: trying to assign nonexistent symbol ACPI_BOOT
.config:4442: trying to assign nonexistent symbol ACPI_INTERPRETER
.config:4443: trying to assign nonexistent symbol ACPI_SLEEP
.config:4444: trying to assign nonexistent symbol ACPI_AC
.config:4445: trying to assign nonexistent symbol ACPI_BATTERY
.config:4446: trying to assign nonexistent symbol ACPI_BUTTON
.config:4447: trying to assign nonexistent symbol ACPI_FAN
.config:4448: trying to assign nonexistent symbol ACPI_PROCESSOR
.config:4449: trying to assign nonexistent symbol ACPI_THERMAL
.config:4450: trying to assign nonexistent symbol ACPI_ASUS
.config:4451: trying to assign nonexistent symbol ACPI_TOSHIBA
.config:4452: trying to assign nonexistent symbol ACPI_DEBUG
.config:4454: trying to assign nonexistent symbol ACPI_EC
.config:4455: trying to assign nonexistent symbol ACPI_POWER
.config:4456: trying to assign nonexistent symbol ACPI_PCI
.config:4457: trying to assign nonexistent symbol ACPI_SYSTEM
.config:4458: trying to assign nonexistent symbol ACPI_NUMA
.config:4459: trying to assign nonexistent symbol ACPI_BLACKLIST_YEAR
.config:4460: trying to assign nonexistent symbol ACPI_VIDEO
.config:4461: trying to assign nonexistent symbol ACPI_IBM
.config:4463: trying to assign nonexistent symbol X86_ACPI_CPUFREQ
.config:4464: trying to assign nonexistent symbol X86_ACPI_CPUFREQ_PROC_INTF
.config:4465: trying to assign nonexistent symbol X86_POWERNOW_K6
.config:4466: trying to assign nonexistent symbol X86_POWERNOW_K7
.config:4467: trying to assign nonexistent symbol X86_POWERNOW_K8
.config:4468: trying to assign nonexistent symbol X86_GX_SUSPMOD
.config:4469: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO
.config:4470: trying to assign nonexistent symbol X86_SPEEDSTEP_ICH
.config:4471: trying to assign nonexistent symbol X86_SPEEDSTEP_SMI
.config:4472: trying to assign nonexistent symbol X86_SPEEDSTEP_LIB
.config:4473: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO_ACPI
.config:4474: trying to assign nonexistent symbol X86_SPEEDSTEP_CENTRINO_TABLE
.config:4475: trying to assign nonexistent symbol X86_SPEEDSTEP_RELAXED_CAP_CHECK
.config:4476: trying to assign nonexistent symbol X86_P4_CLOCKMOD
.config:4477: trying to assign nonexistent symbol X86_LONGRUN
.config:4478: trying to assign nonexistent symbol X86_LONGHAUL
.config:4479: trying to assign nonexistent symbol X86_CPUFREQ_NFORCE2
.config:4481: trying to assign nonexistent symbol X86_HT
.config:4492: trying to assign nonexistent symbol SOFTWARE_SUSPEND
.config:4493: trying to assign nonexistent symbol PM_DEBUG
.config:4494: trying to assign nonexistent symbol CPU_FREQ
.config:4495: trying to assign nonexistent symbol CPU_FREQ_DEBUG
.config:4496: trying to assign nonexistent symbol CPU_FREQ_DEFAULT_GOV_PERFORMANCE
.config:4497: trying to assign nonexistent symbol CPU_FREQ_DEFAULT_GOV_USERSPACE
.config:4498: trying to assign nonexistent symbol CPU_FREQ_GOV_PERFORMANCE
.config:4499: trying to assign nonexistent symbol CPU_FREQ_GOV_POWERSAVE
.config:4500: trying to assign nonexistent symbol CPU_FREQ_GOV_USERSPACE
.config:4501: trying to assign nonexistent symbol CPU_FREQ_GOV_ONDEMAND
.config:4502: trying to assign nonexistent symbol CPU_FREQ_TABLE
.config:4503: trying to assign nonexistent symbol CPU_FREQ_STAT
.config:4504: trying to assign nonexistent symbol CPU_FREQ_STAT_DETAILS
.config:4509: trying to assign nonexistent symbol KPROBES
.config:4511: trying to assign nonexistent symbol PCI_MMCONFIG
.config:4521: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE
.config:4522: trying to assign nonexistent symbol HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
.config:4545: trying to assign nonexistent symbol FOREIGN_PAGES
+ echo '# xen'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.10-i686.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 nonint_oldconfig
.config:2126: trying to assign nonexistent symbol USB_PWC
+ echo '# i386'
+ cat .config
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = 10/' Makefile
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -prep/' Makefile
+ find . -name '*.orig' -exec rm -fv '{}' ';'
removed `./arch/i386/kernel/cpu/common.c.orig'
removed `./arch/i386/kernel/entry.S.orig'
removed `./arch/i386/kernel/process.c.orig'
removed `./arch/i386/kernel/signal.c.orig'
removed `./arch/i386/kernel/traps.c.orig'
removed `./arch/i386/kernel/vsyscall.lds.S.orig'
removed `./arch/i386/kernel/nmi.c.orig'
removed `./arch/i386/kernel/smp.c.orig'
removed `./arch/i386/kernel/Makefile.orig'
removed `./arch/i386/mm/init.c.orig'
removed `./arch/i386/mm/mmap.c.orig'
removed `./arch/i386/Makefile.orig'
removed `./arch/sparc64/Makefile.orig'
removed `./arch/sparc/Makefile.orig'
removed `./arch/ppc/mm/init.c.orig'
removed `./arch/ppc/platforms/pmac_sleep.S.orig'
removed `./arch/ppc/Makefile.orig'
removed `./arch/ia64/kernel/ia64_ksyms.c.orig'
removed `./arch/ia64/kernel/process.c.orig'
removed `./arch/ia64/ia32/binfmt_elf32.c.orig'
removed `./arch/ia64/mm/init.c.orig'
removed `./arch/ia64/mm/contig.c.orig'
removed `./arch/ia64/mm/discontig.c.orig'
removed `./arch/ia64/Makefile.orig'
removed `./arch/ia64/Kconfig.orig'
removed `./arch/ppc64/kernel/traps.c.orig'
removed `./arch/ppc64/mm/init.c.orig'
removed `./arch/ppc64/Makefile.orig'
removed `./arch/x86_64/mm/init.c.orig'
removed `./arch/x86_64/ia32/ia32_binfmt.c.orig'
removed `./arch/x86_64/ia32/sys_ia32.c.orig'
removed `./arch/s390/mm/init.c.orig'
removed `./arch/s390/Makefile.orig'
removed `./arch/xen/i386/kernel/time.c.orig'
removed `./arch/xen/i386/mm/init.c.orig'
removed `./fs/nfsd/vfs.c.orig'
removed `./fs/lockd/svc.c.orig'
removed `./fs/lockd/clntlock.c.orig'
removed `./fs/lockd/host.c.orig'
removed `./fs/lockd/clntproc.c.orig'
removed `./fs/proc/array.c.orig'
removed `./fs/proc/base.c.orig'
removed `./fs/proc/task_mmu.c.orig'
removed `./fs/proc/kcore.c.orig'
removed `./fs/proc/generic.c.orig'
removed `./fs/partitions/ibm.c.orig'
removed `./fs/binfmt_elf.c.orig'
removed `./fs/exec.c.orig'
removed `./fs/open.c.orig'
removed `./include/asm-mips/page.h.orig'
removed `./include/asm-ppc64/pgalloc.h.orig'
removed `./include/asm-ppc64/page.h.orig'
removed `./include/asm-x86_64/pgalloc.h.orig'
removed `./include/asm-arm/page.h.orig'
removed `./include/linux/gfp.h.orig'
removed `./include/linux/sched.h.orig'
removed `./include/linux/irq.h.orig'
removed `./include/linux/mm.h.orig'
removed `./include/linux/random.h.orig'
removed `./include/linux/resource.h.orig'
removed `./include/linux/pci.h.orig'
removed `./include/linux/module.h.orig'
removed `./include/linux/crypto.h.orig'
removed `./include/linux/wait.h.orig'
removed `./include/linux/netdevice.h.orig'
removed `./include/linux/spinlock.h.orig'
removed `./include/linux/ide.h.orig'
removed `./include/asm-um/page.h.orig'
removed `./include/asm-alpha/page.h.orig'
removed `./include/asm-i386/desc.h.orig'
removed `./include/asm-i386/processor.h.orig'
removed `./include/asm-i386/thread_info.h.orig'
removed `./include/asm-i386/page.h.orig'
removed `./include/asm-h8300/page.h.orig'
removed `./include/asm-s390/page.h.orig'
removed `./include/asm-ia64/page.h.orig'
removed `./include/asm-cris/page.h.orig'
removed `./include/asm-sparc64/pgalloc.h.orig'
removed `./include/asm-sparc64/page.h.orig'
removed `./include/asm-sh/page.h.orig'
removed `./include/asm-xen/asm-i386/page.h.orig'
removed `./drivers/video/aty/radeon_base.c.orig'
removed `./drivers/net/wireless/airo.c.orig'
removed `./drivers/net/ixgb/ixgb_main.c.orig'
removed `./drivers/net/tokenring/ibmtr.c.orig'
removed `./drivers/net/Kconfig.orig'
removed `./drivers/net/tg3.c.orig'
removed `./drivers/net/b44.c.orig'
removed `./drivers/net/ns83820.c.orig'
removed `./drivers/net/3c59x.c.orig'
removed `./drivers/acpi/ec.c.orig'
removed `./drivers/s390/cio/qdio.c.orig'
removed `./drivers/s390/net/qeth_main.c.orig'
removed `./drivers/s390/scsi/zfcp_aux.c.orig'
removed `./drivers/pci/search.c.orig'
removed `./drivers/char/mem.c.orig'
removed `./drivers/char/tty_io.c.orig'
removed `./drivers/char/random.c.orig'
removed `./drivers/char/Kconfig.orig'
removed `./drivers/char/Makefile.orig'
removed `./drivers/usb/storage/scsiglue.c.orig'
removed `./drivers/usb/storage/usb.c.orig'
removed `./drivers/usb/host/ehci-hcd.c.orig'
removed `./drivers/scsi/scsi_devinfo.c.orig'
removed `./drivers/scsi/3w-9xxx.c.orig'
removed `./drivers/scsi/ahci.c.orig'
removed `./drivers/scsi/ide-scsi.c.orig'
removed `./drivers/block/DAC960.c.orig'
removed `./drivers/block/cpqarray.c.orig'
removed `./drivers/ide/ide-io.c.orig'
removed `./drivers/ide/ide-cd.c.orig'
removed `./drivers/md/Makefile.orig'
removed `./drivers/md/raid5.c.orig'
removed `./net/core/netpoll.c.orig'
removed `./net/sunrpc/clnt.c.orig'
removed `./net/802/tr.c.orig'
removed `./scripts/kconfig/conf.c.orig'
removed `./scripts/kconfig/Makefile.orig'
removed `./scripts/reference_discarded.pl.orig'
removed `./sound/pci/intel8x0.c.orig'
removed `./sound/core/oss/pcm_oss.c.orig'
removed `./kernel/irq/manage.c.orig'
removed `./kernel/sysctl.c.orig'
removed `./kernel/signal.c.orig'
removed `./kernel/module.c.orig'
removed `./kernel/sched.c.orig'
removed `./kernel/pid.c.orig'
removed `./crypto/api.c.orig'
removed `./crypto/Makefile.orig'
removed `./mm/memory.c.orig'
removed `./mm/page_alloc.c.orig'
removed `./mm/mmap.c.orig'
removed `./mm/mprotect.c.orig'
removed `./mm/mremap.c.orig'
removed `./mm/slab.c.orig'
removed `./init/Kconfig.orig'
removed `./init/main.c.orig'
removed `./Makefile.orig'
+ find . -name '*~' -exec rm -fv '{}' ';'
+ exit 0
Looks reasonable and certainly didn't fall over...
Paul.