Skip to contentSkip to conversation

Linux 2.4.19-pre8

DISCUSSION Ivan G. 2 participants 2 messages May 3, 2002

lore
Share & tools
lore

Ivan G.

author
#0 lore raw

Upgrading 2.4.19-pre3 to 2.4.19-pre8
but problem is probably created by 2.4.19-pre7 where i saw apic changes

_________________________________

init/main.o: In function `smp_init':
init/main.o(.text.init+0x5e1): undefined reference to skip_ioapic_setup' arch/i386/kernel/kernel.o: In function broken_pirq':
arch/i386/kernel/kernel.o(.text.init+0x3547): undefined reference to `skip_ioapic_setup'
make: *** [vmlinux] Error 1

..or perhaps my config is wrong.
I am not sure about the apic feature.

#define CONFIG_MK7 1
...
#define CONFIG_X86_GOOD_APIC
....
#undef CONFIG_SMP
#define CONFIG_X86_UP_APIC 1
#undef CONFIG_X86_UP_IOAPIC
#define CONFIG_X86_LOCAL_APIC 1
-------------------------------

#1 lore raw
Quoted 2 lines · Ivan G.

Upgrading 2.4.19-pre3 to 2.4.19-pre8
but problem is probably created by 2.4.19-pre7 where i saw apic changes

I think the following patch should fix it:

arch/i386/kernel/dmi_scan.c +1 -1
diff -uNr -Xdontdiff linux-2.4.19-pre7/arch/i386/kernel/dmi_scan.c linux/arch/i386/kernel/dmi_scan.c
@@ -362,7 +362,7 @@
 	printk(KERN_INFO " *** If you see IRQ problems, in paticular SCSI resets and hangs at boot\n");
 	printk(KERN_INFO " *** contact your hardware vendor and ask about updates.\n");
 	printk(KERN_INFO " *** Building an SMP kernel may evade the bug some of the time.\n");
-#ifdef CONFIG_X86_UP_APIC
+#ifdef CONFIG_X86_UP_IOAPIC
 	skip_ioapic_setup = 0;
 #endif
 	return 0;
init/main.c +1 -2
diff -uNr -Xdontdiff linux-2.4.19-pre7/init/main.c linux/init/main.c
@@ -296,8 +296,7 @@
 extern int skip_ioapic_setup;
 static void __init smp_init(void)
 {
-	if (!skip_ioapic_setup)
-		APIC_init_uniprocessor();
+	APIC_init_uniprocessor();
 }
 #else
 #define smp_init()	do { } while (0)