On Sat, 8 Dec 2001 16:59:04 -0500,
"Eric S. Raymond" <[EMAIL PROTECTED]> wrote:
>Keith Owens <[EMAIL PROTECTED]>:
>> That is using arch/i386/defconfig, you end up with a config.out that
>> has all architectures turned off. Disabling the architecture in error
>> recovery is too drastic. BTW, oldconfig has no -D$(ARCHSYMBOL) like
>> the other *config rules.
>
>That's the problem. Without -D$(ARCHSYMBOL) the architecture symbol
>doesn't get frozen and thus immune to assignment rollback.
>
>I've added -D$(ARCHSYMBOL) to the production line.
I tried that. 2.4.16-pristine + CML2, no existing .config or
config.out. Add -D$(ARCHSYMBOL) to the oldconfig command. make
oldconfig, same problem.
python2 -O scripts/cmlconfigure.py -t -DX86 -B 2.4.16 -I config.out rules.out
Side effects:
ISA=y (deduced from X86)
X86=y would have violated these requirements:
"config.out", line 289: bad token `SCSI_DEBUG_QUEUES' while expecting symbol.
File load violated these constraints:
(((FB == n) and X86) implies ((FONT_8x8 == y) and (FONT_8x16 == y)))
Attempting recovery from invalid configuration:
Symbol FB forced to n during recovery attempt.
Symbol X86 forced to n during recovery attempt.
Symbol FONT_8x8 forced to n during recovery attempt.
Symbol FONT_8x16 forced to n during recovery attempt.
Undoing file loads, recovery failed these constraints:
(SMP implies (X86 or (PPC or (ALPHA_SABLE or (ALPHA_RAWHIDE or (ALPHA_DP264 or
(ALPHA_WILDFIRE or (ALPHA_TITAN or (ALPHA_GENERIC or (SPARC32 or (MIPS64 or
ARCH_S390)))))))))))
The first question it asks is "arch: Processor type"?
>> MTRR: MTRR (Memory Type Range Register) support [m] (NEW)?:
>>
>> How is MTRR defaulting to 'm', it is a bool?
>
>I don't understand this yet. I need to find a way to reproduce it.
>Can you supply one?
After installing cml2 1.9.5 on 2.4.16 pristine and applying this patch
to get around the first problem. python2-2.1-2 from RH.
--- Makefile.orig Sun Dec 9 11:54:39 2001
+++ Makefile Sun Dec 9 11:51:24 2001
@@ -574,7 +574,7 @@
oldconfig: symlinks rules.out
@-if [ -f .config -a ! -f config.out ]; then $(PYTHON2) -O
scripts/configtrans.py -t <.config >config.out; echo "Using .config"; fi
@-if [ ! -f config.out ]; then cp arch/$(ARCH)/defconfig config.out; echo
"Using defconfig"; fi
- $(CONFIGURE) -t -B $(KERNELRELEASE) -I config.out $(CONFIGOPTS) rules.out
+ $(CONFIGURE) -t -D$(ARCHSYMBOL) -B $(KERNELRELEASE) -I config.out
+$(CONFIGOPTS) rules.out
$(PYTHON2) -O scripts/configtrans.py -h include/linux/autoconf.h -s .config
config.out
# CML2 Adventure
--- drivers/media/video/rules.cml.orig Sun Dec 9 11:55:16 2001
+++ drivers/media/video/rules.cml Sun Dec 9 11:55:22 2001
@@ -122,7 +122,7 @@
# Some fonts have to be on even when the framebuffer code is disabled,
# otherwise the kernel won't build.
-require FB==n and X86 implies FONT_8x8==y and FONT_8x16==y
+# require FB==n and X86 implies FONT_8x8==y and FONT_8x16==y
unless FB_PM2==y suppress FB_PM2_FIFO_DISCONNECT FB_PM2_PCI FB_PM2_CVPPC
unless FB_OF or MAC suppress FB_VALKYRIE
rm .config config.out rules.out
make oldconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
/build/kaos/2.4.16-cml2/include
python2 -O scripts/cmlcompile.py rules.cml
Compiling rules, please wait......(15.75 sec) Done.
Using defconfig
python2 -O scripts/cmlconfigure.py -t -DX86 -B 2.4.16 -I config.out rules.out
"config.out", line 289: bad token `SCSI_DEBUG_QUEUES' while expecting symbol.
Welcome to the Linux kernel options, version 1.9.5.
Type '?' at any prompt for help, 'h' for command help.
*
* main: Linux Kernel Configuration System
*
arch: Processor type (X86): (FROZEN)
*
* policy: Configuration policy options
*
EXPERIMENTAL: Prompt for development and/or incomplete code/drivers [Y] (NEW): (FROZEN)
EXPERT: Prompt for expert choices (those with no help attached) (EXPERIMENTAL) [ ]
(NEW)?:
*
* generic: Architecture-independent feature selections
*
MODULES: Enable loadable module support <Y>: (FROZEN)
KMOD: Kernel module loader support [Y]: (FROZEN)
NET: Networking support [Y]: (FROZEN)
SYSVIPC: System V IPC [Y]: (FROZEN)
BSD_PROCESS_ACCT: BSD Process Accounting [ ] (NEW)?:
SYSCTL: Sysctl support [Y]: (FROZEN)
kcore: Kernel core dump format (KCORE_ELF): (FROZEN)
BINFMT_AOUT: Kernel support for a.out binaries <Y>: (FROZEN)
BINFMT_ELF: Kernel support for ELF binaries <Y>: (FROZEN)
BINFMT_MISC: Kernel support for MISC binaries <Y>: (FROZEN)
SMP: Symmetric Multi-Processing support [Y]: (FROZEN)
*
* x86: Intel and compatible 80x86 processor options
*
x86type: Intel and compatible 80x86 processor types (MPENTIUMIII): (FROZEN)
TOSHIBA: Toshiba Laptop support < > (NEW)?:
I8K: Dell laptop support < > (NEW)?:
X86_MSR: /dev/cpu/*/msr - Model-specific register support < > (NEW)?:
X86_CPUID: /dev/cpu/*/cpuid - CPU information support < > (NEW)?:
himem: High Memory Support (NOHIGHMEM): (FROZEN)
MTRR: MTRR (Memory Type Range Register) support [m] (NEW)?:
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel