Re: 2.5.43 IO-APIC bug and spinlock deadlock

Bill Davidsen (davidsen@tmr.com)
Fri, 18 Oct 2002 15:39:14 -0400 (EDT)


On Wed, 16 Oct 2002, Doug Ledford wrote:

> IO-APIC bug: regular kernel, UP, no IO-APIC or APIC on UP enabled, compile
> fails (does *everyone* run SMP or at least UP + APIC now?)
>
> spinlock deadlock: run an smp kernel on a up machine. On mine here all I
> have to do is try to boot to multiuser mode, it won't make it through the
> startup scripts before it locks up by trying to reenter common_interrupt
> on the only CPU. Seems like an SMP kernel on UP hardware doesn't disable
> interrupts properly maybe? I get task lists via alt-sysreq when the
> machine should be hardlocked I think. Anyway, this is what has been
> tricking me into thinking I had an IDE problem. IDE is innocent, it's the
> core interrupt handling code.

Doug, I noted a similar bug back about 2.5.38, which went away if I boot
the SMP kernel on uni with "nosmp" in the boot parameters. If you are
curious I'd love to know if that's related, and I'm sure someone looking
at the problem would like to know as well.

The 2.4 kernels seem fine in that regard, I did a test the hard way, when
I got a batch of Xeons with the lifespan of a mayfly. After one died and
the system was rebooted every one came up cleanly with only one CPU.
However, most of the SMP hardware was still there, and I boot "noapic"
because it seems to help uptime.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- 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/