Bug 1568

Summary: xconfig fails with latest ACPI patch
Product: ACPI Reporter: Len Brown (lenb)
Component: Config-HotplugAssignee: Len Brown (lenb)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.4.22 + acpi-20031002-2.4.22.diff Subsystem:
Regression: --- Bisected commit-id:

Description Len Brown 2003-11-20 18:58:13 UTC
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.
Comment 1 Len Brown 2003-11-20 19:22:56 UTC
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.