Skip to contentSkip to conversation

FYI, ZX1 config problem in 2.4.23/2.4.24

DISCUSSION Bjorn Helgaas 2 participants 2 messages Jan 7, 2004

lore
Share & tools
lore
#0 lore raw

When I changed the "HP-zx1" kernel config choice to just "HP", I seem to have exposed an oddity in the way menuconfig works. The menu contains this:

        "generic                CONFIG_IA64_GENERIC             \
         DIG-compliant          CONFIG_IA64_DIG                 \
         HP-simulator           CONFIG_IA64_HP_SIM              \
         HP                     CONFIG_IA64_HP_ZX1              \
         SGI-SN2                CONFIG_IA64_SGI_SN2" generic

and apparently when the user selects "HP", menuconfig turns on the *simulator* symbol (CONFIG_IA64_HP_SIM) instead of the HP_ZX1 symbol. I think this looks like a menuconfig bug, but the easiest way around it is probably to use a patch like this:

=== arch/ia64/config.in 1.31 vs edited ==--- 1.31/arch/ia64/config.in Thu Oct 16 15:56:24 2003
+++ edited/arch/ia64/config.in Tue Jan 6 17:29:22 2004
@@ -33,7 +33,7 @@
choice 'IA-64 system type' \
"generic CONFIG_IA64_GENERIC \
DIG-compliant CONFIG_IA64_DIG \
- HP-simulator CONFIG_IA64_HP_SIM \
+ Ski-simulator CONFIG_IA64_HP_SIM \
HP CONFIG_IA64_HP_ZX1 \
SGI-SN2 CONFIG_IA64_SGI_SN2" generic

One symptom of this problem are messages like this when linking the kernel:

ld: Dwarf Error: Could not find abbrev number 105.
ld: Dwarf Error: Could not find abbrev number 94.
ld: Dwarf Error: Could not find abbrev number 114.
ld: Dwarf Error: Could not find abbrev number 103.
ld: Dwarf Error: Could not find abbrev number 522.
ld: Dwarf Error: Could not find abbrev number 109.
ld: Dwarf Error: Line offset (1936617315) bigger than line size (200501).
ld: Dwarf Error: Could not find abbrev number 115.
ld: Dwarf Error: Could not find abbrev number 4112.
ld: Dwarf Error: Could not find abbrev number 95. drivers/char/char.o: In function `to_utf8':
drivers/char/char.o(.text.init+0x2e72): undefined reference to `probe_serial_acpi'

#1 lore raw
Quoted 10 lines · Bjorn Helgaas

When I changed the "HP-zx1" kernel config choice to just "HP", I seem to have exposed an oddity in the way menuconfig works. The menu contains this:

        "generic                CONFIG_IA64_GENERIC             \
         DIG-compliant          CONFIG_IA64_DIG                 \
         HP-simulator           CONFIG_IA64_HP_SIM              \
         HP                     CONFIG_IA64_HP_ZX1              \
         SGI-SN2                CONFIG_IA64_SGI_SN2" generic
Quoted 4 lines

and apparently when the user selects "HP", menuconfig turns on the *simulator* symbol (CONFIG_IA64_HP_SIM) instead of the HP_ZX1 symbol. I think this looks like a menuconfig bug, but the easiest way around it is probably to use a patch like this:

I think another way to do it would be to move HP_ZX1 above HP_SIM. But aesthetically, we should probably put the simulator option down at the bottom anyway.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain