* 2.4.19-pre8 doesn't compile (missing skip_ioapic_setup)
@ 2002-05-07 17:05 Ben Castricum
2002-05-07 11:43 ` Mikael Pettersson
0 siblings, 1 reply; 2+ messages in thread
From: Ben Castricum @ 2002-05-07 17:05 UTC (permalink / raw)
To: linux-kernel
Having a go at 2.4.19-pre8 gives me this error:
ld -m elf_i386 -T /usr/src/linux-2.4.19-pre8/arch/i386/vmlinux.lds -e
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o
drivers/video/video.o \
net/network.o \
/usr/src/linux-2.4.19-pre8/arch/i386/lib/lib.a
/usr/src/linux-2.4.19-pre8/lib/lib.a
/usr/src/linux-2.4.19-pre8/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
init/main.o: In function `smp_init':
init/main.o(.text.init+0x59e): undefined reference to `skip_ioapic_setup'
arch/i386/kernel/kernel.o: In function `broken_pirq':
arch/i386/kernel/kernel.o(.text.init+0x3096): undefined reference to
`skip_ioapic_setup'
make: *** [vmlinux] Error 1
Not using local io-apic makes the problem (and the feature) go away. This
is on a uni-processor system with SMP disabled. Full .config at
http://spike.i-lan.nl/.config
Cheers,
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: 2.4.19-pre8 doesn't compile (missing skip_ioapic_setup)
2002-05-07 17:05 2.4.19-pre8 doesn't compile (missing skip_ioapic_setup) Ben Castricum
@ 2002-05-07 11:43 ` Mikael Pettersson
0 siblings, 0 replies; 2+ messages in thread
From: Mikael Pettersson @ 2002-05-07 11:43 UTC (permalink / raw)
To: Ben Castricum; +Cc: linux-kernel
Ben Castricum writes:
> Having a go at 2.4.19-pre8 gives me this error:
> ...
> init/main.o: In function `smp_init':
> init/main.o(.text.init+0x59e): undefined reference to `skip_ioapic_setup'
> arch/i386/kernel/kernel.o: In function `broken_pirq':
> arch/i386/kernel/kernel.o(.text.init+0x3096): undefined reference to
> `skip_ioapic_setup'
> make: *** [vmlinux] Error 1
>
>
> Not using local io-apic makes the problem (and the feature) go away. This
> is on a uni-processor system with SMP disabled. Full .config at
Apply the patch below.
/Mikael
--- linux-2.4.19-pre8/arch/i386/kernel/dmi_scan.c.~1~ Sat May 4 15:35:10 2002
+++ linux-2.4.19-pre8/arch/i386/kernel/dmi_scan.c Sat May 4 17:51:32 2002
@@ -418,7 +418,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_IO_APIC
skip_ioapic_setup = 0;
#endif
return 0;
--- linux-2.4.19-pre8/init/main.c.~1~ Sat May 4 15:35:18 2002
+++ linux-2.4.19-pre8/init/main.c Sat May 4 17:51:32 2002
@@ -293,11 +293,9 @@
#ifndef CONFIG_SMP
#ifdef CONFIG_X86_LOCAL_APIC
-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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-07 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 17:05 2.4.19-pre8 doesn't compile (missing skip_ioapic_setup) Ben Castricum
2002-05-07 11:43 ` Mikael Pettersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox