[PATCH] disableapic option

From: Kurt Garloff (kurt@garloff.de)
Date: Mon Aug 27 2001 - 18:44:40 EST


Hi Pekka, Linus, Alan,

On Tue, Aug 28, 2001 at 01:42:11AM +0300, Pekka Pietikainen wrote:
> Doesn't VA use one of those Intel boards which have the problem
> with theis BIOS, which is seen as a hang with the adaptec driver?
>
> Tried the same work-around? (enabling the APIC)

Here's a patch that allows you to compile the kernel with APIC enabled
always. Some machines need it, but others barf, when they find out that
there is an MP table and an IOAPIC but no APIC on the CPU is found.
(Plug a K6 in a dual Pentium board, e.g.)

Then you may pass the disableapic boot parameter, so you bypass APIC setup
completely and the APIC compiled kernel works like compiled without.
(For people who compile their own kernels, this is irrelevant, except for
 testing. That's not the majority of Linux users anymore, though.)

Another possibility might be to make apic.c:221 fail gracefully instead of
BUG(), BTW.

Linus, Alan, please apply to your trees!

In theory, the compile time option could be removed now, but some people
probably want to be able to save a few bytes.

Regards,

-- 
Kurt Garloff                   <kurt@garloff.de>         [Eindhoven, NL]
Physics: Plasma simulations  <K.Garloff@Phys.TUE.NL>  [TU Eindhoven, NL]
Linux: SCSI, Security          <garloff@suse.de>    [SuSE Nuernberg, DE]
 (See mail header or public key servers for PGP2 and GPG public keys.)



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



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:26 EST