lkml.org 
[lkml]   [2004]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: problems getting SMP to work with vanilla 2.4.26
Hi Marcelo, folks,

On Sun, Jul 04, 2004 at 11:13:36AM -0300, Marcelo Tosatti wrote:
> On Sat, Jul 03, 2004 at 07:05:43PM -0700, Zack Brown wrote:
> > Hi folks,
> >
> > When booting vanilla 2.4.26 with SMP enabled, I get a lockup before the
> > boot sequence is completed. The same kernel with SMP disabled boots and runs
> > just fine. Both CPUs are detected by the system at bootup, before lilo takes
> > over. Here's the error as I wrote it down from the screen, followed by the
> > .config file:
> >
> > ------------------------------ cut here ------------------------------
> > Using local APIC timer interrupts.
> > Calibrating APIC timer...
> > ..... CPU clock speed is 1004.4785 MHZ
> > ..... hostbus clock speed is 133.9304 MHz
> > cpu: 0, clocks: 1339304, slice: 446434
> > CPU0<T0:1339296,T1:892848,D:14,S:446434,C:1339304>
> > cpu: 1, clocks: 1339304, slice: 446434
> > CPU1<T0:1339296,T1:446416,D:12,S:446434,C:1339304>
> > ------------------------------ cut here ------------------------------
> >
> > At that point the machine just hangs, with no keys recognized, and I have
> > to power-cycle the machine in order to boot to a UP kernel.
> >
> > I'd appreciate any help I can get with this.
>
> I can't help much really. Tried CONFIG_ACPI_BOOT=n ?
>

I did after getting your email, and I had some trouble with that. After
'make mrproper', and loading in the relevant .config I'd saved, menuconfig
then said that I had the ACPI option already disabled. If I enabled the master
ACPI section, all the sub-options were also disabled. So I had to quit out of
that and edit the .config by hand in order to set CONFIG_ACPI_BOOT=n. That's
the only change I made to the .config before recompiling.

I did a 'make dep' and 'make bzImage', and got the following error. It
looks like the kernel really wants that option enabled.

Be well,
Zack

------------------------------ cut here ------------------------------
make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.26/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/parport/driver.o drivers/char/char.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/pcmcia/pcmcia.o drivers/pnp/pnp.o drivers/video/video.o
drivers/usb/usbdrv.o drivers/media/media.o drivers/input/inputdrv.o
drivers/message/i2o/i2o.o drivers/i2c/i2c.o crypto/crypto.o \
net/network.o \
/usr/src/linux-2.4.26/arch/i386/lib/lib.a
/usr/src/linux-2.4.26/lib/lib.a
/usr/src/linux-2.4.26/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
arch/i386/kernel/kernel.o(.text.init+0x1138): In function
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x1166): In function
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x119b): In function
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x11a5): In function
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x11c5): In function
`parse_cmdline_early':
: undefined reference to `acpi_strict'
arch/i386/kernel/kernel.o(.text.init+0x1217): In function
`parse_cmdline_early':
: undefined reference to `acpi_sci_flags'
arch/i386/kernel/kernel.o(.text.init+0x1223): In function
`parse_cmdline_early':
: undefined reference to `acpi_sci_flags'
arch/i386/kernel/kernel.o(.text.init+0x1240): In function
`parse_cmdline_early':
: undefined reference to `acpi_sci_flags'
arch/i386/kernel/kernel.o(.text.init+0x125f): In function
`parse_cmdline_early':
: undefined reference to `acpi_sci_flags'
arch/i386/kernel/kernel.o(.text.init+0x1281): In function
`parse_cmdline_early':
: undefined reference to `acpi_sci_flags'
arch/i386/kernel/kernel.o(.text.init+0x18e2): In function `setup_arch':
: undefined reference to `acpi_boot_init'
arch/i386/kernel/kernel.o(.text.init+0x40c1): In function
`dmi_disable_acpi':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x4114): In function
`force_acpi_ht':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x4214): In function
`dmi_check_blacklist':
: undefined reference to `acpi_ht'
arch/i386/kernel/kernel.o(.text.init+0x6699): In function
`smp_boot_cpus':
: undefined reference to `acpi_lapic'
arch/i386/kernel/kernel.o(.text.init+0x7193): In function
`smp_read_mpc':
: undefined reference to `acpi_lapic'
arch/i386/kernel/kernel.o(.text.init+0x72f5): In function
`smp_read_mpc':
: undefined reference to `acpi_lapic'
arch/i386/kernel/kernel.o(.text.init+0x7594): In function
`get_smp_config':
: undefined reference to `acpi_lapic'
arch/i386/kernel/kernel.o(.text.init+0x75a7): In function
`get_smp_config':
: undefined reference to `acpi_ioapic'
arch/i386/kernel/kernel.o(.text.init+0x9bb2): In function
`setup_IO_APIC':
: undefined reference to `acpi_ioapic'
arch/i386/kernel/kernel.o(.text.init+0x9c20): In function
`setup_IO_APIC':
: undefined reference to `acpi_ioapic'
make: *** [vmlinux] Error 1
------------------------------ cut here ------------------------------
--
Zack Brown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [from the cache]
©2003-2011 Jasper Spaans