Re: [BUG] x86 kenel won't boot under Virtual PC

From: David Sanders
Date: Mon Sep 08 2008 - 12:26:51 EST

On Monday 08 September 2008 12:15, H. Peter Anvin wrote:
> H. Peter Anvin wrote:
> > The issue at hand is that at least with the current toolchain, we need
> > to pass -march=generic in order for these instructions to be generated.
> > We have an option for this, CONFIG_X86_GENERIC, which distributions
> > really *should* be using anyway.
> That should have been "-mtune=generic". Sorry.
> > And yes, it should be the default. The patch I have makes it
> > "default y" as well as change the help text.
> >
> > Would it make you happier if this option was forced enabled unless
> I guess the other option is to create a new option for selecting the
> dangerous -mtune= variants, and possibly lock *that* option to
> -hpa

The option that works best for users is for the kernel to not use NOPLs on
32-bit cpu's. That is what Linus's patch accomplishes. I am not having any
issues with gcc or gas generating NOPLs. The kernel should work out of the
box for PentiumPro or later cpu's running in 32-bit mode. I think you are
trying to over-engineer the issue. Just apply the patch and move on.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at