Marcel Meckel reported patched vanilla 2.4.22 kernel with acpi-20031002-2.4.22.diff, ran make xconfig. In menu "character devices" i see option "/dev/agpgart (AGP Support)" twice, one as bool one as tristate option. Without changing an option (and without .config of course) i get this error after pressing "Save and Exit" Button: Error in Tcl Script Error: can't read "CONFIG_SCSI": no such variable ERROR - Attempting to write value for unconfigured variable (CONFIG_PARPORT_PC_CML1). Stack trace says: can't read "CONFIG_SCSI": no such variable while executing "list $CONFIG_BLK_CPQ_CISS_DA $CONFIG_SCSI" (procedure "writeconfig" line 672) invoked from within "writeconfig .config include/linux/autoconf.h" invoked from within ".f0.right.save invoke" ("uplevel" body line 1) invoked from within "uplevel #0 [list $w invoke]" (procedure "tkButtonUp" line 7) invoked from within "tkButtonUp .f0.right.save " (command bound to event) Not necessary to say that this does not happen with vanilla kernel neighter with acpi-20030916-2.4.22.diff from sourceforge ftp. Checked this with acpi-20030918-2.4.22.diff too, same strange result.
Fix from Matt Wilcox: http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.4.22/20031120221059-xconfig.patch is now in the 2.4.22 ACPI patch. As it turns out it was already in 2.4.23, so I'll close this bug now.